mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
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
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -590,5 +590,6 @@ Once this file deleted , follow this instructions :
|
||||
$lang['help_infos'][2] = 'If you have any question, do not hesitate to take a look at the forum or ask a question there. The <a href="'.$conf['forum_url'].'" style="text-decoration:underline">forum</a> (message board) is available on the presentation site of PhpWebGallery.';
|
||||
$lang['step1_err_copy'] = 'Copy the text between hyphens and paste it into the file "include/mysql.inc.php"(Warning : mysql.inc.php must only contain what is in blue, no line return or space character)';
|
||||
$lang['permuser_only_private'] = 'Only private categories are shown';
|
||||
$lang['waiting_update'] = 'Validated pictures will be displayed only once pictures database updated';
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -309,6 +309,9 @@ if ( $isadmin )
|
||||
|
||||
$lang['title_waiting'] = 'Images en attente de validation';
|
||||
$lang['menu_waiting'] = 'En attente';
|
||||
// start version 1.3
|
||||
$lang['waiting_update'] = 'Les images validées ne seront visibles qu\'après mise à jour de la base d\'images.';
|
||||
// end version 1.3
|
||||
|
||||
$lang['default_message'] = 'Zone d\'administration de PhpWebGallery';
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
<form action="{#action}" method="post">
|
||||
<!--VTP_confirmation-->
|
||||
<div class="info">{#waiting_update}</div>
|
||||
<!--/VTP_confirmation-->
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<th style="width:20%;">{#category}</th>
|
||||
|
||||
Reference in New Issue
Block a user