Diff for Metafox/admin/inc-db/bindings.inc.php between version 1.1 and 1.2
| version 1.1, 2005/06/05 12:13:32 |
version 1.2, 2007/03/06 22:28:58 |
| Line 277 function ezin_admin_bindings_save($type, |
|
| Line 277 function ezin_admin_bindings_save($type, |
|
| |
|
| $ezin_perm_articles = ''; |
$ezin_perm_articles = ''; |
| $ezin_perm_sections = ''; |
$ezin_perm_sections = ''; |
| ezin_admin_check_full_list_privileges($ezin_USER['role_articles']) && $ezin_perm_articles .= 'a'; |
ezin_admin_check_full_list_privileges($ezin_user['role_articles']) && $ezin_perm_articles .= 'a'; |
| ezin_admin_check_full_list_privileges($ezin_USER['role_sections']) && $ezin_perm_sections .= 's'; |
ezin_admin_check_full_list_privileges($ezin_user['role_sections']) && $ezin_perm_sections .= 's'; |
| strstr($ezin_perm_articles, 'a') && stristr($ezin_USER['role_articles'], 'C') && $ezin_perm_articles .= 'A'; |
strstr($ezin_perm_articles, 'a') && stristr($ezin_user['role_articles'], 'C') && $ezin_perm_articles .= 'A'; |
| strstr($ezin_perm_sections, 's') && stristr($ezin_USER['role_sections'], 'C') && $ezin_perm_sections .= 'S'; |
strstr($ezin_perm_sections, 's') && stristr($ezin_user['role_sections'], 'C') && $ezin_perm_sections .= 'S'; |
| |
|
| if (strlen($ezin_perm_articles) > 0 || strlen($ezin_perm_sections) > 0) { |
if (strlen($ezin_perm_articles) > 0 || strlen($ezin_perm_sections) > 0) { |
| ezin_check_db_handle(); |
ezin_check_db_handle(); |
Platon Group <platon@platon.org> http://platon.org/
|
|