コード例 #1
0
ファイル: manage_ranks.php プロジェクト: rswiders/core
 public function __construct()
 {
     $this->user->check_auth('a_members_man');
     $handler = array('save' => array('process' => 'save', 'csrf' => true), 'r' => array('process' => 'edit'));
     parent::__construct(false, $handler, array('rank', 'name'), null, 'rank_ids[]');
     $this->process();
 }
コード例 #2
0
 public function __construct()
 {
     $this->user->check_auth('a_config_man');
     $handler = array('save' => array('process' => 'save', 'check' => 'a_raid_add', 'csrf' => true), 'id' => array('process' => 'edit'));
     parent::__construct(false, $handler, array('notification_types', 'id'), null, 'selected_ids[]');
     $this->process();
 }
コード例 #3
0
ファイル: manage_calendars.php プロジェクト: rswiders/core
 public function __construct()
 {
     $this->user->check_auth('a_calendars_man');
     $handler = array('save' => array('process' => 'save', 'csrf' => true));
     parent::__construct(false, $handler, array('calendars', 'name'), null, 'calendar_ids[]');
     $this->process();
 }
コード例 #4
0
ファイル: transform.php プロジェクト: ubick/lorekeepers.org
 public function __construct()
 {
     $handler = array('transformraid' => array('process' => 'transform_raid'));
     $this->user->check_auth('u_cal_event_add');
     parent::__construct(false, $handler, array(), null, '', 'eventid');
     $this->process();
 }
コード例 #5
0
 public function __construct()
 {
     $this->user->check_auth('a_guildbank_manage');
     $handler = array('save' => array('process' => 'save', 'csrf' => true), 'perform_payout' => array('process' => 'perform_payout', 'csrf' => true), 'addedit' => array('process' => 'display_add'), 'payout' => array('process' => 'display_payout'));
     parent::__construct(false, $handler, array('guildbank_items', 'deletename'), null, 'selections[]');
     $this->process();
 }
コード例 #6
0
 public function __construct()
 {
     $handler = array('mode' => array(array('process' => 'confirm_all', 'value' => 'confirm_all', 'check' => 'a_members_man', 'csrf' => true), array('process' => 'confirm', 'value' => 'confirm', 'check' => 'a_members_man', 'csrf' => true), array('process' => 'delete_all', 'value' => 'delete_all', 'check' => 'a_members_man', 'csrf' => true), array('process' => 'delete', 'value' => 'delete', 'check' => 'a_members_man', 'csrf' => true), array('process' => 'revoke', 'value' => 'revoke', 'check' => 'a_members_man', 'csrf' => true), array('process' => 'activate', 'value' => 'activate', 'check' => 'a_users_man', 'csrf' => true), array('process' => 'activate_all', 'value' => 'activate_all', 'check' => 'a_users_man', 'csrf' => true), array('process' => 'delete_user', 'value' => 'delete_user', 'check' => 'a_users_man', 'csrf' => true)));
     $this->user->check_auths(array('a_users_man', 'a_members_man'), 'OR');
     parent::__construct(false, $handler);
     $this->process();
 }
コード例 #7
0
ファイル: import.php プロジェクト: ubick/lorekeepers.org
 public function __construct()
 {
     $this->user->check_auth('a_epgpimport_import');
     $handler = array('insert' => array('process' => 'insert_log'));
     parent::__construct(false, $handler);
     $this->process();
 }
コード例 #8
0
ファイル: manage_members.php プロジェクト: rswiders/core
 public function __construct()
 {
     $this->user->check_auth('a_members_man');
     $handler = array('del' => array('process' => 'member_del', 'csrf' => true), 'mstatus' => array('process' => 'member_status', 'csrf' => true), 'rankc' => array('process' => 'member_ranks', 'csrf' => true), 'defrolechange' => array('process' => 'ajax_defaultrole', 'csrf' => true));
     parent::__construct(false, $handler, array('member', 'name'), null, 'selected_ids[]');
     $this->process();
 }
コード例 #9
0
 public function __construct()
 {
     $this->user->check_auth('a_guildbank_auctions');
     $handler = array('addedit' => array('process' => 'display_add'), 'save' => array('process' => 'save', 'csrf' => true));
     parent::__construct(false, $handler, array('guildbank_auctions', 'name'), null, 'auction_ids[]');
     $this->process();
 }
コード例 #10
0
ファイル: info_database.php プロジェクト: rswiders/core
 public function __construct()
 {
     $this->user->check_auth('a_config_man');
     $handler = array();
     parent::__construct(false, $handler);
     $this->process();
 }
コード例 #11
0
ファイル: viewraid.php プロジェクト: ubick/lorekeepers.org
 public function __construct()
 {
     $handler = array();
     $this->user->check_auth('u_raid_view');
     parent::__construct(false, $handler, array(), null, '', 'r');
     $this->process();
 }
