Changeset 177


Ignore:
Timestamp:
Oct 5, 2003, 3:10:54 PM (21 years ago)
Author:
z0rglub
Message:

Display a message to update the database after validating uploaded pictures

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/waiting.php

    r61 r177  
    6969$sub = $vtp->Open( '../template/'.$user['template'].'/admin/waiting.vtp' );
    7070$tpl = array( 'category','date','author','thumbnail','file','delete',
    71               'submit' );
     71              'submit','waiting_update' );
    7272templatize_array( $tpl, 'lang', $sub );
     73//-------------------------------------------------------- confirmation message
     74if ( isset( $_POST['submit'] ) )
     75{
     76  $vtp->addSession( $sub, 'confirmation' );
     77  $vtp->closeSession( $sub, 'confirmation' );
     78}
    7379//---------------------------------------------------------------- form display
    7480$cat_names = array();
  • trunk/language/english.php

    r176 r177  
    591591  $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)';
    592592  $lang['permuser_only_private'] = 'Only private categories are shown';
     593  $lang['waiting_update'] = 'Validated pictures will be displayed only once pictures database updated';
    593594}
    594595?>
  • trunk/language/francais.php

    r176 r177  
    310310  $lang['title_waiting'] = 'Images en attente de validation';
    311311  $lang['menu_waiting'] = 'En attente';
     312// start version 1.3
     313  $lang['waiting_update'] = 'Les images validées ne seront visibles qu\'après mise à jour de la base d\'images.';
     314// end version 1.3
    312315               
    313316  $lang['default_message'] = 'Zone d\'administration de PhpWebGallery';
  • trunk/template/default/admin/waiting.vtp

    r25 r177  
    11<form action="{#action}" method="post">
     2  <!--VTP_confirmation-->
     3  <div class="info">{#waiting_update}</div>
     4  <!--/VTP_confirmation-->
    25  <table style="width:100%;">
    36    <tr>
Note: See TracChangeset for help on using the changeset viewer.