Ignore:
Timestamp:
Apr 4, 2010, 4:18:52 PM (14 years ago)
Author:
Eric
Message:

[NBC_UserAdvManager]

  • Bug 1571 fixed : Missing translation tag
  • Bug 1572 fixed : Fix unable to read resource: "ConfirmMail.tpl"
  • Bug 1574 fixed : Beautifying ConfirmMail page. Moved to a "template" folder with css file and icons.
  • Bug 1576 partially fixed : Compatibility with other database systems than MySql like PostgreSql or Sqlite. Using Piwigo's pwg_db_### integrated functions. mysql_list_fields() and mysql_num_fields() are not implemented in Piwigo's database functions. This point is still under discuss on FR forum.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/trunk/maintain.inc.php

    r5593 r5633  
    8989WHERE param = "nbc_UserAdvManager_ConfirmMail"
    9090;';
    91   $count1 = mysql_num_rows(pwg_query($query));
     91  $count1 = pwg_db_num_rows(pwg_query($query));
    9292 
    9393        $query1 = '
     
    9696WHERE param = "nbc_UserAdvManager_ConfirmMail"
    9797;';
    98   $count2 = mysql_num_rows(pwg_query($query1));
     98  $count2 = pwg_db_num_rows(pwg_query($query1));
    9999
    100100/* If old params exist an upgrade is needed */
     
    109109WHERE param = "nbc_UserAdvManager_ConfirmMail"
    110110;';
    111     $count = mysql_num_rows(pwg_query($query));
     111    $count = pwg_db_num_rows(pwg_query($query));
    112112 
    113113    if ($count == 0)
Note: See TracChangeset for help on using the changeset viewer.