-
Dries Buytaert authored
- added fine-grained user permission system which allows us to give certain users access to specific administration sections only. Ex. a FAQ maintainer can only edit the FAQ, and members of an "editorial board" can only edit comments, diaries and stories, .. - code review => rewrote include/user.inc which is much easier now - fixed 4 small bugs
Dries Buytaert authored- added fine-grained user permission system which allows us to give certain users access to specific administration sections only. Ex. a FAQ maintainer can only edit the FAQ, and members of an "editorial board" can only edit comments, diaries and stories, .. - code review => rewrote include/user.inc which is much easier now - fixed 4 small bugs
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
locale.inc 190 B
<?
function locale_init() {
global $languages, $user;
return ($user->id && $user->language) ? $user->language : key($languages);
}
function t($string) {
return locale($string);
}
?>