Vergleich admin/modules/forum/announcements.php - 1.6.0 - 1.6.6

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: announcements.php 5016 2010-06-12 00:24:02Z RyanGordon $

 * $Id: announcements.php 5353 2011-02-15 14:24:00Z Tomm $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 133Zeile 133
	
// Log admin action
log_admin_action($aid, $mybb->input['title']);

	
// Log admin action
log_admin_action($aid, $mybb->input['title']);

 
			$cache->update_forumsdisplay();

	
flash_message($lang->success_added_announcement, 'success');
admin_redirect("index.php?module=forum-announcements");

	
flash_message($lang->success_added_announcement, 'success');
admin_redirect("index.php?module=forum-announcements");

Zeile 421Zeile 422
				"allowsmilies" => $db->escape_string($mybb->input['allowsmilies']),
);


				"allowsmilies" => $db->escape_string($mybb->input['allowsmilies']),
);


			$aid = $db->update_query("announcements", $update_announcement, "aid='{$mybb->input['aid']}'");

			$db->update_query("announcements", $update_announcement, "aid='{$mybb->input['aid']}'");

			
$plugins->run_hooks("admin_forum_announcements_edit_commit");

// Log admin action

			
$plugins->run_hooks("admin_forum_announcements_edit_commit");

// Log admin action

			log_admin_action($aid, $mybb->input['title']);


			log_admin_action($mybb->input['aid'], $mybb->input['title']);
$cache->update_forumsdisplay();

	
flash_message($lang->success_updated_announcement, 'success');
admin_redirect("index.php?module=forum-announcements");

	
flash_message($lang->success_updated_announcement, 'success');
admin_redirect("index.php?module=forum-announcements");

Zeile 634Zeile 636
		
// Log admin action
log_admin_action($announcement['aid'], $announcement['title']);

		
// Log admin action
log_admin_action($announcement['aid'], $announcement['title']);

 
		$cache->update_forumsdisplay();


flash_message($lang->success_announcement_deleted, 'success');
admin_redirect("index.php?module=forum-announcements");


flash_message($lang->success_announcement_deleted, 'success');
admin_redirect("index.php?module=forum-announcements");