From 58067cdfbf72c137e072afd52aaa94d9ee306d05 Mon Sep 17 00:00:00 2001 From: Jonny Tischbein Date: Tue, 11 Dec 2018 19:07:20 +0100 Subject: [PATCH] Add generic content wrapper + frio btn primary buttons class to newmemeber, unfollow, follow (auto + dfrn) --- mod/newmember.php | 4 +++- view/templates/auto_request.tpl | 6 ++++-- view/templates/dfrn_request.tpl | 8 +++++--- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/mod/newmember.php b/mod/newmember.php index cd59cc780c..c2ffe6464e 100644 --- a/mod/newmember.php +++ b/mod/newmember.php @@ -8,7 +8,8 @@ use Friendica\Core\L10n; function newmember_content(App $a) { - $o = '

' . L10n::t('Welcome to Friendica') . '

'; + $o = '
'; + $o .= '

' . L10n::t('Welcome to Friendica') . '

'; $o .= '

' . L10n::t('New Member Checklist') . '

'; $o .= '
'; $o .= L10n::t('We would like to offer some tips and links to help make your experience enjoyable. Click any item to visit the relevant page. A link to this page will be visible from your home page for two weeks after your initial registration and then will quietly disappear.'); @@ -54,6 +55,7 @@ function newmember_content(App $a) $o .= '
  • ' . '' . L10n::t('Go to the Help Section') . '
    ' . L10n::t('Our help pages may be consulted for detail on other program features and resources.') . '
  • ' . EOL; $o .= ''; $o .= '
    '; + $o .= '
    '; return $o; } diff --git a/view/templates/auto_request.tpl b/view/templates/auto_request.tpl index c7e10482ef..9c737cf55a 100644 --- a/view/templates/auto_request.tpl +++ b/view/templates/auto_request.tpl @@ -1,3 +1,4 @@ +

    {{$header}}

    {{if $myaddr == ""}} @@ -53,8 +54,9 @@
    {{if $submit}} - + {{/if}} - +
    +
    \ No newline at end of file diff --git a/view/templates/dfrn_request.tpl b/view/templates/dfrn_request.tpl index 8e686c33dc..2f363f5653 100644 --- a/view/templates/dfrn_request.tpl +++ b/view/templates/dfrn_request.tpl @@ -1,3 +1,4 @@ +

    {{$header}}

    {{if $myaddr}} @@ -61,7 +62,7 @@ -
    +
    @@ -83,8 +84,9 @@
    {{if $submit}} - + {{/if}} - +
    +
    \ No newline at end of file