list_supermasters.php
changeset 129 92de73876d6e
parent 126 cb06e3e29ed8
equal deleted inserted replaced
128:12f5e0869676 129:92de73876d6e
    24 
    24 
    25 (verify_permission('supermaster_view')) ? $perm_sm_view = "1" :  $perm_sm_view = "0" ;
    25 (verify_permission('supermaster_view')) ? $perm_sm_view = "1" :  $perm_sm_view = "0" ;
    26 (verify_permission('supermaster_edit')) ? $perm_sm_edit = "1" :  $perm_sm_edit = "0" ;
    26 (verify_permission('supermaster_edit')) ? $perm_sm_edit = "1" :  $perm_sm_edit = "0" ;
    27 
    27 
    28 $supermasters = get_supermasters();
    28 $supermasters = get_supermasters();
       
    29 $num_supermasters = ($supermasters == -1) ? 0 : count($supermasters);
    29 
    30 
    30 echo "     <h2>" . _('List supermasters') . "</h2>\n";  
    31 echo "     <h2>" . _('List supermasters') . "</h2>\n";  
    31 echo "     <table>\n";
    32 echo "     <table>\n";
    32 echo "      <tr>\n";
    33 echo "      <tr>\n";
    33 echo "       <th>&nbsp;</th>\n";
    34 echo "       <th>&nbsp;</th>\n";