Changeset 3207 for trunk/include


Ignore:
Timestamp:
Mar 16, 2009, 6:51:47 PM (15 years ago)
Author:
patdenice
Message:

Add "tags" parameter for template extensions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/template.class.php

    r3190 r3207  
    200200      }
    201201
    202       if ((stripos(implode('/',array_keys($_GET)), $param) > 0 or $param == 'N/A')
     202      if ((stripos(implode('',array_keys($_GET)), '/'.$param) !== false or $param == 'N/A')
    203203        and (preg_match('/'.preg_quote($tpl,'/').'$/', $this->get_template_dir()) or $tpl == 'N/A')
    204204        and (!isset($this->extents[$handle]) or $overwrite)
Note: See TracChangeset for help on using the changeset viewer.