Exemple #1
0
<?php

/**
* @version 			SEBLOD 3.x Core
* @package			SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url				http://www.seblod.com
* @editor			Octopoos - www.octopoos.com
* @copyright		Copyright (C) 2013 SEBLOD. All Rights Reserved.
* @license 			GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
echo JCckDev::renderForm('core_tables', '', $config, array('selectlabel' => 'Select', 'required' => 'required'));
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Column', 'required' => 'required', 'storage_field' => 'column'));
echo JCckDev::renderBlank();
echo JCckDev::renderForm('core_dev_text', 'id', $config, array('label' => 'Key Column', 'required' => 'required', 'storage_field' => 'key'));
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Fields', 'storage_field' => 'fieldnames'));
Exemple #2
0
<?php

/**
* @version 			SEBLOD 3.x Core
* @package			SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url				http://www.seblod.com
* @editor			Octopoos - www.octopoos.com
* @copyright		Copyright (C) 2013 SEBLOD. All Rights Reserved.
* @license 			GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
$options2 = JCckDev::fromJSON($this->item->options2);
?>

<div class="seblod">
    <?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_' . $this->item->type . '_DESC'));
?>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_label', $this->item->label, $config);
echo JCckDev::renderForm('core_defaultvalue', $this->item->defaultvalue, $config);
echo JCckDev::renderForm('core_dev_text', @$options2['extension'], $config, array('label' => 'Extension', 'storage_field' => 'json[options2][extension]'));
echo JCckDev::renderForm('core_dev_text', @$options2['view'], $config, array('label' => 'View', 'storage_field' => 'json[options2][view]'));
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config);
?>
    </ul>
</div>
Exemple #3
0
</button>
            </li>
        </ul>
    </div>
    <?php 
    }
    if ($user->authorise('core.add', 'com_cck')) {
        ?>
    <div class="<?php 
        echo $this->css['batch'];
        ?>
">
        <div class="legend top left"><?php 
        echo JText::_('COM_CCK_DUPLICATE_PROCESS');
        ?>
</div>
        <ul class="adminformlist">
            <li>
                <?php 
        echo JCckDev::renderForm($cck['core_dev_text'], '', $config, array('label' => 'Title', 'storage_field' => 'duplicate_title'));
        ?>
                <button class="inputbutton" type="submit" onclick="Joomla.submitbutton('searchs.duplicate');"><?php 
        echo JText::_('JTOOLBAR_DUPLICATE');
        ?>
</button>
            </li>
        </ul>
    </div>
    <?php 
    }
}
        <div class="legend top left"><?php 
echo JText::_('COM_CCK_RENDERING') . '<span class="mini">(' . JText::_('COM_CCK_FOR_VIEW_' . $this->item->client) . ')</span>';
?>
</div>
        <ul class="adminformlist adminformlist-2cols">
            <?php 
echo JCckDev::renderForm($cck['core_template'], $this->style->template, $config);
echo '<input type="hidden" name="template2" value="' . $this->style->template . '" />';
$style_title = strlen($this->style->title) > 32 ? substr($this->style->title, 0, 32) . '...' : $this->style->title;
echo '<li><label>' . JText::_('COM_CCK_STYLE') . '</label><span class="variation_value adminformlist-maxwidth" title="' . $this->style->title . '">' . $style_title . '</span>' . '<input class="inputbox" type="hidden" id="template_' . $this->item->client . '" name="template_' . $this->item->client . '" value="' . $this->style->id . '" /></li>';
?>
        </ul>
	</div>
	<div class="seblod">
		<div class="legend top left"><?php 
echo '&rArr; ' . JText::_('COM_CCK_CSS');
?>
</div>
        <ul class="adminformlist adminformlist-2cols">
            <?php 
echo JCckDev::renderForm('core_dev_text', @$this->style->params['rendering_css_class'], $config, array('label' => 'Root Class', 'size' => '16', 'storage_field' => 'params[rendering_css_class]'));
?>
        </ul>
	</div>
	<?php 
if (is_object($this->style)) {
    Helper_Workshop::getTemplateParams($this->style->xml, '//config', 'params', $this->style->params);
}
?>
</div>
<div class="clr"></div>
Exemple #5
0
<?php

/**
* @version 			SEBLOD 3.x Core
* @package			SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url				http://www.seblod.com
* @editor			Octopoos - www.octopoos.com
* @copyright		Copyright (C) 2013 SEBLOD. All Rights Reserved.
* @license 			GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
JCckDev::initScript('typo', $this->item);
?>

<div class="seblod">
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_TYPO_' . $this->item->name . '_DESC'));
?>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Heading', 'defaultvalue' => 3, 'options' => 'H1=1||H2=2||H3=3||H4=4||H5=5||H6=6', 'selectlabel' => '', 'storage_field' => 'rank'));
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Class', 'size' => 24, 'storage_field' => 'class'));
echo JCckDev::renderForm('core_dev_bool', '', $config, array('label' => 'Enable Anchor', 'defaultvalue' => 0, 'storage_field' => 'anchor'));
echo JCckDev::renderSpacer(JText::_('COM_CCK_CONSTRUCTION') . '<span class="mini">(' . JText::_('COM_CCK_GENERIC') . ')</span>');
echo JCckDev::renderForm('core_dev_textarea', '', $config, array('label' => 'Custom Attributes', 'cols' => 92, 'rows' => 1, 'storage_field' => 'custom'), array(), 'w100');
echo JCckDev::renderForm('core_dev_bool', '', $config, array('label' => 'Behavior', 'selectlabel' => '', 'defaultvalue' => '0', 'options' => 'Auto=0||Typo Label=1', 'storage_field' => 'typo_label'));
echo JCckDev::renderBlank();
?>
    </ul>
</div>
Exemple #6
0
* @version 			SEBLOD 3.x Core
* @package			SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url				http://www.seblod.com
* @editor			Octopoos - www.octopoos.com
* @copyright		Copyright (C) 2013 SEBLOD. All Rights Reserved.
* @license 			GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
?>

<div class="seblod">
    <?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_' . $this->item->type . '_DESC'));
?>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_label', $this->item->label, $config);
echo JCckDev::renderForm('core_defaultvalue_textarea', $this->item->defaultvalue, $config);
echo JCckDev::renderForm('core_columns', $this->item->cols, $config);
echo JCckDev::renderForm('core_rows', $this->item->rows, $config, array('defaultvalue' => '3'));
echo JCckDev::renderForm('core_minlength', $this->item->minlength, $config);
echo JCckDev::renderForm('core_maxlength', $this->item->maxlength, $config);
echo JCckDev::renderHelp('field', '3146-textarea.html');
echo JCckDev::renderSpacer(JText::_('COM_CCK_PROCESSING'), JText::_('COM_CCK_PROCESSING_DESC_TEXTAREA'), 2);
echo JCckDev::renderForm('core_bool2', $this->item->bool2, $config, array('label' => 'New Lines', 'options' => 'tag_br=0||tag_br_in_p=2||tag_p=1'));
echo JCckDev::renderForm('core_bool3', $this->item->bool3, $config, array('label' => 'Clear Blank Lines'));
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config, array(), array('alter_type_value' => 'TEXT'));
?>
    </ul>
</div>
Exemple #7
0
$field1 = JCckDev::getEmpty(array('name' => 'core_options', 'type' => 'textarea', 'label' => 'PrepareContent', 'storage' => 'dev', 'storage_field' => 'json[options2][preparecontent]', 'cols' => '92', 'rows' => '5'));
JCckDev::get($field1, htmlspecialchars(@$options2['preparecontent']), $config);
$field2 = JCckDev::getEmpty(array('name' => 'core_options2', 'type' => 'textarea', 'label' => 'PrepareForm', 'storage' => 'dev', 'storage_field' => 'json[options2][prepareform]', 'cols' => '92', 'rows' => '15'));
JCckDev::get($field2, htmlspecialchars(@$options2['prepareform']), $config);
$field3 = JCckDev::getEmpty(array('name' => 'core_options2', 'type' => 'textarea', 'label' => 'PrepareStore', 'storage' => 'dev', 'storage_field' => 'json[options2][preparestore]', 'cols' => '92', 'rows' => '5'));
JCckDev::get($field3, htmlspecialchars(@$options2['preparestore']), $config);
?>

<div class="seblod">
    <?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_' . $this->item->type . '_DESC'));
?>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_label', $this->item->label, $config);
echo JCckDev::renderForm('core_defaultvalue', $this->item->defaultvalue, $config);
?>
		<li class="w100">
            <label><?php 
echo JText::_($field1->label);
?>
</label>
            <?php 
echo $field1->form;
?>
        </li>
		<li class="w100">
            <label><?php 
echo JText::_($field2->label);
?>
</label>
Exemple #8
0
echo JText::_('COM_CCK_RENDERING') . '<span class="mini">(' . JText::_('COM_CCK_FOR_VIEW_' . $this->item->client) . ')</span>';
?>
</div>
        <ul class="adminformlist adminformlist-2cols">
            <?php 
echo JCckDev::renderForm($cck['core_template'], $this->style->template, $config);
echo '<input type="hidden" name="template2" value="' . $this->style->template . '" />';
$style_title = strlen($this->style->title) > 32 ? substr($this->style->title, 0, 32) . '...' : $this->style->title;
echo '<li><label>' . JText::_('COM_CCK_STYLE') . '</label><span class="variation_value adminformlist-maxwidth" title="' . $this->style->title . '">' . $style_title . '</span>' . '<input class="inputbox" type="hidden" id="template_' . $this->item->client . '" name="template_' . $this->item->client . '" value="' . $this->style->id . '" /></li>';
?>
        </ul>
	</div>
	<div class="seblod">
		<div class="legend top left"><?php 
echo '&rArr; ' . JText::_('COM_CCK_ROOT');
?>
</div>
        <ul class="adminformlist adminformlist-2cols">
            <?php 
echo JCckDev::renderForm('core_dev_text', @$this->style->params['rendering_css_class'], $config, array('label' => 'Class', 'size' => '16', 'storage_field' => 'params[rendering_css_class]'));
echo JCckDev::renderForm('core_dev_textarea', @$this->style->params['rendering_custom_attributes'], $config, array('label' => 'Custom Attributes', 'rows' => '1', 'cols' => '88', 'storage_field' => 'params[rendering_custom_attributes]'), array(), 'w100');
?>
        </ul>
	</div>
	<?php 
if (is_object($this->style)) {
    Helper_Workshop::getTemplateParams($this->style->xml, '//config', 'params', $this->style->params);
}
?>
</div>
<div class="clr"></div>
Exemple #9
0
* @version 			SEBLOD 3.x Core
* @package			SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url				http://www.seblod.com
* @editor			Octopoos - www.octopoos.com
* @copyright		Copyright (C) 2013 SEBLOD. All Rights Reserved.
* @license 			GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
JCckDev::forceStorage();
$options = JCckDev::fromSTRING($this->item->options);
?>

<div class="seblod">
    <?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_' . $this->item->type . '_DESC'));
?>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_label', $this->item->label, $config);
echo JCckDev::renderForm('core_bool', $this->item->bool, $config, array('label' => 'MODE', 'options' => 'NameTitle=1||Position=0'));
//echo JCckDev::renderForm( 'core_bool', $this->item->bool7, $config, array( 'label'=>'Show Form', 'options'=>'Hide=0||Show=optgroup||Yes No=1||Modules=2' ) );
echo JCckDev::renderForm('core_defaultvalue', $this->item->defaultvalue, $config, array('label' => 'NAMETITLE_OR_POSITION'));
//echo JCckDev::renderForm( 'core_options', $options, $config, array( 'label'=>'Modules' ) );
echo JCckDev::renderForm('core_module_style', $this->item->style, $config);
echo JCckDev::renderForm('core_bool2', $this->item->bool2, $config, array('label' => 'Prepare Content', 'defaultvalue' => '0'));
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config);
?>
	</ul>
</div>
Exemple #10
0
JCckDev::initScript('typo', $this->item);
?>

<div class="seblod">
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_TYPO_' . $this->item->name . '_DESC'));
?>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_bool', '', $config, array('label' => 'Display as Default', 'defaultvalue' => 'thumb1', 'options' => 'Image=value||Thumb1=thumb1||Thumb2=thumb2||Thumb3=thumb3||Thumb4=thumb4||Thumb5=thumb5||Thumb6=thumb6||Thumb7=thumb7||Thumb8=thumb8||Thumb9=thumb9||Thumb10=thumb10', 'storage_field' => 'thumb'));
echo '<li><label>' . JText::_('COM_CCK_WIDTH_HEIGHT') . '</label>' . JCckDev::getForm('core_dev_select', '', $config, array('selectlabel' => 'Auto', 'options' => 'Fixed=1', 'storage_field' => 'thumb_custom')) . '<div id="thumb_width_custom">' . JCckDev::getForm('core_dev_text', '', $config, array('size' => 3, 'required' => 'required', 'storage_field' => 'thumb_width', 'attributes' => 'style="text-align:center"')) . '<span class="variation_value" style="margin-right: 5px;">x</span>' . JCckDev::getForm('core_dev_text', '', $config, array('size' => 3, 'required' => 'required', 'storage_field' => 'thumb_height', 'attributes' => 'style="text-align:center"')) . '<span class="variation_value">px</span>' . '</div></li>';
echo JCckDev::renderForm('core_bool', '', $config, array('label' => 'Display as Default 2x', 'defaultvalue' => '', 'selectlabel' => 'None', 'options' => 'Image=value||Thumb1=thumb1||Thumb2=thumb2||Thumb3=thumb3||Thumb4=thumb4||Thumb5=thumb5||Thumb6=thumb6||Thumb7=thumb7||Thumb8=thumb8||Thumb9=thumb9||Thumb10=thumb10', 'storage_field' => 'thumb_2x'));
echo JCckDev::renderForm('core_bool', '', $config, array('label' => 'Display as Default 3x', 'defaultvalue' => '', 'selectlabel' => 'None', 'options' => 'Image=value||Thumb1=thumb1||Thumb2=thumb2||Thumb3=thumb3||Thumb4=thumb4||Thumb5=thumb5||Thumb6=thumb6||Thumb7=thumb7||Thumb8=thumb8||Thumb9=thumb9||Thumb10=thumb10', 'storage_field' => 'thumb_3x'));
echo JCckDev::renderForm('core_bool', '', $config, array('label' => 'Modal Box', 'defaultvalue' => 'value', 'options' => 'Image=value||Thumb1=thumb1||Thumb2=thumb2||Thumb3=thumb3||Thumb4=thumb4||Thumb5=thumb5||Thumb6=thumb6||Thumb7=thumb7||Thumb8=thumb8||Thumb9=thumb9||Thumb10=thumb10||None=none', 'storage_field' => 'image'));
echo '<li><label>' . JText::_('COM_CCK_WIDTH_HEIGHT') . '</label>' . JCckDev::getForm('core_dev_select', '', $config, array('selectlabel' => 'Auto', 'options' => 'Fixed=1||Inner=2||Max=3', 'storage_field' => 'image_custom')) . '<div id="image_width_custom">' . JCckDev::getForm('core_dev_text', '', $config, array('size' => 3, 'required' => 'required', 'storage_field' => 'image_width', 'attributes' => 'style="text-align:center"')) . '<span class="variation_value" style="margin-right: 5px;">x</span>' . JCckDev::getForm('core_dev_text', '', $config, array('size' => 3, 'required' => 'required', 'storage_field' => 'image_height', 'attributes' => 'style="text-align:center"')) . '<span class="variation_value">px</span>' . '</div></li>';
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Image Alt Field', 'defaultvalue' => '', 'storage_field' => 'image_alt_fieldname'));
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Image Title', 'defaultvalue' => '1', 'selectlabel' => '', 'options' => 'None=0||Auto=1', 'storage_field' => 'image_title'));
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Path Paths', 'selectlabel' => '', 'defaultvalue' => 0, 'options' => 'Absolute=1||Relative=0', 'storage_field' => 'path_type'));
echo JCckDev::renderSpacer(JText::_('COM_CCK_CONSTRUCTION') . '<span class="mini">(' . JText::_('COM_CCK_GENERIC') . ')</span>');
echo JCckDev::renderForm('core_attributes', '', $config, array('label' => 'Custom Attributes', 'storage_field' => 'attributes'), array(), 'w100');
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Class', 'size' => 24, 'storage_field' => 'class'));
?>
    </ul>
</div>

<script type="text/javascript">
jQuery(document).ready(function($) {
	$('#thumb_width_custom').isVisibleWhen('thumb_custom','1',false);
	$('#image_width_custom').isVisibleWhen('image_custom','1,2,3',false);
});
</script>
Exemple #11
0
* @version 			SEBLOD 3.x Core
* @package			SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url				http://www.seblod.com
* @editor			Octopoos - www.octopoos.com
* @copyright		Copyright (C) 2009 - 2016 SEBLOD. All Rights Reserved.
* @license 			GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
JCckDev::initScript('field', $this->item, array('hasOptions' => true, 'doTranslation' => 1, 'customAttr' => JCck::getConfig_Param('development_attr', 6)));
$options = JCckDev::fromSTRING($this->item->options);
?>

<div class="seblod">
    <?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_' . $this->item->type . '_DESC'));
?>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_label', $this->item->label, $config);
echo JCckDev::renderForm('core_defaultvalue', $this->item->defaultvalue, $config);
echo JCckDev::renderForm('core_sorting', $this->item->sorting, $config);
echo JCckDev::renderForm('core_rows', $this->item->rows, $config);
echo JCckDev::renderForm('core_options', $options, $config);
echo JCckDev::renderForm('core_separator', $this->item->divider, $config);
echo JCckDev::renderHelp('field', 'seblod-2-x-select-multiple-field');
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config);
?>
	</ul>
</div>
/**
* @version 			SEBLOD 3.x Core
* @package			SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url				http://www.seblod.com
* @editor			Octopoos - www.octopoos.com
* @copyright		Copyright (C) 2013 SEBLOD. All Rights Reserved.
* @license 			GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
?>

<div class="seblod cck-padding-top-0 cck-padding-bottom-0">
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_DEFAULT_VALUES'));
?>
    <ul class="adminformlist adminformlist-2cols">
		<?php 
echo JCckDev::renderForm('core_joomla_article_created_by', '', $config);
echo JCckDev::renderForm('core_joomla_article_catid', '', $config);
echo JCckDev::renderForm('core_joomla_article_state', '', $config);
?>
	</ul><div class="clr"></div>
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_SETTINGS'));
?>
	<ul class="adminformlist adminformlist-2cols">
		<?php 
echo JCckDev::renderForm('core_bool', 1, $config, array('label' => 'Reordering', 'storage_field' => 'options[reordering]'));
?>
	</ul>
</div>
Exemple #13
0
echo JCckDev::renderForm($cck['core_description'], $this->item->description, $config, array('label' => 'clear', 'selectlabel' => 'Description'));
?>
        </ul>
        <ul class="spe spe_name">
            <?php 
echo JCckDev::renderForm($cck['core_name_template'], $this->item->name, $config);
?>
        </ul>
        <ul class="spe spe_type">
            <?php 
echo JCckDev::renderForm($cck['core_type_template'], $this->item->mode, $config);
?>
        </ul>
        <ul class="spe spe_type spe_latest">
            <?php 
echo JCckDev::renderForm($cck['core_featured'], $this->item->featured, $config, array('label' => 'clear', 'selectlabel' => '', 'options' => 'Featured=1||No=0', 'css' => 'btn-group btn-group-yesno'));
?>
        </ul>
	</div>
    
    <?php 
if (!$this->isNew) {
    ?>
        <div class="seblod">
            <div class="legend top left"><?php 
    echo JText::_('COM_CCK_SOURCES');
    ?>
</div>
            <div id="cck_tree" class="cck_tree" style="padding-left:22px; width: 240px; float: left;">
	            <?php 
    echo $this->item->tree;
Exemple #14
0
<?php

/**
* @version 			SEBLOD 3.x Core
* @package			SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url				http://www.seblod.com
* @editor			Octopoos - www.octopoos.com
* @copyright		Copyright (C) 2009 - 2016 SEBLOD. All Rights Reserved.
* @license 			GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
$options2 = JCckDev::fromJSON($this->item->options2);
?>

<div class="seblod">
    <?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_' . $this->item->type . '_DESC'));
?>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_label', $this->item->label, $config);
echo JCckDev::renderForm('core_place', $this->item->bool, $config, array('label' => 'DISPLAY_MODE'));
echo JCckDev::renderForm('core_dev_text', @$options2['extension'], $config, array('label' => 'Extension', 'storage_field' => 'json[options2][extension]'));
echo JCckDev::renderForm('core_dev_text', @$options2['section'], $config, array('label' => 'Section', 'storage_field' => 'json[options2][section]'));
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config);
?>
    </ul>
</div>
Exemple #15
0
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_label', $this->item->label, $config);
echo '<li' . $class . '><label>' . JText::_('COM_CCK_LABEL_ICON') . '</label>' . JCckDev::getForm('core_dev_select', $this->item->bool6, $config, array('label' => 'Label Icon', 'defaultvalue' => '0', 'selectlabel' => '', 'options' => 'Hide=0||Show=optgroup||Prepend=1||Append=2||Replace=3', 'storage_field' => 'bool6')) . JCckDev::getForm('core_icons', @$options2['icon'], $config, array('css' => 'max-width-150')) . '</li>';
echo JCckDev::renderBlank('<input type="hidden" id="blank_li3" value="" />');
echo JCckDev::renderForm('core_bool', $this->item->bool, $config, array('label' => 'TYPE', 'defaultvalue' => '0', 'options' => 'Input=0||Button=1'));
echo JCckDev::renderForm('core_task', @$options2['task'], $config);
echo JCckDev::renderForm('core_bool3', @$options2['task_auto'], $config, array('label' => 'Auto Selection', 'defaultvalue' => '1', 'storage_field' => 'json[options2][task_auto]'));
echo JCckDev::renderForm('core_task_exporter', $task_id['export'], $config, array('storage_field' => 'json[options2][task_id_export]'));
echo JCckDev::renderForm('core_task_processing', $task_id['process'], $config, array('storage_field' => 'json[options2][task_id_process]'));
echo JCckDev::renderForm('core_bool2', $this->item->bool2, $config, array('label' => 'SHOW_ALTERNATIVE_LINK', 'defaultvalue' => '1', 'options' => 'Hide=0||Show=optgroup||Use Default=1||Custom=2'));
echo JCckDev::renderForm('core_bool3', $this->item->bool3, $config, array('label' => 'Show Alternative Or', 'defaultvalue' => '1', 'options' => 'Hide=0||Show=1'));
echo JCckDev::renderBlank('<input type="hidden" id="blank_li2" value="" />');
echo '<li><label>' . JText::_('COM_CCK_TEXT_LINK') . '</label>' . JCckDev::getForm('core_dev_text', @$options2['alt_link_text'], $config, array('label' => 'Text', 'required' => 'required', 'size' => 14, 'storage_field' => 'json[options2][alt_link_text]')) . JCckDev::getForm('core_plugins', @$options2['alt_link'], $config, array('selectlabel' => 'Select', 'location' => 'field_link', 'required' => 'required', 'storage_field' => 'json[options2][alt_link]', 'attributes' => 'style="max-width:98px"')) . '<input type="hidden" id="json_options2_alt_link_options" name="json[options2][alt_link_options]" value="' . htmlspecialchars(@$options2['alt_link_options']) . '" />' . '<span class="c_link" id="json_options2_alt" name="json_options2_alt">+</span>' . '</li>';
echo JCckDev::renderForm('core_menuitem', @$options2['itemid'], $config, array('label' => 'Redirection', 'selectlabel' => 'None', 'storage_field' => 'json[options2][itemid]'));
echo JCckDev::renderForm('core_dev_textarea', @$options2['custom'], $config, array('label' => 'Custom variables', 'cols' => 92, 'rows' => 1, 'storage_field' => 'json[options2][custom]'), array(), 'w100');
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config);
?>
    </ul>
</div>

<script type="text/javascript">
jQuery(document).ready(function($) {
	$('#bool6').isVisibleWhen('bool','1');
	$('#blank_li3').isVisibleWhen('bool','0');
	$('#json_options2_icon').isVisibleWhen('bool6','1,2,3',false);
	$('#bool3').isVisibleWhen('bool2','1,2');
	$('#json_options2_task_auto').isVisibleWhen('json_options2_task','export,process');
	$('#json_options2_task_id_export').isVisibleWhen('json_options2_task','export');
	$('#json_options2_task_id_process').isVisibleWhen('json_options2_task','process');
Exemple #16
0
defined('_JEXEC') or die;
?>

<div class="seblod">
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_LIVE_' . $this->item->name . '_DESC'));
?>
	<ul class="adminformlist adminformlist-2cols">
		<?php 
echo JCckDev::renderForm('core_variable_type', '', $config);
echo JCckDev::renderForm('core_bool', '', $config, array('label' => 'Multiple', 'storage_field' => 'multiple'));
echo JCckDev::renderForm('core_dev_texts', '', $config, array('label' => 'Variables', 'storage_field' => 'variables'));
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Variable', 'storage_field' => 'variable'));
echo JCckDev::renderForm('core_bool', '', $config, array('label' => 'Ignore NULL', 'storage_field' => 'ignore_null'));
echo JCckDev::renderForm('core_bool', '', $config, array('label' => 'Return', 'options' => 'First=first||Last=last', 'storage_field' => 'return'));
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Default Value', 'storage_field' => 'default_value'));
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Encryption', 'selectlabel' => 'None', 'options' => 'Base64=base64', 'bool8' => 0, 'storage_field' => 'crypt'));
?>
	</ul>
</div>

<?php 
JCckDev::initScript('live', $this->item);
?>

<script type="text/javascript">
jQuery(document).ready(function($) {
	$('#sortable_core_dev_texts, #return').isVisibleWhen('multiple','1');
	$('#variable,#default_value,#crypt').isVisibleWhen('multiple','0');
});
</script>
Exemple #17
0
echo JCckDev::renderForm('core_options_from', @$options2['from_name'], $config, array('label' => 'From Name', 'options' => 'Default=0||Name=1||Field=3', 'storage_field' => 'json[options2][from_name]'));
echo JCckDev::renderForm('core_options_from_param', @$options2['from_name_param'], $config, array('label' => 'From Name Field', 'storage_field' => 'json[options2][from_name_param]'));
echo JCckDev::renderForm('core_options_subject', @$options2['subject'], $config);
echo JCckDev::renderForm('core_options_to', @$options2['to'], $config);
echo JCckDev::renderForm('core_options_message', @$options2['message'], $config);
echo JCckDev::renderForm('core_options_to_field', @$options2['to_field'], $config);
echo JCckDev::renderForm('core_options_from_param', @$options2['message_field'], $config, array('label' => 'Message Field', 'defaultvalue' => '', 'storage_field' => 'json[options2][message_field]'));
echo JCckDev::renderForm('core_options_to_admin', $to_admin, $config);
echo JCckDev::renderForm('core_options_from_param', @$options2['send_attachment_field'], $config, array('label' => 'Send Attachment Field', 'defaultvalue' => '', 'storage_field' => 'json[options2][send_attachment_field]'));
echo JCckDev::renderForm('core_options_to', @$options2['attachment_field'], $config, array('label' => 'Attachment Field', 'defaultvalue' => '', 'storage_field' => 'json[options2][attachment_field]'));
echo JCckDev::renderForm('core_options_from', @$options2['cc'], $config, array('label' => 'CC', 'options' => 'None=0||Email=1||Field=3', 'storage_field' => 'json[options2][cc]'));
echo JCckDev::renderForm('core_options_to', @$options2['cc_param'], $config, array('label' => 'CC Email Field', 'storage_field' => 'json[options2][cc_param]'));
echo JCckDev::renderForm('core_options_from', @$options2['bcc'], $config, array('label' => 'BCC', 'options' => 'None=0||Email=1||Field=3', 'storage_field' => 'json[options2][bcc]'));
echo JCckDev::renderForm('core_options_to', @$options2['bcc_param'], $config, array('label' => 'BCC Email Field', 'storage_field' => 'json[options2][bcc_param]'));
echo JCckDev::renderForm('core_size', $this->item->size, $config);
echo JCckDev::renderForm('core_dev_select', @$options2['format'], $config, array('label' => 'Format', 'defaultvalue' => '1', 'selectlabel' => '', 'options' => 'HTML=1||HTML as Plain Text=2||Plain Text=0', 'storage_field' => 'json[options2][format]'));
echo JCckDev::renderHelp('field', 'seblod-2-x-email-field');
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config);
?>
    </ul>
</div>

<script type="text/javascript">
jQuery(document).ready(function($) {
	$('#json_options2_from_param').isVisibleWhen('json_options2_from','1,3',true,'visibility');
	$('#json_options2_from_name_param').isVisibleWhen('json_options2_from_name','1,3',true,'visibility');
	$('#json_options2_cc_param').isVisibleWhen('json_options2_cc','1,3',true,'visibility');
	$('#json_options2_bcc_param').isVisibleWhen('json_options2_bcc','1,3',true,'visibility');
});
</script>
Exemple #18
0
<?php

/**
* @version 			SEBLOD 3.x Core
* @package			SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url				http://www.seblod.com
* @editor			Octopoos - www.octopoos.com
* @copyright		Copyright (C) 2009 - 2016 SEBLOD. All Rights Reserved.
* @license 			GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
?>

<div class="seblod">
    <?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_' . $this->item->type . '_DESC'));
?>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_label', $this->item->label, $config);
echo JCckDev::renderForm('core_defaultvalue', $this->item->defaultvalue, $config);
echo JCckDev::renderForm('core_selectlabel', $this->item->selectlabel, $config);
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config);
?>
    </ul>
</div>
<?php

/**
* @version 			SEBLOD 3.x Core
* @package			SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url				http://www.seblod.com
* @editor			Octopoos - www.octopoos.com
* @copyright		Copyright (C) 2013 SEBLOD. All Rights Reserved.
* @license 			GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
?>

<div class="seblod cck-padding-top-0 cck-padding-bottom-0">
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_DEFAULT_VALUES'));
?>
    <ul class="adminformlist adminformlist-2cols">
		<?php 
echo JCckDev::renderForm('core_joomla_category_created_by', '', $config);
echo JCckDev::renderForm('core_joomla_category_parent_id', '', $config);
echo JCckDev::renderForm('core_joomla_category_state', '', $config);
?>
	</ul>
</div>
Exemple #20
0
* @editor			Octopoos - www.octopoos.com
* @copyright		Copyright (C) 2013 SEBLOD. All Rights Reserved.
* @license 			GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
$options2 = JCckDev::fromJSON($this->item->options2);
?>

<div class="seblod">
    <?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_' . $this->item->type . '_DESC'));
?>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_label', $this->item->label, $config);
echo JCckDev::renderForm('core_defaultvalue', $this->item->defaultvalue, $config);
echo JCckDev::renderForm('core_dev_text', @$options2['extension'], $config, array('label' => 'Extension', 'storage_field' => 'json[options2][extension]'));
echo JCckDev::renderForm('core_selectlabel', $this->item->selectlabel, $config);
echo JCckDev::renderForm('core_bool3', $this->item->bool3, $config, array('label' => 'Multiple'));
echo JCckDev::renderForm('core_rows', $this->item->rows, $config);
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config);
?>
    </ul>
</div>

<script type="text/javascript">
jQuery(document).ready(function($) {
	$('#rows').isVisibleWhen('bool3','1');
});
</script>
Exemple #21
0
* @package			SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url				http://www.seblod.com
* @editor			Octopoos - www.octopoos.com
* @copyright		Copyright (C) 2009 - 2016 SEBLOD. All Rights Reserved.
* @license 			GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
JCckDev::forceStorage('custom');
?>

<div class="seblod">
    <?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_' . $this->item->type . '_DESC'));
?>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_label', $this->item->label, $config);
echo JCckDev::renderForm('core_extended', $this->item->extended, $config);
echo JCckDev::renderForm('core_rows', $this->item->rows, $config, array('label' => 'DEFAULT', 'defaultvalue' => '1'));
echo JCckDev::renderForm('core_bool2', $this->item->bool2, $config, array('label' => 'ADD', 'defaultvalue' => '1'));
echo JCckDev::renderForm('core_maxlength', $this->item->maxlength, $config, array('label' => 'MAXIMUM', 'defaultvalue' => '10'));
echo JCckDev::renderForm('core_bool3', $this->item->bool3, $config, array('label' => 'DEL', 'defaultvalue' => '1'));
echo JCckDev::renderForm('core_minlength', $this->item->minlength, $config, array('label' => 'MINIMUM', 'defaultvalue' => '1'));
echo JCckDev::renderForm('core_bool4', $this->item->bool4, $config, array('label' => 'DRAG', 'defaultvalue' => '1'));
echo JCckDev::renderHelp('field', 'seblod-2-x-field-x');
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config, array(), array('alter_type_value' => 'TEXT'));
?>
    </ul>
</div>
Exemple #22
0
        <?php 
echo JCckDev::renderForm('core_form', '', $config, array('selectlabel' => 'Inherited', 'options' => 'Use Value=optgroup||Field=-2||Forms=optgroup', 'bool4' => 1, 'required' => ''));
echo JCckDev::renderForm('core_menuitem', '', $config, array('selectlabel' => 'Inherited'));
echo '<li><label>' . JText::_('COM_CCK_EDITION') . '</label>' . JCckDev::getForm('core_dev_bool', '', $config, array('label' => 'Edition', 'storage_field' => 'form_edition')) . JCckDev::getForm('core_dev_select', '', $config, array('selectlabel' => 'Auto', 'defaultvalue' => '', 'options' => '1=1||2=2||3=3||4=4||Final=0', 'bool8' => 0, 'storage_field' => 'form_edition_stage')) . '</li>';
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Field Name', 'storage_field' => 'form_fieldname'));
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Redirection', 'selectlabel' => 'Auto', 'options' => 'Inherited=-1', 'storage_field' => 'redirection'));
echo JCckDev::renderBlank('<input type="hidden" id="blank_li" value="" />');
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Redirection Custom Variables', 'storage_field' => 'redirection_custom'));
echo JCckDev::renderSpacer(JText::_('COM_CCK_CONSTRUCTION') . '<span class="mini">(' . JText::_('COM_CCK_GENERIC') . ')</span>');
echo JCckDev::renderForm('core_attributes', '', $config, array('label' => 'Custom Attributes', 'storage_field' => 'attributes'), array(), 'w100');
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Class', 'size' => 24, 'storage_field' => 'class'));
echo JCckDev::renderForm('core_options_target', '', $config, array('defaultvalue' => '', 'selectlabel' => 'Inherited', 'storage_field' => 'target'));
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Rel', 'size' => 24, 'storage_field' => 'rel'));
echo '<li><label>' . JText::_('COM_CCK_TITLE') . '</label>' . JCckDev::getForm('core_dev_select', '', $config, array('selectlabel' => 'None', 'options' => 'Custom=2', 'storage_field' => 'title')) . JCckDev::getForm('core_dev_text', '', $config, array('label' => 'Title', 'size' => 16, 'css' => 'input-medium', 'storage_field' => 'title_custom')) . '</li>';
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Behavior', 'selectlabel' => '', 'defaultvalue' => '1', 'options' => 'Apply=1||Prepare=0', 'storage_field' => 'state'));
echo JCckDev::renderForm('core_tmpl', '', $config);
echo JCckDev::renderForm('core_dev_textarea', '', $config, array('label' => 'Custom variables', 'cols' => 92, 'rows' => 1, 'storage_field' => 'custom'), array(), 'w100');
echo JCckDev::renderSpacer(JText::_('COM_CCK_CONFIG_NO_ACCESS'));
echo JCckDev::renderForm('core_dev_select', '', $config, array('defaultvalue' => '0', 'label' => 'Show Value', 'selectlabel' => '', 'options' => 'Hide=0||Show=1', 'storage_field' => 'no_access'));
?>
    </ul>
</div>

<script type="text/javascript">
jQuery(document).ready(function($) {
	$('#form_edition,#blank_li').isVisibleWhen('form','');
	$('#form_fieldname').isVisibleWhen('form','-2');
	$('#title_custom').isVisibleWhen('title','2',false);
	$('#redirection_custom,#blank_li').isVisibleWhen('redirection','');
});
</script>
Exemple #23
0
**/
defined('_JEXEC') or die;
?>

