diff options
-rw-r--r-- | themes/default/views/page.html.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php index c6addf98..ac2a326b 100644 --- a/themes/default/views/page.html.php +++ b/themes/default/views/page.html.php @@ -12,9 +12,11 @@ <link rel="stylesheet" type="text/css" href="<?= $theme->url("css/screen.css") ?>" media="screen,print,projection" /> <script src="<?= url::file("lib/jquery.js") ?>" type="text/javascript"></script> - <script src="<?= url::file("lib/jquery.jeditable.js") ?>" type="text/javascript"></script> <script src="<?= url::file("lib/jquery.form.js") ?>" type="text/javascript"></script> <script src="<?= $theme->url("js/user.js") ?>" type="text/javascript"></script> + <? if ($user): ?> + <script src="<?= url::file("lib/jquery.jeditable.js") ?>" type="text/javascript"></script> + <? endif; ?> </head> <body> @@ -42,6 +44,8 @@ </div> </div> </div> + <? if ($user): ?> <?= $theme->in_place_edit(); ?> + <? endif; ?> </body> </html> |