コード例 #12
0
ファイル: calendar.php プロジェクト: ubick/lorekeepers.org
 public function __construct()
 {
     $handler = array('move' => array('process' => 'move_event', 'csrf' => true), 'resize' => array('process' => 'resize_event', 'csrf' => true), 'deleteid' => array('process' => 'delete_event', 'csrf' => true), 'json' => array('process' => 'get_json'), 'checkrepeatable' => array('process' => 'get_event_repeatable'), 'mass_signin' => array('process' => 'mass_signin', 'csrf' => true), 'export_tooltip' => array('process' => 'export_tooltip'));
     $this->user->check_auth('u_calendar_view');
     parent::__construct(false, $handler, array());
     $this->process();
 }
コード例 #13
0
 public function __construct()
 {
     $handler = array('create' => array('process' => 'submit', 'csrf' => true), 'email_submit' => array('process' => 'mail', 'csrf' => true), 'renew' => array('process' => 'renew', 'csrf' => true));
     $this->user->check_auth('a_');
     parent::__construct(false, $handler);
     $this->process();
 }
コード例 #14
0
ファイル: manage_backup.php プロジェクト: rswiders/core
 public function __construct()
 {
     $this->user->check_auth('a_backup');
     $handler = array('backup' => array('process' => 'process_backup', 'csrf' => true), 'restore' => array('process' => 'process_restore', 'csrf' => true), 'backup_delete' => array('process' => 'process_delete', 'csrf' => true), 'backup_download' => array('process' => 'process_download', 'csrf' => true));
     parent::__construct(false, $handler, false, null, 'user_id');
     $this->process();
 }
コード例 #15
0
 public function __construct()
 {
     $this->user->check_auth('a_guildbank_manage');
     $handler = array('save' => array('process' => 'save', 'csrf' => true));
     parent::__construct(false, $handler, array('guildbank_banker', 'name'), null, 'banker_ids[]');
     $this->process();
 }
コード例 #16
0
ファイル: manage_roles.php プロジェクト: rswiders/core
 public function __construct()
 {
     $this->user->check_auth('a_members_man');
     $handler = array('editid' => array('process' => 'display_edit'), 'adddialog' => array('process' => 'display_edit'), 'defaultroles' => array('process' => 'save_defaultrole'), 'reset' => array('process' => 'process_reset', 'csrf' => true));
     parent::__construct(false, $handler, array('roles', 'name'), null, 'selected_ids[]');
     $this->process();
 }
コード例 #17
0
ファイル: manage_user_groups.php プロジェクト: rswiders/core
 public function __construct()
 {
     $this->user->check_auths(array('a_usergroups_man', 'a_usergroups_grpleader'), 'or');
     $handler = array('save' => array('process' => 'user_group_save', 'csrf' => true), 'del_group_users' => array('process' => 'user_group_users_del', 'csrf' => true), 'add_group_users' => array('process' => 'user_group_users_save', 'csrf' => true), 'save_group_perms' => array('process' => 'save_group_permissions', 'csrf' => true), 'add_grpleader' => array('process' => 'process_add_grpleader', 'csrf' => true), 'remove_grpleader' => array('process' => 'process_remove_grpleader', 'csrf' => true), 'user_group_perms' => array('process' => 'display_grouppermlist'), 'grp_perms' => array('process' => 'display_grouppermlist'), 'g' => array('process' => 'edit'));
     parent::__construct(false, $handler, array('user_groups', 'name'), null, 'user_group_ids[]');
     $this->process();
 }
コード例 #18
0
 public function __construct()
 {
     $this->user->check_auth('a_news_');
     $handler = array('mode' => array('process' => 'delete_icon', 'value' => 'delicon', 'csrf' => true), 'deleteid' => array('process' => 'delete', 'csrf' => true));
     parent::__construct(false, $handler);
     $this->process();
 }
コード例 #19
0
ファイル: listitems.php プロジェクト: ubick/lorekeepers.org
 public function __construct()
 {
     $handler = array();
     $this->user->check_auth('u_item_view');
     parent::__construct(false, $handler, array());
     $this->process();
 }
コード例 #20
0
ファイル: viewcalraid.php プロジェクト: ubick/lorekeepers.org
 public function __construct()
 {
     $handler = array('closedstatus' => array(array('process' => 'close_raid', 'value' => 'close', 'csrf' => true), array('process' => 'open_raid', 'value' => 'open', 'csrf' => true)), 'ajax' => array(array('process' => 'role_ajax', 'value' => 'role')), 'savenote' => array('process' => 'save_raidnote', 'csrf' => true), 'update_status' => array('process' => 'update_status', 'csrf' => true), 'moderate_status' => array('process' => 'moderate_status', 'csrf' => true), 'confirmall' => array('process' => 'confirm_all', 'csrf' => true), 'ical' => array('process' => 'generate_ical'), 'add_notsigned' => array('process' => 'add_notsigned_chars', 'csrf' => true), 'changecharmenu' => array('process' => 'change_char', 'csrf' => true), 'changenotemenu' => array('process' => 'change_note', 'csrf' => true), 'guestid' => array('process' => 'delete_guest', 'csrf' => true));
     $this->user->check_auth('u_calendar_view');
     parent::__construct(false, $handler, array(), null, '', 'eventid');
     $this->process();
 }
