summaryrefslogtreecommitdiff
path: root/themes/engines/phptemplate/phptemplate.engine
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-04-17 07:19:39 +0000
committerDries Buytaert <dries@buytaert.net>2007-04-17 07:19:39 +0000
commit03b4b58e9ab272fc375664e18d5bb0c339b440a5 (patch)
tree8b7b509978f68f7122078c7c5e946cf731062d29 /themes/engines/phptemplate/phptemplate.engine
parente98c82e67939efaae859ce70ee728a08a26dc363 (diff)
downloadbrdo-03b4b58e9ab272fc375664e18d5bb0c339b440a5.tar.gz
brdo-03b4b58e9ab272fc375664e18d5bb0c339b440a5.tar.bz2
- Patch #132018 by Steven et al: add .info files to themes.
Diffstat (limited to 'themes/engines/phptemplate/phptemplate.engine')
-rw-r--r--themes/engines/phptemplate/phptemplate.engine34
1 files changed, 0 insertions, 34 deletions
diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine
index 80ff9ea98..331615967 100644
--- a/themes/engines/phptemplate/phptemplate.engine
+++ b/themes/engines/phptemplate/phptemplate.engine
@@ -14,23 +14,6 @@ function phptemplate_init($template) {
}
/**
- * @return
- * Array of template features
- */
-function phptemplate_features() {
- return array(
- 'toggle_logo',
- 'toggle_comment_user_picture',
- 'toggle_favicon',
- 'toggle_mission',
- 'toggle_name',
- 'toggle_node_user_picture',
- 'toggle_search',
- 'toggle_slogan'
- );
-}
-
-/**
* Implementation of hook_themes to tell Drupal what templates the engine
* and the current theme use. The $existing argument will contain hooks
* pre-defined by Drupal so that we can use that information if
@@ -38,7 +21,6 @@ function phptemplate_features() {
*/
function phptemplate_theme($existing) {
$templates = array(
- 'regions' => array('function' => 'phptemplate_regions'),
'box' => array('file' => 'box'),
'node' => array('file' => 'node'),
'comment' => array('file' => 'comment'),
@@ -82,22 +64,6 @@ function phptemplate_templates($directory = 'themes') {
}
/**
- * Declare the available regions implemented by this engine.
- *
- * @return
- * An array of regions. The first array element will be used as the default region for themes.
- */
-function phptemplate_regions() {
- return array(
- 'left' => t('left sidebar'),
- 'right' => t('right sidebar'),
- 'content' => t('content'),
- 'header' => t('header'),
- 'footer' => t('footer')
- );
-}
-
-/**
* Adds additional helper variables to all templates.
*
* Counts how many times certain hooks have been called. Sidebar left / right are special cases.