From 090f60fb6ace958748752e439548f1fa8673258f Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 13 Aug 2008 12:28:33 +0000 Subject: Once again removing an accidentally committed plugin git-svn-id: https://code.elgg.org/elgg/trunk@1896 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/pages/views/default/annotation/icon.php | 32 ------ mod/pages/views/default/annotation/page.php | 40 -------- mod/pages/views/default/forms/pages/edit.php | 66 ------------- .../views/default/forms/pages/editwelcome.php | 57 ----------- mod/pages/views/default/object/page.php | 21 ---- mod/pages/views/default/object/page_top.php | 21 ---- mod/pages/views/default/pages/breadcrumbs.php | 28 ------ mod/pages/views/default/pages/css.php | 108 --------------------- .../views/default/pages/groupprofile_pages.php | 9 -- mod/pages/views/default/pages/menu.php | 14 --- mod/pages/views/default/pages/metatags.php | 22 ----- mod/pages/views/default/pages/pagegallery.php | 37 ------- mod/pages/views/default/pages/pagelisting.php | 38 -------- mod/pages/views/default/pages/pageprofile.php | 66 ------------- .../views/default/pages/sidebar/sidebarthis.php | 82 ---------------- mod/pages/views/default/pages/sidebar/starter.php | 21 ---- mod/pages/views/default/pages/sidebar/tree.php | 8 -- mod/pages/views/default/pages/sidebar/wrapper.php | 7 -- mod/pages/views/default/pages/welcome.php | 29 ------ 19 files changed, 706 deletions(-) delete mode 100644 mod/pages/views/default/annotation/icon.php delete mode 100644 mod/pages/views/default/annotation/page.php delete mode 100644 mod/pages/views/default/forms/pages/edit.php delete mode 100644 mod/pages/views/default/forms/pages/editwelcome.php delete mode 100644 mod/pages/views/default/object/page.php delete mode 100644 mod/pages/views/default/object/page_top.php delete mode 100644 mod/pages/views/default/pages/breadcrumbs.php delete mode 100644 mod/pages/views/default/pages/css.php delete mode 100644 mod/pages/views/default/pages/groupprofile_pages.php delete mode 100644 mod/pages/views/default/pages/menu.php delete mode 100644 mod/pages/views/default/pages/metatags.php delete mode 100644 mod/pages/views/default/pages/pagegallery.php delete mode 100644 mod/pages/views/default/pages/pagelisting.php delete mode 100644 mod/pages/views/default/pages/pageprofile.php delete mode 100644 mod/pages/views/default/pages/sidebar/sidebarthis.php delete mode 100644 mod/pages/views/default/pages/sidebar/starter.php delete mode 100644 mod/pages/views/default/pages/sidebar/tree.php delete mode 100644 mod/pages/views/default/pages/sidebar/wrapper.php delete mode 100644 mod/pages/views/default/pages/welcome.php (limited to 'mod/pages/views/default') diff --git a/mod/pages/views/default/annotation/icon.php b/mod/pages/views/default/annotation/icon.php deleted file mode 100644 index cb2548cb2..000000000 --- a/mod/pages/views/default/annotation/icon.php +++ /dev/null @@ -1,32 +0,0 @@ -entity_guid); - - // Get size - if (!in_array($vars['size'],array('small','medium','large','tiny','master','topbar'))) - $vars['size'] = "medium"; - - // Get any align and js - if (!empty($vars['align'])) { - $align = " align=\"{$vars['align']}\" "; - } else { - $align = ""; - } - - -?> - -
- /> -
\ No newline at end of file diff --git a/mod/pages/views/default/annotation/page.php b/mod/pages/views/default/annotation/page.php deleted file mode 100644 index ff06178ec..000000000 --- a/mod/pages/views/default/annotation/page.php +++ /dev/null @@ -1,40 +0,0 @@ -entity_guid); - - $icon = elgg_view( - "annotation/icon", array( - 'annotation' => $vars['annotation'], - 'size' => 'small', - ) - ); - - $owner_guid = $annotation->owner_guid; - $owner = get_entity($owner_guid); - - $rev = sprintf(elgg_echo('pages:revision'), - friendly_time($annotation->time_created), - - "getURL() . "\">" . $owner->name ."" - ); - - $link = $entity->getURL() . "?rev=" . $annotation->id; - - $info = <<< END - -
{$entity->title}
-
$rev
-END; - - echo elgg_view_listing($icon, $info); -?> \ No newline at end of file diff --git a/mod/pages/views/default/forms/pages/edit.php b/mod/pages/views/default/forms/pages/edit.php deleted file mode 100644 index 8c9e5ccfc..000000000 --- a/mod/pages/views/default/forms/pages/edit.php +++ /dev/null @@ -1,66 +0,0 @@ - -
- -pages) && sizeof($vars['config']->pages) > 0) - foreach($vars['config']->pages as $shortname => $valtype) { - - $disabled = ""; - - if (($vars['entity']) && ($shortname == 'title')) - { - $disabled = true; - } -?> - -

- -

- - -

- - - - - " /> -

- -
\ No newline at end of file diff --git a/mod/pages/views/default/forms/pages/editwelcome.php b/mod/pages/views/default/forms/pages/editwelcome.php deleted file mode 100644 index d8960bf9c..000000000 --- a/mod/pages/views/default/forms/pages/editwelcome.php +++ /dev/null @@ -1,57 +0,0 @@ -description; - $object_guid = $welcome->guid; - $access_id = $welcome->access_id; - } - }else{ - $current_message = ''; - $object_guid = ''; - $access_id = 0; - } - - $page_owner = $vars['owner']->guid; - -?> -
- -

