diff --git a/administrator/presets/content.xml b/administrator/presets/content.xml deleted file mode 100644 index 214cf4c..0000000 --- a/administrator/presets/content.xml +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/administrator/src/Service/Html/PLUGNMEET.php b/administrator/src/Service/Html/PLUGNMEET.php deleted file mode 100644 index 4b99e2c..0000000 --- a/administrator/src/Service/Html/PLUGNMEET.php +++ /dev/null @@ -1,53 +0,0 @@ - - * @copyright 2024 Jibon - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -namespace Mynaparrot\Component\Plugnmeet\Administrator\Service\Html; - -// No direct access -defined('_JEXEC') or die; - -use Joomla\CMS\Language\Text; -use Joomla\Database\DatabaseAwareTrait; -use Joomla\Database\DatabaseDriver; -use Joomla\Utilities\ArrayHelper; - -/** - * Plugnmeet HTML Helper. - * - * @since 1.0.0 - */ -class PLUGNMEET -{ - use DatabaseAwareTrait; - - /** - * Public constructor. - * - * @param DatabaseDriver $db The Joomla DB driver object for the site's database. - */ - public function __construct(DatabaseDriver $db) - { - $this->setDatabase($db); - } - - public function toggle($value = 0, $view = '', $field = '', $i = '') - { - $states = array( - 0 => array('icon-unpublish', Text::_('Toggle'), ''), - 1 => array('icon-publish', Text::_('Toggle'), '') - ); - - $state = ArrayHelper::getValue($states, (int) $value, $states[0]); - $text = ''; - $html = '' . $text . ''; - - return $html; - } -}