From 43d9161d6bb572c1865fa2bf719dfbe749135a13 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 3 Aug 2009 10:24:32 +0100 Subject: [PATCH] only show uploader to admins --- ext/alias_editor/theme.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ext/alias_editor/theme.php b/ext/alias_editor/theme.php index d71d43c7..c92f9f3f 100644 --- a/ext/alias_editor/theme.php +++ b/ext/alias_editor/theme.php @@ -57,6 +57,9 @@ class AliasEditorTheme extends Themelet { $add

Download as CSV

+ "; + + $bulk_html = "
@@ -67,6 +70,9 @@ class AliasEditorTheme extends Themelet { $page->set_heading("Alias List"); $page->add_block(new NavBlock()); $page->add_block(new Block("Aliases", $html)); + if($is_admin) { + $page->add_block(new Block("Bulk Upload", $bulk_html, "main", 51)); + } } } ?>