Changeset 5102 for OpenPNE/trunk/webapp
- Timestamp:
- Jan 30, 2008, 8:13:27 PM (15 years ago)
- Location:
- OpenPNE/trunk/webapp/modules
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/trunk/webapp/modules/ktai/do/c_edit_member_delete_c_sub_admin.php
r5091 r5102 20 20 21 21 //--- 権限チェック 22 //自分がコミュニティ管理者 23 //targetがコミュニティメンバー 24 //targetが副管理者 22 // 自分がコミュニティ管理者 23 // 自分がコミュニティ副管理者でない 24 // targetがコミュニティメンバー 25 // targetが副管理者 25 26 26 27 $status = db_common_commu_status($u, $target_c_commu_id); 27 28 if (!$status['is_commu_admin']) { 29 handle_kengen_error(); 30 } 31 if ($status['is_commu_sub_admin']) { 28 32 handle_kengen_error(); 29 33 } -
OpenPNE/trunk/webapp/modules/ktai/page/c_edit_member_delete_c_sub_admin_confirm.php
r5091 r5102 17 17 18 18 //--- 権限チェック 19 //自分がコミュニティ管理者 20 //targetがコミュニティメンバー 21 //targetが副管理者 19 // 自分がコミュニティ管理者 20 // 自分がコミュニティ副管理者でない 21 // targetがコミュニティメンバー 22 // targetが副管理者 22 23 23 24 $status = db_common_commu_status($u, $target_c_commu_id); 24 25 if (!$status['is_commu_admin']) { 26 handle_kengen_error(); 27 } 28 if ($status['is_commu_sub_admin']) { 25 29 handle_kengen_error(); 26 30 } -
OpenPNE/trunk/webapp/modules/pc/do/c_sub_admin_delete.php
r4933 r5102 20 20 21 21 //--- 権限チェック 22 //自分がコミュニティ管理者 23 //targetがコミュニティメンバー 24 //targetが副管理者 22 // 自分がコミュニティ管理者 23 // 自分がコミュニティ副管理者でない 24 // targetがコミュニティメンバー 25 // targetが副管理者 25 26 26 27 $status = db_common_commu_status($u, $target_c_commu_id); 27 28 if (!$status['is_commu_admin']) { 29 handle_kengen_error(); 30 } 31 if ($status['is_commu_sub_admin']) { 28 32 handle_kengen_error(); 29 33 }
Note: See TracChangeset
for help on using the changeset viewer.