X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnet%2Fskin.tpl;h=f68bf83ab53d0b674c07abd73678bbbea324b2e8;hb=1b5b2b79a6876e0c41b50ee7fb6bcbcad6bd297c;hp=b8d11d037d94fd1a62102a0cc4dcd19bbdacbb1a;hpb=59ff13cf84e8b465220e0183c93053756cfeaf63;p=platal.git diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index b8d11d0..f68bf83 100644 --- a/templates/xnet/skin.tpl +++ b/templates/xnet/skin.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2007 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -19,46 +19,51 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} - - - - - - - Les associations polytechniciennes +{include file="skin/common.doctype.tpl"} + + + + + - - + - + {foreach from=$xorg_css item=css} {/foreach} {foreach from=$xorg_js item=js} - + {/foreach} - + + {if $xorg_rss} + + {/if} + {if $xorg_extra_header} {$xorg_extra_header|smarty:nodefaults} {/if} + Les associations polytechniciennes {include file=skin/common.bandeau.head.tpl} {include file=skin/common.devel.tpl} - {include file=skin/common.bandeau.tpl} + {if !$simple} + {include file=skin/common.bandeau.tpl} + {/if} - {if $xnet_type} + {if !$simple} - {else} - - - - - - {/if} + {/if}{* fin simple *} - {if $menu} + {if $menu && !$simple} {else} @@ -140,52 +178,72 @@ {include file="skin/common.content.tpl"} - - + {if !$simple} + {/if} - - + {/if} + {if !$simple} + - - + - + {/if}
@@ -67,7 +72,11 @@ Logo Assos + {if $xnet_type} {if $asso} {/if} + {else} + + {/if}
+ {if $xnet_type} Logo {$xnet_type} + {else} + Logo {$xnet_type} + {/if} Fin logo @@ -75,63 +84,92 @@ bandeau {$xnet_type}
- LOGO Assos - - LOGO X.Org - titre_du_site -
----------
+ {if $asso && ($is_admin || $smarty.session.suid.perms eq 'admin' || $smarty.session.suid.may_update[$asso.id])} + + {/if} +
{include file="skin/common.content.tpl"} +
----------
----------
- - - - - + + + + +
----------
----------
- {list_all_my_groups} - {if !$smarty.session.auth} -
Me connecter :
- polytechnicien - {/if} - - manuel +
+ + + + + +
+ {list_all_my_groups} + {if !$smarty.session.auth} +
Me connecter :
+ polytechnicien + {/if} +
+ {if $smarty.session.perms eq admin} + + Gérer les groupes + {icon name=wrench title="Administration"} +
+ {/if} + + Manuel de l'utilisateur + {icon name=lightbulb title="Documentation"} + +
----------
----------
- liste des associations - - services proposés - - à propos de ce site - + plan du site - + services proposés - + à propos de ce site - {mailto address="contact@polytechnique.org" text="nous contacter" encode="javascript"} + {if $smarty.session.auth} + - signaler un bug + {/if}
- © Copyright 2000-2006 Association Polytechnique.org + © Copyright 2000-2007 Association Polytechnique.org
-{* vim:set et sw=2 sts=2 sws=2: *} +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}