Вход Регистрация
Файл: templates/default/controllers/admin/ctypes_fields.tpl.php
Строк: 23
<h1><?php echo LANG_CONTENT_TYPE?>: <span><?php echo $ctype['title']; ?></span></h1>

<?php

    $this
->setPageTitle(LANG_CP_CTYPE_FIELDS$ctype['title']);

    
$this->addBreadcrumb(LANG_CP_SECTION_CTYPES$this->href_to('ctypes'));

    
$this->addBreadcrumb($ctype['title'], $this->href_to('ctypes', array('edit'$ctype['id'])));
    
$this->addBreadcrumb(LANG_CP_CTYPE_FIELDS);

    
$this->addMenuItems('ctype'$this->controller->getCtypeMenu('fields'$ctype['id']));

    
$this->addToolButton(array(
        
'class' => 'add',
        
'title' => LANG_CP_FIELD_ADD,
        
'href'  => $this->href_to('ctypes', array('fields_add'$ctype['id']))
    ));
    
$this->addToolButton(array(
        
'class' => 'save',
        
'title' => LANG_SAVE,
        
'href'  => null,
        
'onclick' => "icms.datagrid.submit('{$this->href_to('ctypes', array('fields_reorder'$ctype['name']))}')"
    
));
    
$this->addToolButton(array(
        
'class' => 'cancel',
        
'title' => LANG_CANCEL,
        
'href'  => $this->href_to('ctypes')
    ));
    
$this->addToolButton(array(
        
'class' => 'help',
        
'title' => LANG_HELP,
        
'target' => '_blank',
        
'href'  => LANG_HELP_URL_CTYPES_FIELDS
    
));

?>

<div class="pills-menu">
    <?php $this->menu('ctype'); ?>
</div>

<?php $this->renderGrid($this->href_to('ctypes', array('fields_ajax'$ctype['name'])), $grid); ?>

<div class="buttons">
    <?php echo html_button(LANG_SAVE_ORDER'save_button'"icms.datagrid.submit('{$this->href_to('ctypes', array('fields_reorder'$ctype['name']))}')"); ?>
</div>
Онлайн: 3
Реклама