Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2017 at 09:23 UTC
Updated:
7 Jan 2023 at 18:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
gaurav.kapoor commentedComment #3
gaurav.kapoor commentedComment #4
chi commentedI propose instead of removing it we place file documentation within these tags. Just as it is done in Bartik's templates.
Comment #5
cchoudhary commentedHere is the patch, with file documentation(same as Bartik), instead of removing php tags.
Comment #6
cchoudhary commentedComment #7
poker10 commentedThanks for working on this!
Personally I think that the approach which adds the documentation is better (#5). However there seems to be some problems:
Garland theme does not define any regions in the .info file, so I suppose that only default regions will be available in the page.tpl.php (not all as in the Bartik theme) - see: https://www.drupal.org/docs/7/theming/default-info-values
Also I think it would be better to check the coding standards in the comments, as it seems to me that some comments are longer than 80 characters (see: https://www.drupal.org/node/1354).
Thanks!