Diff for web-apps/fastcgi-gallery/_modules/templates.pm between version 1.1 and 1.2
| version 1.1, 2005/09/07 13:36:48 |
version 1.2, 2005/10/18 08:28:13 |
|
|
| # 18/04/2004 - created |
# 18/04/2004 - created |
| # |
# |
| |
|
| # $Platon$ |
# $Platon: web-apps/fastcgi-gallery/_modules/templates.pm,v 1.1 2005/09/07 13:36:48 rajo Exp $ |
| |
|
| package templates; |
package templates; |
| |
|
|
|
| use Carp; |
use Carp; |
| use English; |
use English; |
| use Template::Namespace::Constants; |
use Template::Namespace::Constants; |
| |
use Cwd qw'getcwd abs_path'; |
| |
|
| use config; |
use config; |
| |
|
|
|
| INCLUDE_PATH => [ "./_templates/$lang", './_templates' ], |
INCLUDE_PATH => [ "./_templates/$lang", './_templates' ], |
| RELATIVE => 1, |
RELATIVE => 1, |
| PRE_PROCESS => 'http-header.tt2', |
PRE_PROCESS => 'http-header.tt2', |
| COMPILE_DIR => "/tmp/rajo-ttc-$EUID", |
COMPILE_DIR => "/tmp/fastcgi-gallery-ttc-$EUID" . abs_path(getcwd()), |
| NAMESPACE => { |
NAMESPACE => { |
| author => Template::Namespace::Constants->new({ |
author => Template::Namespace::Constants->new({ |
| name => 'Ľubomír Host (rajo)', |
name => 'Ľubomír Host (rajo)', |
Platon Group <platon@platon.org> http://platon.org/
|
|