Page MenuHomePhabricator

D10067.diff
No OneTemporary

D10067.diff

diff --git a/src/applications/phame/skins/PhameBasicTemplateBlogSkin.php b/src/applications/phame/skins/PhameBasicTemplateBlogSkin.php
--- a/src/applications/phame/skins/PhameBasicTemplateBlogSkin.php
+++ b/src/applications/phame/skins/PhameBasicTemplateBlogSkin.php
@@ -41,16 +41,21 @@
$this->cssResources = phutil_implode_html("\n", $this->cssResources);
$request = $this->getRequest();
+
+ // Render page parts in order so the templates execute in order, if we're
+ // using templates.
+ $header = $this->renderHeader();
$content = $this->renderContent($request);
+ $footer = $this->renderFooter();
if (!$content) {
$content = $this->render404Page();
}
$content = array(
- $this->renderHeader(),
+ $header,
$content,
- $this->renderFooter(),
+ $footer,
);
$response = new AphrontWebpageResponse();

File Metadata

Mime Type
text/plain
Expires
Mon, May 20, 3:26 AM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6289444
Default Alt Text
D10067.diff (896 B)

Event Timeline