From b1d84c209db23302a6380edbd65e00ade73d2db5 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 23 May 2010 03:03:36 +0000 Subject: fixed page shells for xml, php, and foaf git-svn-id: http://code.elgg.org/elgg/trunk@6139 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/foaf/page_shells/default.php | 50 +++++++++++++++++++++++++++++++++++++ views/foaf/pageshells/pageshell.php | 50 ------------------------------------- views/php/page_shells/default.php | 12 +++++++++ views/php/pageshells/pageshell.php | 12 --------- views/xml/page_shells/default.php | 16 ++++++++++++ views/xml/pageshells/pageshell.php | 16 ------------ 6 files changed, 78 insertions(+), 78 deletions(-) create mode 100644 views/foaf/page_shells/default.php delete mode 100644 views/foaf/pageshells/pageshell.php create mode 100644 views/php/page_shells/default.php delete mode 100644 views/php/pageshells/pageshell.php create mode 100644 views/xml/page_shells/default.php delete mode 100644 views/xml/pageshells/pageshell.php (limited to 'views') diff --git a/views/foaf/page_shells/default.php b/views/foaf/page_shells/default.php new file mode 100644 index 000000000..2d7232c3e --- /dev/null +++ b/views/foaf/page_shells/default.php @@ -0,0 +1,50 @@ +\n"; + +if (!$owner = page_owner_entity()) { + if (!isloggedin()) { + exit; + } else { + $owner = $vars['user']; + } +} + +?> + + + + + + + + + + username; ?> + name; ?> + + + + + + diff --git a/views/foaf/pageshells/pageshell.php b/views/foaf/pageshells/pageshell.php deleted file mode 100644 index 2d7232c3e..000000000 --- a/views/foaf/pageshells/pageshell.php +++ /dev/null @@ -1,50 +0,0 @@ -\n"; - -if (!$owner = page_owner_entity()) { - if (!isloggedin()) { - exit; - } else { - $owner = $vars['user']; - } -} - -?> - - - - - - - - - - username; ?> - name; ?> - - - - - - diff --git a/views/php/page_shells/default.php b/views/php/page_shells/default.php new file mode 100644 index 000000000..d6a924c2f --- /dev/null +++ b/views/php/page_shells/default.php @@ -0,0 +1,12 @@ +\n"; +echo $vars['body']; \ No newline at end of file diff --git a/views/xml/pageshells/pageshell.php b/views/xml/pageshells/pageshell.php deleted file mode 100644 index ed7cb13f3..000000000 --- a/views/xml/pageshells/pageshell.php +++ /dev/null @@ -1,16 +0,0 @@ -\n"; -echo $vars['body']; \ No newline at end of file -- cgit v1.2.3