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,11 @@
<?php
use_helper('Countries');
if (CountriesPeer::doCountActive(new Criteria()))
{
echo st_countries_select_tag('countries_area[countries_ids]', $countries_area->getCountriesIds(), array('multiple' => true));
}
else
{
echo st_external_link_to(__('Brak aktywnych krajów, przejdź do konfiguracji krajów'), '@stCountriesPluginDefault');
}

View File

@@ -0,0 +1,2 @@
<?php echo input_hidden_tag('countries[is_default]', $countries->getIsDefault()) ?>
<?php echo st_admin_checkbox_tag('countries[is_default]', 1, $countries->getIsDefault(), array('disabled' => $countries->getIsDefault())) ?>

View File

@@ -0,0 +1,6 @@
<?php if ($countries->getCulture() == 'pl_PL'): ?>
<?php echo input_tag('countries[edit_name]', $countries->getName(), array('disabled' => true)) ?>
<?php echo input_hidden_tag('countries[edit_name]', $countries->getName()) ?>
<?php else: ?>
<?php echo input_tag('countries[edit_name]', $countries->getName()) ?>
<?php endif; ?>