| Current Path : /home/juvelize/martine/administrator/components/com_easybookreloaded/views/badword/tmpl/ |
| Current File : /home/juvelize/martine/administrator/components/com_easybookreloaded/views/badword/tmpl/form.php |
<?php
/**
* @copyright
* @package Easybook Reloaded - EBR for Joomla! 3.x
* @author Viktor Vogel <admin@kubik-rubik.de>
* @version 3.4.1.1-FREE - 2021-08-29
* @link https://kubik-rubik.de/ebr-easybook-reloaded
*
* @license GNU/GPL
* This program 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.
*
* This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
*/
defined('_JEXEC') || die('Restricted access');
use EasybookReloaded\Helper;
use Joomla\CMS\{Language\Text, Uri\Uri, Router\Route, HTML\HTMLHelper};
HTMLHelper::_('behavior.tooltip');
HTMLHelper::_('behavior.formvalidation');
HTMLHelper::_('behavior.keepalive');
?>
<script type="text/javascript">
Joomla.submitbutton = function(task) {
if (task === 'cancel' || document.formvalidator.isValid(document.id('easybook-form'))) {
Joomla.submitform(task, document.getElementById('easybook-form'));
}
}
</script>
<form action="<?php echo Route::_('index.php?option=com_easybookreloaded'); ?>" method="post" name="adminForm" id="easybook-form" class="form-validate form-horizontal">
<div class="row-fluid">
<div class="span10 form-horizontal">
<fieldset>
<ul class="nav nav-tabs">
<li class="active"><a href="#badword" data-toggle="tab"><?php echo Text::_('COM_EASYBOOKRELOADED_DETAILS'); ?></a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="badword">
<div class="control-group">
<div class="control-label">
<label for="word" class="required">
<?php echo Text::_('COM_EASYBOOKRELOADED_WORD'); ?>
<span class="star">*</span>
</label>
</div>
<div class="controls">
<input class="text_area required" type="text" name="word" id="word" size="32" value="<?php echo $this->badword->word; ?>" aria-required="true"/>
</div>
</div>
</div>
</div>
</fieldset>
</div>
</div>
<input type="hidden" name="option" value="com_easybookreloaded"/>
<input type="hidden" name="id" value="<?php echo $this->badword->id; ?>"/>
<input type="hidden" name="task" value=""/>
<input type="hidden" name="controller" value="badwords"/>
<input type="hidden" name="url_current" value="<?php echo Uri::getInstance()->getQuery(); ?>"/>
<?php echo HTMLHelper::_('form.token'); ?>
</form>
<?php echo Helper::getFooter(); ?>
<?php echo Helper::getDonationCodeMessage(); ?>