aboutsummaryrefslogtreecommitdiffstats
path: root/admin/infos_images.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-07-21 19:47:14 +0000
committerz0rglub <z0rglub@piwigo.org>2003-07-21 19:47:14 +0000
commit2fa9252446a78d349ca2f50096430591cc5e012f (patch)
treebbf5cd282c8b9424b05d970c70e30610ea8b0e4f /admin/infos_images.php
parent55a0a61aaf58a02e2ac5d2c489f81b1be4730cd8 (diff)
*** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@26 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/infos_images.php')
-rw-r--r--admin/infos_images.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/admin/infos_images.php b/admin/infos_images.php
index 7735caba2..29957b478 100644
--- a/admin/infos_images.php
+++ b/admin/infos_images.php
@@ -18,7 +18,7 @@
include_once( './include/isadmin.inc.php' );
include_once( '../template/'.$user['template'].'/htmlfunctions.inc.php' );
//------------------------------------------------------------------- functions
-function check_date_format ( $date )
+function check_date_format( $date )
{
// date arrives at this format : DD/MM/YYYY
// checkdate ( int month, int day, int year)
@@ -144,7 +144,7 @@ if ( isset( $page['cat'] ) )
}
else
{
- echo $lang['infoimage_err_date'];
+ echo $lang['err_date'];
}
}
//--------------------------------------------------------- form initialization
@@ -221,6 +221,8 @@ if ( isset( $page['cat'] ) )
$thumbnail_url.= 'thumbnail/';
$thumbnail_url.= $conf['prefix_thumbnail'].$file.".".$row['tn_ext'];
$vtp->setVar( $sub, 'picture.thumbnail_url', $thumbnail_url );
+ $url = '../picture.php?cat='.$_GET['cat_id'].'&amp;image_id='.$row['id'];
+ $vtp->setVar( $sub, 'picture.url', add_session_id( $url ) );
$vtp->closeSession( $sub, 'picture' );
}
}