<div class="seblod cck-padding-top-0 cck-padding-bottom-0">
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_DEFAULT_VALUES'));
?>
    <ul class="adminformlist adminformlist-2cols">
		<?php 
echo JCckDev::renderForm('core_joomla_user_groups', '', $config, array('label' => 'User Groups', 'storage_field' => 'values[groups]'));
?>
	</ul><div class="clr"></div>
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_SETTINGS'));
?>
	<ul class="adminformlist adminformlist-2cols">
		<?php 
echo JCckDev::renderForm('core_bool', 0, $config, array('label' => 'Force Password', 'storage_field' => 'options[force_password]'));
?>
	</ul><div class="clr"></div>
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_UPDATE'));
?>
	<ul class="adminformlist adminformlist-2cols">
		<?php 
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Update By Key', 'defaultvalue' => 'email', 'selectlabel' => '', 'options' => 'ID=id||Email=email||Username=username||', 'storage_field' => 'options[key]'));
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Update By Diff', 'selectlabel' => 'None', 'options' => 'Update By Diff Desc=optgroup||Block=block', 'storage_field' => 'options[diff]'));
?>
	</ul>
</div>
Exemple #24
0
echo JCckDev::renderForm('core_options_where', @$options2['where'], $config);
echo JCckDev::renderForm('core_options_value', @$options2['value'], $config);
echo '<li><label>' . JText::_('COM_CCK_ORDER_BY') . '</label>' . JCckDev::getForm('core_options_orderby', @$options2['orderby'], $config) . JCckDev::getForm('core_options_orderby_direction', @$options2['orderby_direction'], $config) . '</li>';
echo '<li><label>' . JText::_('COM_CCK_OPTIONS_ATTRIBUTES') . '</label><a href="javascript:void(0);" id="custom_attr_toggle"><span class="variation_value">' . JText::_('COM_CCK_TOGGLE') . '</span></a></li>';
echo JCckDev::renderForm('core_options_limit', @$options2['limit'], $config);
// Multiple
echo JCckDev::renderForm('core_bool3', $this->item->bool3, $config, array('label' => 'Multiple'));
echo JCckDev::renderForm('core_rows', $this->item->rows, $config);
echo JCckDev::renderForm('core_separator', $this->item->divider, $config);
// Language
echo JCckDev::renderForm('core_options_language_detection', @$options2['language_detection'], $config);
echo '<li><label>' . JText::_('COM_CCK_LANGUAGE_CODES_DEFAULT') . '</label>' . JCckDev::getForm('core_options_language_codes', @$options2['language_codes'], $config, array('size' => 21)) . JCckDev::getForm('core_options_language_default', @$options2['language_default'], $config, array('size' => 5)) . '</li>';
// Static
echo JCckDev::renderForm('core_bool4', $this->item->bool4, $config, array('label' => 'Static Options', 'options' => 'No=0||Yes=optgroup||Above=1||Below=2'));
echo JCckDev::renderBlank();
echo JCckDev::renderForm('core_options', $options, $config);
if ($count) {
    for ($i = 0; $i < $count; $i++) {
        echo '<li class="w100 custom_attr_mapping"><label>' . JText::_('COM_CCK_OPTIONS_ATTR_COLUMN') . '</label>';
        echo JCckDev::getForm('core_dev_text', @$location[$i], $config, array('size' => 7, 'storage_field' => 'string[location][]'));
        $j = $i;
        $j++;
        echo JCckDev::getForm('core_dev_text', @$options2['attr' . $j], $config, array('size' => 7, 'storage_field' => 'json[options2][attr' . $j . ']'));
        echo '</li>';
    }
}
echo JCckDev::renderHelp('field', 'seblod-2-x-select-dynamic-field');
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config);
?>
	</ul>
