Skip to content

Commit c4cc0bd

Browse files
authored
Merge pull request #135 from misd-service-development/shorthand_templates
Shorthand templates
2 parents d073709 + 4a17358 commit c4cc0bd

File tree

3 files changed

+42
-1
lines changed

3 files changed

+42
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ Changelog
33

44
Note: the theme contains the University's house style assets (CSS, images, JavaScript). For the sake of completeness, all updates to these are also listed below.
55

6+
7.x-1.19
7+
8+
* Added a template file to allow Shorthand content to work without the need to add templates to the Drupal module, which is against best practice.
9+
10+
7.x-1.18
11+
12+
* The main purpose of this release is to update the footer links to match the new version as seen in the "Experimental Home Page" on www.cam.ac.uk.
13+
614
7.x-1.11
715

816
Latest release of the theme, primarily to resolve some existing accessibility issues with Project Light.

cambridge_theme.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name = University of Cambridge
22
description = The University of Cambridge's house style.
33
core = 7.x
44
engine = phptemplate
5-
version = 1.18
5+
version = 1.19
66

77
stylesheets[all][] = "css/full-stylesheet.css"
88
stylesheets[all][] = "css/drupal.css"
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?php
2+
/**
3+
* @filesource page.tpl.php
4+
*
5+
* @file
6+
* Zen theme's implementation to display a single Drupal page.
7+
*
8+
* @see template_preprocess()
9+
* @see template_preprocess_page()
10+
* @see zen_preprocess_page()
11+
* @see template_process()
12+
*/
13+
?>
14+
<div id="page">
15+
<!-- CONTENT -->
16+
<div id="main" class="cam-row cam-content cam-recessed-content">
17+
<div class="clearfix">
18+
<div id="content" class="<?php print isset($column) ? "{$column} " : ''; ?>cam-main-content" role="main">
19+
<a id="main-content"></a>
20+
<?php print $messages; ?>
21+
<?php print render($tabs); ?>
22+
<?php print render($page['help']); ?>
23+
<?php if ($action_links): ?>
24+
<ul class="action-links"><?php print render($action_links); ?></ul>
25+
<?php endif; ?>
26+
<?php print render($page['content']); ?>
27+
<?php print $feed_icons; ?>
28+
</div><!-- /#content -->
29+
</div>
30+
</div> <!-- CONTENT -->
31+
32+
</div><!-- /#page -->
33+
<?php print render($page['bottom']); ?>

0 commit comments

Comments
 (0)