- -

-

- -

- - - - - - - " /> -
diff --git a/mod/pages/views/default/object/page.php b/mod/pages/views/default/object/page.php deleted file mode 100644 index 6a872f3ae..000000000 --- a/mod/pages/views/default/object/page.php +++ /dev/null @@ -1,21 +0,0 @@ - \ No newline at end of file diff --git a/mod/pages/views/default/object/page_top.php b/mod/pages/views/default/object/page_top.php deleted file mode 100644 index 6a872f3ae..000000000 --- a/mod/pages/views/default/object/page_top.php +++ /dev/null @@ -1,21 +0,0 @@ - \ No newline at end of file diff --git a/mod/pages/views/default/pages/breadcrumbs.php b/mod/pages/views/default/pages/breadcrumbs.php deleted file mode 100644 index 52662b5bd..000000000 --- a/mod/pages/views/default/pages/breadcrumbs.php +++ /dev/null @@ -1,28 +0,0 @@ -wwwroot . "pg/pages/owned/" . get_entity($page_owner)->username; - echo "
" . elgg_echo('pages:user') . ""; - - //see if the new page's parent has a parent - $getparent = get_entity($parent->parent_guid); - while ($getparent instanceof ElggObject){ - - $breadcrumbs = " > getURL()}\">$getparent->title" . $breadcrumbs; - $getparent = get_entity($getparent->parent_guid); - - } - - echo $breadcrumbs; - //if it is adding a page, make the last page a link, otherwise, don't - if($vars['add']){ - echo " > getURL()}\">$parent->title
"; - }else{ - echo " > $parent->title"; - } - -?> \ No newline at end of file diff --git a/mod/pages/views/default/pages/css.php b/mod/pages/views/default/pages/css.php deleted file mode 100644 index 1fc1e5abb..000000000 --- a/mod/pages/views/default/pages/css.php +++ /dev/null @@ -1,108 +0,0 @@ - - -.treeview, .treeview ul { - padding: 0; - margin: 0; - list-style: none; -} - -.treeview ul { - background-color: white; - margin-top: 4px; -} - -.treeview .hitarea { - background: url(mod/pages/images/treeview-default.gif) -64px -25px no-repeat; - height: 16px; - width: 16px; - margin-left: -16px; - float: left; - cursor: pointer; -} -/* fix for IE6 */ -* html .hitarea { - display: inline; - float:none; -} - -.treeview li { - margin: 0; - padding: 3px 0pt 3px 16px; -} - -.treeview a.selected { - background-color: #eee; -} - -#treecontrol { margin: 1em 0; display: none; } - -.treeview .hover { color: red; cursor: pointer; } - -.treeview li { background: url(mod/pages/images/treeview-default-line.gif) 0 0 no-repeat; } -.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; } - -.treeview .expandable-hitarea { background-position: -80px -3px; } - -.treeview li.last { background-position: 0 -1766px } -.treeview li.lastCollapsable, .treeview li.lastExpandable { background-image: url(mod/pages/images/treeview-default.gif); } -.treeview li.lastCollapsable { background-position: 0 -111px } -.treeview li.lastExpandable { background-position: -32px -67px } - -.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; } - -.treeview-red li { background-image: url(mod/pages/images/treeview-red-line.gif); } -.treeview-red .hitarea, .treeview-red li.lastCollapsable, .treeview-red li.lastExpandable { background-image: url(mod/pages/images/treeview-red.gif); } - -.treeview-black li { background-image: url(mod/pages/images/treeview-black-line.gif); } -.treeview-black .hitarea, .treeview-black li.lastCollapsable, .treeview-black li.lastExpandable { background-image: url(mod/pages/images/treeview-black.gif); } - -.treeview-gray li { background-image: url(mod/pages/images/treeview-gray-line.gif); } -.treeview-gray .hitarea, .treeview-gray li.lastCollapsable, .treeview-gray li.lastExpandable { background-image: url(mod/pages/images/treeview-gray.gif); } - -.treeview-famfamfam li { background-image: url(mod/pages/images/treeview-famfamfam-line.gif); } -.treeview-famfamfam .hitarea, .treeview-famfamfam li.lastCollapsable, .treeview-famfamfam li.lastExpandable { background-image: url(mod/pages/images/treeview-famfamfam.gif); } - - -.filetree li { padding: 3px 0 2px 16px; } -.filetree span.folder, .filetree span.file { padding: 1px 0 1px 16px; display: block; } -.filetree span.folder { background: url(mod/pages/images/folder.gif) 0 0 no-repeat; } -.filetree li.expandable span.folder { background: url(mod/pages/images/folder-closed.gif) 0 0 no-repeat; } -.filetree span.file { background: url(mod/pages/images/file.gif) 0 0 no-repeat; } - -.pagesTreeContainer { - margin:0; - min-height: 200px; - } - -/* delete, Dave's test addition */ - -#pages_page .strapline { - text-align:right; - border-top:1px solid #efefef; - margin:10px 0 10px 0; -} - -#pages_page .tags { - padding:0 0 0 16px; - margin:10px 0 4px 0; - background:transparent url(_graphics/icon_tag.gif) no-repeat scroll left 2px; -} - -#pages_page img[align="left"] { - margin: 10px 20px 10px 0; - float:left; -} -#pages_page img[align="right"] { - margin: 10px 0 10px 10px; - float:right; -} - diff --git a/mod/pages/views/default/pages/groupprofile_pages.php b/mod/pages/views/default/pages/groupprofile_pages.php deleted file mode 100644 index b32ccf3b0..000000000 --- a/mod/pages/views/default/pages/groupprofile_pages.php +++ /dev/null @@ -1,9 +0,0 @@ -
-

