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,23 @@
<?php
/**
* @var OnlineFiles $online_files
*/
if ($type == "list")
{
echo st_link_to($online_files->getFilename(), '@appOnlineCodesBackend?action=download&id=' . $online_files->getId(), array(
'target' => '_blank'
));
}
else
{
echo input_file_tag('online_files[file]');
if ($online_files->getFilename())
{
$link = st_link_to(__('Pobierz') . ' ' . $online_files->getFilename(), '@appOnlineCodesBackend?action=download&id=' . $online_files->getId(), array(
'target' => '_blank'
));
echo content_tag('p', $link, array('style' => 'margin-top: 10px'));
}
}

View File

@@ -0,0 +1 @@
<?php echo stPrice::round($online_files->getFilesize() / (1024 * 1024), 1) ?> MB

View File

@@ -0,0 +1,3 @@
<?php
echo st_get_partial('stProduct/header', array('related_object' => $related_object, 'title' => $title, 'forward_parameters' => $forward_parameters));

View File

@@ -0,0 +1,3 @@
<?php
echo st_get_partial('stProduct/edit_menu', array('related_object' => $related_object, 'forward_parameters' => $forward_parameters));