Revision 1726
Added by Luisehahne about 13 years ago
| intro2.php | ||
|---|---|---|
| 3 | 3 |
* |
| 4 | 4 |
* @category admin |
| 5 | 5 |
* @package pages |
| 6 |
* @author WebsiteBaker Project |
|
| 7 |
* @copyright 2004-2009, Ryan Djurovich |
|
| 8 |
* @copyright 2009-2011, Website Baker Org. e.V. |
|
| 6 |
* @author Ryan Djurovich,WebsiteBaker Project |
|
| 7 |
* @copyright 2009-2012, WebsiteBaker Org. e.V. |
|
| 9 | 8 |
* @link http://www.websitebaker2.org/ |
| 10 | 9 |
* @license http://www.gnu.org/licenses/gpl.html |
| 11 | 10 |
* @platform WebsiteBaker 2.8.x |
| ... | ... | |
| 46 | 45 |
$admin->print_error($MESSAGE['PAGES_NOT_SAVED']); |
| 47 | 46 |
} else {
|
| 48 | 47 |
change_mode($filename); |
| 49 |
$admin->print_success($MESSAGE['PAGES']['INTRO_SAVED']);
|
|
| 48 |
$admin->print_success($MESSAGE['PAGES_INTRO_SAVED']);
|
|
| 50 | 49 |
} |
| 51 | 50 |
if(!is_writable($filename)) {
|
| 52 |
$admin->print_error($MESSAGE['PAGES']['INTRO_NOT_WRITABLE']);
|
|
| 51 |
$admin->print_error($MESSAGE['PAGES_INTRO_NOT_WRITABLE']);
|
|
| 53 | 52 |
} |
| 54 | 53 |
|
| 55 | 54 |
// Print admin footer |
Also available in: Unified diff
! change multi-dimensional arrays (variables) to similar arrays
! change message if uploaded file exists