Merge remote-tracking branch 'upstream/develop' into dba-2
This commit is contained in:
commit
05393a6faa
4 changed files with 28 additions and 7 deletions
|
@ -1687,7 +1687,7 @@ function admin_page_plugins(App $a) {
|
|||
$readme=Null;
|
||||
if (is_file("addon/$plugin/README.md")) {
|
||||
$readme = file_get_contents("addon/$plugin/README.md");
|
||||
$readme = Markdown($readme);
|
||||
$readme = Markdown($readme, false);
|
||||
} elseif (is_file("addon/$plugin/README")) {
|
||||
$readme = "<pre>". file_get_contents("addon/$plugin/README") ."</pre>";
|
||||
}
|
||||
|
@ -1939,7 +1939,7 @@ function admin_page_themes(App $a) {
|
|||
$readme = Null;
|
||||
if (is_file("view/theme/$theme/README.md")) {
|
||||
$readme = file_get_contents("view/theme/$theme/README.md");
|
||||
$readme = Markdown($readme);
|
||||
$readme = Markdown($readme, false);
|
||||
} elseif (is_file("view/theme/$theme/README")) {
|
||||
$readme = "<pre>". file_get_contents("view/theme/$theme/README") ."</pre>";
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@ function help_content(App $a) {
|
|||
$filename = "Home";
|
||||
$a->page['title'] = t('Help');
|
||||
} else {
|
||||
$a->page['aside'] = Markdown($home);
|
||||
$a->page['aside'] = Markdown($home, false);
|
||||
}
|
||||
|
||||
if (!strlen($text)) {
|
||||
|
@ -60,7 +60,7 @@ function help_content(App $a) {
|
|||
));
|
||||
}
|
||||
|
||||
$html = Markdown($text);
|
||||
$html = Markdown($text, false);
|
||||
|
||||
if ($filename !== "Home") {
|
||||
// create TOC but not for home
|
||||
|
|
|
@ -132,7 +132,7 @@ function invite_content(App $a) {
|
|||
return $o;
|
||||
} else {
|
||||
$linktxt = sprintf( t('To accept this invitation, please visit and register at %s.'), App::get_baseurl()
|
||||
. "\r\n" . "\r\n" . t('Friendica sites all inter-connect to create a huge privacy-enhanced social web that is owned and controlled by its members. They can also connect with many traditional social networks.');
|
||||
. "\r\n" . "\r\n" . t('Friendica sites all inter-connect to create a huge privacy-enhanced social web that is owned and controlled by its members. They can also connect with many traditional social networks.'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue