mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-03 07:04:07 +01:00
* [ADD] Mail provider. Work in progress * [MOD] Updated copyright * [MOD] Improved tracking module
537 lines
11 KiB
PHP
537 lines
11 KiB
PHP
<?php
|
|
/**
|
|
* sysPass
|
|
*
|
|
* @author nuxsmin
|
|
* @link https://syspass.org
|
|
* @copyright 2012-2018, Rubén Domínguez nuxsmin@$syspass.org
|
|
*
|
|
* This file is part of sysPass.
|
|
*
|
|
* sysPass is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* sysPass is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with sysPass. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
namespace SP\Core\UI;
|
|
|
|
use SP\Html\Assets\FontIcon;
|
|
use SP\Html\Assets\ImageIcon;
|
|
|
|
defined('APP_ROOT') || die();
|
|
|
|
/**
|
|
* Class ThemeIconsBase para la implementación de los iconos del tema visual
|
|
*
|
|
* @package SP\Core
|
|
*/
|
|
abstract class ThemeIconsBase implements ThemeIconsInterface
|
|
{
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconAdd;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconView;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconEdit;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconDelete;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconNavPrev;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconNavNext;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconNavFirst;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconNavLast;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconEditPass;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconAppAdmin;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconAccAdmin;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconLdapUser;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconDisabled;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconEnabled;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconViewPass;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconCopy;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconClipboard;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconEmail;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconOptional;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconUp;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconDown;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconRefresh;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconPublicLink;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconBack;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconRestore;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconSave;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconHelp;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconClear;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconPlay;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconDownload;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconWarning;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconCheck;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconSearch;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconAccount;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconGroup;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconSettings;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconHeadline;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconInfo;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconCritical;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconNotices;
|
|
/** @var FontIcon|ImageIcon */
|
|
protected $iconRemove;
|
|
|
|
/**
|
|
* Icons constructor.
|
|
*/
|
|
public function __construct()
|
|
{
|
|
$this->setIcons();
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconWarning()
|
|
{
|
|
return $this->iconWarning;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconDownload()
|
|
{
|
|
return $this->iconDownload;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconClear()
|
|
{
|
|
return $this->iconClear;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconPlay()
|
|
{
|
|
return $this->iconPlay;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconHelp()
|
|
{
|
|
return $this->iconHelp;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconPublicLink()
|
|
{
|
|
return $this->iconPublicLink;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconBack()
|
|
{
|
|
return $this->iconBack;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconRestore()
|
|
{
|
|
return $this->iconRestore;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconSave()
|
|
{
|
|
return $this->iconSave;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconUp()
|
|
{
|
|
return $this->iconUp;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconDown()
|
|
{
|
|
return $this->iconDown;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconViewPass()
|
|
{
|
|
return $this->iconViewPass;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconCopy()
|
|
{
|
|
return $this->iconCopy;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconClipboard()
|
|
{
|
|
return $this->iconClipboard;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconEmail()
|
|
{
|
|
return $this->iconEmail;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconRefresh()
|
|
{
|
|
return $this->iconRefresh;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconEditPass()
|
|
{
|
|
return $this->iconEditPass;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconAppAdmin()
|
|
{
|
|
return $this->iconAppAdmin;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconAccAdmin()
|
|
{
|
|
return $this->iconAccAdmin;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconLdapUser()
|
|
{
|
|
return $this->iconLdapUser;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconDisabled()
|
|
{
|
|
return $this->iconDisabled;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconNavPrev()
|
|
{
|
|
return $this->iconNavPrev;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconNavNext()
|
|
{
|
|
return $this->iconNavNext;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconNavFirst()
|
|
{
|
|
return $this->iconNavFirst;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconNavLast()
|
|
{
|
|
return $this->iconNavLast;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconAdd()
|
|
{
|
|
return $this->iconAdd;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconView()
|
|
{
|
|
return $this->iconView;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconEdit()
|
|
{
|
|
return $this->iconEdit;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconDelete()
|
|
{
|
|
return $this->iconDelete;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconOptional()
|
|
{
|
|
return $this->iconOptional;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconCheck()
|
|
{
|
|
return $this->iconCheck;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconSearch()
|
|
{
|
|
return $this->iconSearch;
|
|
}
|
|
|
|
/**
|
|
* @param FontIcon|ImageIcon $iconSearch
|
|
*/
|
|
public function setIconSearch($iconSearch)
|
|
{
|
|
$this->iconSearch = $iconSearch;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconAccount()
|
|
{
|
|
return $this->iconAccount;
|
|
}
|
|
|
|
/**
|
|
* @param FontIcon|ImageIcon $iconAccount
|
|
*/
|
|
public function setIconAccount($iconAccount)
|
|
{
|
|
$this->iconAccount = $iconAccount;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconGroup()
|
|
{
|
|
return $this->iconGroup;
|
|
}
|
|
|
|
/**
|
|
* @param FontIcon|ImageIcon $iconGroup
|
|
*/
|
|
public function setIconGroup($iconGroup)
|
|
{
|
|
$this->iconGroup = $iconGroup;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconSettings()
|
|
{
|
|
return $this->iconSettings;
|
|
}
|
|
|
|
/**
|
|
* @param FontIcon|ImageIcon $iconSettings
|
|
*/
|
|
public function setIconSettings($iconSettings)
|
|
{
|
|
$this->iconSettings = $iconSettings;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconHeadline()
|
|
{
|
|
return $this->iconHeadline;
|
|
}
|
|
|
|
/**
|
|
* @param FontIcon|ImageIcon $iconHeadline
|
|
*/
|
|
public function setIconHeadline($iconHeadline)
|
|
{
|
|
$this->iconHeadline = $iconHeadline;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconInfo()
|
|
{
|
|
return $this->iconInfo;
|
|
}
|
|
|
|
/**
|
|
* @param FontIcon|ImageIcon $iconInfo
|
|
*/
|
|
public function setIconInfo($iconInfo)
|
|
{
|
|
$this->iconInfo = $iconInfo;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconCritical()
|
|
{
|
|
return $this->iconCritical;
|
|
}
|
|
|
|
/**
|
|
* @param FontIcon|ImageIcon $iconCritical
|
|
*/
|
|
public function setIconCritical($iconCritical)
|
|
{
|
|
$this->iconCritical = $iconCritical;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconEnabled()
|
|
{
|
|
return $this->iconEnabled;
|
|
}
|
|
|
|
/**
|
|
* @param FontIcon|ImageIcon $iconEnabled
|
|
*/
|
|
public function setIconEnabled($iconEnabled)
|
|
{
|
|
$this->iconEnabled = $iconEnabled;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconNotices()
|
|
{
|
|
return $this->iconNotices;
|
|
}
|
|
|
|
/**
|
|
* @param FontIcon|ImageIcon $iconNotices
|
|
*/
|
|
public function setIconNotices($iconNotices)
|
|
{
|
|
$this->iconNotices = $iconNotices;
|
|
}
|
|
|
|
/**
|
|
* @return FontIcon|ImageIcon
|
|
*/
|
|
public function getIconRemove()
|
|
{
|
|
return $this->iconRemove;
|
|
}
|
|
|
|
/**
|
|
* @param FontIcon|ImageIcon $iconRemove
|
|
*/
|
|
public function setIconRemove($iconRemove)
|
|
{
|
|
$this->iconRemove = $iconRemove;
|
|
}
|
|
} |