diff --git a/boot.php b/boot.php index b0412e0514..4e23794695 100644 --- a/boot.php +++ b/boot.php @@ -2631,7 +2631,7 @@ if(! function_exists('get_plink')) { function get_plink($item) { $a = get_app(); $plink = (((x($item,'plink')) && (! $item['private'])) ? '
' : ''); + . $item['plink'] . '" title="' . t('link to source') . '" target="external-link" class="icon remote-link">' : ''); return $plink; }} diff --git a/images/icons.png b/images/icons.png new file mode 100644 index 0000000000..734c75f733 Binary files /dev/null and b/images/icons.png differ diff --git a/include/main.js b/include/main.js index a251d8e3a3..c7a3aea482 100644 --- a/include/main.js +++ b/include/main.js @@ -91,19 +91,20 @@ $.get("ping",function(data) { $(data).find('result').each(function() { var net = $(this).find('net').text(); - if(net == 0) { net = ''; } + if(net == 0) { net = ''; $('#net-update').hide() } else { $('#net-update').show() } $('#net-update').html(net); var home = $(this).find('home').text(); - if(home == 0) { home = ''; } + if(home == 0) { home = ''; $('#home-update').hide() } else { $('#home-update').show() } $('#home-update').html(home); var mail = $(this).find('mail').text(); - if(mail == 0) { mail = ''; } + if(mail == 0) { mail = ''; $('#mail-update').hide() } else { $('#mail-update').show() } $('#mail-update').html(mail); var intro = $(this).find('intro').text(); var register = $(this).find('register').text(); if(intro == 0) { intro = ''; } if(register != 0 && intro != '') { intro = intro+'/'+register; } if(register != 0 && intro == '') { intro = '0/'+register; } + if (intro == '') { $('#notify-update').hide() } else { $('#notify-update').show() } $('#notify-update').html(intro); }); @@ -161,15 +162,11 @@ } function imgbright(node) { - $(node).attr("src",$(node).attr("src").replace('hide','show')); - $(node).css('width',24); - $(node).css('height',24); + $(node).removeClass("drophide").addClass("drop"); } function imgdull(node) { - $(node).attr("src",$(node).attr("src").replace('show','hide')); - $(node).css('width',16); - $(node).css('height',16); + $(node).removeClass("drop").addClass("drophide"); } // Since our ajax calls are asynchronous, we will give a few diff --git a/view/contact_edit.tpl b/view/contact_edit.tpl index 039c8d235c..97134aedd7 100644 --- a/view/contact_edit.tpl +++ b/view/contact_edit.tpl @@ -18,13 +18,13 @@ diff --git a/view/group_drop.tpl b/view/group_drop.tpl index c87ea459f6..bd9852b962 100644 --- a/view/group_drop.tpl +++ b/view/group_drop.tpl @@ -1 +1,10 @@ - + + diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 94f0f58f84..0fdd302094 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -74,11 +74,11 @@ tinyMCE.init({ var selstr; $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() { selstr = $(this).text(); - $('#profile-jot-perms img').attr('src', 'images/lock_icon.gif'); + $('#jot-perms-icon').removeClass('unlock').addClass('lock'); $('.profile-jot-net input').attr('disabled', 'disabled'); }); if(selstr == null) { - $('#profile-jot-perms img').attr('src', 'images/unlock_icon.gif'); + $('#jot-perms-icon').removeClass('lock').addClass('unlock'); $('.profile-jot-net input').attr('disabled', false); } diff --git a/view/jot.tpl b/view/jot.tpl index f5010301f6..31f2eff04a 100644 --- a/view/jot.tpl +++ b/view/jot.tpl @@ -21,28 +21,28 @@+$lbl_pass2 +
+ + ++$imap_desc +$mail_disabled +
+ + + + + + + + + + + + + + + + + + + + + + +