300321 Minor Changes
This commit is contained in:
parent
984549035d
commit
2f70e11120
@ -192,7 +192,7 @@ if ((!isset($thread[0]['id']) && !empty($thread)) || !is_array($thread)) {
|
|||||||
$json['mentions'] = ($user_settings['acct'] == $elem["account"]['acct'] ? "" : "@" . $elem["account"]['acct']) . " ";
|
$json['mentions'] = ($user_settings['acct'] == $elem["account"]['acct'] ? "" : "@" . $elem["account"]['acct']) . " ";
|
||||||
if (!empty($array)) {
|
if (!empty($array)) {
|
||||||
foreach ($array as $mnt) {
|
foreach ($array as $mnt) {
|
||||||
if ($mnt['acct'] != $user_settings['acct']) {
|
if ($mnt['acct'] != $user_settings['acct'] && $mnt['acct'] != $elem['account']['acct']) {
|
||||||
$json['mentions'] .= "@" . $mnt['acct'] . " ";
|
$json['mentions'] .= "@" . $mnt['acct'] . " ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -263,7 +263,7 @@ if ((!isset($thread[0]['id']) && !empty($thread)) || !is_array($thread)) {
|
|||||||
Your browser does not support the audio tag.
|
Your browser does not support the audio tag.
|
||||||
</audio> </div>";
|
</audio> </div>";
|
||||||
}
|
}
|
||||||
elseif (in_array($ext,array('jpg','jpeg','png','gif','apng','svg')) || $file['type'] == "image") {
|
elseif (in_array($ext,array('jpg','jpeg','png','gif','apng','svg','webp')) || $file['type'] == "image") {
|
||||||
/* we'll either hide the attachment or assign a css class depending on the user's settings */
|
/* we'll either hide the attachment or assign a css class depending on the user's settings */
|
||||||
|
|
||||||
/* if the post is marked as sensitive and nsfw hiding isn't turned off, we'll blur the image */
|
/* if the post is marked as sensitive and nsfw hiding isn't turned off, we'll blur the image */
|
||||||
|
@ -8,4 +8,8 @@ $setting['url'] = "https://your.url/dir";
|
|||||||
|
|
||||||
//Short description
|
//Short description
|
||||||
$setting['description'] = "<p>Dashboard FE (or DashFE if you like it) it's a third party client/frontend for Pleroma and Mastodon that tries to mimic the look and feel of the Tumblr user dashboard, putting big emphasis in a timeline filled by media of all types</p> <p>Currently a Work in Progress, DashFE can actually be used but it's very possible that there are still rough edges, missing features and stuff that needs to be corrected and/or optimized. Issues, suggestion or sugerences please contact <b>@daisuke@stereophonic.space</b> via your favorite fediverse account.</p><p>Thank You</p>";
|
$setting['description'] = "<p>Dashboard FE (or DashFE if you like it) it's a third party client/frontend for Pleroma and Mastodon that tries to mimic the look and feel of the Tumblr user dashboard, putting big emphasis in a timeline filled by media of all types</p> <p>Currently a Work in Progress, DashFE can actually be used but it's very possible that there are still rough edges, missing features and stuff that needs to be corrected and/or optimized. Issues, suggestion or sugerences please contact <b>@daisuke@stereophonic.space</b> via your favorite fediverse account.</p><p>Thank You</p>";
|
||||||
|
|
||||||
|
//Locked Instance
|
||||||
|
//If you prefer your instance of DashboardFE to be locked to a certain instance (your own instance, for example) and prevent it's use on another sites, just uncomment the following line and put the url of the desired instance
|
||||||
|
//$setting['lockedto'] = "your.url/dir";
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user