*** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@26 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
55a0a61aaf
commit
2fa9252446
25 changed files with 1058 additions and 1116 deletions
|
|
@ -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'].'&image_id='.$row['id'];
|
||||
$vtp->setVar( $sub, 'picture.url', add_session_id( $url ) );
|
||||
$vtp->closeSession( $sub, 'picture' );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue