ここの情報は古いです。ご理解頂いた上でお取り扱いください。

source: OpenPNE/branches/ishida/prj_dev26/webapp/modules/pc/page/c_edit_delete_c_commu_confirm.php @ 1100

Last change on this file since 1100 was 1100, checked in by ishida, 16 years ago

コミュニティ削除の確認画面を追加

PC&携帯

File size: 748 bytes
Line 
1<?php
2/**
3 * @copyright 2005-2006 OpenPNE Project
4 * @license   http://www.php.net/license/3_01.txt PHP License 3.01
5 */
6
7class pc_page_c_edit_delete_c_commu_confirm extends OpenPNE_Action
8{
9    function execute($requests)
10    {
11        $u = $GLOBALS['AUTH']->uid();
12
13        // --- リクエスト変数
14        $target_c_commu_id = $requests['target_c_commu_id'];
15        // ----------
16
17        //--- 権限チェック
18        //コミュニティ管理者
19        if (!_db_is_c_commu_admin($target_c_commu_id, $u)) {
20            handle_kengen_error();
21        }
22        //---
23
24        $this->set('inc_navi', fetch_inc_navi("c", $target_c_commu_id));
25
26        $this->set("c_commu_id", $target_c_commu_id);
27
28        return 'success';
29    }
30}
31
32?>
Note: See TracBrowser for help on using the repository browser.