From c1c54bd1295d9de8b3575cef25efa3dd5f6b0c85 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 23 Dec 2015 13:53:05 +0100 Subject: show warning when running in preview mode --- template/assemblies/header.phtml | 7 +++++++ template/page.phtml | 6 ++++++ 2 files changed, 13 insertions(+) (limited to 'template') diff --git a/template/assemblies/header.phtml b/template/assemblies/header.phtml index 955d074..57beb5f 100644 --- a/template/assemblies/header.phtml +++ b/template/assemblies/header.phtml @@ -31,3 +31,10 @@ + + +isPreviewEnabled()): ?> +
+ PREVIEW MODE +
+ \ No newline at end of file diff --git a/template/page.phtml b/template/page.phtml index a358a27..73a12ad 100644 --- a/template/page.phtml +++ b/template/page.phtml @@ -1,5 +1,11 @@ +isPreviewEnabled()): ?> + + -- cgit v1.2.3