diff --git a/include/conversation.php b/include/conversation.php index 10d9bad2..acbbc9bd 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -437,11 +437,12 @@ function conversation(&$a, $items, $mode, $update) { $star = false; if ($profile_owner == local_user() && $toplevelpost) { - $isstarred = (($item['starred']) ? "starred" : "hidden"); + $isstarred = (($item['starred']) ? "starred" : "unstarred"); $star = array( 'do' => t("add star"), 'undo' => t("remove star"), + 'toggle' => t("toggle star status"), 'classdo' => (($item['starred']) ? "hidden" : ""), 'classundo' => (($item['starred']) ? "" : "hidden"), 'starred' => t('starred'), diff --git a/js/main.js b/js/main.js index f08b669e..896cbeb5 100644 --- a/js/main.js +++ b/js/main.js @@ -267,12 +267,12 @@ $.get('starred/' + ident, function(data) { if(data.match(/1/)) { $('#starred-' + ident).addClass('starred'); - $('#starred-' + ident).removeClass('hidden'); + $('#starred-' + ident).removeClass('unstarred'); $('#star-' + ident).addClass('hidden'); $('#unstar-' + ident).removeClass('hidden'); } else { - $('#starred-' + ident).addClass('hidden'); + $('#starred-' + ident).addClass('unstarred'); $('#starred-' + ident).removeClass('starred'); $('#star-' + ident).removeClass('hidden'); $('#unstar-' + ident).addClass('hidden'); diff --git a/view/theme/testbubble/nav.tpl b/view/theme/testbubble/nav.tpl index f2068336..359d01bc 100644 --- a/view/theme/testbubble/nav.tpl +++ b/view/theme/testbubble/nav.tpl @@ -1,54 +1,55 @@ -$langselector + diff --git a/view/theme/testbubble/profile_vcard.tpl b/view/theme/testbubble/profile_vcard.tpl new file mode 100644 index 00000000..0ee6919b --- /dev/null +++ b/view/theme/testbubble/profile_vcard.tpl @@ -0,0 +1,45 @@ +