From ad6e04d0bbf812dfe048f1fdbde7aa5c787b6d1a Mon Sep 17 00:00:00 2001
From: cash
Date: Wed, 1 Dec 2010 00:57:18 +0000
Subject: Fixes #2555 content.php is the new display view for widgets
git-svn-id: http://code.elgg.org/elgg/trunk@7484 36083f99-b078-4883-b0ff-0f9b5a30f544
---
.../views/default/widgets/twitter/content.php | 31 ++++++++++++++++++++++
mod/twitter/views/default/widgets/twitter/view.php | 31 ----------------------
2 files changed, 31 insertions(+), 31 deletions(-)
create mode 100644 mod/twitter/views/default/widgets/twitter/content.php
delete mode 100644 mod/twitter/views/default/widgets/twitter/view.php
(limited to 'mod/twitter')
diff --git a/mod/twitter/views/default/widgets/twitter/content.php b/mod/twitter/views/default/widgets/twitter/content.php
new file mode 100644
index 000000000..e429d0103
--- /dev/null
+++ b/mod/twitter/views/default/widgets/twitter/content.php
@@ -0,0 +1,31 @@
+twitter_username;
+$num = $vars['entity']->twitter_num;
+
+// if the twitter username is empty, then do not show
+if ($username) {
+
+?>
+
+
+
+" . elgg_echo("twitter:notset") . ".
";
+
+}
diff --git a/mod/twitter/views/default/widgets/twitter/view.php b/mod/twitter/views/default/widgets/twitter/view.php
deleted file mode 100644
index e429d0103..000000000
--- a/mod/twitter/views/default/widgets/twitter/view.php
+++ /dev/null
@@ -1,31 +0,0 @@
-twitter_username;
-$num = $vars['entity']->twitter_num;
-
-// if the twitter username is empty, then do not show
-if ($username) {
-
-?>
-
-
-
-" . elgg_echo("twitter:notset") . ".";
-
-}
--
cgit v1.2.3