68 lines
3.6 KiB
PHP
68 lines
3.6 KiB
PHP
<?php use_helper('Object', 'Validation', 'ObjectAdmin', 'I18N', 'VisualEffect', 'stAdminGenerator', 'stDate') ?>
|
|
<?php use_stylesheet('backend/stAddThisPlugin.css'); ?>
|
|
<?php echo st_get_admin_head('stAddThisPlugin', __('Integracja z serwisem AddThis'), __('Moduł umożliwia szybkie przesyłanie notatek do serwisów społecznościowych tj. Facebook, Twitter itp.'), array(0 => 'stSocialLinksPlugin')) ?>
|
|
<?php echo form_tag('stAddThisBackend/index', array('style' => 'margin: 10px;')) ?>
|
|
|
|
|
|
<?php st_include_partial('stAdminGenerator/message') ?>
|
|
|
|
|
|
|
|
<div>
|
|
<?php echo __('Aktualizacja i dostosowanie modułu dla tematów responsywnych dostępne w bezpłatnym dodatku');?> => <a href="<?php echo __('http://www.sote.pl/addthis.html')?>" target="_blank"><?php echo __('http://www.sote.pl/addthis.html');?></a>
|
|
</div>
|
|
<fieldset>
|
|
<div class="st_fieldset-content" id="st_addthis">
|
|
<?php if ($sf_request->hasError('addthis{user}') ): ?>
|
|
<div class="addthis_show_error"><?php echo form_error('addthis{user}', array('class' => 'form-error-msg')) ?></div>
|
|
<?php endif; ?>
|
|
<div class="st_row">
|
|
<div class="st_label-required">
|
|
<?php echo label_for('st_form-addthis-field',__('Nazwa użytkownika ze strony').' '.'<a href="http://www.addthis.com/" target="_blank">'.__('AddThis.com').'</a>') ?>:
|
|
</div>
|
|
<?php if ($sf_request->hasError('addthis{user}') ): ?>
|
|
<div class="st_field">
|
|
<?php echo st_get_admin_horizontal_look_head('id=st_admin_generator-list') ?>
|
|
<?php echo input_tag('addthis[user]', $config->get('user'), array("style"=>"width: 200px; border: 1px solid red;"));?>
|
|
<?php echo st_get_admin_horizontal_look_foot() ?>
|
|
</div>
|
|
<?php else:?>
|
|
<div class="st_field">
|
|
<?php echo st_get_admin_horizontal_look_head('id=st_admin_generator-list') ?>
|
|
<?php echo input_tag('addthis[user]', $config->get('user'), array("style"=>"width: 200px;"));?>
|
|
<?php echo st_get_admin_horizontal_look_foot() ?>
|
|
</div>
|
|
<?php endif;?>
|
|
<br class="st_clear_all">
|
|
</div>
|
|
|
|
<div class="st_row">
|
|
<div class="st_label2">
|
|
<?php echo label_for('st_form-addthis-field',__('Pokaż na karcie produktu')) ?>:
|
|
</div>
|
|
<div class="st_field">
|
|
<div id="st_form-addthis-field-input">
|
|
<?php echo checkbox_tag('addthis[product]',true,$config->get('product')) ?>
|
|
</div>
|
|
</div>
|
|
<br class="st_clear_all">
|
|
</div>
|
|
<div class="st_row">
|
|
<div class="st_label2">
|
|
<?php echo label_for('st_form-addthis-field',__('Pokaż na stronie www')) ?>:
|
|
</div>
|
|
<div class="st_field">
|
|
<div id="st_form-addthis-field-input">
|
|
<?php echo checkbox_tag('addthis[webpage]',true,$config->get('webpage')) ?>
|
|
</div>
|
|
</div>
|
|
<br class="st_clear_all">
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
|
|
<?php echo st_get_admin_actions_head() ?>
|
|
<?php echo st_get_admin_action('save', __('Zapisz', null, 'stAdminGeneratorPlugin'), null, 'name=save') ?>
|
|
<?php echo st_get_admin_actions_foot() ?>
|
|
</form>
|
|
<?php echo st_get_admin_foot() ?>
|