From c2d82db47ccdbd388658433d1f703c560d7fb84b Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 6 Feb 2011 19:16:23 +0000 Subject: Fixes #2853 pages plugin uses the icon url plugin hook and fixes delete action git-svn-id: http://code.elgg.org/elgg/trunk@8044 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/pages/views/default/icon/object/page/medium.php | 8 -------- mod/pages/views/default/icon/object/page/small.php | 8 -------- mod/pages/views/default/icon/object/page_top/medium.php | 9 --------- mod/pages/views/default/icon/object/page_top/small.php | 8 -------- mod/pages/views/default/pages/icon.php | 12 ++++-------- 5 files changed, 4 insertions(+), 41 deletions(-) delete mode 100644 mod/pages/views/default/icon/object/page/medium.php delete mode 100644 mod/pages/views/default/icon/object/page/small.php delete mode 100644 mod/pages/views/default/icon/object/page_top/medium.php delete mode 100644 mod/pages/views/default/icon/object/page_top/small.php (limited to 'mod/pages/views') diff --git a/mod/pages/views/default/icon/object/page/medium.php b/mod/pages/views/default/icon/object/page/medium.php deleted file mode 100644 index ebf028ef7..000000000 --- a/mod/pages/views/default/icon/object/page/medium.php +++ /dev/null @@ -1,8 +0,0 @@ - diff --git a/mod/pages/views/default/icon/object/page_top/small.php b/mod/pages/views/default/icon/object/page_top/small.php deleted file mode 100644 index bb9e0047a..000000000 --- a/mod/pages/views/default/icon/object/page_top/small.php +++ /dev/null @@ -1,8 +0,0 @@ -entity_guid); // Get size -if (!in_array($vars['size'], array('small','medium','large','tiny','master','topbar'))) { +if (!in_array($vars['size'], array('small', 'medium', 'large', 'tiny', 'master', 'topbar'))) { $vars['size'] = "medium"; } -if (!empty($vars['align'])) { - $align = " align=\"{$vars['align']}\" "; -} else { - $align = ""; -} - ?> - /> + -- cgit v1.2.3