From d210537889e4ccc349096a81b187f90eb4173172 Mon Sep 17 00:00:00 2001 From: rog1121 Date: Sat, 1 Mar 2014 18:50:31 -0700 Subject: [PATCH] Fix Footer --- public/templates/bootstrap/global/footer.tpl | 18 +------- public/templates/bootstrap/master.tpl | 43 +++++++++----------- 2 files changed, 21 insertions(+), 40 deletions(-) diff --git a/public/templates/bootstrap/global/footer.tpl b/public/templates/bootstrap/global/footer.tpl index 0fd40f01..912f7016 100755 --- a/public/templates/bootstrap/global/footer.tpl +++ b/public/templates/bootstrap/global/footer.tpl @@ -1,17 +1 @@ - -
-
-
- -
- MPOS by TheSerapher, available on GitHub -
- Please Donate to TheSerapher LTC: Lge95QR2frp9y1wJufjUPCycVsg5gLJPW8 -
- Copyright © 2014 Sebastian Grewe -
-
- -
-
-
+Powered by MPOS | Donate to Lge95QR2frp9y1wJufjUPCycVsg5gLJPW8 \ No newline at end of file diff --git a/public/templates/bootstrap/master.tpl b/public/templates/bootstrap/master.tpl index 66467b64..209cdf5b 100755 --- a/public/templates/bootstrap/master.tpl +++ b/public/templates/bootstrap/master.tpl @@ -33,33 +33,30 @@ +
+ {include file="global/header.tpl"} + {include file="global/navigation.tpl"} -
- - {include file="global/header.tpl"} - {include file="global/navigation.tpl"} - -

- {nocache} - {if is_array($smarty.session.POPUP|default)} - {section popup $smarty.session.POPUP} -
{$smarty.session.POPUP[popup].CONTENT nofilter}
- {/section} +

+ {nocache} + {if is_array($smarty.session.POPUP|default)} + {section popup $smarty.session.POPUP} +
{$smarty.session.POPUP[popup].CONTENT nofilter}
+ {/section} + {/if} + {/nocache} + {if $CONTENT != "empty" && $CONTENT != ""} + {if file_exists($smarty.current_dir|cat:"/$PAGE/$ACTION/$CONTENT")} + {include file="$PAGE/$ACTION/$CONTENT"} + {else} + Missing template for this page {/if} - {/nocache} - {if $CONTENT != "empty" && $CONTENT != ""} - {if file_exists($smarty.current_dir|cat:"/$PAGE/$ACTION/$CONTENT")} - {include file="$PAGE/$ACTION/$CONTENT"} - {else} - Missing template for this page - {/if} - {/if} -
-
- - +
\ No newline at end of file