mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-07 03:59:12 -04:00
Only request the server_add js if the user is an admin
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user