Exemple #25
0
    $required = 'required';
}
?>

<div class="seblod">
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_LINK_' . $this->item->name . '_DESC'));
?>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_list', '', $config, array(), array(), $hide);
echo JCckDev::renderForm('core_menuitem', '', $config, array('required' => $required));
echo JCckDev::renderForm('core_dev_select', '', $config, array('defaultvalue' => 0, 'label' => 'Field', 'options' => 'None=-1||Field=optgroup||Inherited=0||Custom=1', 'selectlabel' => '', 'storage_field' => 'search_field'), array(), $hide);
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Field name', 'required' => 'required', 'storage_field' => 'search_fieldname'), array(), $hide);
echo JCckDev::renderSpacer(JText::_('COM_CCK_CONSTRUCTION') . '<span class="mini">(' . JText::_('COM_CCK_GENERIC') . ')</span>');
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Class', 'size' => 24, 'storage_field' => 'class'));
echo JCckDev::renderForm('core_options_target', '', $config, array('defaultvalue' => '', 'selectlabel' => 'Inherited', 'storage_field' => 'target'));
echo JCckDev::renderForm('core_dev_text', '', $config, array('label' => 'Rel', 'size' => 32, 'storage_field' => 'rel'));
echo JCckDev::renderForm('core_tmpl', '', $config);
echo JCckDev::renderForm('core_dev_textarea', '', $config, array('label' => 'Custom variables', 'cols' => 92, 'rows' => 1, 'storage_field' => 'custom'), array(), 'w100');
echo JCckDev::renderForm('core_dev_select', '', $config, array('label' => 'Status', 'selectlabel' => '', 'defaultvalue' => '1', 'options' => 'Apply=1||Prepare=0', 'storage_field' => 'state'));
echo JCckDev::renderBlank();
?>
    </ul>
