From 3639cba1b20c4227def597e67274a184d1ea87d7 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 14 Jul 2012 14:46:00 -0400 Subject: removed old code --- views/default/tidypics/gallery.php | 71 -------- views/default/tidypics/image_menu.php | 50 ------ views/default/tidypics/js/slideshow.php | 2 - views/default/tidypics/js/tagging.php | 304 -------------------------------- views/default/tidypics/tagging.php | 88 --------- 5 files changed, 515 deletions(-) delete mode 100644 views/default/tidypics/gallery.php delete mode 100644 views/default/tidypics/image_menu.php delete mode 100644 views/default/tidypics/js/slideshow.php delete mode 100644 views/default/tidypics/js/tagging.php delete mode 100644 views/default/tidypics/tagging.php diff --git a/views/default/tidypics/gallery.php b/views/default/tidypics/gallery.php deleted file mode 100644 index ba6f7b11d..000000000 --- a/views/default/tidypics/gallery.php +++ /dev/null @@ -1,71 +0,0 @@ - 0 && $viewtypetoggle) { - $nav .= elgg_view('navigation/viewtype', array( - 'baseurl' => $baseurl, - 'offset' => $offset, - 'count' => $count, - 'viewtype' => $viewtype, - )); -} - -if ($pagination) { - $nav .= elgg_view('navigation/pagination',array( - 'baseurl' => $baseurl, - 'offset' => $offset, - 'count' => $count, - 'limit' => $limit, - )); -} - -$html .= $nav; - -if (is_array($entities) && sizeof($entities) > 0) { - $counter = 0; - foreach($entities as $entity) { - if ($counter % $num_wide == 0) { - $html .= "
"; - } - $html .= elgg_view_entity($entity, $fullview); - $counter++; - } -} - -$html .= '
'; - -if ($count) { - $html .= $nav; -} - -echo $html; \ No newline at end of file diff --git a/views/default/tidypics/image_menu.php b/views/default/tidypics/image_menu.php deleted file mode 100644 index 50ada2193..000000000 --- a/views/default/tidypics/image_menu.php +++ /dev/null @@ -1,50 +0,0 @@ -container_guid); - if ($container instanceof ElggGroup) { - $can_tag = $viewer && $container->isMember($viewer); - } else { - $can_tag = $viewer && $viewer->guid == $owner->guid || user_is_friend($owner->guid, $viewer->guid); - } - - // only owner and friends of owner can tag - if ($can_tag) { -?> -
  • -guid == $owner->guid) { -?> -
  • - -
  • -mod/tidypics/vendors/PicLensLite/piclens_optimized.js"> diff --git a/views/default/tidypics/js/tagging.php b/views/default/tidypics/js/tagging.php deleted file mode 100644 index 3ffa20cfb..000000000 --- a/views/default/tidypics/js/tagging.php +++ /dev/null @@ -1,304 +0,0 @@ - - - - - - diff --git a/views/default/tidypics/tagging.php b/views/default/tidypics/tagging.php deleted file mode 100644 index 2993fe71b..000000000 --- a/views/default/tidypics/tagging.php +++ /dev/null @@ -1,88 +0,0 @@ -getPhotoTags(); - -// defining json text as "" makes sure the tagging javascript code doesn't throw errors if no tags -$photo_tags_json = "\"\""; -if ($tag_info) { - $photo_tags_json = $tag_info['json']; -} - -if ($tag_info) { -?> -
    -

    - -
    - -
    -
    -
    -
    -
    -

    - "; - $content .= ""; - $content .= ""; - $content .= ""; - $content .= ""; - - $content .= "
    "; - - $content .= "
    "; - - echo elgg_view('input/form', array('internalid' => 'quicksearch', 'internalname' => 'tidypics_phototag_form', 'class' => 'quicksearch', 'action' => "{$vars['url']}action/tidypics/addtag", 'method' => 'post', 'body' => $content)); - } - - ?> -
    - -
    -

    - - guid}' />"; - foreach ($tag_info['links'] as $id => $link) { - $text = htmlentities($link['text'], ENT_QUOTES, 'UTF-8'); - $content .= "
    "; - } - - $content .= ""; - $content .= ""; - - echo elgg_view('input/form', array('internalname' => 'phototag_deletetag_form', 'action' => "{$vars['url']}action/tidypics/deletetag", 'method' => 'post', 'body' => $content)); - - } -?> -
    - $photo_tags_json,) ); -- cgit v1.2.3