Add generic content wrapper + frio btn primary buttons class to newmemeber, unfollow, follow (auto + dfrn)
This commit is contained in:
parent
f413abb82b
commit
58067cdfbf
3 changed files with 12 additions and 6 deletions
|
@ -8,7 +8,8 @@ use Friendica\Core\L10n;
|
||||||
|
|
||||||
function newmember_content(App $a)
|
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 .= '<h3>' . L10n::t('New Member Checklist') . '</h3>';
|
||||||
$o .= '<div style="font-size: 120%;">';
|
$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.');
|
$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 .= '<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 .= '</ul>';
|
||||||
$o .= '</div>';
|
$o .= '</div>';
|
||||||
|
$o .= '</div>';
|
||||||
|
|
||||||
return $o;
|
return $o;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<div class="generic-page-wrapper">
|
||||||
<h1>{{$header}}</h1>
|
<h1>{{$header}}</h1>
|
||||||
|
|
||||||
{{if $myaddr == ""}}
|
{{if $myaddr == ""}}
|
||||||
|
@ -53,8 +54,9 @@
|
||||||
|
|
||||||
<div id="dfrn-request-submit-wrapper">
|
<div id="dfrn-request-submit-wrapper">
|
||||||
{{if $submit}}
|
{{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}}
|
{{/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>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
|
@ -1,3 +1,4 @@
|
||||||
|
<div class="generic-page-wrapper">
|
||||||
<h1>{{$header}}</h1>
|
<h1>{{$header}}</h1>
|
||||||
|
|
||||||
{{if $myaddr}}
|
{{if $myaddr}}
|
||||||
|
@ -61,7 +62,7 @@
|
||||||
<label id="dfrn-request-knowyou-yes-label" for="dfrn-request-knowyouyes">{{$yes}}</label>
|
<label id="dfrn-request-knowyou-yes-label" for="dfrn-request-knowyouyes">{{$yes}}</label>
|
||||||
<input type="radio" name="knowyou" id="knowyouyes" value="1" />
|
<input type="radio" name="knowyou" id="knowyouyes" value="1" />
|
||||||
|
|
||||||
<div id="dfrn-request-knowyou-break" ></div>
|
<div id="dfrn-request-knowyou-break" ></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="dfrn-request-know-no-wrapper">
|
<div id="dfrn-request-know-no-wrapper">
|
||||||
<label id="dfrn-request-knowyou-no-label" for="dfrn-request-knowyouno">{{$no}}</label>
|
<label id="dfrn-request-knowyou-no-label" for="dfrn-request-knowyouno">{{$no}}</label>
|
||||||
|
@ -83,8 +84,9 @@
|
||||||
|
|
||||||
<div id="dfrn-request-submit-wrapper">
|
<div id="dfrn-request-submit-wrapper">
|
||||||
{{if $submit}}
|
{{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}}
|
{{/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>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
Loading…
Reference in a new issue