</div>

<script type="text/javascript">
jQuery(document).ready(function($) {
	$('#search_fieldname').isVisibleWhen('search_field','1');
});
</script>
Exemple #26
0
**/
defined('_JEXEC') or die;
JCckDev::initScript('field', $this->item, array('hasOptions' => true, 'doTranslation' => 1, 'customAttr' => JCck::getConfig_Param('development_attr', 6)));
$options = JCckDev::fromSTRING($this->item->options);
?>

<div class="seblod">
    <?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_' . $this->item->type . '_DESC'));
?>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_label', $this->item->label, $config);
echo JCckDev::renderForm('core_defaultvalue', $this->item->defaultvalue, $config);
echo JCckDev::renderForm('core_sorting', $this->item->sorting, $config);
echo '<li><label>' . JText::_('COM_CCK_ORIENTATION') . '</label>' . JCckDev::getForm('core_orientation', $this->item->bool, $config) . JCckDev::getForm('core_orientation_vertical', $this->item->bool2, $config) . '</li>';
echo JCckDev::renderForm('core_options', $options, $config);
echo JCckDev::renderForm('core_separator', $this->item->divider, $config);
echo JCckDev::renderForm('core_bool', $this->item->bool7, $config, array('label' => 'Check All Toggle', 'defaultvalue' => '0', 'options' => 'Hide=0||Show=optgroup||Above=1||Below=2', 'storage_field' => 'bool7'));
echo JCckDev::renderHelp('field', 'seblod-2-x-checkbox-field');
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config);
?>
	</ul>