コード例 #21
0
 public function __construct()
 {
     $this->user->check_auth('a_users_massmail');
     $handler = array('data' => array('process' => 'process_data'), 'send' => array('process' => 'process_send', 'csrf' => true), 'submit' => array('process' => 'submit', 'csrf' => true));
     parent::__construct(false, $handler, array('user', 'name'), null, 'user_id[]');
     $this->process();
 }
コード例 #22
0
 public function __construct()
 {
     $this->user->check_auths(array('a_articles_man', 'a_article_categories_man'), 'OR');
     $handler = array('save' => array('process' => 'save', 'csrf' => true), 'update' => array('process' => 'update', 'csrf' => true), 'checkalias' => array('process' => 'ajax_checkalias'), 'calcperm' => array('process' => 'ajax_calculate_permission'), 'c' => array('process' => 'edit'));
     parent::__construct(false, $handler, array('article_categories', 'name'), null, 'selected_ids[]');
     $this->process();
 }
コード例 #23
0
ファイル: manage_export.php プロジェクト: rswiders/core
 public function __construct()
 {
     $this->user->check_auth('a_export_data');
     $handler = array('ajax_export' => array('process' => 'ajax_export'), 'regenerate_apikey' => array('process' => 'regenerate_apikey', 'csrf' => true));
     parent::__construct(false, $handler);
     $this->process();
 }
コード例 #24
0
ファイル: upload.php プロジェクト: ubick/lorekeepers.org
 public function __construct()
 {
     $this->user->check_auth('a_files_man');
     $handler = array('upload' => array('process' => 'upload'), 'create_folder' => array('process' => 'folder'), 'action' => array(array('process' => 'delete', 'value' => 'delete'), array('process' => 'move', 'value' => 'move')));
     parent::__construct(false, $handler, false, null, 'user_id');
     $this->process();
 }
コード例 #25
0
ファイル: bz.php プロジェクト: rswiders/plugin-raidlogimport
 public function __construct()
 {
     $this->user->check_auth('a_raidlogimport_bz');
     $handler = array('save' => array('process' => 'save', 'csrf' => true), 'copy' => array('process' => 'copy'), 'upd' => array('process' => 'update', 'csrf' => false), 'inactive' => array('process' => 'switch_inactive', 'csrf' => true));
     parent::__construct(false, $handler, false, null, 'bz_ids[]');
     $this->process();
 }
コード例 #26
0
ファイル: manage_auto_points.php プロジェクト: rswiders/core
 public function __construct()
 {
     $this->user->check_auth('a_config_man');
     $handler = array('recalc' => array('process' => 'recalculate'), 'edit_func' => array('process' => 'edit_function'), 'save_func' => array('process' => 'save_function', "csrf" => true), 'del_func' => array('process' => 'delete_function', "csrf" => true));
     parent::__construct(false, $handler);
     $this->process();
 }
コード例 #27
0
ファイル: manage_raid_groups.php プロジェクト: rswiders/core
 public function __construct()
 {
     $this->user->check_auths(array('a_raidgroups_man', 'a_raidgroups_grpleader'), 'or');
     $handler = array('save' => array('process' => 'raid_group_save', 'csrf' => true), 'del_group_members' => array('process' => 'raid_group_members_del', 'csrf' => true), 'add_group_members' => array('process' => 'raid_group_members_save', 'csrf' => true), 'add_grpleader' => array('process' => 'process_add_grpleader', 'csrf' => true), 'remove_grpleader' => array('process' => 'process_remove_grpleader', 'csrf' => true), 'g' => array('process' => 'edit'));
     parent::__construct(false, $handler, array('raid_groups', 'name'), null, 'raid_group_ids[]');
     $this->process();
 }
コード例 #28
0
ファイル: manage_users.php プロジェクト: ZerGabriel/core
 public function __construct()
 {
     $this->user->check_auth('a_users_man');
     $handler = array('maincharchange' => array('process' => 'maincharchange', 'csrf' => true), 'mode' => array(array('process' => 'delete_authaccount', 'value' => 'delauthacc', 'csrf' => true), array('process' => 'activate', 'value' => 'activate', 'csrf' => true), array('process' => 'deactivate', 'value' => 'deactivate', 'csrf' => true), array('process' => 'overtake_permissions', 'value' => 'ovperms', 'csrf' => true)), 'submit' => array('process' => 'submit', 'csrf' => true), 'send_new_pw' => array('process' => 'send_new_pw', 'csrf' => true), 'u' => array('process' => 'edit'));
     parent::__construct(false, $handler, array('user', 'name'), null, 'user_id[]');
     $this->process();
 }
コード例 #29
0
ファイル: manage_settings.php プロジェクト: briangann/core
 public function __construct()
 {
     $this->user->check_auth('a_config_man');
     $handler = array('ajax' => array(array('process' => 'ajax_gamelanguage', 'value' => 'games')), 'dellogo' => array('process' => 'delete_logo'));
     parent::__construct(false, $handler, array(), null, '');
     $this->process();
 }
コード例 #30
0
 public function __construct()
 {
     $this->user->check_auth('a_');
     parent::__construct(false, false, array(), null, '', 'id');
     $this->module_id = $this->in->get('pmod_id', 0);
     $this->process();
 }