phptemplate_regions
themes/engines/phptemplate/phptemplate.engine, строка 25
- Версии
- 5
phptemplate_regions()
Declare the available regions implemented by this engine.
Возвращаемое значение
An array of regions. The first array element will be used as the default region for themes.
Код
<?php
function phptemplate_regions() {
return array(
'left' => t('left sidebar'),
'right' => t('right sidebar'),
'content' => t('content'),
'header' => t('header'),
'footer' => t('footer')
);
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии