Вход Регистрация
Файл: concrete5.7.5.6/concrete/elements/gathering/data_sources/page/options.php
Строк: 11
<?php defined('C5_EXECUTE') or die("Access Denied."); ?>
<?php
$ctArray 
PageType::getList();
$types = array();
foreach(
$ctArray as $ct) {
    
$types[$ct->getPageTypeID()] = $ct->getPageTypeDisplayName();
}

if (
is_object($configuration)) { 
    
$ptID $configuration->getPageTypeID();
}

?>
<div class="control-group">
    <label class="control-label"><?php echo t('Limit By Page Type')?></label>
    <div class="controls" data-select="page">
        <?php echo $form->select($source->optionFormKey('ptID'), $types$ptID)?>
    </div>
</div>
Онлайн: 0
Реклама