Project

General

Profile

« Previous | Next » 

Revision 1473

Added by Dietmar almost 13 years ago

found more backlinks to fix
remove not working ftan in frontend
fixed redirect in login procedure (Tks to mr-fan)
update droplet LoginBox, additional parameter $redirect
remove double config call in media (Tks to Testör)

View differences:

save.php
23 23
$update_when_modified = true;
24 24
// Include WB admin wrapper script
25 25
require(WB_PATH.'/modules/admin.php');
26
$backlink = ADMIN_URL.'/pages/modify.php?page_id='.(int)$page_id;
26 27
if (!$admin->checkFTAN())
27 28
{
28 29
	$admin->print_header();
29
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'] );
30
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'],$backlink );
30 31
}
31 32
$admin->print_header();
32 33

  
......
51 52
if($database->is_error()) {
52 53
	$admin->print_error($database->get_error(), $js_back);
53 54
} else {
54
	$admin->print_success($MESSAGE['PAGES']['SAVED'], ADMIN_URL.'/pages/modify.php?page_id='.$page_id);
55
	$admin->print_success($MESSAGE['PAGES']['SAVED'],$backlink );
55 56
}
56 57

  
57 58
// Print admin footer

Also available in: Unified diff