first commit

This commit is contained in:
2025-03-12 17:06:23 +01:00
commit 2241f7131f
13185 changed files with 1692479 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
{if !$check_xml}
<span id="st_availability_info">
{/if}
{$availability_image}
{if $availability_link=="0"}
<a href="#" id="active_availability_alert_overlay">
{/if}
{$availability}
{if $availability_link=="0"}
</a>
{/if}
{if !$check_xml}
</span>
{/if}
<!-- Modal -->
<div class="modal fade" id="availability_alert_modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div id="availability_alert"></div>
</div>
</div>
</div>

View File

@@ -0,0 +1,93 @@
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="myModalLabel">{__ text="Powiadom mnie o dostępności produktu"}</h4>
</div>
{$form_start}
<div class="modal-body panel-body modal-send" style="display: none;">
{__ text="Zapytanie zostało wysłane"}
</div>
<div class="modal-body panel-body modal-form">
<div style="padding:15px; text-align: center;">
{__ text="W chwili obecnej nie możemy określić kiedy produkt"}
<br/>
<b>{$product_name}</b>
<br/>
{__ text="będzie dostępny w naszym sklepie."}
<br/>
{__ text="Prosimy o podanie adresu email na który wyślemy powiadomienie."}
</div>
<div class="form-group">
<textarea rows="5" class="form-control" id="st_form-question-description" placeholder='{__ text="Treść"}' name="question[description]">{$description}</textarea>
</div>
<div class="form-group {if $error_username!=''}has-error{/if}">
{if $error_username!=""}<label class="control-label" for="email">{$error_username}</label>{/if}
{$input_username}
</div>
{if $is_authenticated==false}
<div class="form-group">
<div class="checkbox">
<label class="{if $error_privacy==1}checkbox_error has-error{/if}">
{$checkbox_privacy} {st_get_partial partial="stUser/privacy" privacy_only="true" new_window="true"}
</label>
</div>
</div>
{if isset($captcha_on)}
<div id="captcha_form">
{if $error_captcha!=""}<div class="has-error"><label class="control-label" for="captcha_img">{$error_captcha}</label></div>{/if}
<div class="clearfix"></div>
<div class="captcha-img {if $error_captcha!=''}has-error{/if}">
{$get_captcha}
</div>
<div class="form-group captcha-input {if $error_captcha!=''}has-error{/if}">
{$input_captcha}
</div>
</div>
{/if}
{/if}
{$hidden_option_name}
{$hidden_product_id}
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-primary"> {__ text="Wyślij prośbę o powiadomienie"}</button>
</div>
</form>
{literal}
<script type="text/javascript">
jQuery(function ($)
{
$(document).ready(function()
{
$('#st_form-user-privacy').click(function() {
$("#captcha_form").toggle();
});
if ($('#st_form-user-privacy').attr('checked')) {
$("#captcha_form").show()
} else {
$("#captcha_form").hide();
}
});
});
</script>
{/literal}

View File

@@ -0,0 +1,67 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="background-color:#fff; font-family:Helvetica,Verdana,Arial,sans-serif; line-height:18px; font-size:1em;">
<div style="margin: 0px auto; background-color:#fff;">
<div style="width:700px; margin:0px auto;">
<div style="background:url(http://{$host}/images/frontend/theme/default/mail/frame_mail_top.png?version=1); height:30px">
</div>
<div style="background-color:#fff; padding:0px 25px 0px 25px; border-left:1px solid #d0d2d8; border-right:1px solid #d0d2d8;">
<div style="font-family:Verdana,Arial,Helvetica,sans-serif; line-height:18px; font-size:10px;">
{$question_head}
</div>
</div>
<div style="min-height:400px; padding:0px 25px 0px 25px; text-align:justify; border-left:1px solid #d0d2d8; border-right:1px solid #d0d2d8;">
<div style="float:left;font-size:16px;color:black;margin-bottom: 20px;">
{$text}
</div>
<br style="clear:both;"/>
<div class="product_photo" style="border: none; float:left; padding: 10px; margin: 10px 0px 10px 20px;">
{$product_photo}
</div>
<div class="product_char" style="float:right; padding: 10px; width: 400px; margin: 10px 20px 10px 0px;">
<div class="product_name" style="font-weight: bold; margin-bottom: 15px; color:#576278;">
{$product_name}
</div>
{if $product_code}
<div class="product_name" style="font-size:12px;">
{__ text="Kod produktu"}: <span>{$product_code}</span>
</div>
{/if}
{if $product_producer}
<div class="product_producer" style="font-size:12px;">
{__ text="Producent"}: <span>{$product_producer}</span>
</div>
{/if}
{if $product_category}
<div class="product_category" style="font-size:12px;">
{__ text="Kategoria"}: <span>{$product_category}</span>
</div>
{/if}
</div>
<br style="clear:both;"/>
<div style="margin:10px 0px 7px 0px; font-size:12px;">
{__ text="Informacje o dostępności należy przesłać na"}:
<div style="margin: 10px; font-size:16px;">
{$from}
</div>
</div>
<br style="clear:both">
</div>
<div style="background-color:#ECECEE; border-left:1px solid #d0d2d8; border-right:1px solid #d0d2d8;">
<div style="font-family:Verdana,Arial,Helvetica,sans-serif; line-height:18px; font-size:10px;">
{$question_foot}
</div>
</div>
<div style="background:url(http://{$host}/images/frontend/theme/default/mail/frame_mail_bottom.png?version=1); height:30px">
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,6 @@
{__ text="Witam"}, {__ text="proszę o informację o"} {$about} {__ text="produktu"}: {$product_name}
{if $product_code}{__ text="Kod produktu"}: {$product_code}{/if}
{if $product_producer}{__ text="Producent"}: {$product_producer}{/if}
{if $product_category}{__ text="Kategoria"}: {$product_category}{/if}
{__ text="Informacje dodatkowe"}:{$text}
{__ text="Zapytanie wysłał"}: {$from}