Changeset 3191


Ignore:
Timestamp:
03/12/09 14:19:22 (11 years ago)
Author:
patdenice
Message:

merge part of r3190 from trunk to branch 2.0.
URL parameter for template extensions can be used in slideshow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/include/template.class.php

    r3170 r3191  
    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.