From aed07dddce19e2536a5c1bcab9588a3003a7849b Mon Sep 17 00:00:00 2001 From: Alexandre Hannud Abdo Date: Thu, 26 Jun 2014 01:30:21 -0300 Subject: Let's have a global default startpage before falling back to apps --- mod/home.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod/home.php b/mod/home.php index 6f7a0b5d7..bc352976d 100644 --- a/mod/home.php +++ b/mod/home.php @@ -15,6 +15,8 @@ function home_init(&$a) { $dest = $channel['channel_startpage']; if(! $dest) $dest = get_pconfig(local_user(),'system','startpage'); + if(! $dest) + $dest = get_config('system','startpage'); if(! $dest) $dest = z_root() . '/apps'; -- cgit v1.2.3 From c6cae8e0c260d4286720626f765baab1280c2330 Mon Sep 17 00:00:00 2001 From: marijus Date: Thu, 26 Jun 2014 19:08:16 +0200 Subject: make it a div to prevent extra borders in some browsers after click --- library/jquery.divgrow/jquery.divgrow-1.3.1.js | 8 ++++---- view/theme/redbasic/css/style.css | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/library/jquery.divgrow/jquery.divgrow-1.3.1.js b/library/jquery.divgrow/jquery.divgrow-1.3.1.js index e79c7928c..780d0ab82 100644 --- a/library/jquery.divgrow/jquery.divgrow-1.3.1.js +++ b/library/jquery.divgrow/jquery.divgrow-1.3.1.js @@ -46,9 +46,9 @@ obj.after('

[…]

'); } else { - obj.after(''); + obj.after('
'); } - $("a.divgrow-showmore").html(options.moreText); + $("div.divgrow-showmore").html(options.moreText); $("." + "divgrow-obj-" + divgrowid).toggle(function () { //alert(obj.attr('class')); @@ -61,7 +61,7 @@ if (options.showBrackets) { $(this).nextAll("p.divgrow-brackets:first").fadeOut(); } - $(this).nextAll("a.divgrow-showmore:first").html(options.lessText); + $(this).nextAll("div.divgrow-showmore:first").html(options.lessText); }); @@ -74,7 +74,7 @@ if (options.showBrackets) { $(this).nextAll("p.divgrow-brackets:first").stop(true, false).fadeIn(); } - $(this).nextAll("a.divgrow-showmore:first").stop(true, false).html(options.moreText); + $(this).nextAll("div.divgrow-showmore:first").stop(true, false).html(options.moreText); }); }); diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 4ee8a7477..50e698e48 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -2062,10 +2062,14 @@ img.mail-list-sender-photo { border-bottom-right-radius: $radiuspx; border-bottom-left-radius: $radiuspx; text-align: center; + font-weight: bold; + color: $link_colour; + cursor: pointer; } .divgrow-showmore:hover { border-top: 1px dashed #adadad; + text-decoration: underline; } -- cgit v1.2.3 From 0128615835a3ef2cabb2ef681d54da12f9abf6d5 Mon Sep 17 00:00:00 2001 From: marijus Date: Thu, 26 Jun 2014 19:33:38 +0200 Subject: also change to div for the with brackets option which we dont actually use... --- library/jquery.divgrow/jquery.divgrow-1.3.1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/jquery.divgrow/jquery.divgrow-1.3.1.js b/library/jquery.divgrow/jquery.divgrow-1.3.1.js index 780d0ab82..49788f802 100644 --- a/library/jquery.divgrow/jquery.divgrow-1.3.1.js +++ b/library/jquery.divgrow/jquery.divgrow-1.3.1.js @@ -43,7 +43,7 @@ obj.css('height', options.initialHeight).css('overflow', 'hidden'); if (options.showBrackets) { - obj.after('

[…]

'); + obj.after('

[…]

'); } else { obj.after('
'); -- cgit v1.2.3 From 0db4b55223d5df47a13cdb47d25ba30fd57df5c1 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Thu, 26 Jun 2014 19:33:10 +0100 Subject: Invite app --- app/invite.apd | 4 ++++ app/invite.png | Bin 0 -> 5166 bytes 2 files changed, 4 insertions(+) create mode 100644 app/invite.apd create mode 100644 app/invite.png diff --git a/app/invite.apd b/app/invite.apd new file mode 100644 index 000000000..8526d2d4a --- /dev/null +++ b/app/invite.apd @@ -0,0 +1,4 @@ +url: $baseurl/invite +requires: local_user +name: Invite +photo: $baseurl/app/invite.png diff --git a/app/invite.png b/app/invite.png new file mode 100644 index 000000000..1cd9ce254 Binary files /dev/null and b/app/invite.png differ -- cgit v1.2.3