was missing javascript includes for navbar

This commit is contained in:
Ryan Walberg 2012-11-15 23:32:39 +00:00
parent 21171c6333
commit a275c640d8
6 changed files with 17 additions and 2 deletions

View file

@ -95,5 +95,7 @@ $smarty->assign('buyers', $buyers);
$smarty->assign('quantity', $quantity); $smarty->assign('quantity', $quantity);
$smarty->assign('itemid', $itemid); $smarty->assign('itemid', $itemid);
$smarty->assign('userid', $userid); $smarty->assign('userid', $userid);
$smarty->assign('isadmin', $_SESSION["admin"]);
$smarty->assign('opt', $OPT); $smarty->assign('opt', $OPT);
$smarty->display('receive.tpl'); $smarty->display('receive.tpl');
?>

View file

@ -141,5 +141,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
</div> </div>
</div> </div>
</div> </div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
</body> </body>
</html> </html>

View file

@ -168,5 +168,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
</div> </div>
</div> </div>
</div> </div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
</body> </body>
</html> </html>

View file

@ -117,5 +117,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
</div> </div>
</div> </div>
</div> </div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
</body> </body>
</html> </html>

View file

@ -23,7 +23,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet"> <link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
</head> </head>
<body> <body>
<div class="container"> {include file='navbar.tpl' isadmin=$isadmin}
<div class="container" style="padding-top: 60px;">
<div class="row"> <div class="row">
<div class="span8 offset2"> <div class="span8 offset2">
<form name="receiver" method="get" action="receive.php" class="well form-horizontal"> <form name="receiver" method="get" action="receive.php" class="well form-horizontal">
@ -50,12 +52,15 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
</div> </div>
<div class="form-actions"> <div class="form-actions">
<button type="submit" class="btn btn-primary">Receive Item</button> <button type="submit" class="btn btn-primary">Receive Item</button>
<button type="button" onClick="document.location.href='index.php';">Cancel</button> <button type="button" class="btn" onClick="document.location.href='index.php';">Cancel</button>
</div> </div>
</fieldset> </fieldset>
</form> </form>
</div> </div>
</div> </div>
</div> </div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
</body> </body>
</html> </html>

View file

@ -204,5 +204,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
</div> </div>
</div> </div>
</div> </div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
</body> </body>
</html> </html>