From 3b796bc5b923899cfec2f81ff9f811a02260a071 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 17 May 2009 21:32:14 +0000 Subject: cleaning up some views moved image controls to separate view so it easier for plugins to extend tidypics --- views/default/object/image.php | 18 +++++++----------- views/default/tidypics/download.php | 4 ---- views/default/tidypics/hover_menu.php | 16 ++++++++++++++++ views/default/tidypics/image_menu.php | 22 ++++++++++++++++++++++ views/default/tidypics/menu.php | 16 ---------------- 5 files changed, 45 insertions(+), 31 deletions(-) delete mode 100644 views/default/tidypics/download.php create mode 100644 views/default/tidypics/hover_menu.php create mode 100644 views/default/tidypics/image_menu.php delete mode 100644 views/default/tidypics/menu.php (limited to 'views') diff --git a/views/default/object/image.php b/views/default/object/image.php index 0da55f795..f64942b61 100644 --- a/views/default/object/image.php +++ b/views/default/object/image.php @@ -167,17 +167,13 @@ if ($photo_tags) {
-
- -
-'; + + // tagging code echo elgg_view('tidypics/tagging', array( 'photo_tags' => $photo_tags, 'links' => $photo_tag_links, 'photo_tags_json' => $photo_tags_json, diff --git a/views/default/tidypics/download.php b/views/default/tidypics/download.php deleted file mode 100644 index becb4b5fe..000000000 --- a/views/default/tidypics/download.php +++ /dev/null @@ -1,4 +0,0 @@ - -
  • \ No newline at end of file diff --git a/views/default/tidypics/hover_menu.php b/views/default/tidypics/hover_menu.php new file mode 100644 index 000000000..4368993dd --- /dev/null +++ b/views/default/tidypics/hover_menu.php @@ -0,0 +1,16 @@ + + +

    + +

    \ No newline at end of file diff --git a/views/default/tidypics/image_menu.php b/views/default/tidypics/image_menu.php new file mode 100644 index 000000000..269fcce8f --- /dev/null +++ b/views/default/tidypics/image_menu.php @@ -0,0 +1,22 @@ + +
  • + +
  • + \ No newline at end of file diff --git a/views/default/tidypics/menu.php b/views/default/tidypics/menu.php deleted file mode 100644 index 4368993dd..000000000 --- a/views/default/tidypics/menu.php +++ /dev/null @@ -1,16 +0,0 @@ - - -

    - -

    \ No newline at end of file -- cgit v1.2.3