From a50947a4bc3f779df8fa4e6777bc025fcefc8d21 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Fri, 17 Sep 2010 03:10:19 -0700 Subject: like, dislike, activity streams, etc. --- view/acl_selectors.php | 6 +++--- view/comment_item.tpl | 2 +- view/jot-header.tpl | 1 + view/jot.tpl | 25 +++++++++++++------------ view/like.tpl | 5 +++++ view/profile_tabs.tpl | 1 + view/settings.tpl | 2 +- view/theme/default/style.css | 19 +++++++++++++++++++ view/theme/goldenrod/style.css | 11 +++++++++++ view/wall_item.tpl | 4 +++- view/wall_item_drop.tpl | 3 ++- view/wallwall_item.tpl | 4 +++- 12 files changed, 63 insertions(+), 20 deletions(-) create mode 100644 view/like.tpl (limited to 'view') diff --git a/view/acl_selectors.php b/view/acl_selectors.php index 42cd7a981..0366ab2a1 100644 --- a/view/acl_selectors.php +++ b/view/acl_selectors.php @@ -5,7 +5,7 @@ function group_select($selname,$selclass,$preselected = false,$size = 4) { $o = ''; - $o .= "\r\n"; $r = q("SELECT * FROM `group` WHERE `deleted` = 0 AND `uid` = %d ORDER BY `name` ASC", $_SESSION['uid'] @@ -39,11 +39,11 @@ function contact_select($selname, $selclass, $preselected = false, $size = 4, $p if($privmail) { $sql_extra = sprintf(" AND `rel` = %d ", intval(DIRECTION_BOTH)); - $o .= "\r\n"; } else { $sql_extra = ''; - $o .= "\r\n"; } $r = q("SELECT `id`, `name`, `url` FROM `contact` diff --git a/view/comment_item.tpl b/view/comment_item.tpl index 336ad3b33..62b3ce18a 100644 --- a/view/comment_item.tpl +++ b/view/comment_item.tpl @@ -18,6 +18,6 @@ -
+
diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 8c7cce360..bb95cd265 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -107,5 +107,6 @@ tinyMCE.init({ } } + diff --git a/view/jot.tpl b/view/jot.tpl index 586274c35..ec11f2861 100644 --- a/view/jot.tpl +++ b/view/jot.tpl @@ -1,19 +1,19 @@
-
-
What's on your mind?
-
-
-
-
- - - - +
+
What's on your mind?
+
+
+
- + + + + + + + -
@@ -35,6 +35,7 @@
+
diff --git a/view/like.tpl b/view/like.tpl new file mode 100644 index 000000000..73cbb2d4a --- /dev/null +++ b/view/like.tpl @@ -0,0 +1,5 @@ +
+I like this +I don't like this + +
diff --git a/view/profile_tabs.tpl b/view/profile_tabs.tpl index 0877edd73..9c6c54a1c 100644 --- a/view/profile_tabs.tpl +++ b/view/profile_tabs.tpl @@ -4,3 +4,4 @@ Profile Photos
+ \ No newline at end of file diff --git a/view/settings.tpl b/view/settings.tpl index aa0bf17e0..84fc38926 100644 --- a/view/settings.tpl +++ b/view/settings.tpl @@ -45,7 +45,7 @@ $profile_in_dir $profile_in_net_dir
-
$permissions
+
$permissions
$title
@@ -17,7 +18,8 @@ $drop
- + +
$dislike
$comment
diff --git a/view/wall_item_drop.tpl b/view/wall_item_drop.tpl index 9ca1ec968..84a2f3a8e 100644 --- a/view/wall_item_drop.tpl +++ b/view/wall_item_drop.tpl @@ -1 +1,2 @@ -
Delete
+
Delete
+
diff --git a/view/wallwall_item.tpl b/view/wallwall_item.tpl index 30970f6ae..f3a803543 100644 --- a/view/wallwall_item.tpl +++ b/view/wallwall_item.tpl @@ -12,7 +12,7 @@ $name to $owner_name via Wall-To-Wall:
$ago
$location
- + $vote
$title
@@ -21,6 +21,8 @@ $drop
+ +
$dislike
$comment -- cgit v1.2.3