init python rewrite
This commit is contained in:
parent
d0029c26c7
commit
e0ec6cb9a4
126 changed files with 15064 additions and 0 deletions
54
pythonrewrite/templates/header.cs
Normal file
54
pythonrewrite/templates/header.cs
Normal file
|
@ -0,0 +1,54 @@
|
|||
<?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('action',Data.Redirect.Action,'','','','') ?>" /><?cs /if ?>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<?cs if:subcount(Data.Disks.available) > 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
|
||||
if:Data.QueryString ?>&<?cs var:Data.QueryString ?><?cs /if ?>"><?cs
|
||||
var:item ?></a><br/>
|
||||
<?cs /each ?>
|
||||
</div>
|
||||
|
||||
<div id="main">
|
||||
<?cs if:subcount(Data.Disks.active) > 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">
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue