summaryrefslogtreecommitdiffstats
path: root/comiccontrol/editgallery.php
diff options
context:
space:
mode:
Diffstat (limited to 'comiccontrol/editgallery.php')
-rw-r--r--comiccontrol/editgallery.php38
1 files changed, 38 insertions, 0 deletions
diff --git a/comiccontrol/editgallery.php b/comiccontrol/editgallery.php
new file mode 100644
index 0000000..e00e84b
--- /dev/null
+++ b/comiccontrol/editgallery.php
@@ -0,0 +1,38 @@
+<?
+//editgallery.php
+//Photo albums editing script
+
+if(authCheck()){
+
+if($do != ""){
+ switch($do)
+ {
+ case "add":
+ include("editgalleryadd.php");
+ break;
+ case "edit":
+ include("editgalleryedit.php");
+ break;
+ case "rearrange":
+ include("editgalleryrearrange.php");
+ break;
+ }
+}
+//if action is not set, give options
+else{
+ ?>
+ <div class="blockborder">
+ <span style="font-variant:small-caps"><a href="edit.php?moduleid=<?=$moduleid?>&do=add"><?=$lang['add']?></span><br /><?=$lang['animage']?></a>
+ </div>
+ <div class="blockborder">
+ <span style="font-variant:small-caps"><a href="edit.php?moduleid=<?=$moduleid?>&do=edit"><?=$lang['edit']?></span><br /><?=$lang['images']?></a>
+ </div>
+ <div class="blocknoborder">
+ <span style="font-variant:small-caps"><a href="edit.php?moduleid=<?=$moduleid?>&do=rearrange"><?=$lang['rearrange']?></span><br /><?=$lang['images']?></a>
+ </div>
+ <?
+}
+
+}
+
+?> \ No newline at end of file