Commit 95049e69 authored by karailiev's avatar karailiev
Browse files

+ Showing last modify time for language files in the list.

parent 335056ff
......@@ -81,6 +81,7 @@ while ($file = @readdir ($handle)) {
$bgcolor = ($bgcolor == '#FFFFFF') ? '#EEEEEE' : '#FFFFFF';
$language_files_list[] = array( 'module' => $file,
'lang_file' => $lang_file,
'lang_file_date' => date("Y-m-d H:i:s", filectime(ISPC_WEB_PATH.'/'.$file.'/lib/lang/'.$lang_file)),
'bgcolor' => $bgcolor,
'lang' => $selected_language);
}
......
......@@ -20,6 +20,7 @@
<tr>
<th class="tbl_col_module" scope="col"><tmpl_var name="module_txt"></th>
<th class="tbl_col_lang_file" scope="col"><tmpl_var name="lang_file_txt"></th>
<th scope="col"><tmpl_var name="lang_file_date_txt"></th>
</tr>
</thead>
<tbody>
......@@ -27,12 +28,13 @@
<tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
<td class="tbl_col_module"><a href="#" onClick="loadContent('admin/language_edit.php?module={tmpl_var name="module"}&lang_file={tmpl_var name="lang_file"}&lang={tmpl_var name="lang"}');">{tmpl_var name="module"}</a></td>
<td class="tbl_col_lang_file"><a href="#" onClick="loadContent('admin/language_edit.php?module={tmpl_var name="module"}&lang_file={tmpl_var name="lang_file"}&lang={tmpl_var name="lang"}');">{tmpl_var name="lang_file"}</a></td>
<td><a href="#" onClick="loadContent('admin/language_edit.php?module={tmpl_var name="module"}&lang_file={tmpl_var name="lang_file"}&lang={tmpl_var name="lang"}');">{tmpl_var name="lang_file_date"}</a></td>
</tr>
</tmpl_loop>
</tbody>
<tfoot>
<tr>
<td class="tbl_footer tbl_paging" colspan="2"><tmpl_var name="paging"></td>
<td class="tbl_footer tbl_paging" colspan="3"><tmpl_var name="paging"></td>
</tr>
</tfoot>
</table>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment