Changeset 9324


Ignore:
Timestamp:
Feb 20, 2011, 2:56:44 PM (9 years ago)
Author:
Eric
Message:

bug 2186 definitely fixed

Location:
extensions/NBC_UserAdvManager/trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/trunk/admin/UAM_admin.php

    r9266 r9324  
    561561                }
    562562
    563     // Avoid jquery accordion menu bug when there is no users to display
    564     // Pending because it causes php warnings when no users are listed (when $visible_user_list[] is empty)
    565     /*if (empty($visible_user_list))
    566     {
    567       $visible_user_list[] = null;
    568     }*/
    569 
    570563                foreach ($visible_user_list as $local_user)
    571564    {
     
    10391032                }
    10401033
    1041     // Avoid jquery accordeon menu bug when there is no users to display
    1042     // Pending because it causes php warnings when no users are listed (when $visible_user_list[] is empty)
    1043     /*if (empty($visible_user_list))
    1044     {
    1045       $visible_user_list[] = null;
    1046     }*/
    1047 
    10481034                foreach ($visible_user_list as $local_user)
    10491035    {
     
    14411427      $visible_user_list[] = $local_user;
    14421428                }
    1443 
    1444     // Avoid jquery accordeon menu bug when there is no users to display
    1445     if (empty($visible_user_list))
    1446     {
    1447       $visible_user_list[] = null;
    1448     }
    14491429   
    14501430                foreach ($visible_user_list as $local_user)
  • extensions/NBC_UserAdvManager/trunk/admin/template/ghosttracker.tpl

    r9177 r9324  
    4141  <fieldset>
    4242    <legend class="cluetip" title="{'UAM_gtTitle'|translate}|{'UAM_gtTitle_d'|translate}">{'UAM_GhostTracker_Title'|@translate}</legend>
     43    {if count($users) > 0}
    4344      <table id="sorting" class="table2" width="97%" summary="">
    4445        <thead>
     
    100101</p>
    101102  </fieldset>
     103                {else}
     104                <div>
     105                        {'UAM_No_Ghosts'|@translate}
     106                </div>
     107                {/if}
    102108</form>
  • extensions/NBC_UserAdvManager/trunk/admin/template/userlist.tpl

    r9177 r9324  
    4545  <fieldset>
    4646        <legend class="cluetip" title="{'UAM_userlistTitle'|translate}|{'UAM_userlistTitle_d'|translate}">{'UAM_UserList_Title'|@translate}</legend>
    47 
     47    {if count($users) > 0}
    4848      <table id="sorting" class="table2" width="97%" summary="">
    4949                        <thead>
     
    9696        <br>
    9797  </fieldset>
     98                {else}
     99                <div>
     100                        {'UAM_No_Userlist'|@translate}
     101                </div>
     102                {/if}
    98103</form>
  • extensions/NBC_UserAdvManager/trunk/admin/template/usermanager.tpl

    r9177 r9324  
    3232  <fieldset>
    3333        <legend class="cluetip" title="{'UAM_usermanTitle'|translate}|{'UAM_usermanTitle_d'|translate}">{'UAM_UserManager_Title'|@translate}</legend>
     34    {if count($users) > 0}
    3435      <table id="sorting" class="table2" width="97%" summary="">
    3536                  <thead>
     
    104105</p>
    105106  </fieldset>
     107                {else}
     108                <div>
     109                        {'UAM_No_Usermanager'|@translate}
     110                </div>
     111                {/if}
    106112</form>
  • extensions/NBC_UserAdvManager/trunk/language/de_DE/plugin.lang.php

    r9295 r9324  
    309309            </li>
    310310          </ul>';
     311/*TODO*/$lang['UAM_No_Ghosts'] = 'No ghosts visitors for the moment';
     312/*TODO*/$lang['UAM_No_Userlist'] = 'No visitors to list for the moment';
     313/*TODO*/$lang['UAM_No_Usermanager'] = 'No unvalidated registers to list for the moment';
    311314// --------- End: New or revised $lang ---- from version 2.20.0
    312315?>
  • extensions/NBC_UserAdvManager/trunk/language/en_UK/plugin.lang.php

    r9295 r9324  
    311311            </li>
    312312          </ul>';
     313$lang['UAM_No_Ghosts'] = 'No ghosts visitors for the moment';
     314$lang['UAM_No_Userlist'] = 'No visitors to list for the moment';
     315$lang['UAM_No_Usermanager'] = 'No unvalidated registers to list for the moment';
    313316// --------- End: New or revised $lang ---- from version 2.20.0
    314317?>
  • extensions/NBC_UserAdvManager/trunk/language/es_ES/plugin.lang.php

    r9295 r9324  
    349349            </li>
    350350          </ul>';
     351/*TODO*/$lang['UAM_No_Ghosts'] = 'No ghosts visitors for the moment';
     352/*TODO*/$lang['UAM_No_Userlist'] = 'No visitors to list for the moment';
     353/*TODO*/$lang['UAM_No_Usermanager'] = 'No unvalidated registers to list for the moment';
    351354// --------- End: New or revised $lang ---- from version 2.20.0
    352355?>
  • extensions/NBC_UserAdvManager/trunk/language/fr_FR/plugin.lang.php

    r9295 r9324  
    309309            </li>
    310310          </ul>';
     311$lang['UAM_No_Ghosts'] = 'Pas de visiteurs fantômes pour l\'instant';
     312$lang['UAM_No_Userlist'] = 'Pas de suivi de visiteurs pour l\'instant';
     313$lang['UAM_No_Usermanager'] = 'Pas de validations d\'inscription pour l\'instant';
    311314// --------- End: New or revised $lang ---- from version 2.20.0
    312315?>
  • extensions/NBC_UserAdvManager/trunk/language/it_IT/plugin.lang.php

    r9295 r9324  
    308308            </li>
    309309          </ul>';
     310/*TODO*/$lang['UAM_No_Ghosts'] = 'No ghosts visitors for the moment';
     311/*TODO*/$lang['UAM_No_Userlist'] = 'No visitors to list for the moment';
     312/*TODO*/$lang['UAM_No_Usermanager'] = 'No unvalidated registers to list for the moment';
    310313// --------- End: New or revised $lang ---- from version 2.20.0
    311314?>
  • extensions/NBC_UserAdvManager/trunk/language/lv_LV/plugin.lang.php

    r9295 r9324  
    346346            </li>
    347347          </ul>';
     348/*TODO*/$lang['UAM_No_Ghosts'] = 'No ghosts visitors for the moment';
     349/*TODO*/$lang['UAM_No_Userlist'] = 'No visitors to list for the moment';
     350/*TODO*/$lang['UAM_No_Usermanager'] = 'No unvalidated registers to list for the moment';
    348351// --------- End: New or revised $lang ---- from version 2.20.0
    349352?>
Note: See TracChangeset for help on using the changeset viewer.