2010-12-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/groups/group_list.php: fixed error message show in the successful delete group operation. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3697 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
f3ec02bf57
commit
394fec0c13
|
@ -1,3 +1,8 @@
|
|||
2010-12-23 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/groups/group_list.php: fixed error message show in the successful
|
||||
delete group operation.
|
||||
|
||||
2010-12-23 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* include/javascript/pandora.js: Translate space HTML entities.
|
||||
|
|
|
@ -162,13 +162,12 @@ if ($delete_group) {
|
|||
echo "<h3 class='error'>" .
|
||||
sprintf(__('The group is not empty. It is use in %s.'), implode(', ', $usedGroup['tables'])) . "</h3>";
|
||||
}
|
||||
|
||||
|
||||
if ((!$result) || (!$usedGroup['return'])) {
|
||||
echo "<h3 class='error'>".__('There was a problem deleting group')."</h3>";
|
||||
if ($result && (!$usedGroup['return'])) {
|
||||
echo "<h3 class='suc'>".__('Group successfully deleted')."</h3>";
|
||||
}
|
||||
else {
|
||||
echo "<h3 class='suc'>".__('Group successfully deleted')."</h3>";
|
||||
echo "<h3 class='error'>".__('There was a problem deleting group')."</h3>";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue