mirror of
https://github.com/jimeh/dlist.git
synced 2026-02-18 23:46:39 +00:00
- renamed exec files from *.exc.php to *.exec.php - updated simple template - added local language names caching to cache/local_names.ini, language must be used before it can read the local name from the language file and cache it if not already cached git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@16 a5845835-ea0f-0410-a762-dd0bfe9bfde8
30 lines
1.3 KiB
PHTML
30 lines
1.3 KiB
PHTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
|
<title><?=$lang->index_of.' '.DIR_URL?></title>
|
|
<script src="<?=TPL_URL?>javascripts/main.js" type="text/javascript" language="javascript" charset="utf-8"></script>
|
|
<style type="text/css" media="screen">
|
|
/* <![CDATA[ */
|
|
<? include(TPL_PATH.'stylesheets/screen.css') ?>
|
|
/* ]]> */
|
|
</style>
|
|
</head>
|
|
<body id="index">
|
|
<div id="header">
|
|
<?=$lang->index_of.' '.Path::url2links(DIR_URL)?>
|
|
</div>
|
|
<div id="view-nav">
|
|
<a href="javascript:;" onclick="set_view('icons');"><?=$lang->icons?></a> | <a href="javascript:;" onclick="set_view('details');"><?=$lang->details?></a>
|
|
</div>
|
|
<div id="server-info"><?=SERVER_INFO?></div>
|
|
<div id="files">
|
|
<? include(TPL_PATH.$config->tpl_mode) ?>
|
|
</div>
|
|
<div id="stats">
|
|
<div id="timer"><?=$lang->powered_by?>. <?=$timer->end()?>.</div>
|
|
<div id="lang-select"><? $n = 1; foreach ($installed_languages as $key => $value): ?><a href="javascript:;" onclick="set_lang('<?=$key?>')"><?=ucfirst($value)?></a><? if(count($installed_languages) > $n) echo ' | '; $n++; endforeach ?></div>
|
|
</div>
|
|
</body>
|
|
</html>
|