Update B2B partner zone title and email access prompt; adjust file sizes in FTP sync cache
This commit is contained in:
BIN
templates_user/.DS_Store
vendored
Normal file
BIN
templates_user/.DS_Store
vendored
Normal file
Binary file not shown.
@@ -1,3 +1,7 @@
|
||||
<div class="article_password_title">
|
||||
<div class="_first">Join our B2B Partner Zone</div>
|
||||
<div class="_second">– enter your email to access marketing materials</div>
|
||||
</div>
|
||||
<div class="article-password" id="article-password-<?= $this -> article['id'];?>">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
@@ -11,14 +15,14 @@
|
||||
</div>
|
||||
</div>
|
||||
<script class="footer" type="text/javascript">
|
||||
$( function()
|
||||
$( function()
|
||||
{
|
||||
$( 'body' ).on( click_event, '#submit-<?= $this -> article['id'];?>', function(e)
|
||||
{
|
||||
if ( $.trim( $( "#email-<?= $this -> article['id'];?>" ).val() ) !== '' )
|
||||
{
|
||||
e.preventDefault();
|
||||
|
||||
|
||||
var email = $( '#email-<?= $this -> article['id'];?>' ).val();
|
||||
|
||||
$.ajax(
|
||||
@@ -26,13 +30,13 @@
|
||||
type: 'POST',
|
||||
cache: false,
|
||||
url: '/ajax.php',
|
||||
data:
|
||||
data:
|
||||
{
|
||||
a: 'article_unlock',
|
||||
email: email,
|
||||
article_id: <?= $this -> article['id'];?>
|
||||
},
|
||||
success: function( data )
|
||||
success: function( data )
|
||||
{
|
||||
location.reload();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user