Ignore:
Timestamp:
Aug 19, 2009, 5:37:52 PM (15 years ago)
Author:
Criss
Message:

Update configuration pages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ContactForm/include/cf_functions.inc.php

    r3746 r3753  
    7575
    7676/* Return template for user template/theme*/
    77 function cf_get_template($file, $dir=CF_TEMPLATE) {
     77function cf_get_template($file, $dir=CF_TEMPLATE, $prefix='') {
    7878  global $user, $template;
    7979
    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;
    8287
    8388  if (file_exists($theme_file))
Note: See TracChangeset for help on using the changeset viewer.