lars
e238cbd17e
redirection header fixed "Settings.DocLang" replaced by "Settings.Language" "Lang.Plugins" moved to "Settings.PluginList"
53 lines
1.7 KiB
C#
53 lines
1.7 KiB
C#
<?cs # $Id$ ?>
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>CryptoBox</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta http-equiv="pragma" content="no-cache" />
|
|
<meta http-equiv="cache-control" content="no-cache" />
|
|
<meta http-equiv="expires" content="0" />
|
|
<link rel="shortcut icon" href="/favicon.ico" />
|
|
<link rel="stylesheet" media="screen" href="<?cs var:Settings.Stylesheet ?>" type="text/css" />
|
|
<?cs if:?Data.Redirect.URL ?><meta http-equiv="refresh" content="<?cs var:Data.Redirect.Delay ?>;url=<?cs var:Data.Redirect.URL ?>" /><?cs
|
|
elif:Data.Redirect.Action ?><meta http-equiv="refresh" content="<?cs var:Data.Redirect.Delay ?>;url=<?cs call:link(Data.Redirect.Action,'','','','') ?>" /><?cs /if ?>
|
|
</head>
|
|
<body>
|
|
|
|
<?cs if:subcount(Data.Disks) > 0 ?>
|
|
<div id="volumes">
|
|
<?cs include:Settings.TemplateDir + '/show_volumes.cs' ?>
|
|
</div>
|
|
<?cs /if ?>
|
|
|
|
<div id="lang">
|
|
<?cs each:item = Data.Languages ?>
|
|
<a href="<?cs call:link('','weblang',name(item),'','') ?>"><?cs
|
|
var:item ?></a><br/>
|
|
<?cs /each ?>
|
|
</div>
|
|
|
|
<div id="main">
|
|
<?cs if:Data.activeDisksCount > 0 ?>
|
|
<div id="head_red">
|
|
<?cs else ?>
|
|
<div id="head_green">
|
|
<?cs /if ?>
|
|
<h1><?cs var:html_escape(Lang.Title.Top) ?></h1>
|
|
<h2><?cs var:html_escape(Lang.Title.Slogan) ?></h2>
|
|
</div>
|
|
|
|
<div id="content">
|
|
<div id="menu">
|
|
<?cs if:Data.Redirect.URL ?>
|
|
<?cs # the menu bar is disabled if redirection has been suggested ?>
|
|
|
|
<?cs else ?>
|
|
<?cs include:Settings.TemplateDir + '/nav.cs' ?>
|
|
<?cs /if ?>
|
|
</div>
|
|
|
|
<div id="words">
|
|
|