diff options
author | Nicolas BERNSTEIN <alexis211@gmail.com> | 2011-11-20 13:39:47 +0100 |
---|---|---|
committer | Nicolas BERNSTEIN <alexis211@gmail.com> | 2011-11-20 13:39:47 +0100 |
commit | d45c7f14891d951f8a6987cc6492073b97e05b5b (patch) | |
tree | d6467b1202c27f67fd8e894d25fd4aea0085b559 /tpl/general/top.php | |
parent | 4d7e065c2d2ec407b6a7ebfc7569628bac9149d1 (diff) | |
download | Bits-d45c7f14891d951f8a6987cc6492073b97e05b5b.tar.gz Bits-d45c7f14891d951f8a6987cc6492073b97e05b5b.zip |
Added the bit list study system
Diffstat (limited to 'tpl/general/top.php')
-rw-r--r-- | tpl/general/top.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tpl/general/top.php b/tpl/general/top.php index 28a9658..2ddc84e 100644 --- a/tpl/general/top.php +++ b/tpl/general/top.php @@ -7,9 +7,17 @@ global $user, $apps; //These might be hidden because this page is called from sq <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title><?php echo $title; ?></title> <link href="design/style.css" rel="stylesheet" type="text/css" media="screen" /> + <?php + if (isset($js_include)) { + foreach($js_include as $e) { + echo '<script type="text/javascript" src="' . $e . '"></script>'; + } + } + if (isset($javascript)) echo '<script type="text/javascript">' . $javascript . '</script>'; + ?> </head> - <body> + <body<?php if (isset($onload_js)) echo ' onload="' . $onload_js . '"'; ?>> <div class="menu"> <div class="right"> <?php @@ -30,6 +38,7 @@ if ($user['id'] != 0) { echo '<a href="upload-image">Upload image</a>'; } echo '<a href="deck">Study decks</a>'; + echo '<a href="list">Study lists</a>'; } ?> </div> |