Merge https://github.com/friendica/red into pending_merge
This commit is contained in:
commit
fea4eac17a
4
app/invite.apd
Normal file
4
app/invite.apd
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
url: $baseurl/invite
|
||||||
|
requires: local_user
|
||||||
|
name: Invite
|
||||||
|
photo: $baseurl/app/invite.png
|
BIN
app/invite.png
Normal file
BIN
app/invite.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.0 KiB |
@ -43,12 +43,12 @@
|
|||||||
|
|
||||||
obj.css('height', options.initialHeight).css('overflow', 'hidden');
|
obj.css('height', options.initialHeight).css('overflow', 'hidden');
|
||||||
if (options.showBrackets) {
|
if (options.showBrackets) {
|
||||||
obj.after('<p class="divgrow-brackets">[…]</p><a href="#" class="divgrow-showmore' + " divgrow-obj-" + divgrowid + '"' + '></a>');
|
obj.after('<p class="divgrow-brackets">[…]</p><div href="#" class="divgrow-showmore' + " divgrow-obj-" + divgrowid + '"' + '></div>');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
obj.after('<a href="#" class="divgrow-showmore' + " divgrow-obj-" + divgrowid + '"' + '></a>');
|
obj.after('<div class="divgrow-showmore' + " divgrow-obj-" + divgrowid + '"' + '></div>');
|
||||||
}
|
}
|
||||||
$("a.divgrow-showmore").html(options.moreText);
|
$("div.divgrow-showmore").html(options.moreText);
|
||||||
|
|
||||||
$("." + "divgrow-obj-" + divgrowid).toggle(function () {
|
$("." + "divgrow-obj-" + divgrowid).toggle(function () {
|
||||||
//alert(obj.attr('class'));
|
//alert(obj.attr('class'));
|
||||||
@ -61,7 +61,7 @@
|
|||||||
if (options.showBrackets) {
|
if (options.showBrackets) {
|
||||||
$(this).nextAll("p.divgrow-brackets:first").fadeOut();
|
$(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) {
|
if (options.showBrackets) {
|
||||||
$(this).nextAll("p.divgrow-brackets:first").stop(true, false).fadeIn();
|
$(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);
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -15,6 +15,8 @@ function home_init(&$a) {
|
|||||||
$dest = $channel['channel_startpage'];
|
$dest = $channel['channel_startpage'];
|
||||||
if(! $dest)
|
if(! $dest)
|
||||||
$dest = get_pconfig(local_user(),'system','startpage');
|
$dest = get_pconfig(local_user(),'system','startpage');
|
||||||
|
if(! $dest)
|
||||||
|
$dest = get_config('system','startpage');
|
||||||
if(! $dest)
|
if(! $dest)
|
||||||
$dest = z_root() . '/apps';
|
$dest = z_root() . '/apps';
|
||||||
|
|
||||||
|
@ -2062,10 +2062,14 @@ img.mail-list-sender-photo {
|
|||||||
border-bottom-right-radius: $radiuspx;
|
border-bottom-right-radius: $radiuspx;
|
||||||
border-bottom-left-radius: $radiuspx;
|
border-bottom-left-radius: $radiuspx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
font-weight: bold;
|
||||||
|
color: $link_colour;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.divgrow-showmore:hover {
|
.divgrow-showmore:hover {
|
||||||
border-top: 1px dashed #adadad;
|
border-top: 1px dashed #adadad;
|
||||||
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user