terms for logged in users
This commit is contained in:
parent
2590528d63
commit
7df7eb1aeb
|
@ -398,6 +398,7 @@ class QvitterAction extends ApiAction
|
||||||
<li class="fullwidth"><a id="edit-profile-header-link"></a></li>
|
<li class="fullwidth"><a id="edit-profile-header-link"></a></li>
|
||||||
<li class="fullwidth"><a id="settings" href="<?php print $instanceurl; ?>settings/profile" donthijack></a></li>
|
<li class="fullwidth"><a id="settings" href="<?php print $instanceurl; ?>settings/profile" donthijack></a></li>
|
||||||
<li class="fullwidth"><a id="faq-link"></a></li>
|
<li class="fullwidth"><a id="faq-link"></a></li>
|
||||||
|
<li class="fullwidth"><a id="tou-link"></a></li>
|
||||||
<li class="fullwidth"><a id="shortcuts-link"></a></li>
|
<li class="fullwidth"><a id="shortcuts-link"></a></li>
|
||||||
<?php if (common_config('invite', 'enabled') && !common_config('site', 'closed')) { ?>
|
<?php if (common_config('invite', 'enabled') && !common_config('site', 'closed')) { ?>
|
||||||
<li class="fullwidth"><a id="invite-link" href="<?php print $instanceurl; ?>main/invite"></a></li>
|
<li class="fullwidth"><a id="invite-link" href="<?php print $instanceurl; ?>main/invite"></a></li>
|
||||||
|
|
|
@ -5158,7 +5158,8 @@ content:"\f068";
|
||||||
/* FAQ
|
/* FAQ
|
||||||
-----------*/
|
-----------*/
|
||||||
|
|
||||||
#popup-faq #faq-container {
|
#popup-faq #faq-container,
|
||||||
|
#popup-terms #terms-container {
|
||||||
padding:10px 20px 20px;
|
padding:10px 20px 20px;
|
||||||
color:#000;
|
color:#000;
|
||||||
min-height:100vh;
|
min-height:100vh;
|
||||||
|
|
|
@ -936,6 +936,7 @@ function proceedToSetLanguageAndLogin(data){
|
||||||
$('.stream-selection.public-and-external-timeline').prepend(window.sL.publicAndExtTimeline)
|
$('.stream-selection.public-and-external-timeline').prepend(window.sL.publicAndExtTimeline)
|
||||||
$('#search-query').attr('placeholder',window.sL.searchVerb);
|
$('#search-query').attr('placeholder',window.sL.searchVerb);
|
||||||
$('#faq-link').html(window.sL.FAQ);
|
$('#faq-link').html(window.sL.FAQ);
|
||||||
|
$('#tou-link').html(window.sL.showTerms);
|
||||||
$('#add-edit-language-link').html(window.sL.addEditLanguageLink);
|
$('#add-edit-language-link').html(window.sL.addEditLanguageLink);
|
||||||
$('#shortcuts-link').html(window.sL.keyboardShortcuts);
|
$('#shortcuts-link').html(window.sL.keyboardShortcuts);
|
||||||
$('#invite-link').html(window.sL.inviteAFriend);
|
$('#invite-link').html(window.sL.inviteAFriend);
|
||||||
|
@ -1094,6 +1095,20 @@ $('#faq-link').click(function(){
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
/* ·
|
||||||
|
·
|
||||||
|
· Terms
|
||||||
|
·
|
||||||
|
· · · · · · · · · · · · · */
|
||||||
|
|
||||||
|
$('#tou-link').click(function(){
|
||||||
|
popUpAction('popup-terms', window.sL.showTerms,'<div id="terms-container"></div>',false);
|
||||||
|
getDoc('terms',function(termsHtml){
|
||||||
|
$('#terms-container').html(termsHtml);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* ·
|
/* ·
|
||||||
·
|
·
|
||||||
|
|
Loading…
Reference in New Issue
Block a user