diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-10-05 13:10:54 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-10-05 13:10:54 +0000 |
commit | 458b548ef6bc1d41745785b44b1e1e5e57863ec7 (patch) | |
tree | 58161cb51631f71a6e377444e7f8b91c044be6f1 /admin/waiting.php | |
parent | 7e441d191eddbf0a7c4cf1d9fa4af3328fa93350 (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | admin/waiting.php | 8 |
1 files changed, 7 insertions, 1 deletions
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'; |