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')
  );
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему