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>';
}

View file

@ -42,7 +42,7 @@ function theme_storm_list_report($header, $rows, $title, $footer) {
$o = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
$o .= '<html xmlns="http://www.w3.org/1999/xhtml">';
$o .= '<head>';
$o .= '<title>'. (drupal_get_title() ? strip_tags(drupal_get_title()) : variable_get('site_name', 'Drupal')) .'</title>';
$o .= '<title>'. (drupal_get_title() ? strip_tags(drupal_get_title()) : variable_get('site_name', 'SuiteDesk')) .'</title>';
$o .= '<link type="text/css" rel="stylesheet" media="all" href="'. base_path() . $css_all_file . $query_string .'" />';
$o .= '</head>';
$o .= '<body>';

View file

@ -475,7 +475,7 @@ function theme_storminvoice_report_pdf($node, $language, $output = 'screen') {
// Performs simple check for existance of tcpdf library . If it doesn't exist, revert to node display with message about tcpdf library.
if (!file_exists($tcpdf_dir .'/tcpdf.php')) {
drupal_set_message(t('The tcpdf library has not been installed. See the SuiteDesk module README.txt for more details.'));
drupal_set_message(t('The tcpdf library has not been installed.'));
drupal_goto('node/'. $node->nid);
}