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,34 @@
<?php use_helper('stUpdate');?>
<?php use_stylesheet('/css/update/stInstallerWebPlugin.css?version=1');?>
<?php use_stylesheet('/css/update/stWebStorePlugin.css?version=1');?>
<?php echo get_partial('stInstallerWeb/menu_top');?>
<div id="frame_update">
<?php echo get_partial('stInstallerWeb/menu_home', array('selected' => 'webstore'));?>
<div class="content">
<div class="content_update_box">
<h2 class="title">Webstore</h2>
<h2 class="subhead_txt_module">
<?php echo __('Aktywacja pakietu');?> <?php echo $package;?>
</h2>
<?php if (!empty($error)):?>
<div style="background-color: #FF3333; color: #fff; padding: 5px 20px 5px 10px; font-size: 11px; font-weight: bold"><?php echo __($error);?></div>
<?php elseif (!empty($notice)):?>
<div style="background-color: #73B65A; color: #fff; padding: 5px 20px 5px 10px; font-size: 11px; font-weight: bold"><?php echo __($notice);?></div>
<?php endif;?>
<?php echo form_tag('webstore/activate?package='.$package);?>
<?php echo input_hidden_tag('activate', 1);?>
<table style="width:32%;">
<tr>
<td><?php echo __('Kod aktywacji');?></td>
<td><?php echo input_tag('code', '');?></td>
</tr>
<tr>
<td></td>
<td class="button_add"><?php echo submit_tag(__('Aktywuj'));?></td>
</tr>
</table>
</form>
</div>
</div>
<div class="clear"></div>
</div>

View File

@@ -0,0 +1,67 @@
<?php use_helper('stUpdate');?>
<?php use_stylesheet('/css/update/stInstallerWebPlugin.css?version=1');?>
<?php use_stylesheet('/css/update/stWebStorePlugin.css?version=1');?>
<?php echo get_partial('stInstallerWeb/menu_top');?>
<div id="frame_update">
<?php echo get_partial('stInstallerWeb/menu_home', array('selected' => 'webstore'));?>
<div class="content">
<div class="content_update_box">
<h2 class="title">Webstore</h2>
<?php if (!empty($notice)):?>
<div style="margin-bottom: 10px; background-color: #73B65A; color: #fff; padding: 5px 20px 5px 10px; font-size: 11px; font-weight: bold"><?php echo __($notice);?></div>
<?php endif;?>
<div style="margin-bottom: 10px;"><a href="<?php if($sf_user->getCulture() == 'pl_PL'):?>http://www.sote.pl/category/aplikacje<?php else: ?>http://www.soteshop.com/category/webstore<?php endif;?>" target="_blank"> <?php echo __('Sprawdź nasze dodatkowe aplikacje');?></a></div>
<?php if (!empty($applications)):?>
<h2 class="subhead_txt_module">
<?php echo __('Zainstalowane dodatkowe aplikacje');?>
</h2>
<table cellpadding="0" cellspacing="5" id="applications-list">
<thead>
<tr>
<th class="application-icon-th"></th>
<th><?php echo __('Nazwa') ?></th>
<?php if($sf_user->getCulture() == 'pl_PL'):?>
<th><?php echo __('Opis') ?></th>
<?php endif;?>
<th><?php echo __('Wersja') ?></th>
<th></th>
</tr>
</thead>
<?php foreach ($applications as $name => $params): ?>
<tr>
<td>
<img width="30" height="30" src="<?php echo st_update_get_app_icon($name) ?>" alt="">
</td>
<td><?php echo link_to($name, 'stWebStore/info?package='.$name);?></td>
<?php if($sf_user->getCulture() == 'pl_PL'):?>
<td><?php echo $params['description'];?></td>
<?php endif;?>
<td><?php echo $params['version'];?></td>
<td width="180">
<div class="right">
<?php if ($params['isActive'] == false):
echo st_get_update_actions_head();
echo st_get_update_action('add', __('Aktywuj'), 'stWebStore/activate?package='.$name, 'post=false');?>
<li class="st_admin-action-add" style="margin-left: 5px;">
<div>
<div>
<a id="button_buy" target="_blank" style="background-image: url(/images/update/red/icons/basket.png)" href="<?php echo $params['info']['url'];?>"><?php echo __('Kup');?></a>
</div>
</div>
</li>
<?php echo st_get_update_actions_foot(); endif; ?>
</div>
</td>
</tr>
<?php endforeach;?>
</table>
<?php endif;?>
</div>
</div>
<div class="clear"></div>
</div>
<div class="st_clear_all"></div>

View File

@@ -0,0 +1,42 @@
<?php use_helper('stUpdate');?>
<?php use_stylesheet('/css/update/stInstallerWebPlugin.css?version=1');?>
<?php use_stylesheet('/css/update/stWebStorePlugin.css?version=1');?>
<?php echo get_partial('stInstallerWeb/menu_top');?>
<div id="frame_update">
<?php echo get_partial('stInstallerWeb/menu_home', array('selected' => 'webstore'));?>
<div class="content">
<div class="content_update_box" style="width:100%;">
<h2 class="title">Webstore</h2>
<h2 class="subhead_txt_module">
<?php echo __('Informacje o pakiecie');?>
</h2>
<div class="package-info">
<ul>
<li>
<span><?php echo __('Nazwa')?>:</span>
<?php echo $info['name'];?>
</li>
</ul>
<div class="package-info-description">
<?php echo $info['description'];?>
</div>
</div>
<div class="package-info-column-right">
<img class="package-info-image" src="http://www.sote.pl<?php echo $info['image'];?>" alt="<?php echo $info['name'];?>"/>
<?php
if (!$installed) {
echo st_get_update_actions_head();
echo st_get_update_action('download', __('Pobierz'), 'stInstallerWeb/installPackage?package='.$name, 'post=false');
echo st_get_update_actions_foot();
}
?>
<?php if ($blocked && $installed):
echo st_get_update_actions_head();
echo st_get_update_action('add', __('Aktywuj'), 'stWebStore/activate?package='.$name, 'post=false');?>
<li class="st_admin-action-add" style="margin-left: 5px;"><div><div><a id="button_buy" target="_blank" style="background-image: url(/images/update/icons/icon_basket.gif)" href="<?php echo $info['url'];?>"><?php echo __('Kup');?></a></div></div></li>
<?php echo st_get_update_actions_foot(); endif; ?>
</div>
<div class="clear"></div>
</div>
</div>
</div>