mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
1.4.5.2 modified source merge to 1.5.0
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8276 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
commit
52f37ded17
24 changed files with 138 additions and 125 deletions
|
|
@ -518,6 +518,7 @@
|
|||
if($type == 'unload') {
|
||||
$output = '<?php Context::unloadCSSFile("'.$source_filename.'"); ?>';
|
||||
} else {
|
||||
$meta_file = $source_filename;
|
||||
$output = '<?php Context::addCSSFile("'.$source_filename.'",false,"'.$attrs['media'].'","'.$attrs['targetie'].'",'.$attrs['index'].'); ?>';
|
||||
}
|
||||
break;
|
||||
|
|
@ -526,12 +527,14 @@
|
|||
if($type == 'unload') {
|
||||
$output = '<?php Context::unloadJsFile("'.$source_filename.'"); ?>';
|
||||
} else {
|
||||
$meta_file = $source_filename;
|
||||
$output = '<?php Context::addJsFile("'.$source_filename.'",false,"'.$attrs['targetie'].'",'.$attrs['index'].',"'.$attrs['type'].'"); ?>';
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if($meta_file) $output = '<!--#Meta:'.$meta_file.'-->'.$output;
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
|
@ -794,6 +797,7 @@
|
|||
if(preg_match('/^(http|\/)/i',$source_filename)) {
|
||||
$output = sprintf('<?php Context::addCSSFile("%s", %s, "%s", "%s", %s); ?>', $source_filename, 'false', $media, $targetie, $index);
|
||||
} else {
|
||||
$meta_file = $base_path.$filename;
|
||||
$output = sprintf('<?php Context::addCSSFile("%s%s", %s, "%s", "%s", %s); ?>', $base_path, $filename, $optimized, $media, $targetie, $index);
|
||||
}
|
||||
break;
|
||||
|
|
@ -802,12 +806,14 @@
|
|||
if(preg_match('/^(http|\/)/i',$source_filename)) {
|
||||
$output = sprintf('<?php Context::addJsFile("%s", %s, "%s", %s,"%s"); ?>', $source_filename, 'false', $targetie, $index, $type);
|
||||
} else {
|
||||
$meta_file = $base_path.$filename;
|
||||
$output = sprintf('<?php Context::addJsFile("%s%s", %s, "%s", %s, "%s"); ?>', $base_path, $filename, $optimized, $targetie, $index, $type);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if($meta_file) $output = '<!--#Meta:'.$meta_file.'-->'.$output;
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue