1
0
Fork 0

Add generic content wrapper + frio btn primary buttons class to newmemeber, unfollow, follow (auto + dfrn)

This commit is contained in:
Jonny Tischbein 2018-12-11 19:07:20 +01:00
parent f413abb82b
commit 58067cdfbf
3 changed files with 12 additions and 6 deletions

View file

@ -8,7 +8,8 @@ use Friendica\Core\L10n;
function newmember_content(App $a)
{
$o = '<h1>' . L10n::t('Welcome to Friendica') . '</h1>';
$o = '<div class="generic-page-wrapper">';
$o .= '<h1>' . L10n::t('Welcome to Friendica') . '</h1>';
$o .= '<h3>' . L10n::t('New Member Checklist') . '</h3>';
$o .= '<div style="font-size: 120%;">';
$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 .= '<li>' . '<a target="newmember" href="help">' . L10n::t('Go to the Help Section') . '</a><br />' . L10n::t('Our <strong>help</strong> pages may be consulted for detail on other program features and resources.') . '</li>' . EOL;
$o .= '</ul>';
$o .= '</div>';
$o .= '</div>';
return $o;
}

View file

@ -1,3 +1,4 @@
<div class="generic-page-wrapper">
<h1>{{$header}}</h1>
{{if $myaddr == ""}}
@ -53,8 +54,9 @@
<div id="dfrn-request-submit-wrapper">
{{if $submit}}
<input type="submit" name="submit" id="dfrn-request-submit-button" value="{{$submit|escape:'html'}}" />
<input class="btn btn-primary" type="submit" name="submit" id="dfrn-request-submit-button" value="{{$submit|escape:'html'}}" />
{{/if}}
<input type="submit" name="cancel" id="dfrn-request-cancel-button" value="{{$cancel|escape:'html'}}" />
<input class="btn btn-primary" type="submit" name="cancel" id="dfrn-request-cancel-button" value="{{$cancel|escape:'html'}}" />
</div>
</form>
</div>

View file

@ -1,3 +1,4 @@
<div class="generic-page-wrapper">
<h1>{{$header}}</h1>
{{if $myaddr}}
@ -83,8 +84,9 @@
<div id="dfrn-request-submit-wrapper">
{{if $submit}}
<input type="submit" name="submit" id="dfrn-request-submit-button" value="{{$submit|escape:'html'}}" />
<input class="btn btn-primary" type="submit" name="submit" id="dfrn-request-submit-button" value="{{$submit|escape:'html'}}" />
{{/if}}
<input type="submit" name="cancel" id="dfrn-request-cancel-button" value="{{$cancel|escape:'html'}}" />
<input class="btn btn-primary" type="submit" name="cancel" id="dfrn-request-cancel-button" value="{{$cancel|escape:'html'}}" />
</div>
</form>
</div>