- -
\ No newline at end of file diff --git a/mod/pages/views/default/pages/menu.php b/mod/pages/views/default/pages/menu.php deleted file mode 100644 index ca8620f70..000000000 --- a/mod/pages/views/default/pages/menu.php +++ /dev/null @@ -1,14 +0,0 @@ - -

- -

\ No newline at end of file diff --git a/mod/pages/views/default/pages/metatags.php b/mod/pages/views/default/pages/metatags.php deleted file mode 100644 index 895df6657..000000000 --- a/mod/pages/views/default/pages/metatags.php +++ /dev/null @@ -1,22 +0,0 @@ - - - - - diff --git a/mod/pages/views/default/pages/pagegallery.php b/mod/pages/views/default/pages/pagegallery.php deleted file mode 100644 index b49150927..000000000 --- a/mod/pages/views/default/pages/pagegallery.php +++ /dev/null @@ -1,37 +0,0 @@ - $vars['entity'], - 'size' => 'medium', - ) - ); - - $info = "

getUrl() . "\">" . $vars['entity']->title . "

"; - - - $latest = $vars['entity']->getAnnotations('page', 1, 0, 'desc'); - if ($latest) { - $latest = $latest[0]; - - $time_updated = $latest->time_created; - $owner_guid = $latest->owner_guid; - $owner = get_entity($owner_guid); - - - $info .= "
". - strip_tags(substr($latest->value, 0, 100)) - . "
"; - } - - echo elgg_view_listing($icon, $info); -?> \ No newline at end of file diff --git a/mod/pages/views/default/pages/pagelisting.php b/mod/pages/views/default/pages/pagelisting.php deleted file mode 100644 index a04e53bd4..000000000 --- a/mod/pages/views/default/pages/pagelisting.php +++ /dev/null @@ -1,38 +0,0 @@ - $vars['entity'], - 'size' => 'small', - ) - ); - - $info .= "

getUrl() . "\">" . $vars['entity']->title . "

"; - - - $latest = $vars['entity']->getAnnotations('page', 1, 0, 'desc'); - if ($latest) { - $latest = $latest[0]; - - $time_updated = $latest->time_created; - $owner_guid = $latest->owner_guid; - $owner = get_entity($owner_guid); - - - $info .= "

".sprintf(elgg_echo("pages:strapline"), - friendly_time($time_updated), - "getURL() . "\">" . $owner->name ."" - ) . "

"; - } - - echo elgg_view_listing($icon, $info); -?> \ No newline at end of file diff --git a/mod/pages/views/default/pages/pageprofile.php b/mod/pages/views/default/pages/pageprofile.php deleted file mode 100644 index e82e91728..000000000 --- a/mod/pages/views/default/pages/pageprofile.php +++ /dev/null @@ -1,66 +0,0 @@ -getAnnotations('page', 1, 0, 'desc'); - if ($latest) $latest = $latest[0]; - } - -?> - -
- - /*$entity->description*/ $latest->value)); - -?> - -

