Changeset 3190 for trunk/include


Ignore:
Timestamp:
Mar 12, 2009, 2:18:17 PM (15 years ago)
Author:
patdenice
Message:

URL parameter for template extensions can be used in slideshow.

File:
1 edited

Legend:

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

    r3169 r3190  
    200200      }
    201201
    202       if ((stripos(implode('/',array_flip($_GET)), $param) > 0 or $param == 'N/A')
     202      if ((stripos(implode('/',array_keys($_GET)), $param) > 0 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.