projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed record selection on pages using non-numeric selectors with simple_page_mode...
[fa-stable.git]
/
admin
/
inst_lang.php
diff --git
a/admin/inst_lang.php
b/admin/inst_lang.php
index cc0cc0e3c07b1fc4ca92ed25b7b869319384c5b7..98776618fb59dfbcdde68fdb920636a58188c3d0 100644
(file)
--- a/
admin/inst_lang.php
+++ b/
admin/inst_lang.php
@@
-1,6
+1,6
@@
<?php
<?php
-$page_security =
15
;
+$page_security =
20
;
$path_to_root="..";
include_once($path_to_root . "/includes/session.inc");
$path_to_root="..";
include_once($path_to_root . "/includes/session.inc");
@@
-265,8
+265,9
@@
function display_languages()
$rtl = _("No");
label_cell($rtl);
edit_link_cell("selected_id=" . $i);
$rtl = _("No");
label_cell($rtl);
edit_link_cell("selected_id=" . $i);
- if ($conn[$i]['code'] != $lang)
- label_cell("<a href='javascript:deleteLanguage(" . $i . ")'>" . _("Delete") . "</a>");
+
+ label_cell($conn[$i]['code'] == $lang ? '' :
+ "<a href='javascript:deleteLanguage(" . $i . ")'>" . _("Delete") . "</a>");
end_row();
}
end_row();
}