first commit

This commit is contained in:
2024-11-05 12:22:50 +01:00
commit e5682a3912
19641 changed files with 2948548 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
<?php
/**
* 2007-2015 Leotheme
*
* NOTICE OF LICENSE
*
* Adds image, text or video to your homepage.
*
* DISCLAIMER
*
* @author leotheme <leotheme@gmail.com>
* @copyright 2007-2015 Leotheme
* @license http://leotheme.com - prestashop template provider
*/
if (!defined('_PS_VERSION_')) {
# module validation
exit;
}
class LeoSlideshowStatus extends Module
{
private static $instance = null;
public static function getInstance()
{
if (self::$instance == null) {
# module validation
self::$instance = new LeoSlideshowStatus();
}
return self::$instance;
}
const SLIDER_TARGET_SAME = 'same';
const SLIDER_TARGET_NEW = 'new';
public function getSliderTargetOption()
{
return array(
array('id' => self::SLIDER_TARGET_SAME, 'name' => $this->l('Same Window')),
array('id' => self::SLIDER_TARGET_NEW, 'name' => $this->l('New Window')),
);
}
const SLIDER_STATUS_DISABLE = '0';
const SLIDER_STATUS_ENABLE = '1';
const SLIDER_STATUS_COMING = '2';
const GROUP_STATUS_DISABLE = '0';
const GROUP_STATUS_ENABLE = '1';
}