From: Unterste, Andreas (AU) <AUU<nterste@do...> - 2006-09-07 15:33:28
does anyone have a sandbox install for the template solution based on smarty ?
From: mantisbt-dev-bounces@... [mailto:mantisbt-dev-bounces@...] On Behalf Of Jaap-Andre de Hoop
Sent: Thursday, September 07, 2006 10:56 AM
Subject: [Mantisbt-dev] templates: new patches
I performed a small next step
I started with view.tpl (called by bug_view_advanced.php), moved the
content to different templates (template for view_bugnote,
add_bugnote,view_history, etc) and start filling this templates.
Basically I copied the _inc.php to a new subdir 'smarty' and to
themes/classic/*.tpl. In smarty/*_inc.php I created the variables
needed for the templates. (should be in some other place, some should
be created more clever ($config, user_access)).
My question: Is this approach usefull? And if so: how to continue?
Attached one patch files created in root against EXP_TEMPLATE and a
tar.gz with new files (I used cvs -q diff -N -u which also should
include new files, but it doesn't, someboy any idea?)