aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-07-31 06:58:44 +0000
committervdigital <vdigital@piwigo.org>2008-07-31 06:58:44 +0000
commit5059eddb717ed5dc6dcc2d2d509f0b852e4253a0 (patch)
tree6f3c7a5d0e28a17918db1557615605bbbf448034 /include
parent45960b4631e8d92a3ccd87fa4732dc1f74f1b017 (diff)
Feature:837 "Extend for templates" could have dedicated .css files by a simple technical {html_head} inclusion.
git-svn-id: http://piwigo.org/svn/trunk@2464 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/template.class.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/template.class.php b/include/template.class.php
index 614bcb888..43bed8ae0 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -170,18 +170,6 @@ class Template {
{ /* examples: Are best_rated, created-monthly-calendar, list, ... set? */
$this->files[$handle] = '../.' . $localtpl;
/* assign their tpl-extension */
- /* For test purpose: Do advanced users need a php access? */
- // $localphp = '../.' . substr($localtpl,0,-3).'php';
- // if (file_exists($localphp)) @include_once($localphp);
-
- /* Does it have a samename.css available */
- $localcss = substr($localtpl,0,-3).'css';
- if (file_exists($localcss))
- {
- $this->html_head_elements[] =
- '<link rel="stylesheet" type="text/css" href="'
- . substr($localcss, 2) . '">';
- }
}
}
}