Changeset 929 for branches/branch-1_5


Ignore:
Timestamp:
Nov 8, 2005, 10:26:30 PM (19 years ago)
Author:
plg
Message:
  • bug 180 fixed: (report from BSF) remote_site.tpl doesn't validate.
  • translation bug fixed: (report from BSF) generate_file_listing.php doesn't exist, it's create_listing_file.php !
Location:
branches/branch-1_5
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_5/admin/remote_site.php

    r858 r929  
    715715;';
    716716$result = pwg_query($query);
     717
     718if (mysql_num_rows($result) > 0)
     719{
     720  $template->assign_block_vars('sites', array());
     721}
     722
    717723while ($row = mysql_fetch_array($result))
    718724{
     
    723729 
    724730  $template->assign_block_vars(
    725     'site',
     731    'sites.site',
    726732    array(
    727733      'NAME' => $row['galleries_url'],
  • branches/branch-1_5/doc/ChangeLog

    r928 r929  
     12005-11-08 Pierrick LE GALL
     2       
     3        * bug 180 fixed: (report from BSF) remote_site.tpl doesn't
     4        validate.
     5
     6        * translation bug fixed: (report from BSF)
     7        generate_file_listing.php doesn't exist, it's
     8        create_listing_file.php !
     9
    1102005-11-08 Pierrick LE GALL
    211
  • branches/branch-1_5/language/en_UK.iso-8859-1/admin.lang.php

    r921 r929  
    240240$lang['remote_site_clean'] = 'clean';
    241241$lang['remote_site_clean_hint'] = 'remove remote listing.xml file';
    242 $lang['remote_site_create'] = 'Create a new site : (give its URL to generate_file_listing.php)';
     242$lang['remote_site_create'] = 'Create a new site : (give its URL to create_listing_file.php)';
    243243$lang['remote_site_created'] = 'created';
    244244$lang['remote_site_delete'] = 'delete';
  • branches/branch-1_5/language/fr_FR.iso-8859-1/admin.lang.php

    r923 r929  
    238238$lang['remote_site_clean'] = 'nettoyer';
    239239$lang['remote_site_clean_hint'] = 'supprimer le fichier listing.xml distant';
    240 $lang['remote_site_create'] = 'Créer un nouveau site distant : (donner son URL vers generate_file_listing.php)';
     240$lang['remote_site_create'] = 'Créer un nouveau site distant : (donner son URL vers create_listing_file.php)';
    241241$lang['remote_site_created'] = 'créé';
    242242$lang['remote_site_delete'] = 'supprimé';
  • branches/branch-1_5/template/yoga/admin/remote_site.tpl

    r910 r929  
    6969</form>
    7070
     71<!-- BEGIN sites -->
    7172<table>
    7273  <!-- BEGIN site -->
    7374  <tr>
    74     <td>{site.NAME}</td>
    75     <td>[<a href="{site.U_GENERATE}" title="{L_REMOTE_SITE_GENERATE_HINT}">{L_REMOTE_SITE_GENERATE}</a>]</td>
    76     <td>[<a href="{site.U_UPDATE}" title="{L_REMOTE_SITE_UPDATE_HINT}">{L_REMOTE_SITE_UPDATE}</a>]</td>
    77     <td>[<a href="{site.U_CLEAN}" title="{L_REMOTE_SITE_CLEAN_HINT}">{L_REMOTE_SITE_CLEAN}</a>]</td>
    78     <td>[<a href="{site.U_DELETE}" title="{L_REMOTE_SITE_DELETE_HINT}">{L_REMOTE_SITE_DELETE}</a>]</td>
     75    <td>{sites.site.NAME}</td>
     76    <td>[<a href="{sites.site.U_GENERATE}" title="{L_REMOTE_SITE_GENERATE_HINT}">{L_REMOTE_SITE_GENERATE}</a>]</td>
     77    <td>[<a href="{sites.site.U_UPDATE}" title="{L_REMOTE_SITE_UPDATE_HINT}">{L_REMOTE_SITE_UPDATE}</a>]</td>
     78    <td>[<a href="{sites.site.U_CLEAN}" title="{L_REMOTE_SITE_CLEAN_HINT}">{L_REMOTE_SITE_CLEAN}</a>]</td>
     79    <td>[<a href="{sites.site.U_DELETE}" title="{L_REMOTE_SITE_DELETE_HINT}">{L_REMOTE_SITE_DELETE}</a>]</td>
    7980  </tr>
    8081  <!-- END site -->
    8182</table>
     83<!-- END sites -->
Note: See TracChangeset for help on using the changeset viewer.