Revision 1409
Added by FrankH almost 14 years ago
index.php | ||
---|---|---|
363 | 363 |
$template->set_var('PAGE_LANGUAGES_DISABLED', ' checked="checked"'); |
364 | 364 |
} |
365 | 365 |
|
366 |
// Work-out if warn_page_leave feature is enabled |
|
367 |
if (defined('WARN_PAGE_LEAVE') && WARN_PAGE_LEAVE == true) |
|
368 |
{ |
|
369 |
$template->set_var('WARN_PAGE_LEAVE_ENABLED', ' checked="checked"'); |
|
370 |
} else { |
|
371 |
$template->set_var('WARN_PAGE_LEAVE_DISABLED', ' checked="checked"'); |
|
372 |
} |
|
373 |
|
|
366 | 374 |
// Work-out if smart login feature is enabled |
367 | 375 |
if(defined('SMART_LOGIN') && SMART_LOGIN == true) |
368 | 376 |
{ |
... | ... | |
682 | 690 |
'TEXT_READ' => $TEXT['READ'], |
683 | 691 |
'TEXT_WRITE' => $TEXT['WRITE'], |
684 | 692 |
'TEXT_EXECUTE' => $TEXT['EXECUTE'], |
693 |
'TEXT_WARN_PAGE_LEAVE' => $TEXT['WARN_PAGE_LEAVE'], |
|
685 | 694 |
'TEXT_SMART_LOGIN' => $TEXT['SMART_LOGIN'], |
686 | 695 |
'TEXT_MULTIPLE_MENUS' => $TEXT['MULTIPLE_MENUS'], |
687 | 696 |
'TEXT_HOMEPAGE_REDIRECTION' => $TEXT['HOMEPAGE_REDIRECTION'], |
Also available in: Unified diff
+ Ticket 1058 added warn_page_leave (currently only in wysiwyg)