Revision 998
Added by Ruud almost 15 years ago
tool.php | ||
---|---|---|
27 | 27 |
if(!defined('WB_PATH')) die(header('Location: ../index.php')); |
28 | 28 |
|
29 | 29 |
// check if module language file exists for the language set by the user (e.g. DE, EN) |
30 |
$MOD_MAIL_FILTER['WARNING'] = '<p style="color: red; line-height:1.5em;"><strong>Warning: </strong>This function is now available as a Droplet. The next major release of website baker will not include this filter anymore. Please concider using the <a href="?tool=droplets">Droplet</a> [[EmailFilter]]</p>'; |
|
30 | 31 |
if(!file_exists(WB_PATH .'/modules/output_filter/languages/'.LANGUAGE .'.php')) { |
31 | 32 |
// no module language file exists for the language set by the user, include default module language file EN.php |
32 | 33 |
require_once(WB_PATH .'/modules/output_filter/languages/EN.php'); |
... | ... | |
69 | 70 |
|
70 | 71 |
// output the form with values from the database |
71 | 72 |
echo '<p>' .$MOD_MAIL_FILTER['HOWTO'] .'</p>'; |
73 |
echo $MOD_MAIL_FILTER['WARNING']; |
|
72 | 74 |
?> |
73 | 75 |
<form name="store_settings" action="<?php echo $_SERVER['REQUEST_URI'];?>" method="post"> |
74 | 76 |
<table width="98%" cellspacing="0" cellpadding="5px" class="row_a"> |
Also available in: Unified diff
Droplets upgrade script fixes
Added warning message in output_filter