本文整理汇总了PHP中Controller::getTemplateGroup方法的典型用法代码示例。如果您正苦于以下问题:PHP Controller::getTemplateGroup方法的具体用法?PHP Controller::getTemplateGroup怎么用?PHP Controller::getTemplateGroup使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Controller
的用法示例。
在下文中一共展示了Controller::getTemplateGroup方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getSectionTemplates
/**
* Get all templates for the sections block.
*
* @return array
*/
public function getSectionTemplates()
{
$templates = \Controller::getTemplateGroup('block_section');
unset($templates['block_section']);
unset($templates['block_sections']);
return $templates;
}
示例2: getMapTemplates
/**
* Retrieve all templates for the leaflet map template list.
*
* @param GetPropertyOptionsEvent $event The event.
*
* @return void
*/
public function getMapTemplates(GetPropertyOptionsEvent $event)
{
if ($event->getEnvironment()->getDataDefinition()->getName() !== 'tl_metamodel_rendersetting' || $event->getPropertyName() !== 'leaflet_template') {
return;
}
$event->setOptions(\Controller::getTemplateGroup('leaflet_map_'));
}
示例3: getModuleSummarizeTemplates
/**
* Return all module summarize templates as array
* @param DataContainer
* @return array
*/
public function getModuleSummarizeTemplates(DataContainer $dc)
{
$intPid = $dc->activeRecord->pid;
if (\Input::get('act') == 'overrideAll') {
$intPid = \Input::get('id');
}
return \Controller::getTemplateGroup('mod_summarize_', $intPid);
}
示例4: modifyPalette
public static function modifyPalette(\DataContainer $objDc)
{
\Controller::loadDataContainer('tl_module');
\System::loadLanguageFile('tl_module');
if (($objModule = \ModuleModel::findByPk($objDc->id)) !== null) {
$arrDca =& $GLOBALS['TL_DCA']['tl_module'];
if (\HeimrichHannot\Haste\Util\Module::isSubModuleOf($objModule->type, 'HeimrichHannot\\FrontendEdit\\ModuleList')) {
unset($arrDca['fields']['itemTemplate']['options_callback']);
$arrDca['fields']['itemTemplate']['options'] = \Controller::getTemplateGroup('frontendedit_list_item_');
$arrDca['fields']['jumpTo']['eval']['tl_class'] = 'clr w50';
}
if (\HeimrichHannot\Haste\Util\Module::isSubModuleOf($objModule->type, 'HeimrichHannot\\FrontendEdit\\ModuleReader')) {
unset($arrDca['fields']['itemTemplate']['options_callback']);
$arrDca['fields']['itemTemplate']['options'] = \Controller::getTemplateGroup('frontendedit_item');
$arrDca['fields']['jumpTo']['eval']['tl_class'] = 'clr w50';
}
}
}
示例5: getTemplates
/**
* Get all templates. A templatePrefix can be defined using eval.templatePrefix.
*
* @param \DataContainer $dataContainer The data container driver.
*
* @return array
*
* @SuppressWarnings(PHPMD.Superglobals)
*/
public function getTemplates(\DataContainer $dataContainer)
{
$config = array();
$prefix = '';
// MCW compatibility
if ($dataContainer instanceof \MultiColumnWizard) {
$field = $dataContainer->strField;
$table = $dataContainer->strTable;
} else {
$field = $dataContainer->field;
$table = $dataContainer->table;
}
if (array_key_exists('eval', $GLOBALS['TL_DCA'][$table]['fields'][$field])) {
$config = $GLOBALS['TL_DCA'][$table]['fields'][$field]['eval'];
}
if (array_key_exists('templatePrefix', $config)) {
$prefix = $config['templatePrefix'];
}
return \Controller::getTemplateGroup($prefix);
}
示例6: compile
public function compile()
{
\System::loadLanguageFile('tl_iso_gallery');
$strBuffer = '
<table style="width:100%">
<thead>
<tr>
<th>' . $GLOBALS['TL_LANG']['tl_iso_gallery']['name'][0] . '</th>
<th>' . $GLOBALS['TL_LANG']['tl_iso_gallery']['lightbox_template'][0] . '<span class="mandatory">*</span></th>
</tr>
</thead>
<tbody>';
foreach ($this->objGaleries as $objGallery) {
$objSelect = new \SelectMenu(\Widget::getAttributesFromDca(array('options' => array_merge(\Controller::getTemplateGroup('moo_'), \Controller::getTemplateGroup('j_')), 'eval' => array('includeBlankOption' => true, 'mandatory' => true)), 'gallery[' . $objGallery->id . ']'));
if (\Input::post('FORM_SUBMIT') == 'tl_iso_upgrade_20010000') {
$objSelect->validate();
if (!$objSelect->hasErrors()) {
$objGallery->lightbox_template = serialize(array($objSelect->value));
$objGallery->save();
}
}
$strBuffer .= '
<tr>
<td>' . $objGallery->name . '</td>
<td>' . $objSelect->generateWithError() . '</td>
</tr>';
}
$strBuffer .= '
</tbody>
</table>';
$this->Template->formSubmit = 'tl_iso_upgrade_20010000';
$this->Template->fields = $strBuffer;
$this->Template->matter = $GLOBALS['TL_LANG']['UPG']['20010000'];
if (\Input::post('FORM_SUBMIT') == 'tl_iso_upgrade_20010000') {
\Controller::reload();
}
}
示例7: array
<?php
$GLOBALS['TL_DCA']['tl_content']['palettes']['hofff_recursive-download-folder'] = '{type_legend},type,headline' . ';{source_legend},folderSRC,useHomeDir' . ';{recursive-download-folder_legend},recursiveDownloadFolderHideEmptyFolders,recursiveDownloadFolderShowAllLevels' . ';{template_legend:hide},recursiveDownloadFolderTpl,customTpl' . ';{protected_legend:hide},protected' . ';{expert_legend:hide},guests,cssID,space' . ';{invisible_legend:hide},invisible,start,stop';
$GLOBALS['TL_DCA']['tl_content']['fields']['folderSRC'] = array('label' => &$GLOBALS['TL_LANG']['tl_content']['folderSRC'], 'exclude' => true, 'inputType' => 'fileTree', 'eval' => array('fieldType' => 'radio', 'mandatory' => true, 'tl_class' => 'clr'), 'sql' => "binary(16) NULL");
$GLOBALS['TL_DCA']['tl_content']['fields']['recursiveDownloadFolderHideEmptyFolders'] = array('label' => &$GLOBALS['TL_LANG']['tl_content']['recursiveDownloadFolderHideEmptyFolders'], 'exclude' => true, 'inputType' => 'checkbox', 'eval' => array('tl_class' => 'w50'), 'sql' => "char(1) NOT NULL default ''");
$GLOBALS['TL_DCA']['tl_content']['fields']['recursiveDownloadFolderShowAllLevels'] = array('label' => &$GLOBALS['TL_LANG']['tl_content']['recursiveDownloadFolderShowAllLevels'], 'exclude' => true, 'inputType' => 'checkbox', 'eval' => array('tl_class' => 'w50'), 'sql' => "char(1) NOT NULL default ''");
$GLOBALS['TL_DCA']['tl_content']['fields']['recursiveDownloadFolderTpl'] = array('label' => &$GLOBALS['TL_LANG']['tl_content']['recursiveDownloadFolderTpl'], 'exclude' => true, 'inputType' => 'select', 'options' => \Controller::getTemplateGroup('recursive-download-folder_'), 'eval' => array('tl_class' => 'w50'), 'sql' => "varchar(64) NOT NULL default ''");
示例8: getSharebuttonsTemplates
public function getSharebuttonsTemplates(DataContainer $dc)
{
$intPid = $dc->activeRecord->pid;
if (\Input::get('act') == 'overrideAll') {
$intPid = \Input::get('id');
}
return \Controller::getTemplateGroup('sharebuttons_', $intPid);
}
示例9: foreach
<?php
/**
* form_control extension for Contao Open Source CMS
*
* @copyright Copyright (c) 2008-2014, terminal42 gmbh
* @author terminal42 gmbh <info@terminal42.ch>
* @license http://opensource.org/licenses/lgpl-3.0.html LGPL
* @link http://github.com/terminal42/contao-form_control
*/
/**
* Extend the tl_form_field palettes
*/
foreach ($GLOBALS['TL_DCA']['tl_form_field']['palettes'] as $k => $v) {
if ($k == '__selector__') {
continue;
}
$GLOBALS['TL_DCA']['tl_form_field']['palettes'][$k] = $v . ';{formcontrol_legend},formcontrol_template';
}
/**
* Add fields to tl_form_field
*/
$GLOBALS['TL_DCA']['tl_form_field']['fields']['formcontrol_template'] = array('label' => &$GLOBALS['TL_LANG']['tl_form_field']['formcontrol_template'], 'exclude' => true, 'inputType' => 'select', 'options_callback' => function ($dc) {
return \Controller::getTemplateGroup('form_control_' . $dc->activeRecord->type . '_');
}, 'eval' => array('includeBlankOption' => true, 'chosen' => true, 'tl_class' => 'w50'), 'sql' => "varchar(64) NOT NULL default ''");
示例10: handleGetTemplateGroup
/**
* Collect a template group.
*
* @param GetTemplateGroupEvent $event The event.
*
* @return void
*/
public function handleGetTemplateGroup(GetTemplateGroupEvent $event)
{
$templatesArray = \Controller::getTemplateGroup($event->getPrefix());
$templates = $event->getTemplates();
foreach ($templatesArray as $templateName => $templateLabel) {
$templates[$templateName] = $templateLabel;
}
}
示例11: array_insert
{expert_legend:hide},guests,cssID,space
', 'anystores_map' => '
{title_legend},name,headline,type;
{config_legend:hide},anystores_categories,jumpTo,anystores_latitude,anystores_longitude,anystores_zoom,anystores_maptype,anystores_mapheight,anystores_streetview,anystores_defaultMarker;
{template_legend:hide},customTpl;
{expert_legend:hide},guests,cssID,space
'));
/**
* Selector
*/
$GLOBALS['TL_DCA']['tl_module']['palettes']['__selector__'][] = 'anystores_limitDistance';
$GLOBALS['TL_DCA']['tl_module']['palettes']['__selector__'][] = 'anystores_allowEmptySearch';
/**
* Subpalettes
*/
$GLOBALS['TL_DCA']['tl_module']['subpalettes']['anystores_allowEmptySearch'] = 'anystores_sortingOrder';
$GLOBALS['TL_DCA']['tl_module']['subpalettes']['anystores_limitDistance'] = 'anystores_maxDistance';
/**
* Add fields to tl_module
*/
array_insert($GLOBALS['TL_DCA']['tl_module']['fields'], 0, array('anystores_defaultCountry' => array('label' => &$GLOBALS['TL_LANG']['tl_module']['anystores_defaultCountry'], 'exclude' => true, 'inputType' => 'select', 'options' => System::getCountries(), 'eval' => array('includeBlankOption' => true, 'chosen' => true, 'tl_class' => 'w50'), 'sql' => "varchar(2) NOT NULL default ''"), 'anystores_categories' => array('label' => &$GLOBALS['TL_LANG']['tl_module']['anystores_categories'], 'exclude' => true, 'inputType' => 'checkbox', 'options_callback' => function () {
$objCategories = AnyStoresCategoryModel::findAll(array('order' => 'title'));
if ($objCategories === null) {
return;
}
return $objCategories->fetchEach('title');
}, 'eval' => array('mandatory' => true, 'multiple' => true), 'sql' => "text NULL"), 'anystores_listLimit' => array('label' => &$GLOBALS['TL_LANG']['tl_module']['anystores_listLimit'], 'exclude' => true, 'inputType' => 'text', 'default' => '10', 'eval' => array('mandatory' => true, 'maxlength' => 4, 'rgxp' => 'digit', 'tl_class' => 'w50'), 'sql' => "smallint(4) unsigned NOT NULL default '10'"), 'anystores_allowEmptySearch' => array('label' => &$GLOBALS['TL_LANG']['tl_module']['anystores_allowEmptySearch'], 'exclude' => true, 'inputType' => 'checkbox', 'default' => true, 'eval' => array('submitOnChange' => true, 'tl_class' => 'w50 m12'), 'sql' => "char(1) NOT NULL default ''"), 'anystores_sortingOrder' => array('label' => &$GLOBALS['TL_LANG']['tl_module']['anystores_sortingOrder'], 'exclude' => true, 'inputType' => 'text', 'default' => 'postal', 'eval' => array('maxlength' => 64, 'tl_class' => 'w50'), 'sql' => "varchar(64) NOT NULL default ''"), 'anystores_limitDistance' => array('label' => &$GLOBALS['TL_LANG']['tl_module']['anystores_limitDistance'], 'exclude' => true, 'inputType' => 'checkbox', 'eval' => array('submitOnChange' => true, 'tl_class' => 'w50 m12 clr'), 'sql' => "char(1) NOT NULL default ''"), 'anystores_maxDistance' => array('label' => &$GLOBALS['TL_LANG']['tl_module']['anystores_maxDistance'], 'exclude' => true, 'inputType' => 'text', 'default' => '10', 'eval' => array('mandatory' => true, 'maxlength' => 5, 'rgxp' => 'digit', 'tl_class' => 'w50'), 'sql' => "smallint(5) unsigned NOT NULL default '10'"), 'anystores_detailTpl' => array('label' => &$GLOBALS['TL_LANG']['tl_module']['anystores_detailTpl'], 'exclude' => true, 'inputType' => 'select', 'options_callback' => function () {
return \Controller::getTemplateGroup('anystores_');
}, 'eval' => array('includeBlankOption' => true, 'chosen' => true, 'tl_class' => 'w50'), 'sql' => "varchar(64) NOT NULL default ''"), 'anystores_mapTpl' => array('label' => &$GLOBALS['TL_LANG']['tl_module']['anystores_mapTpl'], 'exclude' => true, 'inputType' => 'select', 'options_callback' => function () {
return \Controller::getTemplateGroup('map_');
}, 'eval' => array('includeBlankOption' => true, 'chosen' => true, 'tl_class' => 'w50'), 'sql' => "varchar(64) NOT NULL default ''"), 'anystores_latitude' => array('label' => &$GLOBALS['TL_LANG']['tl_module']['anystores_latitude'], 'inputType' => 'text', 'eval' => array('mandatory' => true, 'default' => 0, 'maxlength' => 64, 'tl_class' => 'w50'), 'sql' => "varchar(64) NOT NULL default '0'"), 'anystores_longitude' => array('label' => &$GLOBALS['TL_LANG']['tl_module']['anystores_longitude'], 'inputType' => 'text', 'eval' => array('mandatory' => true, 'default' => 0, 'maxlength' => 64, 'tl_class' => 'w50'), 'sql' => "varchar(64) NOT NULL default '0'"), 'anystores_zoom' => array('label' => &$GLOBALS['TL_LANG']['tl_module']['anystores_zoom'], 'inputType' => 'select', 'options' => range(1, 18), 'eval' => array('default' => 6, 'tl_class' => 'w50'), 'sql' => "tinyint(2) unsigned NOT NULL default '6'"), 'anystores_streetview' => array('label' => &$GLOBALS['TL_LANG']['tl_module']['anystores_streetview'], 'inputType' => 'checkbox', 'eval' => array('tl_class' => 'w50 m12'), 'sql' => "char(1) NOT NULL default ''"), 'anystores_maptype' => array('label' => &$GLOBALS['TL_LANG']['tl_module']['anystores_maptype'], 'inputType' => 'select', 'options' => array('roadmap', 'satellite', 'hybrid', 'terrain'), 'eval' => array('tl_class' => 'w50'), 'sql' => "varchar(9) NOT NULL default 'roadmap'"), 'anystores_mapheight' => array('label' => &$GLOBALS['TL_LANG']['tl_module']['anystores_mapheight'], 'inputType' => 'text', 'eval' => array('default' => 500, 'maxlength' => 3, 'rgxp' => 'digit', 'tl_class' => 'w50'), 'sql' => "int(3) unsigned NOT NULL default '500'"), 'anystores_defaultMarker' => array('label' => &$GLOBALS['TL_LANG']['tl_module']['anystores_defaultMarker'], 'inputType' => 'fileTree', 'eval' => array('files' => true, 'fieldType' => 'radio', 'extensions' => Config::get('validImageTypes')), 'sql' => "binary(16) NULL")));
示例12: modifyPalette
public static function modifyPalette(\DataContainer $objDc)
{
\Controller::loadDataContainer('tl_module');
\System::loadLanguageFile('tl_module');
if (($objModule = \ModuleModel::findByPk($objDc->id)) !== null) {
$arrDca =& $GLOBALS['TL_DCA']['tl_module'];
if (\HeimrichHannot\Haste\Util\Module::isSubModuleOf($objModule->type, 'HeimrichHannot\\FormHybridList\\ModuleReader')) {
unset($arrDca['fields']['itemTemplate']['options_callback']);
$arrDca['fields']['itemTemplate']['options'] = \Controller::getTemplateGroup('formhybrid_reader_');
}
}
}
示例13: getFormHybridReadonlyTemplates
public function getFormHybridReadonlyTemplates()
{
return \Controller::getTemplateGroup('formhybridreadonly_');
}
示例14: getTemplateOptions
/**
* options_callback
*
* get all nl_ prefixed templates from the root level
*/
public function getTemplateOptions($dc)
{
$group = Controller::getTemplateGroup('nl_');
$result = array();
foreach ($group as $template) {
if (strpos($template, '(') === false) {
$result[] = $template;
}
}
return $result;
}
示例15: array
<?php
/**
* Isotope eCommerce for Contao Open Source CMS
*
* Copyright (C) 2009-2014 terminal42 gmbh & Isotope eCommerce Workgroup
*
* @package Isotope
* @link http://isotopeecommerce.org
* @license http://opensource.org/licenses/lgpl-3.0.html
*/
/**
* Table tl_iso_gallery
*/
$GLOBALS['TL_DCA']['tl_iso_gallery'] = array('config' => array('dataContainer' => 'Table', 'enableVersioning' => true, 'closed' => true, 'onload_callback' => array(array('Isotope\\Backend', 'initializeSetupModule')), 'sql' => array('keys' => array('id' => 'primary'))), 'list' => array('sorting' => array('mode' => 1, 'flag' => 1, 'fields' => array('name'), 'panelLayout' => 'filter;search,limit'), 'label' => array('fields' => array('name', 'type'), 'format' => '%s <span style="color:#b3b3b3; padding-left:3px;">[%s]</span>'), 'global_operations' => array('back' => array('label' => &$GLOBALS['TL_LANG']['MSC']['backBT'], 'href' => 'mod=&table=', 'class' => 'header_back', 'attributes' => 'onclick="Backend.getScrollOffset();"'), 'new' => array('label' => &$GLOBALS['TL_LANG']['tl_iso_gallery']['new'], 'href' => 'act=create', 'class' => 'header_new', 'attributes' => 'onclick="Backend.getScrollOffset();"'), 'all' => array('label' => &$GLOBALS['TL_LANG']['MSC']['all'], 'href' => 'act=select', 'class' => 'header_edit_all', 'attributes' => 'onclick="Backend.getScrollOffset();" accesskey="e"')), 'operations' => array('edit' => array('label' => &$GLOBALS['TL_LANG']['tl_iso_gallery']['edit'], 'href' => 'act=edit', 'icon' => 'edit.gif'), 'copy' => array('label' => &$GLOBALS['TL_LANG']['tl_iso_gallery']['copy'], 'href' => 'act=copy', 'icon' => 'copy.gif'), 'delete' => array('label' => &$GLOBALS['TL_LANG']['tl_iso_gallery']['delete'], 'href' => 'act=delete', 'icon' => 'delete.gif', 'attributes' => 'onclick="if (!confirm(\'' . $GLOBALS['TL_LANG']['MSC']['deleteConfirm'] . '\')) return false; Backend.getScrollOffset();"'), 'show' => array('label' => &$GLOBALS['TL_LANG']['tl_iso_gallery']['show'], 'href' => 'act=show', 'icon' => 'show.gif'))), 'palettes' => array('__selector__' => array('type', 'anchor'), 'default' => '{name_legend},name,type', 'standard' => '{name_legend},name,type,anchor,placeholder;{size_legend},main_size,gallery_size;{watermark_legend:hide},main_watermark_image,main_watermark_position,gallery_watermark_image,gallery_watermark_position;{template_legend:hide},customTpl', 'standardlightbox' => '{name_legend},name,type,anchor,placeholder;{size_legend},main_size,gallery_size;{lightbox_legend},lightbox_template,lightbox_size;{watermark_legend:hide},main_watermark_image,main_watermark_position,gallery_watermark_image,gallery_watermark_position,lightbox_watermark_image,lightbox_watermark_position;{template_legend:hide},customTpl', 'inline' => '{name_legend},name,type,placeholder;{size_legend},main_size,gallery_size;{watermark_legend:hide},main_watermark_image,main_watermark_position,gallery_watermark_image,gallery_watermark_position;{template_legend:hide},customTpl'), 'fields' => array('id' => array('sql' => "int(10) unsigned NOT NULL auto_increment"), 'tstamp' => array('sql' => "int(10) unsigned NOT NULL default '0'"), 'name' => array('label' => &$GLOBALS['TL_LANG']['tl_iso_gallery']['name'], 'exclude' => true, 'search' => true, 'inputType' => 'text', 'eval' => array('mandatory' => true, 'maxlength' => 255, 'tl_class' => 'w50'), 'sql' => "varchar(255) NOT NULL default ''"), 'type' => array('label' => &$GLOBALS['TL_LANG']['tl_iso_gallery']['type'], 'exclude' => true, 'filter' => true, 'default' => 'standard', 'inputType' => 'select', 'options_callback' => function () {
return \Isotope\Model\Gallery::getModelTypeOptions();
}, 'eval' => array('helpwizard' => true, 'submitOnChange' => true, 'chosen' => true, 'tl_class' => 'w50'), 'sql' => "varchar(64) NOT NULL default ''"), 'anchor' => array('label' => $GLOBALS['TL_LANG']['tl_iso_gallery']['anchor'], 'exclude' => true, 'inputType' => 'radio', 'options' => array('none', 'reader', 'lightbox'), 'reference' => &$GLOBALS['TL_LANG']['tl_iso_gallery'], 'eval' => array('mandatory' => true, 'submitOnChange' => true, 'tl_class' => 'clr w50 w50h'), 'sql' => "varchar(8) NOT NULL default ''"), 'placeholder' => array('label' => &$GLOBALS['TL_LANG']['tl_iso_gallery']['placeholder'], 'exclude' => true, 'inputType' => 'fileTree', 'eval' => array('fieldType' => 'radio', 'files' => true, 'filesOnly' => true, 'extensions' => $GLOBALS['TL_CONFIG']['validImageTypes'], 'tl_class' => 'w50 w50h'), 'sql' => "binary(16) NULL"), 'main_size' => array('label' => &$GLOBALS['TL_LANG']['tl_iso_gallery']['main_size'], 'exclude' => true, 'inputType' => 'imageSize', 'options' => $GLOBALS['TL_CROP'], 'reference' => &$GLOBALS['TL_LANG']['MSC'], 'eval' => array('rgxp' => 'digit', 'nospace' => true, 'helpwizard' => true, 'tl_class' => 'w50'), 'sql' => "varchar(64) NOT NULL default ''"), 'gallery_size' => array('label' => &$GLOBALS['TL_LANG']['tl_iso_gallery']['gallery_size'], 'exclude' => true, 'inputType' => 'imageSize', 'options' => $GLOBALS['TL_CROP'], 'reference' => &$GLOBALS['TL_LANG']['MSC'], 'eval' => array('rgxp' => 'digit', 'nospace' => true, 'helpwizard' => true, 'tl_class' => 'w50'), 'sql' => "varchar(64) NOT NULL default ''"), 'lightbox_template' => array('label' => &$GLOBALS['TL_LANG']['tl_iso_gallery']['lightbox_template'], 'exclude' => true, 'inputType' => 'checkboxWizard', 'options_callback' => function () {
// Do not use \Isotope\Backend::getTemplates() here, as they cannot be selected in a page layout!
return array_merge(\Controller::getTemplateGroup('moo_'), \Controller::getTemplateGroup('j_'));
}, 'eval' => array('mandatory' => true, 'multiple' => true, 'tl_class' => 'w50 w50h'), 'sql' => "blob NULL"), 'lightbox_size' => array('label' => &$GLOBALS['TL_LANG']['tl_iso_gallery']['lightbox_size'], 'exclude' => true, 'inputType' => 'imageSize', 'options' => $GLOBALS['TL_CROP'], 'reference' => &$GLOBALS['TL_LANG']['MSC'], 'eval' => array('rgxp' => 'digit', 'nospace' => true, 'helpwizard' => true, 'tl_class' => 'w50'), 'sql' => "varchar(64) NOT NULL default ''"), 'main_watermark_image' => array('label' => $GLOBALS['TL_LANG']['tl_iso_gallery']['main_watermark_image'], 'exclude' => true, 'inputType' => 'fileTree', 'eval' => array('fieldType' => 'radio', 'files' => true, 'filesOnly' => true, 'extensions' => $GLOBALS['TL_CONFIG']['validImageTypes'], 'tl_class' => 'clr w50 w50h'), 'sql' => "binary(16) NULL"), 'main_watermark_position' => array('label' => $GLOBALS['TL_LANG']['tl_iso_gallery']['main_watermark_position'], 'exclude' => true, 'inputType' => 'select', 'options' => array('left_top', 'center_top', 'right_top', 'left_center', 'center_center', 'right_center', 'left_bottom', 'center_bottom', 'right_bottom'), 'reference' => $GLOBALS['TL_LANG']['MSC'], 'eval' => array('tl_class' => 'w50'), 'sql' => "varchar(16) NOT NULL default ''"), 'gallery_watermark_image' => array('label' => $GLOBALS['TL_LANG']['tl_iso_gallery']['gallery_watermark_image'], 'exclude' => true, 'inputType' => 'fileTree', 'eval' => array('fieldType' => 'radio', 'files' => true, 'filesOnly' => true, 'extensions' => $GLOBALS['TL_CONFIG']['validImageTypes'], 'tl_class' => 'clr w50 w50h'), 'sql' => "binary(16) NULL"), 'gallery_watermark_position' => array('label' => $GLOBALS['TL_LANG']['tl_iso_gallery']['gallery_watermark_position'], 'exclude' => true, 'inputType' => 'select', 'options' => array('left_top', 'center_top', 'right_top', 'left_center', 'center_center', 'right_center', 'left_bottom', 'center_bottom', 'right_bottom'), 'reference' => $GLOBALS['TL_LANG']['MSC'], 'eval' => array('tl_class' => 'w50'), 'sql' => "varchar(16) NOT NULL default ''"), 'lightbox_watermark_image' => array('label' => $GLOBALS['TL_LANG']['tl_iso_gallery']['lightbox_watermark_image'], 'exclude' => true, 'inputType' => 'fileTree', 'eval' => array('fieldType' => 'radio', 'files' => true, 'filesOnly' => true, 'extensions' => $GLOBALS['TL_CONFIG']['validImageTypes'], 'tl_class' => 'clr w50 w50h'), 'sql' => "binary(16) NULL"), 'lightbox_watermark_position' => array('label' => $GLOBALS['TL_LANG']['tl_iso_gallery']['lightbox_watermark_position'], 'exclude' => true, 'inputType' => 'select', 'options' => array('left_top', 'center_top', 'right_top', 'left_center', 'center_center', 'right_center', 'left_bottom', 'center_bottom', 'right_bottom'), 'reference' => $GLOBALS['TL_LANG']['MSC'], 'eval' => array('tl_class' => 'w50'), 'sql' => "varchar(16) NOT NULL default ''"), 'customTpl' => array('label' => &$GLOBALS['TL_LANG']['tl_iso_gallery']['customTpl'], 'exclude' => true, 'inputType' => 'select', 'options_callback' => function () {
return \Isotope\Backend::getTemplates('iso_gallery_');
}, 'eval' => array('includeBlankOption' => true, 'chosen' => true, 'tl_class' => 'w50'), 'sql' => "varchar(64) NOT NULL default ''")));