first commit
This commit is contained in:
@@ -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');
|
||||
}
|
||||
@@ -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())) ?>
|
||||
@@ -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; ?>
|
||||
Reference in New Issue
Block a user