Changeset 28587 for trunk/include/template.class.php
- Timestamp:
- Jun 2, 2014, 9:55:46 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/template.class.php
r27184 r28587 522 522 $href .= '?v' . ($combi->version ? $combi->version : PHPWG_VERSION); 523 523 // trigger the event for eventual use of a cdn 524 $href = trigger_ event('combined_css', $href, $combi);524 $href = trigger_change('combined_css', $href, $combi); 525 525 $content[] = '<link rel="stylesheet" type="text/css" href="'.$href.'">'; 526 526 } … … 879 879 } 880 880 // trigger the event for eventual use of a cdn 881 $ret = trigger_ event('combined_script', $ret, $script);881 $ret = trigger_change('combined_script', $ret, $script); 882 882 return embellish_url($ret); 883 883 } … … 1935 1935 $handle = $this->type. '.' .$combinable->id; 1936 1936 $template->set_filename($handle, realpath(PHPWG_ROOT_PATH.$combinable->path)); 1937 trigger_ action( 'combinable_preparse', $template, $combinable, $this); //allow themes and plugins to set their own vars to template ...1937 trigger_notify( 'combinable_preparse', $template, $combinable, $this); //allow themes and plugins to set their own vars to template ... 1938 1938 $content = $template->parse($handle, true); 1939 1939 … … 1991 1991 $css = CssMin::minify($css, array('Variables'=>false)); 1992 1992 } 1993 $css = trigger_ event('combined_css_postfilter', $css);1993 $css = trigger_change('combined_css_postfilter', $css); 1994 1994 return $css; 1995 1995 }
Note: See TracChangeset
for help on using the changeset viewer.