Changeset 3753 for extensions/ContactForm/include/cf_functions.inc.php
- Timestamp:
- Aug 19, 2009, 5:37:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ContactForm/include/cf_functions.inc.php
r3746 r3753 75 75 76 76 /* Return template for user template/theme*/ 77 function cf_get_template($file, $dir=CF_TEMPLATE ) {77 function cf_get_template($file, $dir=CF_TEMPLATE, $prefix='') { 78 78 global $user, $template; 79 79 80 $theme_file = $dir.$user['template'].'/'.$user['theme'].'/'.$file; 81 $template_file = $dir.$user['template'].'/'.$file; 80 $theme_file = $dir. 81 $user[$prefix.'template'].'/'. 82 $user[$prefix.'theme'].'/'. 83 $file; 84 $template_file = $dir. 85 $user[$prefix.'template'].'/'. 86 $file; 82 87 83 88 if (file_exists($theme_file))
Note: See TracChangeset
for help on using the changeset viewer.