Update B2B partner zone title and email access prompt; adjust file sizes in FTP sync cache

This commit is contained in:
2025-03-15 00:26:34 +01:00
parent d37701d02e
commit 7ae2af4677
15 changed files with 75 additions and 35 deletions

BIN
templates_user/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -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();
}