From 152641bf243dde9cf01d9a95038939ac9ddf0f3e Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 4 Nov 2012 20:53:59 -0800 Subject: that was certainly some fun debugging (not) --- view/theme/duepuntozero/php/theme.php | 9 ++-- view/theme/duepuntozero/tpl/comment_item.tpl | 66 ---------------------------- view/tpl/comment_item.tpl | 32 +++++++++++++- view/tpl/jot.tpl | 5 ++- 4 files changed, 39 insertions(+), 73 deletions(-) delete mode 100755 view/theme/duepuntozero/tpl/comment_item.tpl (limited to 'view') diff --git a/view/theme/duepuntozero/php/theme.php b/view/theme/duepuntozero/php/theme.php index a1d436a4b..462fca7ed 100644 --- a/view/theme/duepuntozero/php/theme.php +++ b/view/theme/duepuntozero/php/theme.php @@ -42,12 +42,13 @@ function cmtBbOpen(comment, id) { return false; } function cmtBbClose(comment, id) { - if($(comment).hasClass('comment-edit-text-empty')) { - $(".comment-edit-bb-" + id).hide(); - return true; - } +// if($(comment).hasClass('comment-edit-text-empty')) { +// $(".comment-edit-bb-" + id).hide(); +// return true; +// } return false; } + $(document).ready(function() { $('.group-edit-icon').hover( diff --git a/view/theme/duepuntozero/tpl/comment_item.tpl b/view/theme/duepuntozero/tpl/comment_item.tpl deleted file mode 100755 index f64ae753b..000000000 --- a/view/theme/duepuntozero/tpl/comment_item.tpl +++ /dev/null @@ -1,66 +0,0 @@ -
- {{ if $threaded }} - $comment - - -
diff --git a/view/tpl/comment_item.tpl b/view/tpl/comment_item.tpl index 3de24ca8d..cc7153ebb 100644 --- a/view/tpl/comment_item.tpl +++ b/view/tpl/comment_item.tpl @@ -10,12 +10,40 @@ +
$mytitle
- + +
+ {{ if $qcomment }} + {{ if $preview }} $preview + {{ endif }}
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index c702fafaf..29c420900 100644 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -53,13 +53,14 @@ $bang - $preview + {{ if $preview }}$preview{{ endif }} +
- $jotplugins + $jotplugins
-- cgit v1.2.3