|
|
|
|
|
size < 1) {
$languages = tep_get_languages();
for ($i=0, $n=sizeof($languages); $i<$n; $i++) {
if ($languages[$i]['code'] == DEFAULT_LANGUAGE) {
$language = $languages[$i]['directory'];
}
}
for ($i=0, $n=sizeof($cache_blocks); $i<$n; $i++) {
$cached_file = ereg_replace('-language', '-' . $language, $cache_blocks[$i]['file']);
if (file_exists(DIR_FS_CACHE . $cached_file)) {
$cache_mtime = strftime(DATE_TIME_FORMAT, filemtime(DIR_FS_CACHE . $cached_file));
} else {
$cache_mtime = TEXT_FILE_DOES_NOT_EXIST;
$dir = dir(DIR_FS_CACHE);
while ($cache_file = $dir->read()) {
$cached_file = ereg_replace('-language', '-' . $language, $cache_blocks[$i]['file']);
if (ereg('^' . $cached_file, $cache_file)) {
$cache_mtime = strftime(DATE_TIME_FORMAT, filemtime(DIR_FS_CACHE . $cache_file));
break;
}
}
$dir->close();
}
?>
|
|
' . tep_image(DIR_WS_IMAGES . 'icon_reset.gif', 'Reset', 13, 13) . ''; ?> |
|
|
|
|