40 lines
1.8 KiB
PHP
40 lines
1.8 KiB
PHP
<?php
|
|
/**
|
|
* @name Page Builder CK
|
|
* @package com_pagebuilderck
|
|
* @copyright Copyright (C) 2015. All rights reserved.
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
|
* @author Cedric Keiflin - https://www.template-creator.com - https://www.joomlack.fr
|
|
*/
|
|
|
|
defined('_JEXEC') or die;
|
|
?>
|
|
|
|
<input type="hidden" id="options_showtitle" name="options[showtitle]" value="<?php echo $params->get('showtitle') ?>" />
|
|
<input type="hidden" id="options_titletag" name="options[titletag]" value="<?php echo $params->get('titletag') ?>" />
|
|
<div class="clearfix">
|
|
<label for="options_titletag" id="options_categories-lbl">
|
|
<?php echo JText::_('COM_PAGEBUILDERCK_CATEGORIES'); ?>
|
|
</label>
|
|
<select id="categories" name="categories[]" multiple="true" class="form-control">
|
|
<?php
|
|
$categories = PagebuilderckHelper::getCategories();
|
|
foreach ($categories as $category) {
|
|
?>
|
|
<option value="<?php echo $category->id ?>" <?php echo (in_array($category->id, $this->item->categories) ?'selected="true"':'') ?>><?php echo $category->name ?></option>
|
|
<?php
|
|
}
|
|
?>
|
|
</select>
|
|
</div>
|
|
<div class="clearfix">
|
|
<label for="options_contentprepare" id="options_contentprepare-lbl">
|
|
<?php echo JText::_('COM_PAGEBUILDERCK_CONTENT_PREPARE'); ?>
|
|
</label>
|
|
<fieldset id="options_contentprepare-fieldset" class="radio btn-group">
|
|
<input id="options_contentprepare0" type="radio" <?php echo ($params->get('contentprepare')==0?'checked="checked"':'') ?> value="0" name="options[contentprepare]">
|
|
<label class="btn" for="options_contentprepare0"><?php echo JText::_('JNO') ?></label>
|
|
<input id="options_contentprepare1" type="radio" <?php echo ($params->get('contentprepare')==1?'checked="checked"':'') ?> value="1" name="options[contentprepare]">
|
|
<label class="btn" for="options_contentprepare1"><?php echo JText::_('JYES') ?></label>
|
|
</fieldset>
|
|
</div>
|