The following patch makes a number of small, non-functional, changes to get the template.php and page.tpl.php more inline with Drupal coding standards.

Secondly it moves the site logo and social icons logic out of the page.tpl.php and into the page_preprocess function in the template.php. This really cleans up the page.tpl.php and will make it easier for front-end folks to work with the template.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

acouch’s picture

FileSize
11.35 KB

Updated the above patch.

ravis’s picture

thank you very much @acouch
I highly appreciate your contribution :)
Will apply this patch with next release.

drzraf’s picture

better to generate without whitespace changes...
You didn't removed <em><a id="main-content"></a></em>.
what is this markup useful for ?