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,26 @@
<?php
/**
* SOTESHOP/stSlideBannerPlugin
*
* Ten plik należy do aplikacji stSearchPlugin opartej na licencji (Open License SOTE) Otwarta Licencja SOTE.
* Nie zmieniaj tego pliku, jeśli chcesz korzystać z automatycznych aktualizacji oprogramowania.
* Jeśli chcesz wprowadzać swoje modyfikacje do programu, zapoznaj się z dokumentacją, jak zmieniać
* oprogramowanie bez zmiany kodu bazowego http://www.sote.pl/modifications
*
* @package stSlideBanner
* @subpackage configs
* @copyright SOTE (www.sote.pl)
* @license http://www.sote.pl/license/open (Open License SOTE) Otwarta Licencja SOTE
* @version $Id: config.php 3428 2010-02-10 11:48:32Z piotr $
* @author Bartosz Alejski <bartosz.alejski@sote.pl>
*/
if (SF_APP == 'frontend')
{
stPluginHelper::addEnableModule('stSlideBannerFrontend');
}
elseif (SF_APP == 'backend')
{
stPluginHelper::addEnableModule('stSlideBannerBackend');
stPluginHelper::addRouting('stSlideBannerPlugin', '/slide-banner/:action/*', 'stSlideBannerBackend', 'list');
}

View File

@@ -0,0 +1,98 @@
---
propel:
_attributes:
defaultIdMethod: native
package: plugins.stSlideBannerPlugin.lib.model
st_slide_banner:
_attributes:
phpName: SlideBanner
created_at:
type: timestamp
updated_at:
type: timestamp
id:
type: INTEGER
primaryKey: true
required: true
autoIncrement: true
language_id:
type: INTEGER
required: true
foreignTable: st_language
foreignReference: id
onDelete: restrict
image:
type: VARCHAR
size: 255
required: false
image_small:
type: VARCHAR
size: 255
required: false
video_mp4:
type: VARCHAR
size: 255
required: false
video_mp4_link:
type: VARCHAR
size: 255
required: false
banner_type:
type: INTEGER
required: true
default: 0
link:
type: VARCHAR
size: 255
group_name:
type: VARCHAR
size: 255
description:
type: LONGVARCHAR
banner_title:
type: VARCHAR
size: 255
banner_description:
type: LONGVARCHAR
button_text:
type: VARCHAR
size: 255
button_link:
type: VARCHAR
size: 255
banner_description_position:
type: INTEGER
required: true
default: '0'
banner_margin_left:
type: VARCHAR
size: 255
banner_margin_right:
type: VARCHAR
size: 255
banner_bg_text:
type: BOOLEAN
default: false
banner_bg_out:
type: BOOLEAN
default: false
banner_text_align:
type: INTEGER
default: 0
is_active:
type: BOOLEAN
required: true
default: true
opt_culture:
type: VARCHAR
size: 7
required: true
rank:
type: INTEGER
_indexes:
opt_culture_idx:
- opt_culture
is_active_idx:
- is_active
group_name_idx:
- group_name