Only request the server_add js if the user is an admin

This commit is contained in:
Bharat Mediratta
2009-06-04 12:21:51 -07:00
parent e1ce3196f4
commit 7e5a363ffc
2 changed files with 3 additions and 2 deletions

View File

@@ -6,7 +6,6 @@
init_server_add_form();
});
</script>
<!-- ?= html::script("modules/server_add/js/server_add.js"); ? -->
<div id="gServerAdd">
<h1 style="display: none;"><?= t("Add Photos to '%title'", array("title" => p::clean($album_title))) ?></h1>