Zeile 71 | Zeile 71 |
---|
$plugins->run_hooks("admin_user_titles_add_commit");
// Log admin action
|
$plugins->run_hooks("admin_user_titles_add_commit");
// Log admin action
|
log_admin_action($utid, $mybb->input['title'], $mybb->input['posts']);
| log_admin_action($utid, htmlspecialchars_uni($mybb->input['title']), $mybb->input['posts']);
|
flash_message($lang->success_user_title_created, 'success'); admin_redirect("index.php?module=user-titles");
| flash_message($lang->success_user_title_created, 'success'); admin_redirect("index.php?module=user-titles");
|
Zeile 159 | Zeile 159 |
---|
$plugins->run_hooks("admin_user_titles_edit_commit");
// Log admin action
|
$plugins->run_hooks("admin_user_titles_edit_commit");
// Log admin action
|
log_admin_action($usertitle['utid'], $mybb->input['title'], $mybb->input['posts']);
| log_admin_action($usertitle['utid'], htmlspecialchars_uni($mybb->input['title']), $mybb->input['posts']);
|
flash_message($lang->success_user_title_updated, 'success'); admin_redirect("index.php?module=user-titles");
| flash_message($lang->success_user_title_updated, 'success'); admin_redirect("index.php?module=user-titles");
|
Zeile 171 | Zeile 171 |
---|
$sub_tabs['edit_title'] = array( 'title' => $lang->edit_user_title,
|
$sub_tabs['edit_title'] = array( 'title' => $lang->edit_user_title,
|
'link' => "index.php?module=user-titles&action=edit&uid=".$mybb->input['uid'],
| 'link' => "index.php?module=user-titles&action=edit&utid=".$usertitle['uid'],
|
'description' => $lang->edit_user_title_desc );
| 'description' => $lang->edit_user_title_desc );
|
Zeile 232 | Zeile 232 |
---|
$cache->update_usertitles(); // Log admin action
|
$cache->update_usertitles(); // Log admin action
|
log_admin_action($usertitle['utid'], $usertitle['title'], $usertitle['posts']);
| log_admin_action($usertitle['utid'], htmlspecialchars_uni($usertitle['title']), $usertitle['posts']);
|
flash_message($lang->success_user_title_deleted, 'success'); admin_redirect("index.php?module=user-titles");
| flash_message($lang->success_user_title_deleted, 'success'); admin_redirect("index.php?module=user-titles");
|