plugins/admin/GroupManager.php
changeset 573 43e7254afdb4
parent 541 acb7e23b6ffa
child 631 f4f4146d8b6c
equal deleted inserted replaced
572:c196e8f336b9 573:43e7254afdb4
   243           }
   243           }
   244         }
   244         }
   245         else
   245         else
   246           echo '<div class="warning-box">' . $lang->get('acpug_err_username_not_exist', array('username' => htmlspecialchars($_POST['edit_add_username']))) . '</div>';
   246           echo '<div class="warning-box">' . $lang->get('acpug_err_username_not_exist', array('username' => htmlspecialchars($_POST['edit_add_username']))) . '</div>';
   247       }
   247       }
   248       generate_ranks_cache();
   248       generate_cache_userranks();
   249     }
   249     }
   250     $sg_disabled = ( $row['system_group'] == 1 ) ?
   250     $sg_disabled = ( $row['system_group'] == 1 ) ?
   251              ' value="' . $lang->get('acpug_btn_cant_delete') . '" disabled="disabled" style="color: #FF9773" ' :
   251              ' value="' . $lang->get('acpug_btn_cant_delete') . '" disabled="disabled" style="color: #FF9773" ' :
   252              ' value="' . $lang->get('acpug_btn_delete_group') . '" style="color: #FF3713" ';
   252              ' value="' . $lang->get('acpug_btn_delete_group') . '" style="color: #FF3713" ';
   253     echo '<form action="'.makeUrl($paths->nslist['Special'].'Administration', 'module='.$paths->cpage['module']).'" method="post" onsubmit="if(!submitAuthorized) return false;" enctype="multipart/form-data">';
   253     echo '<form action="'.makeUrl($paths->nslist['Special'].'Administration', 'module='.$paths->cpage['module']).'" method="post" onsubmit="if(!submitAuthorized) return false;" enctype="multipart/form-data">';