mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 19:08:49 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
f75ef0c59e
155 changed files with 1648 additions and 307 deletions
|
@ -4,6 +4,7 @@
|
|||
* Description: Relay public postings to a connected StatusNet account
|
||||
* Version: 1.0.5
|
||||
* Author: Tobias Diekershoff <http://diekershoff.homeunix.net/friendika/profile/tobias>
|
||||
* Author: Michael Vogel <https://pirati.ca/profile/heluecht>
|
||||
*/
|
||||
|
||||
/* StatusNet Plugin for Friendica
|
||||
|
@ -658,7 +659,7 @@ function statusnet_post_hook(&$a,&$b) {
|
|||
// ok, all the links we want to send out are save, now strip
|
||||
// away the remaining bbcode
|
||||
//$msg = strip_tags(bbcode($tmp, false, false));
|
||||
$msg = bbcode($tmp, false, false);
|
||||
$msg = bbcode($tmp, false, false, true);
|
||||
$msg = str_replace(array('<br>','<br />'),"\n",$msg);
|
||||
$msg = strip_tags($msg);
|
||||
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
{{ for $sites as $s }}
|
||||
{{ inc field_input.tpl with $field=$s.sitename }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$s.apiurl }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$s.secret }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$s.key }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$s.applicationname }}{{ endinc }}
|
||||
{{ if $s.delete }}
|
||||
{{ inc field_checkbox.tpl with $field=$s.delete }}{{ endinc }}
|
||||
<hr>
|
||||
{{ else }}
|
||||
<p>Fill this form to add a new site</p>
|
||||
{{ endif }}
|
||||
|
||||
{{ endfor }}
|
||||
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
Loading…
Add table
Add a link
Reference in a new issue