Example #1
0
function parameters_display($params)
{
    message('Paramters');
    foreach ($params as $key => $param) {
        if ('pass' == $key or 'user' == $key) {
            message_save($key . ': (niet zichtbaar)');
            message_display($key . ': ' . $param);
        } else {
            message($key . ': ' . $param);
        }
    }
    if (!input_continue()) {
        exit(0);
    }
}
Example #2
0
include 'view/drupal-module-enable-civicrm.inc';
// check drupal / civicrm theme settings
include 'view/drupal-civicrm-theme-check.inc';
if (!$error) {
    message('Kloppen de drupal / civicrm theme instellingen ? Of maak het kloppent dan kunt u daarna hiermee doorgaan !', 'warning');
    if (!input_continue()) {
        include 'view/continue.inc';
    }
}
// restore frontpage
include 'view/drupal-frontpage-restore.inc';
// check civicrm localization settings
include 'view/civicrm-localization-check.inc';
if (!$error) {
    message('Kloppen de localization instellingen in civicrm ? Of maak het kloppent dan kunt u daarna hiermee doorgaan !', 'warning');
    if (!input_continue()) {
        include 'view/continue.inc';
    }
}
// clear views cache
include 'view/drush-cc-views.inc';
// set site online
include 'view/drush-online.inc';
// clear cache all
include 'view/drush-cc-all.inc';
// after setting the site online the civicrm templates_c has the wrong rights
// setrights
include 'view/linux-chown.inc';
include 'view/linux-chmod.inc';
message('Klaar met het uitvoeren van het script !', 'success');
exit(0);