Skip to content
Snippets Groups Projects
Commit 95049e69 authored by karailiev's avatar karailiev
Browse files

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

parent 335056ff
No related branches found
No related tags found
No related merge requests found
...@@ -81,6 +81,7 @@ while ($file = @readdir ($handle)) { ...@@ -81,6 +81,7 @@ while ($file = @readdir ($handle)) {
$bgcolor = ($bgcolor == '#FFFFFF') ? '#EEEEEE' : '#FFFFFF'; $bgcolor = ($bgcolor == '#FFFFFF') ? '#EEEEEE' : '#FFFFFF';
$language_files_list[] = array( 'module' => $file, $language_files_list[] = array( 'module' => $file,
'lang_file' => $lang_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, 'bgcolor' => $bgcolor,
'lang' => $selected_language); 'lang' => $selected_language);
} }
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
<tr> <tr>
<th class="tbl_col_module" scope="col"><tmpl_var name="module_txt"></th> <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 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> </tr>
</thead> </thead>
<tbody> <tbody>
...@@ -27,12 +28,13 @@ ...@@ -27,12 +28,13 @@
<tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>"> <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_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 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> </tr>
</tmpl_loop> </tmpl_loop>
</tbody> </tbody>
<tfoot> <tfoot>
<tr> <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> </tr>
</tfoot> </tfoot>
</table> </table>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment