projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing quotes in some templates
[platal.git]
/
templates
/
skin
/
openweb.tpl
diff --git
a/templates/skin/openweb.tpl
b/templates/skin/openweb.tpl
index
66dcdf0
..
0180a99
100644
(file)
--- a/
templates/skin/openweb.tpl
+++ b/
templates/skin/openweb.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
06
Polytechnique.org *}
+{* Copyright (C) 2003-20
13
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-19,46
+19,40
@@
{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
{* *}
{**************************************************************************}
{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
{* *}
{**************************************************************************}
-<?xml version="1.0" encoding="iso-8859-15"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <base href="{$globals->baseurl}/" />
+
+{include file=skin/common.doctype.tpl}
<link rel="stylesheet" type="text/css" href="css/openweb.css" media="all" />
{include file=skin/common.header.tpl}
<link rel="stylesheet" type="text/css" href="css/openweb.css" media="all" />
{include file=skin/common.header.tpl}
- {include file=skin/common.bandeau.head.tpl}
</head>
<body>
</head>
<body>
- {include
file=skin/common
.devel.tpl}
+ {include
core=plpage
.devel.tpl}
- {if
$smarty.session.suid
}
- <table id="suid" cellpadding="0" cellspacing="0">
- <tr>
- <td>
- {$smarty.session.suid} ({$smarty.session.forlife})
- [<a href="exit">exit</a>]
- </td>
- </
tr
>
- </
table
>
+ {if
!$simple
}
+ {include file=skin/common.bandeau.tpl}
+ {/if}
+ {if t($smarty.session.suid)}
+ <div id="suid">
+ <a href="exit">
+ Quitter le SU sur {$smarty.session.hruid} ({$smarty.session.perms->flags()})
+ </
a
>
+ </
div
>
{/if}
{if $simple}
<div id="body">
{/if}
{if $simple}
<div id="body">
- {include
file="skin/common.content.tpl"
}
+ {include
core=plpage.content.tpl
}
</div>
{else}
</div>
{else}
- {include file=skin/common.bandeau.tpl}
-
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
<table id="body" cellpadding="0" cellspacing="0">
<tr>
<td id="body-logo">
- <a href="
events
"><img src="images/skins/default_headlogo.jpg" alt="[ LOGO ]" /></a>
+ <a href="
index
"><img src="images/skins/default_headlogo.jpg" alt="[ LOGO ]" /></a>
</td>
<td id="body-top">
</td>
<td id="body-top">
- <a href="
events
"><img src="images/skins/default_ban.jpg" alt="[ Polytechnique.org ]" /></a>
+ <a href="
index
"><img src="images/skins/default_ban.jpg" alt="[ Polytechnique.org ]" /></a>
{include file="skin/common.title.header.tpl"}
</td>
</tr>
{include file="skin/common.title.header.tpl"}
</td>
</tr>
@@
-68,7
+62,7
@@
</td>
<td style="vertical-align: top">
<div id="content">
</td>
<td style="vertical-align: top">
<div id="content">
- {include
file="skin/common.content.tpl"
}
+ {include
core=plpage.content.tpl
}
</div>
</td>
</tr>
</div>
</td>
</tr>
@@
-81,4
+75,4
@@
{/if}
</body>
</html>
{/if}
</body>
</html>
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2
enc=utf-8
: *}