From ce8cf9676c43afd40198a1acb680a64436b3e1d5 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Tue, 31 Dec 2013 09:14:36 +1300 Subject: [PATCH] Continuing work on the templates --- templates/includes/LookupUserResponse.inc | 1 + templates/layouts/main.tt | 1 + templates/main.tt | 3 +++ templates/response.tt | 5 ++++- 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 templates/includes/LookupUserResponse.inc create mode 100644 templates/layouts/main.tt create mode 100644 templates/main.tt diff --git a/templates/includes/LookupUserResponse.inc b/templates/includes/LookupUserResponse.inc new file mode 100644 index 0000000..8af9c7f --- /dev/null +++ b/templates/includes/LookupUserResponse.inc @@ -0,0 +1 @@ +Look up user diff --git a/templates/layouts/main.tt b/templates/layouts/main.tt new file mode 100644 index 0000000..57b374e --- /dev/null +++ b/templates/layouts/main.tt @@ -0,0 +1 @@ +[% content %] diff --git a/templates/main.tt b/templates/main.tt new file mode 100644 index 0000000..2bb7541 --- /dev/null +++ b/templates/main.tt @@ -0,0 +1,3 @@ +[% INCLUDE 'includes/header.inc' %] + +[% content %] diff --git a/templates/response.tt b/templates/response.tt index f9ea3be..497781d 100644 --- a/templates/response.tt +++ b/templates/response.tt @@ -16,6 +16,9 @@ - + [% myfile = "includes/$messagetype" _ ".inc" %] + [% INCLUDE $myfile %] + + -- 2.11.0