diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/conversation.php | 2 | ||||
-rw-r--r-- | include/main.js | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php index 0d3123831..b536fed5f 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -392,7 +392,7 @@ function conversation(&$a, $items, $mode, $update) { if((intval($item['contact-id']) && $item['contact-id'] == remote_user()) || ($item['uid'] == local_user())) $dropping = true; - $drop = replace_macros((($dropping)? $droptpl : $fakedrop), array('$id' => $item['id'], '$delete' => t('Delete'))); + $drop = replace_macros((($dropping)? $droptpl : $fakedrop), array('$id' => $item['id'], '$select' => t('Select'), '$delete' => t('Delete'))); $photo = $item['photo']; diff --git a/include/main.js b/include/main.js index 3cc607977..5b9dae461 100644 --- a/include/main.js +++ b/include/main.js @@ -287,6 +287,17 @@ }); } +function checkboxhighlight(box) { + if($(box).is(':checked')) { + $(box).addClass('checkeditem'); + } + else { + $(box).removeClass('checkeditem'); + } +} + + + /** * sprintf in javascript * "{0} and {1}".format('zero','uno'); |