From 458b548ef6bc1d41745785b44b1e1e5e57863ec7 Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sun, 5 Oct 2003 13:10:54 +0000 Subject: Display a message to update the database after validating uploaded pictures git-svn-id: http://piwigo.org/svn/trunk@177 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/waiting.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'admin/waiting.php') diff --git a/admin/waiting.php b/admin/waiting.php index 7b38a387c..9a5e79481 100644 --- a/admin/waiting.php +++ b/admin/waiting.php @@ -68,8 +68,14 @@ if ( isset( $_POST['submit'] ) ) //----------------------------------------------------- template initialization $sub = $vtp->Open( '../template/'.$user['template'].'/admin/waiting.vtp' ); $tpl = array( 'category','date','author','thumbnail','file','delete', - 'submit' ); + 'submit','waiting_update' ); templatize_array( $tpl, 'lang', $sub ); +//-------------------------------------------------------- confirmation message +if ( isset( $_POST['submit'] ) ) +{ + $vtp->addSession( $sub, 'confirmation' ); + $vtp->closeSession( $sub, 'confirmation' ); +} //---------------------------------------------------------------- form display $cat_names = array(); $query = 'SELECT id,storage_category_id,file,username,mail_address'; -- cgit v1.2.3