</div>

<script type="text/javascript">
jQuery(document).ready(function($) {
    $('#bool2').isVisibleWhen('bool','1',false);
});
</script>
Exemple #27
0
<?php

/**
* @version 			SEBLOD 3.x Core
* @package			SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url				http://www.seblod.com
* @editor			Octopoos - www.octopoos.com
* @copyright		Copyright (C) 2009 - 2016 SEBLOD. All Rights Reserved.
* @license 			GNU General Public License version 2 or later; see _LICENSE.php
**/
defined('_JEXEC') or die;
JCckDev::forceStorage();
?>

<div class="seblod">
	<?php 
echo JCckDev::renderLegend(JText::_('COM_CCK_CONSTRUCTION'), JText::_('PLG_CCK_FIELD_' . $this->item->type . '_DESC'));
?>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_pane_behavior', $this->item->bool, $config, array('options' => 'Markup Start=0||Markup In Between=1||Markup End=2', 'required' => 'required'));
echo JCckDev::renderBlank();
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config);
?>
    </ul>
</div>
Exemple #28
0
?>
    <ul class="adminformlist adminformlist-2cols">
        <?php 
echo JCckDev::renderForm('core_label', $this->item->label, $config);
echo JCckDev::renderForm('core_defaultvalue', $this->item->defaultvalue, $config);
echo JCckDev::renderForm('core_options_path', @$options2['path'], $config, array('required' => 'required'));
echo JCckDev::renderForm('core_options_format_file', @$options2['storage_format'], $config);
echo '<li><label>' . JText::_('COM_CCK_PATH_PER_CONTENT') . '</label>' . JCckDev::getForm('core_options_path_content', @$options2['path_content'], $config) . JCckDev::getForm('core_dev_text', @$options2['folder_permissions'], $config, array('defaultvalue' => '0755', 'size' => 4, 'storage_field' => 'json[options2][folder_permissions]')) . '</li>';
echo JCckDev::renderForm('core_options_path_user', @$options2['path_user'], $config);
echo '<li><label>' . JText::_('COM_CCK_LEGAL_EXTENSIONS') . '</label>' . JCckDev::getForm('core_options_media_extensions', $media_ext, $config) . JCckDev::getForm('core_options_legal_extensions', @$options2['legal_extensions'], $config, array('size' => 13, 'required' => 'required')) . '</li>';
echo '<li><label>' . JText::_('COM_CCK_MAXIMUM_SIZE') . '</label>' . JCckDev::getForm('core_options_max_size', @$options2['max_size'], $config) . JCckDev::getForm('core_options_size_unit', @$options2['size_unit'], $config) . '</li>';
echo JCckDev::renderForm('core_options_preview', @$options2['preview'], $config);
echo JCckDev::renderForm('core_options_delete_box', @$options2['delete_box'], $config);
echo '<li><label>' . JText::_('COM_CCK_SHOW_CUSTOM_PATH') . '</label>' . JCckDev::getForm('core_bool', @$options2['custom_path'], $config, array('defaultvalue' => '0', 'options' => 'Hide=0||Show=1', 'storage_field' => 'json[options2][custom_path]')) . JCckDev::getForm('core_options_path', @$options2['path_label'], $config, array('defaultvalue' => 'Path', 'size' => 18, 'storage_field' => 'json[options2][path_label]')) . '</li>';
echo JCckDev::renderForm('core_size', $this->item->size, $config);
echo JCckDev::renderForm('core_options_multivalue_mode', @$options2['multivalue_mode'], $config, array('label' => 'MULTIVALUE_MODE'));
echo '<li><label>' . JText::_('COM_CCK_SHOW_TITLE') . '</label>' . JCckDev::getForm('core_bool', @$options2['title_file'], $config, array('defaultvalue' => '1', 'options' => 'Hide=0||Show=1', 'storage_field' => 'json[options2][title_file]')) . JCckDev::getForm('core_options_path', @$options2['title_label'], $config, array('defaultvalue' => 'Link Title', 'size' => 18, 'storage_field' => 'json[options2][title_label]')) . '</li>';
// core_options_path_box (useless)
echo JCckDev::renderHelp('field', 'seblod-2-x-upload-file-field');
echo JCckDev::renderSpacer(JText::_('COM_CCK_STORAGE'), JText::_('COM_CCK_STORAGE_DESC'));
echo JCckDev::getForm('core_storage', $this->item->storage, $config);
?>
    </ul>
