blog module make categories cache file by php

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3479 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-01-07 07:37:37 +00:00
parent 3fb36cfb3e
commit 8995cae0cc
8 changed files with 85 additions and 12 deletions

View file

@ -272,6 +272,7 @@
if(!$list) {
$xml_buff = "<root />";
FileHandler::writeFile($xml_file, $xml_buff);
FileHandler::writeFile($php_file, '<?php if(!defined("__ZBXE__")) exit(); ?>');
return $xml_file;
}

View file

@ -15,7 +15,7 @@
{@ $_row = 0;}
<!--@foreach($lang_supported as $key => $val)-->
<tr>
<!--@if($_row==0)--><th scope="row" scope="row" rowspan="{count($lang_supported)}">{$lang->menu_name}</th><!--@end-->
<!--@if($_row==0)--><th scope="row" rowspan="{count($lang_supported)}">{$lang->menu_name}</th><!--@end-->
<th>{$val}</th>
<td><input type="text" name="menu_name_{$key}" value="{htmlspecialchars($item_info->name[$key])}" class="inputTypeText"/></td>
{@ $_row ++ }