Skip to content

Commit 95049e6

Browse files
author
karailiev
committed
+ Showing last modify time for language files in the list.
1 parent 335056f commit 95049e6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

interface/web/admin/language_list.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
$bgcolor = ($bgcolor == '#FFFFFF') ? '#EEEEEE' : '#FFFFFF';
8282
$language_files_list[] = array( 'module' => $file,
8383
'lang_file' => $lang_file,
84+
'lang_file_date' => date("Y-m-d H:i:s", filectime(ISPC_WEB_PATH.'/'.$file.'/lib/lang/'.$lang_file)),
8485
'bgcolor' => $bgcolor,
8586
'lang' => $selected_language);
8687
}

interface/web/admin/templates/language_list.htm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,21 @@ <h2><tmpl_var name="list_head_txt"></h2>
2020
<tr>
2121
<th class="tbl_col_module" scope="col"><tmpl_var name="module_txt"></th>
2222
<th class="tbl_col_lang_file" scope="col"><tmpl_var name="lang_file_txt"></th>
23+
<th scope="col"><tmpl_var name="lang_file_date_txt"></th>
2324
</tr>
2425
</thead>
2526
<tbody>
2627
<tmpl_loop name="records">
2728
<tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
2829
<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>
2930
<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>
31+
<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>
3032
</tr>
3133
</tmpl_loop>
3234
</tbody>
3335
<tfoot>
3436
<tr>
35-
<td class="tbl_footer tbl_paging" colspan="2"><tmpl_var name="paging"></td>
37+
<td class="tbl_footer tbl_paging" colspan="3"><tmpl_var name="paging"></td>
3638
</tr>
3739
</tfoot>
3840
</table>

0 commit comments

Comments
 (0)