minor fixes
Former-commit-id: ced1aad7a9835dab5b44817f191e33d2ca11cff3
This commit is contained in:
parent
e7dbb55392
commit
034480bf88
|
@ -7,7 +7,6 @@ DELETE FROM `tevent_response` WHERE `name` LIKE 'Create Integria IMS&#
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO `tnotification_source_user` (`id_source`, `id_user`, `enabled`, `also_mail`) VALUES ((SELECT `id` FROM `tnotification_source` WHERE `description`="Official communication"), "admin", 1, 0);
|
INSERT INTO `tnotification_source_user` (`id_source`, `id_user`, `enabled`, `also_mail`) VALUES ((SELECT `id` FROM `tnotification_source` WHERE `description`="Official communication"), "admin", 1, 0);
|
||||||
INSERT INTO `tnotification_source_group` SELECT `id`,0 FROM `tnotification_source` WHERE `description`="Official communication";
|
|
||||||
UPDATE `tnotification_source` SET `enabled`=1 WHERE `description` = 'System status' OR `description` = 'Official communication';
|
UPDATE `tnotification_source` SET `enabled`=1 WHERE `description` = 'System status' OR `description` = 'Official communication';
|
||||||
UPDATE `tnotification_source` SET `icon`="icono_logo_pandora.png" WHERE `description` = 'Official communication';
|
UPDATE `tnotification_source` SET `icon`="icono_logo_pandora.png" WHERE `description` = 'Official communication';
|
||||||
|
|
||||||
|
|
|
@ -156,10 +156,9 @@ if ($registration) {
|
||||||
false,
|
false,
|
||||||
// Launch only if not being launch from 'initial'.
|
// Launch only if not being launch from 'initial'.
|
||||||
!$initial,
|
!$initial,
|
||||||
(($show_newsletter === true) ? 'show_newsletter_wizard()' : null)
|
(($show_newsletter === true) ? 'force_run_newsletter()' : null)
|
||||||
);
|
);
|
||||||
}
|
} else {
|
||||||
|
|
||||||
if ($show_newsletter) {
|
if ($show_newsletter) {
|
||||||
// Show newsletter wizard for current user.
|
// Show newsletter wizard for current user.
|
||||||
newsletter_wiz_modal(
|
newsletter_wiz_modal(
|
||||||
|
@ -168,6 +167,7 @@ if ($show_newsletter) {
|
||||||
!$registration && !$initial
|
!$registration && !$initial
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
|
@ -61,6 +61,7 @@ function update_manager_verify_registration()
|
||||||
*/
|
*/
|
||||||
function config_wiz_process()
|
function config_wiz_process()
|
||||||
{
|
{
|
||||||
|
global $config;
|
||||||
$email = get_parameter('email', false);
|
$email = get_parameter('email', false);
|
||||||
$timezone = get_parameter('timezone', false);
|
$timezone = get_parameter('timezone', false);
|
||||||
$language = get_parameter('language', false);
|
$language = get_parameter('language', false);
|
||||||
|
|
Loading…
Reference in New Issue