Files
dlist/templates/simple/index.phtml
jim 8a5565c990 - added language selection support to simple template, and the backend for it in language.exc.php
only need to get thumbnails working, and make a fully featured web 2.0/6.3/whatever template and dList should be ready for its initial public release.

git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@14 a5845835-ea0f-0410-a762-dd0bfe9bfde8
2006-04-05 18:24:54 +00:00

30 lines
1.2 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"><? foreach ($installed_languages as $key => $value): ?><a href="javascript:;" onclick="set_lang('<?=$value?>')"><?=ucfirst($value)?></a><? if(count($installed_languages)-1 != $key) echo ' | '; endforeach ?></div>
</div>
</body>
</html>