</div>

<script type="text/javascript">
jQuery(document).ready(function($) {
	$('#json_options2_legal_extensions').isVisibleWhen('json_options2_media_extensions','custom',false);
	$('#json_options2_title_file').isVisibleWhen('json_options2_multivalue_mode','1');
	$('#json_options2_path_label').isVisibleWhen('json_options2_custom_path','1',false);
	$('#json_options2_title_label').isVisibleWhen('json_options2_title_file','1',false);
Exemple #29
0
	</div>
    
	<div class="seblod">
        <div class="legend top left"><?php 
echo JText::_('COM_CCK_OPTIONS');
?>
</div>
        <ul class="adminformlist adminformlist-2cols">
			<?php 
echo JCckDev::renderForm('core_featured', $this->item->home, $config, array('label' => 'App Root', 'options' => 'No=0||Yes App Root=1', 'storage_field' => 'home'), array(), 'w100');
echo JCckDev::renderForm('core_featured', $this->item->featured, $config, array(), array(), 'w100');
echo JCckDev::renderForm('core_dev_text', $this->item->icon_path, $config, array('label' => 'Icon', 'size' => 64, 'storage_field' => 'icon_path'), array(), 'w100');
echo JCckDev::renderForm('core_elements', $this->item->elements, $config, array('bool' => 1));
echo JCckDev::renderForm('core_color', $this->item->color, $config);
echo JCckDev::renderForm('core_introchar', $this->item->introchar, $config);
echo JCckDev::renderForm('core_colorchar', $this->item->colorchar, $config);
?>
        </ul>
		<img id="toggle_acl" src="components/com_cck/assets/images/24/icon-24-acl.png" border="0" alt="" style="float: right; margin: 9px 9px 0px 0px; cursor: pointer;" />
	</div>
    
	<div class="seblod" id="acl" style="display: none;">
		<div class="legend top left"><?php 
echo JText::_('COM_CCK_PERMISSIONS');
?>
</div>
		<?php 
echo JCckDev::getForm('core_rules_folder', $this->item->asset_id, $config);
?>
    </div>
</div>
Exemple #30
0
            <ul class="adminformlist adminformlist-2cols">
                <?php 
    echo JCckDev::renderForm($cck['core_guest'], $this->item->guest, $config);
    echo JCckDev::renderBlank();
    if (strpos($this->item->viewlevels, ',') !== false) {
        if ($this->item->guest_only_group != '') {
            $this->item->groups .= ',' . $this->item->guest_only_group;
        }
        if ($this->item->guest_only_viewlevel != '') {
            $this->item->viewlevels .= ',' . $this->item->guest_only_viewlevel;
        }
        echo JCckDev::renderForm($cck['core_guest_only_group'], $this->item->guest_only_group, $config);
        echo JCckDev::renderForm($cck['core_guest_only_viewlevel'], $this->item->guest_only_viewlevel, $config);
    }
    echo JCckDev::renderForm($cck['core_groups'], $this->item->groups, $config);
    echo JCckDev::renderForm($cck['core_viewlevels'], $this->item->viewlevels, $config);
    ?>
            </ul>
        </div>
	<?php 
}
?>
</div>

<div class="clr"></div>
<div>
    <input type="hidden" id="task" name="task" value="" />
    <input type="hidden" id="myid" name="id" value="<?php 
echo @$this->item->id;
?>
" />