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,62 @@
<?php
// auto-generated by sfPropelAdmin
// date: 2013/11/26 12:49:43
?>
<?php if ($sf_request->hasErrors()): ?>
<div class="form-errors">
<h2><?php echo __('Popraw dane w formularzu.', array(), 'stAdminGeneratorPlugin') ?></h2>
<dl>
<?php foreach ($sf_request->getErrorNames() as $name): if (!isset($labels[$name])) continue ?>
<dt><?php echo __($labels[$name]) ?></dt>
<dd><?php echo $sf_request->getError($name) ?></dd>
<?php endforeach; ?>
</dl>
</div>
<?php elseif ($sf_flash->has('notice')): ?>
<div class="save-ok">
<h2><?php echo $sf_flash->get('notice') ?></h2>
</div>
<?php endif; ?>
<?php if ($sf_flash->has('warning')): ?>
<div class="form-errors">
<h2><?php echo __($sf_flash->get('warning')) ?></h2>
</div>
<?php endif; ?>
<?php if(stPoints::isIndividualTheme()): ?>
<div class="form-errors">
<h2><?php echo __('Wykryto indywidualny temat graficzny').": <b style='color:black;'>".stTheme::getActiveTheme()."</b>" ?>
<a style="float:right;" href="/backend.php/points/confirmMessage"><img src="/images/backend/beta/icons/16x16/remove.png"></a>
</h2>
<div id="message_info" style="padding: 10px;">
<?php echo __('System punktowy działa tylko z najnowszą wersją tematów graficznych. Twój indywidualny temat graficzny')." '<b style='color:black;'>".stTheme::getActiveTheme()."</b>' ".__('musi mieć zaktualizowane pliki.') ?></br>
<a href="#" id="show_more"><?php echo __('pokaż listę plików') ?></br></a>
</div>
<div id="message_more" style="display: none; padding: 10px;">
<?php echo __('Lista plików tematu graficznego, które należy ręcznie zaktualizować aby system działał poprawnie:') ?><br/>
<ul style="list-style: disc outside none; padding: 10px 30px;">
<?php foreach (stPoints::verifyThemeTemplates() as $file): ?>
<li><?php echo $file ?></li>
<?php endforeach; ?>
</ul>
</div>
</div>
<script type="text/javascript">
jQuery(function($) {
$(document).ready(function(){
$("#show_more").click(function(){
$("#message_more").toggle();
});
});
});
</script>
<?php endif; ?>

View File

@@ -0,0 +1,83 @@
<?php
// auto-generated by sfPropelAdmin
// date: 2013/11/26 10:14:56
?>
<?php $list_mode = $sf_user->getAttribute('list.mode', null, 'soteshop/stAdminGenerator/stPointsBackend/config'); ?>
<?php if ($list_mode != 'edit'): ?>
<td class="column_created_at" style="">
<?php echo ($user_points->getCreatedAt() !== null && $user_points->getCreatedAt() !== '') ? st_format_date($user_points->getCreatedAt(), "dd-MM-yyyy H:mm") : '' ?>
</td>
<?php else: ?>
<td class="column_created_at" style="">
<?php echo ($user_points->getCreatedAt() !== null && $user_points->getCreatedAt() !== '') ? st_format_date($user_points->getCreatedAt(), "dd-MM-yyyy H:mm") : '' ?>
</td>
<?php endif; ?>
<?php if ($list_mode != 'edit'): ?>
<td class="column_client" style="">
<?php echo st_points_client_name($user_points); ?>
</td>
<?php else: ?>
<td class="column_client" style="">
<?php echo st_points_client_name($user_points, $list_mode); ?>
</td>
<?php endif; ?>
<?php if ($list_mode != 'edit'): ?>
<td class="column_change_points_varchar" style="">
<?php echo $user_points->getChangePointsVarchar() ?>
</td>
<?php else: ?>
<td class="column_change_points_varchar" style="">
<?php echo $user_points->getChangePointsVarchar() ?>
</td>
<?php endif; ?>
<?php if ($list_mode != 'edit'): ?>
<td class="column_points" style="">
<?php echo $user_points->getPoints() ?>
</td>
<?php else: ?>
<td class="column_points" style="">
<?php echo $user_points->getPoints() ?>
</td>
<?php endif; ?>
<?php if ($list_mode != 'edit'): ?>
<td class="column_change" style="">
<?php echo st_points_change($user_points); ?>
</td>
<?php else: ?>
<td class="column_change" style="">
<?php echo st_points_change($user_points, $list_mode); ?>
</td>
<?php endif; ?>
<?php if ($list_mode != 'edit'): ?>
<td class="column_description" style="">
<?php
$i18n = sfContext::getInstance() -> getI18n();
echo $i18n -> __($user_points->getDescription());
?>
</td>
<?php else: ?>
<td class="column_description" style="">
<?php
$i18n = sfContext::getInstance() -> getI18n();
echo $i18n -> __($user_points->getDescription());
?>
</td>
<?php endif; ?>

View File

@@ -0,0 +1 @@
<?php echo select_tag('config[order_status_type]', options_for_select($select_options, $config->get("order_status_type")), array('class' => 'support')) ?>