From a275c640d81b7a8e4f827ad0e7f2509f01b96ac0 Mon Sep 17 00:00:00 2001 From: Ryan Walberg Date: Thu, 15 Nov 2012 23:32:39 +0000 Subject: [PATCH] was missing javascript includes for navbar --- src/receive.php | 2 ++ src/templates/event.tpl | 2 ++ src/templates/item.tpl | 2 ++ src/templates/profile.tpl | 2 ++ src/templates/receive.tpl | 9 +++++++-- src/templates/shop.tpl | 2 ++ 6 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/receive.php b/src/receive.php index 7cbb02a..fca69de 100644 --- a/src/receive.php +++ b/src/receive.php @@ -95,5 +95,7 @@ $smarty->assign('buyers', $buyers); $smarty->assign('quantity', $quantity); $smarty->assign('itemid', $itemid); $smarty->assign('userid', $userid); +$smarty->assign('isadmin', $_SESSION["admin"]); $smarty->assign('opt', $OPT); $smarty->display('receive.tpl'); +?> diff --git a/src/templates/event.tpl b/src/templates/event.tpl index b5b9406..9935cfa 100644 --- a/src/templates/event.tpl +++ b/src/templates/event.tpl @@ -141,5 +141,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + diff --git a/src/templates/item.tpl b/src/templates/item.tpl index 4eb324d..0222f0b 100644 --- a/src/templates/item.tpl +++ b/src/templates/item.tpl @@ -168,5 +168,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + diff --git a/src/templates/profile.tpl b/src/templates/profile.tpl index 06e4dba..3f0e581 100644 --- a/src/templates/profile.tpl +++ b/src/templates/profile.tpl @@ -117,5 +117,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + diff --git a/src/templates/receive.tpl b/src/templates/receive.tpl index f4831bf..250b1ef 100644 --- a/src/templates/receive.tpl +++ b/src/templates/receive.tpl @@ -23,7 +23,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -
+ {include file='navbar.tpl' isadmin=$isadmin} + +
@@ -50,12 +52,15 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- +
+ + + diff --git a/src/templates/shop.tpl b/src/templates/shop.tpl index 760cac5..742457f 100644 --- a/src/templates/shop.tpl +++ b/src/templates/shop.tpl @@ -204,5 +204,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +