Files
grzanieplus.pl/apps/update/modules/stInstallerWeb/templates/additionalApplicationsSuccess.php
2025-03-12 17:06:23 +01:00

35 lines
2.2 KiB
PHP

<?php use_helper('stUpdate') ?>
<?php use_stylesheet('/css/update/stInstallerWebPlugin.css?version=1'); ?>
<?php echo get_partial('menu_top');?>
<div id="frame_update">
<div class="box_content">
<h2 class="title"><?php echo __('Dodatkowe aplikacje') ?></h2>
<div class="content_update_box">
<form action="<?php echo url_for('stInstallerWeb/additionalApplications') ?>" method="post">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="table_download">
<thead>
<tr>
<th style="width: 1%"></th>
<th style="text-align: left"><?php echo __('Nazwa') ?></th>
<th style="text-align: center; width: 1%"><?php echo __('Aktywna') ?></th>
</tr>
</thead>
<tbody>
<?php foreach($applications as $name => $label): ?>
<tr>
<td><img width="30" height="30" src="<?php echo st_update_get_app_icon($name) ?>" alt="<?php echo $label ?>"></td>
<td><?php echo $label ?></td>
<td style="text-align: center"><input type="checkbox" name="application[<?php echo strtolower($name) ?>][active]" value="1" <?php echo in_array($name, $active) ? 'checked' : '' ?>></td>
</tr>
<?php endforeach ?>
</tbody>
</table>
<?php echo st_get_update_actions_head('style="float:right"');?>
<?php echo st_get_update_action(null, __('Włacz wszyskie'), null, array('style' => 'margin-right: 5px', 'name' => 'enable_all'));?>
<?php echo st_get_update_action(null, __('Wyłącz wszyskie'), null, array('style' => 'margin-right: 5px', 'name' => 'disable_all'));?>
<?php echo st_get_update_action('save', __('Zapisz'));?>
<?php echo st_get_update_actions_foot();?>
</form>
</div>
</div>
</div>