in page.tpl.php I found stuff like this

<img src="<?php global $base_url; echo $base_url.'/'.$directory; ?>/images/rss.png" alt="RSS"/>

That should be replaced with:

<img src="<?php echo drupal_get_path('theme', 'touch'); ?>/images/rss.png" alt="RSS"/>

Like this its also easier for subtheme authors who want to implement page.tpl.php without copy the icons

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yannickoo’s picture

Status: Active » Needs review
FileSize
1.89 KB

Attached patch uses drupal_get_path and also removes some whitespaces and converts tabs to spaces in the page.tpl.php file.

loominade’s picture

um sorry, it has to be

url(drupal_get_path('theme', 'touch'));
loominade’s picture

Status: Needs review » Needs work
yannickoo’s picture

Status: Needs work » Needs review
FileSize
1.89 KB

Then let's do that :)