New global copyright notice in footer and refine pages title

This commit is contained in:
Manuel Cillero 2017-08-07 09:35:47 +02:00
parent e95c8d8233
commit 77cacdc7c7
7 changed files with 24 additions and 19 deletions

View file

@ -606,7 +606,7 @@ function list_themes($refresh = FALSE) {
* implementations for named objects.
* @param ...
* Additional arguments to pass along to the theme function.
*
*
* @return
* An HTML string that generates the themed output.
*/
@ -1279,7 +1279,7 @@ function theme_links($links, $attributes = array('class' => 'links')) {
* @param $getsize
* If set to TRUE, the image's dimension are fetched and added as width/height attributes.
* Defaults to TRUE. Must be set to FALSE if $path is a full URL.
*
*
* @return
* A string containing the image tag.
*/
@ -1870,10 +1870,10 @@ function template_preprocess_page(&$variables) {
// Construct page title
if (drupal_get_title()) {
$head_title = array(strip_tags(drupal_get_title()), variable_get('site_name', 'Drupal'));
$head_title = array(strip_tags(drupal_get_title()), variable_get('site_name', 'SuiteDesk'));
}
else {
$head_title = array(variable_get('site_name', 'Drupal'));
$head_title = array(variable_get('site_name', 'SuiteDesk'));
if (variable_get('site_slogan', '')) {
$head_title[] = variable_get('site_slogan', '');
}
@ -1894,7 +1894,7 @@ function template_preprocess_page(&$variables) {
$variables['primary_links'] = theme_get_setting('toggle_primary_links') ? menu_primary_links() : array();
$variables['secondary_links'] = theme_get_setting('toggle_secondary_links') ? menu_secondary_links() : array();
$variables['search_box'] = (theme_get_setting('toggle_search') ? drupal_get_form('search_theme_form') : '');
$variables['site_name'] = (theme_get_setting('toggle_name') ? filter_xss_admin(variable_get('site_name', 'Drupal')) : '');
$variables['site_name'] = (theme_get_setting('toggle_name') ? filter_xss_admin(variable_get('site_name', 'SuiteDesk')) : '');
$variables['site_slogan'] = (theme_get_setting('toggle_slogan') ? filter_xss_admin(variable_get('site_slogan', '')) : '');
$variables['css'] = drupal_add_css();
$variables['styles'] = drupal_get_css();
@ -2053,4 +2053,3 @@ function template_preprocess_block(&$variables) {
$variables['template_files'][] = 'block-'. $variables['block']->module;
$variables['template_files'][] = 'block-'. $variables['block']->module .'-'. $variables['block']->delta;
}