Zeile 48 | Zeile 48 |
---|
$cache->update_posticons();
// Log admin action
|
$cache->update_posticons();
// Log admin action
|
log_admin_action($iid, htmlspecialchars_uni($mybb->input['name']));
| log_admin_action($iid, $mybb->input['name']);
|
flash_message($lang->success_post_icon_added, 'success'); admin_redirect('index.php?module=config-post_icons');
| flash_message($lang->success_post_icon_added, 'success'); admin_redirect('index.php?module=config-post_icons');
|
Zeile 333 | Zeile 333 |
---|
$plugins->run_hooks("admin_config_post_icons_edit_commit");
|
$plugins->run_hooks("admin_config_post_icons_edit_commit");
|
$db->update_query("icons", $updated_icon, "iid='".$mybb->get_input('iid', MyBB::INPUT_INT)."'");
| $db->update_query("icons", $updated_icon, "iid='{$icon['iid']}'");
|
$cache->update_posticons();
// Log admin action
|
$cache->update_posticons();
// Log admin action
|
log_admin_action($icon['iid'], htmlspecialchars_uni($mybb->input['name']));
| log_admin_action($icon['iid'], $mybb->input['name']);
|
flash_message($lang->success_post_icon_updated, 'success'); admin_redirect('index.php?module=config-post_icons');
| flash_message($lang->success_post_icon_updated, 'success'); admin_redirect('index.php?module=config-post_icons');
|
Zeile 410 | Zeile 410 |
---|
$cache->update_posticons();
// Log admin action
|
$cache->update_posticons();
// Log admin action
|
log_admin_action($icon['iid'], htmlspecialchars_uni($icon['name']));
| log_admin_action($icon['iid'], $icon['name']);
|
flash_message($lang->success_post_icon_deleted, 'success'); admin_redirect("index.php?module=config-post_icons");
| flash_message($lang->success_post_icon_deleted, 'success'); admin_redirect("index.php?module=config-post_icons");
|
Zeile 465 | Zeile 465 |
---|
while($icon = $db->fetch_array($query)) { $icon['path'] = str_replace("{theme}", "images", $icon['path']);
|
while($icon = $db->fetch_array($query)) { $icon['path'] = str_replace("{theme}", "images", $icon['path']);
|
if(my_strpos($icon['path'], "p://") || substr($icon['path'], 0, 1) == "/")
| if(my_validate_url($icon['path'], true))
|
{ $image = $icon['path']; }
| { $image = $icon['path']; }
|