Update B2B partner zone title and email access prompt; adjust file sizes in FTP sync cache
This commit is contained in:
6
.vscode/ftp-kr.sync.cache.json
vendored
6
.vscode/ftp-kr.sync.cache.json
vendored
@@ -26,7 +26,7 @@
|
|||||||
"autoload": {},
|
"autoload": {},
|
||||||
"b2b_users.csv": {
|
"b2b_users.csv": {
|
||||||
"type": "-",
|
"type": "-",
|
||||||
"size": 461,
|
"size": 845,
|
||||||
"lmtime": 0,
|
"lmtime": 0,
|
||||||
"modified": true
|
"modified": true
|
||||||
},
|
},
|
||||||
@@ -400,8 +400,8 @@
|
|||||||
},
|
},
|
||||||
"Footer.php": {
|
"Footer.php": {
|
||||||
"type": "-",
|
"type": "-",
|
||||||
"size": 1156,
|
"size": 1180,
|
||||||
"lmtime": 0,
|
"lmtime": 1741791590918,
|
||||||
"modified": false
|
"modified": false
|
||||||
},
|
},
|
||||||
"NavMenu.php": {
|
"NavMenu.php": {
|
||||||
|
|||||||
BIN
layout/.DS_Store
vendored
Normal file
BIN
layout/.DS_Store
vendored
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1069,7 +1069,7 @@ header {
|
|||||||
bottom: -30px;
|
bottom: -30px;
|
||||||
height: 2px;
|
height: 2px;
|
||||||
right: 0;
|
right: 0;
|
||||||
left: -50%;
|
left: -50px;
|
||||||
background-color: $cWhite;
|
background-color: $cWhite;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2036,8 +2036,9 @@ header {
|
|||||||
|
|
||||||
li {
|
li {
|
||||||
a {
|
a {
|
||||||
border: 1px solid #000;
|
border: 1px solid #D4D4D4;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
@@ -2046,6 +2047,11 @@ header {
|
|||||||
position: relative;
|
position: relative;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -2px;
|
top: -2px;
|
||||||
@@ -2059,8 +2065,7 @@ header {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: #FFF;
|
border: 1px solid #000;
|
||||||
background: #000;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2069,4 +2074,31 @@ header {
|
|||||||
hr {
|
hr {
|
||||||
margin-bottom: 50px;
|
margin-bottom: 50px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.article_password_title {
|
||||||
|
margin: 0 auto 50px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
._first {
|
||||||
|
font-size: 15px;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
._second {
|
||||||
|
font-size: 15px;
|
||||||
|
font-weight: 300;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
&#page-8 {
|
||||||
|
#page-hero {
|
||||||
|
max-width: 1330px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
height: 350px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
BIN
libraries/ckeditor/plugins/leaflet/.DS_Store
vendored
Normal file
BIN
libraries/ckeditor/plugins/leaflet/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
libraries/ckeditor/plugins/leaflet/scripts/.DS_Store
vendored
Normal file
BIN
libraries/ckeditor/plugins/leaflet/scripts/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
libraries/ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/.DS_Store
vendored
Normal file
BIN
libraries/ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
libraries/ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/src/.DS_Store
vendored
Normal file
BIN
libraries/ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/src/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
libraries/ckeditor/plugins/leaflet/scripts/leaflet-providers/.DS_Store
vendored
Normal file
BIN
libraries/ckeditor/plugins/leaflet/scripts/leaflet-providers/.DS_Store
vendored
Normal file
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
error_reporting( E_ALL ^ E_NOTICE ^ E_STRICT ^ E_WARNING );
|
error_reporting( E_ALL ^ E_NOTICE ^ E_STRICT ^ E_WARNING ^ E_DEPRECATED );
|
||||||
require_once dirname( __FILE__ ) . '/config.php';
|
require_once dirname( __FILE__ ) . '/config.php';
|
||||||
|
|
||||||
/* grid - zapisanie elementu */
|
/* grid - zapisanie elementu */
|
||||||
@@ -7,12 +7,12 @@ if ( $_POST['a'] == 'gsave' )
|
|||||||
{
|
{
|
||||||
$grid = $_SESSION[ 'g' . $_POST[ 'gtable' ] ];
|
$grid = $_SESSION[ 'g' . $_POST[ 'gtable' ] ];
|
||||||
if ( is_a( $grid, 'grid' ) )
|
if ( is_a( $grid, 'grid' ) )
|
||||||
{
|
{
|
||||||
$values_tmp = json_decode( $_POST[ 'values' ], true );
|
$values_tmp = json_decode( $_POST[ 'values' ], true );
|
||||||
|
|
||||||
if ( is_array( $values_tmp ) ) foreach ( $values_tmp as $val )
|
if ( is_array( $values_tmp ) ) foreach ( $values_tmp as $val )
|
||||||
$values[ $val['name'] ] = $val['value'];
|
$values[ $val['name'] ] = $val['value'];
|
||||||
|
|
||||||
if ( $grid -> saveElement( $values ) )
|
if ( $grid -> saveElement( $values ) )
|
||||||
{
|
{
|
||||||
if ( $values[ $grid -> id ] )
|
if ( $values[ $grid -> id ] )
|
||||||
@@ -20,8 +20,8 @@ if ( $_POST['a'] == 'gsave' )
|
|||||||
else
|
else
|
||||||
$msg = 'Nowy element został dodany.';
|
$msg = 'Nowy element został dodany.';
|
||||||
}
|
}
|
||||||
|
|
||||||
$response = array(
|
$response = array(
|
||||||
'status' => 'ok',
|
'status' => 'ok',
|
||||||
'output' => $grid -> drawResults(),
|
'output' => $grid -> drawResults(),
|
||||||
'msg' => $msg
|
'msg' => $msg
|
||||||
@@ -39,10 +39,10 @@ if ( $_POST['a'] == 'gedit' )
|
|||||||
{
|
{
|
||||||
$grid = $_SESSION[ 'g' . $_POST[ 'gtable' ] ];
|
$grid = $_SESSION[ 'g' . $_POST[ 'gtable' ] ];
|
||||||
if ( is_a( $grid, 'grid' ) )
|
if ( is_a( $grid, 'grid' ) )
|
||||||
{
|
{
|
||||||
$response = array(
|
$response = array(
|
||||||
'status' => 'ok',
|
'status' => 'ok',
|
||||||
'output' => $grid -> drawEdit( (int)$_POST[ 'gedit' ] )
|
'output' => $grid -> drawEdit( (int)$_POST[ 'gedit' ] )
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -63,14 +63,14 @@ if ( $_POST['a'] == 'gdraw' )
|
|||||||
$grid -> hide_column( $_POST['column'], $_POST['hidden'] );
|
$grid -> hide_column( $_POST['column'], $_POST['hidden'] );
|
||||||
$grid -> hidden_columns[ $_POST['column'] ] = filter_var( $_POST['hidden'], FILTER_VALIDATE_BOOLEAN );
|
$grid -> hidden_columns[ $_POST['column'] ] = filter_var( $_POST['hidden'], FILTER_VALIDATE_BOOLEAN );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* zmiana liczby wyświetlanych elementów */
|
/* zmiana liczby wyświetlanych elementów */
|
||||||
if ( $_POST['glimit'] )
|
if ( $_POST['glimit'] )
|
||||||
{
|
{
|
||||||
$grid -> limit = $_POST['glimit'];
|
$grid -> limit = $_POST['glimit'];
|
||||||
$grid -> save_limit( $_POST['glimit'] );
|
$grid -> save_limit( $_POST['glimit'] );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* usuwanie wielu elementów */
|
/* usuwanie wielu elementów */
|
||||||
if ( $_POST['gdelete_multi'] )
|
if ( $_POST['gdelete_multi'] )
|
||||||
{
|
{
|
||||||
@@ -79,7 +79,7 @@ if ( $_POST['a'] == 'gdraw' )
|
|||||||
$msg = 'Wybrane elementy zostały usunięte.';
|
$msg = 'Wybrane elementy zostały usunięte.';
|
||||||
\S::delete_dir( '../../temp/' );
|
\S::delete_dir( '../../temp/' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* usuwanie */
|
/* usuwanie */
|
||||||
if ( $_POST['gdelete'] )
|
if ( $_POST['gdelete'] )
|
||||||
{
|
{
|
||||||
@@ -87,7 +87,7 @@ if ( $_POST['a'] == 'gdraw' )
|
|||||||
$msg = 'Wybrany element został usunięty.';
|
$msg = 'Wybrany element został usunięty.';
|
||||||
\S::delete_dir( '../../temp/' );
|
\S::delete_dir( '../../temp/' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* wyszukiwanie */
|
/* wyszukiwanie */
|
||||||
if ( $_POST['gsearch_column'] )
|
if ( $_POST['gsearch_column'] )
|
||||||
{
|
{
|
||||||
@@ -101,7 +101,7 @@ if ( $_POST['a'] == 'gdraw' )
|
|||||||
$grid -> save_filters();
|
$grid -> save_filters();
|
||||||
$grid -> set_cp( 1 );
|
$grid -> set_cp( 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* sortowanie */
|
/* sortowanie */
|
||||||
if ( $_POST[ 'gsort_column' ] )
|
if ( $_POST[ 'gsort_column' ] )
|
||||||
{
|
{
|
||||||
@@ -111,15 +111,15 @@ if ( $_POST['a'] == 'gdraw' )
|
|||||||
$grid -> order = [ 'column' => $_POST[ 'gsort_column' ], 'type' => 'ASC' ];
|
$grid -> order = [ 'column' => $_POST[ 'gsort_column' ], 'type' => 'ASC' ];
|
||||||
$grid -> save_order();
|
$grid -> save_order();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* zmiana strony */
|
/* zmiana strony */
|
||||||
if ( $_POST[ 'gpage'] )
|
if ( $_POST[ 'gpage'] )
|
||||||
$grid -> set_cp( $_POST[ 'gpage'] );
|
$grid -> set_cp( $_POST[ 'gpage'] );
|
||||||
|
|
||||||
$response = array(
|
$response = array(
|
||||||
'status' => 'ok',
|
'status' => 'ok',
|
||||||
'msg' => $msg,
|
'msg' => $msg,
|
||||||
'output' => $grid -> drawResults()
|
'output' => $grid -> drawResults()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
BIN
libraries/plupload/.part
Normal file
BIN
libraries/plupload/.part
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 249 KiB |
@@ -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="article-password" id="article-password-<?= $this -> article['id'];?>">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
@@ -10,14 +14,14 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script class="footer" type="text/javascript">
|
<script class="footer" type="text/javascript">
|
||||||
$( function()
|
$( function()
|
||||||
{
|
{
|
||||||
$( 'body' ).on( click_event, '#submit-<?= $this -> article['id'];?>', function(e)
|
$( 'body' ).on( click_event, '#submit-<?= $this -> article['id'];?>', function(e)
|
||||||
{
|
{
|
||||||
if ( $.trim( $( "#password-<?= $this -> article['id'];?>" ).val() ) !== '' )
|
if ( $.trim( $( "#password-<?= $this -> article['id'];?>" ).val() ) !== '' )
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
var password = $( '#password-<?= $this -> article['id'];?>' ).val();
|
var password = $( '#password-<?= $this -> article['id'];?>' ).val();
|
||||||
|
|
||||||
$.ajax(
|
$.ajax(
|
||||||
@@ -25,13 +29,13 @@
|
|||||||
type: 'POST',
|
type: 'POST',
|
||||||
cache: false,
|
cache: false,
|
||||||
url: '/ajax.php',
|
url: '/ajax.php',
|
||||||
data:
|
data:
|
||||||
{
|
{
|
||||||
a: 'article_unlock',
|
a: 'article_unlock',
|
||||||
password: password,
|
password: password,
|
||||||
article_id: <?= $this -> article['id'];?>
|
article_id: <?= $this -> article['id'];?>
|
||||||
},
|
},
|
||||||
success: function( data )
|
success: function( data )
|
||||||
{
|
{
|
||||||
location.reload();
|
location.reload();
|
||||||
}
|
}
|
||||||
|
|||||||
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="article-password" id="article-password-<?= $this -> article['id'];?>">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
@@ -11,14 +15,14 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script class="footer" type="text/javascript">
|
<script class="footer" type="text/javascript">
|
||||||
$( function()
|
$( function()
|
||||||
{
|
{
|
||||||
$( 'body' ).on( click_event, '#submit-<?= $this -> article['id'];?>', function(e)
|
$( 'body' ).on( click_event, '#submit-<?= $this -> article['id'];?>', function(e)
|
||||||
{
|
{
|
||||||
if ( $.trim( $( "#email-<?= $this -> article['id'];?>" ).val() ) !== '' )
|
if ( $.trim( $( "#email-<?= $this -> article['id'];?>" ).val() ) !== '' )
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
var email = $( '#email-<?= $this -> article['id'];?>' ).val();
|
var email = $( '#email-<?= $this -> article['id'];?>' ).val();
|
||||||
|
|
||||||
$.ajax(
|
$.ajax(
|
||||||
@@ -26,13 +30,13 @@
|
|||||||
type: 'POST',
|
type: 'POST',
|
||||||
cache: false,
|
cache: false,
|
||||||
url: '/ajax.php',
|
url: '/ajax.php',
|
||||||
data:
|
data:
|
||||||
{
|
{
|
||||||
a: 'article_unlock',
|
a: 'article_unlock',
|
||||||
email: email,
|
email: email,
|
||||||
article_id: <?= $this -> article['id'];?>
|
article_id: <?= $this -> article['id'];?>
|
||||||
},
|
},
|
||||||
success: function( data )
|
success: function( data )
|
||||||
{
|
{
|
||||||
location.reload();
|
location.reload();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user