Removing obsolete references to readme files in source code

This commit is contained in:
Manuel Cillero 2017-10-03 23:20:11 +02:00
parent 3bcd36d5ab
commit 37c335e3cc
31 changed files with 52 additions and 94 deletions

View file

@ -3358,9 +3358,9 @@ function _storm_notify_send($send_start = NULL) {
}
function storm_mail($key, &$message, $params) {
global $user, $base_url;
global $user, $base_url, $conf;
$sitename = '<strong>' . variable_get('site_name', 'Drupal') . '</strong>';
$sitename = '<strong>' . variable_get('site_name', 'SuiteDesk') . '</strong>';
$url_preferences = str_replace('http://', 'https://', url("user/$user->uid/notify", array('absolute' => TRUE)));
$headers = array(
@ -3373,7 +3373,7 @@ function storm_mail($key, &$message, $params) {
$message['headers'][$key] = $value;
}
$message['subject'] = t('!sitename notification for !username', array('!sitename' => variable_get('site_name', 'Drupal'), '!username' => $user->name));
$message['subject'] = t('!sitename notification for !username', array('!sitename' => variable_get('site_name', 'SuiteDesk'), '!username' => $user->name));
$message['body'] = '<div style="width: 96%; max-width: 800px; margin: 0 auto;">' .
'<p style="color: #777; font-size: 1.8em; margin: .5em 0;">' . t('Hi !username!', array('!username' => '<strong>' . $user->name . '</strong>')) . '&nbsp;</p>' .
@ -3385,13 +3385,13 @@ function storm_mail($key, &$message, $params) {
'</p><p>' .
t('!suitedesk is a web based software for project management, planning, personal productivity, communication between project stakeholders, collaboration, customers support, documentation, cost control and change management.', array('!suitedesk' => '<a href="' . $base_url . '" style="color: blue;">SuiteDesk</a>', '!sitename' => $sitename)) .
'</p>' .
'<p>Manuel Cillero 【ツ】</p>' .
'<p style="font-size: smaller;"><a href="mailto:manuel@cillero.es" style="color: blue;">manuel@cillero.es</a><br />' .
'<a href="https://manuel.cillero.es" style="color: blue;">https://manuel.cillero.es</a><br />' .
'<a href="https://twitter.com/manuelcillero" style="color: blue;">https://twitter.com/manuelcillero</a><br />' .
'<a href="https://facebook.com/manuelcillero" style="color: blue;">https://facebook.com/manuelcillero</a></p>' .
'</div>' .
'<img style="margin: 1em 0; max-width: 100%; height: auto;" src="http://manuel.cillero.es/logo.png" alt="manuel.cillero.es" />' .
'<p>' . variable_get('site_name', 'SuiteDesk') . '</p>' .
'<p style="font-size: smaller;">' .
(!empty($conf['social_website']) ? '<a href="' . $conf['social_website'] . '" style="color: blue;">' . $conf['social_website'] . '</a><br />' : '') .
(!empty($conf['social_linkedin']) ? '<a href="' . $conf['social_linkedin'] . '" style="color: blue;">' . $conf['social_linkedin'] . '</a><br />' : '') .
(!empty($conf['social_twitter']) ? '<a href="' . $conf['social_twitter'] . '" style="color: blue;">' . $conf['social_twitter'] . '</a><br />' : '') .
(!empty($conf['social_facebook']) ? '<a href="' . $conf['social_facebook'] . '" style="color: blue;">' . $conf['social_facebook'] . '</a><br />' : '') .
'</p></div>' .
'</div>';
}