Vergleich admin/modules/user/titles.php - 1.4.0 - 1.4.3

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: titles.php 3790 2008-04-23 22:50:33Z Tikitiki $

 * $Id: titles.php 4111 2008-08-13 06:14:12Z Tikitiki $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 59Zeile 59
			);

$utid = $db->insert_query("usertitles", $new_title);

			);

$utid = $db->insert_query("usertitles", $new_title);

 
			
$cache->update_usertitles();

			
$plugins->run_hooks("admin_user_titles_add_commit");


			
$plugins->run_hooks("admin_user_titles_add_commit");


Zeile 79Zeile 81
	
$page->add_breadcrumb_item($lang->add_new_user_title);
$page->output_header($lang->user_titles." - ".$lang->add_new_user_title);

	
$page->add_breadcrumb_item($lang->add_new_user_title);
$page->output_header($lang->user_titles." - ".$lang->add_new_user_title);

	

	

	$page->output_nav_tabs($sub_tabs, 'add_title');
$form = new Form("index.php?module=user/titles&action=add", "post");


	$page->output_nav_tabs($sub_tabs, 'add_title');
$form = new Form("index.php?module=user/titles&action=add", "post");


Zeile 139Zeile 141
			);

$db->update_query("usertitles", $updated_title, "utid='{$usertitle['utid']}'");

			);

$db->update_query("usertitles", $updated_title, "utid='{$usertitle['utid']}'");

 
			
$cache->update_usertitles();

			
$plugins->run_hooks("admin_user_titles_edit_commit");


			
$plugins->run_hooks("admin_user_titles_edit_commit");


Zeile 214Zeile 218
		$plugins->run_hooks("admin_user_titles_delete_commit");

// Log admin action

		$plugins->run_hooks("admin_user_titles_delete_commit");

// Log admin action

		log_admin_action($usertitle['utid'], $usertitle['title'], $mybb->input['posts']);

		log_admin_action($usertitle['utid'], $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");