diff --git a/core/helpers/core_menu.php b/core/helpers/core_menu.php index 3f0c5024..e4a3dd92 100644 --- a/core/helpers/core_menu.php +++ b/core/helpers/core_menu.php @@ -37,13 +37,18 @@ class core_menu_Core { // @todo need to do a permission check here $menu->append( Menu::factory("submenu") - ->id("upload_menu") - ->label(_("Upload")) + ->id("options_menu") + ->label(_("Options")) ->append( Menu::factory("dialog") - ->id("add_photos") - ->label(_("Add Photos")) - ->url(url::site("form/add/photos/$item->id")))); + ->id("add_item") + ->label(_("Add an item")) + ->url(url::site("form/add/photos/$item->id"))) + ->append( + Menu::factory("dialog") + ->id("add_album") + ->label(_("Add album")) + ->url(url::site("form/add/albums/$item->id")))); $admin_menu = Menu::factory("submenu") ->id("admin_menu") diff --git a/modules/local_import/controllers/local_import.php b/modules/local_import/controllers/local_import.php new file mode 100644 index 00000000..2738afef --- /dev/null +++ b/modules/local_import/controllers/local_import.php @@ -0,0 +1,34 @@ +validate()) { +// $paths[$form->path->value] = 1; +// module::set_var("local_import", "authorized_paths", serialize($paths)); +// } +// $view = new View("local_import_dir_list.html"); +// $view->paths = array_keys($paths); +// +// print $view; + print "

Hi There">

  • ">
  • album_top() ?>
  • -
  • Options - -
  • title_edit ?>

    diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index 55872e08..5b4da2b7 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -4,16 +4,6 @@
  • ">
  • ">
  • album_top() ?>
  • -
  • Options - -
  • title_edit ?>