Skip to content

Commit

Permalink
lets fix up them subs buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulej72 committed Feb 27, 2015
1 parent 891382c commit fea4eef
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 7 deletions.
6 changes: 6 additions & 0 deletions themes/default/htdocs/base.css
Expand Up @@ -375,6 +375,12 @@ input[type=submit]:hover, .logout a:hover, div.storylinks ul li.more a:hover {ba

input[type=text], input[type=password] {border: 1px solid #555; font-size: 1em;}

.whysub{
text-align:center;
margin-left: auto;
margin-right: auto;
}

.fullbox{
width: 100%;
-webkit-box-sizing:border-box;
Expand Down
12 changes: 7 additions & 5 deletions themes/default/templates/userboxes;misc;default
Expand Up @@ -145,10 +145,10 @@ IF !useredit.is_anon;
'">Download</a>';
END;

IF useredit.bio;
'<br><hr>';
IF useredit.bio;
'<br><hr>';
Slash.parseDomainTags(useredit.bio);
END;
END;

messages = Slash.getObject("Slash::Messages");
IF messages;
Expand Down Expand Up @@ -180,8 +180,10 @@ IF !useredit.is_anon;
[% IF constants.plugin.Subscribe && !constants.subscribe_admin_only && !user.is_subscriber %]
<hr>
<div class="logout">
<a href="/subscribe.pl">Subscribe</a><br>
<a href="/faq.pl?op=subscribe">Why Subscribe</a>
<a href="/subscribe.pl">Gift a Subscription</a>
</div>
<div class="whysub">
<a href="/faq.pl?op=subscribe">Why Gift</a>
</div>
[% END %]
[% END;
Expand Down
13 changes: 11 additions & 2 deletions themes/default/templates/userlogin;misc;default
Expand Up @@ -59,10 +59,19 @@ __template__

<p>
<b>
<a href="[% constants.real_rootdir %]/my/newuser"[% IF extra_modals %] onclick="javascript:getModalPrefs('newUserModal', 'Create Account', 1); return false;"[% END %]>Create Account</a>
<a href="[% constants.real_rootdir %]/my/newuser">Create Account</a>
&nbsp;|&nbsp;
<a href="[% constants.real_rootdir %]/my/mailpassword"[% IF extra_modals %] onclick="javascript:getModalPrefs('sendPasswdModal', 'Retrieve Password', 1); return false;"[% END %]>Retrieve Password</a>
<a href="[% constants.real_rootdir %]/my/mailpassword">Retrieve Password</a>
</b>
[% IF constants.plugin.Subscribe && !constants.subscribe_admin_only %]
<hr>
<div class="logout">
<a href="/subscribe.pl">Subscribe</a>
</div>
<div class="whysub">
<a href="/faq.pl?op=subscribe">Why Subscribe</a>
</div>
[% END %]
</p>

__seclev__
Expand Down

0 comments on commit fea4eef

Please sign in to comment.