- $vars['entity']->tags)); - - ?> -

- - - -

- time_created; - $owner_guid = $latest->owner_guid; - $owner = get_entity($owner_guid); - - echo sprintf(elgg_echo("pages:strapline"), - friendly_time($time_updated), - "getURL() . "\">" . $owner->name ."" - ); - - ?> -

-
\ No newline at end of file diff --git a/mod/pages/views/default/pages/sidebar/sidebarthis.php b/mod/pages/views/default/pages/sidebar/sidebarthis.php deleted file mode 100644 index ffdc6c802..000000000 --- a/mod/pages/views/default/pages/sidebar/sidebarthis.php +++ /dev/null @@ -1,82 +0,0 @@ -[parent_guid; - - $currentpage = (int) get_input('currentpage'); - if ($currentpage) { - - $path = pages_get_path($currentpage); - $pathstring = implode(',',$path); - - } else { - $path = array(); - } - - function pages_draw_child($childentity, $path) { - - $child = "\n\t\t{\n"; - $child .= "\t\t\t\"text\": \"getURL()}\\\">{$childentity->title}\",\n"; - - $haschild = get_entities_from_metadata('parent_guid',$childentity->guid,'','',0,9999); - if ($haschild) { - if (in_array($childentity->getGUID(),$path)) { - $child .= "\t\t\t\"expanded\": true,"; - $child .= "\t\t\t\"children\": [\n"; - - $childstring = ""; - foreach($haschild as $subchild) { - if (!empty($childstring)) $childstring .= ", "; - $childstring .= pages_draw_child($subchild,$path); - } - - $child .= $childstring . "\n\t\t\t]\n"; - } else { - $child .= "\t\t\t\"id\": \"{$childentity->getGUID()}\",\n\t\t\t\"hasChildren\": true\n"; - } - - } - $child .= "\t\t}"; - return $child; - } - - if (!$parent) { - echo "{\n"; - echo "\t\"text\": \"getURL()}\\\">{$vars['entity']->title}\",\n"; - } - $children = ""; - if (isset($vars['children']) && is_array($vars['children']) && (!isset($vars['fulltree']) || $vars['fulltree'] == 0)) { - if (!$parent) echo "\t" . '"expanded": true,' . "\n"; - if (!$parent) echo "\t" . '"children": [' . "\n"; - foreach($vars['children'] as $child) { - if (!empty($children)) $children .= ", \n"; - /* - $children .= "\n\t\t{\n"; - $children .= "\t\t\t\"text\": \"getURL()}\\\">{$child->title}\",\n"; - - $haschild = get_entities_from_metadata('parent_guid',$child->guid,'','',0,10,0,'',0,true); - if ($haschild) { - $children .= "\t\t\t\"id\": \"{$child->getGUID()}\",\n\t\t\t\"hasChildren\": true\n"; - } - $children .= "\t\t}"; - */ - $children .= pages_draw_child($child,$path); - } - echo $children; - if (!$parent) echo "\t\t" . ']' . "\n"; - - } - - if (!$parent) echo "}"; - -?>] \ No newline at end of file diff --git a/mod/pages/views/default/pages/sidebar/starter.php b/mod/pages/views/default/pages/sidebar/starter.php deleted file mode 100644 index 234ec28e5..000000000 --- a/mod/pages/views/default/pages/sidebar/starter.php +++ /dev/null @@ -1,21 +0,0 @@ - - - - - \ No newline at end of file diff --git a/mod/pages/views/default/pages/sidebar/tree.php b/mod/pages/views/default/pages/sidebar/tree.php deleted file mode 100644 index 1424eeebe..000000000 --- a/mod/pages/views/default/pages/sidebar/tree.php +++ /dev/null @@ -1,8 +0,0 @@ - - -
\ No newline at end of file diff --git a/mod/pages/views/default/pages/sidebar/wrapper.php b/mod/pages/views/default/pages/sidebar/wrapper.php deleted file mode 100644 index 08e6a5b7d..000000000 --- a/mod/pages/views/default/pages/sidebar/wrapper.php +++ /dev/null @@ -1,7 +0,0 @@ - \ No newline at end of file diff --git a/mod/pages/views/default/pages/welcome.php b/mod/pages/views/default/pages/welcome.php deleted file mode 100644 index 0974ba151..000000000 --- a/mod/pages/views/default/pages/welcome.php +++ /dev/null @@ -1,29 +0,0 @@ -description; - - } - - } else { - -?> - -

Welcome to this Elgg pages plugin. This feature allows you to create pages on any topic and select who can view them and edit them.

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