16 lines
No EOL
682 B
PHP
16 lines
No EOL
682 B
PHP
<?php
|
|
# -- BEGIN LICENSE BLOCK ----------------------------------
|
|
# This file is part of Email Optionnel, a plugin for Dotclear.
|
|
#
|
|
# Copyright (c) 2007-2015 Oleksandr Syenchuk, Pierre Van Glabeke
|
|
#
|
|
# Licensed under the GPL version 2.0 license.
|
|
# A copy is available in LICENSE file or at
|
|
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
# -- END LICENSE BLOCK ------------------------------------
|
|
if (!defined('DC_CONTEXT_ADMIN')) { return; }
|
|
|
|
$core->addBehavior('adminBlogPreferencesForm',
|
|
array('emailOptionnelBehaviors', 'adminBlogPreferencesForm'));
|
|
$core->addBehavior('adminBeforeBlogSettingsUpdate',
|
|
array('emailOptionnelBehaviors', 'adminBeforeBlogSettingsUpdate')); |