From: Pierre Habouzit (MadCoder Date: Tue, 17 May 2005 12:15:03 +0000 (+0000) Subject: oopsie, bad headers replacement here X-Git-Tag: xorg/old~117 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=478bcea9cd4f6e5b3e002fe31c0020e4992144bd;p=platal.git oopsie, bad headers replacement here git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-645 --- diff --git a/templates/skin/default.tpl b/templates/skin/default.tpl index 4eb5f3b..49a0226 100644 --- a/templates/skin/default.tpl +++ b/templates/skin/default.tpl @@ -19,7 +19,16 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} - + + + + + + {include file=skin/common.header.tpl} + {include file=skin/common.bandeau.head.tpl} + + + {include file=skin/common.devel.tpl} {if $smarty.session.suid} diff --git a/templates/skin/espace.tpl b/templates/skin/espace.tpl index b8fe607..cecea8d 100644 --- a/templates/skin/espace.tpl +++ b/templates/skin/espace.tpl @@ -19,6 +19,16 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} + + + + + + {include file=skin/common.header.tpl} + {include file=skin/common.bandeau.head.tpl} + + + {include file=skin/common.devel.tpl} {if $smarty.session.suid}
diff --git a/templates/skin/humlinux.tpl b/templates/skin/humlinux.tpl index 6f3a467..61b2784 100644 --- a/templates/skin/humlinux.tpl +++ b/templates/skin/humlinux.tpl @@ -19,6 +19,16 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} + + + + + + {include file=skin/common.header.tpl} + {include file=skin/common.bandeau.head.tpl} + + + {include file=skin/common.devel.tpl} {if $smarty.session.suid}
diff --git a/templates/skin/linux.tpl b/templates/skin/linux.tpl index 0dd8132..a6fe1b6 100644 --- a/templates/skin/linux.tpl +++ b/templates/skin/linux.tpl @@ -19,6 +19,16 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} + + + + + + {include file=skin/common.header.tpl} + {include file=skin/common.bandeau.head.tpl} + + + {include file=skin/common.devel.tpl} {if $smarty.session.suid}
diff --git a/templates/skin/liteskin.tpl b/templates/skin/liteskin.tpl index 3168198..e73ff4e 100644 --- a/templates/skin/liteskin.tpl +++ b/templates/skin/liteskin.tpl @@ -19,6 +19,16 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} + + + + + + {include file=skin/common.header.tpl} + {include file=skin/common.bandeau.head.tpl} + + + {include file=skin/common.devel.tpl} {if $smarty.session.suid}
diff --git a/templates/skin/nbviolet.tpl b/templates/skin/nbviolet.tpl index 0e109ed..bfe1cf3 100644 --- a/templates/skin/nbviolet.tpl +++ b/templates/skin/nbviolet.tpl @@ -19,6 +19,16 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} + + + + + + {include file=skin/common.header.tpl} + {include file=skin/common.bandeau.head.tpl} + + + {include file=skin/common.devel.tpl} {if $smarty.session.suid}
diff --git a/templates/skin/newxorg.tpl b/templates/skin/newxorg.tpl index 1746c95..bbc2c0d 100644 --- a/templates/skin/newxorg.tpl +++ b/templates/skin/newxorg.tpl @@ -19,6 +19,16 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} + + + + + + {include file=skin/common.header.tpl} + {include file=skin/common.bandeau.head.tpl} + + + {include file=skin/common.devel.tpl} {if $smarty.session.suid}
diff --git a/templates/skin/oldtimes.tpl b/templates/skin/oldtimes.tpl index d16870e..8196417 100644 --- a/templates/skin/oldtimes.tpl +++ b/templates/skin/oldtimes.tpl @@ -19,6 +19,16 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} + + + + + + {include file=skin/common.header.tpl} + {include file=skin/common.bandeau.head.tpl} + + + {include file=skin/common.devel.tpl} {if $smarty.session.suid}
diff --git a/templates/skin/openweb.tpl b/templates/skin/openweb.tpl index 38ba6ed..051d626 100644 --- a/templates/skin/openweb.tpl +++ b/templates/skin/openweb.tpl @@ -19,6 +19,16 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} + + + + + + {include file=skin/common.header.tpl} + {include file=skin/common.bandeau.head.tpl} + + + {include file=skin/common.devel.tpl} {if $smarty.session.suid}
diff --git a/templates/skin/sharky.tpl b/templates/skin/sharky.tpl index b3f498e..7638e93 100644 --- a/templates/skin/sharky.tpl +++ b/templates/skin/sharky.tpl @@ -19,6 +19,16 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} + + + + + + {include file=skin/common.header.tpl} + {include file=skin/common.bandeau.head.tpl} + + + {include file=skin/common.devel.tpl} {if $smarty.session.suid}
diff --git a/templates/skin/spectral.tpl b/templates/skin/spectral.tpl index e22442e..15bfe89 100644 --- a/templates/skin/spectral.tpl +++ b/templates/skin/spectral.tpl @@ -19,6 +19,16 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} + + + + + + {include file=skin/common.header.tpl} + {include file=skin/common.bandeau.head.tpl} + + + {include file=skin/common.devel.tpl} {if $smarty.session.suid}
diff --git a/templates/skin/trapped.tpl b/templates/skin/trapped.tpl index 8cd95ba..d3b5eb0 100644 --- a/templates/skin/trapped.tpl +++ b/templates/skin/trapped.tpl @@ -19,6 +19,16 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} + + + + + + {include file=skin/common.header.tpl} + {include file=skin/common.bandeau.head.tpl} + + + {include file=skin/common.devel.tpl} {if $smarty.session.suid}
diff --git a/templates/vcard.tpl b/templates/vcard.tpl index d68cc9b..e600de6 100644 --- a/templates/vcard.tpl +++ b/templates/vcard.tpl @@ -19,5 +19,56 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} - +BEGIN:VCARD +VERSION:3.0 +{if $vcard.nom_usage} +FN;ENCODING=QUOTED-PRINTABLE:{"`$vcard.prenom` `$vcard.nom_usage` (`$vcard.nom`)"|qp_enc} +{else} +FN;ENCODING=QUOTED-PRINTABLE:{"`$vcard.prenom` `$vcard.nom`"|qp_enc} +{/if} +N;ENCODING=QUOTED-PRINTABLE:{$vcard.nom|qp_enc};{$vcard.prenom|qp_enc};{$vcard.nom_usage|qp_enc};; +EMAIL;TYPE=internet:{$vcard.bestalias}@polytechnique.org +{if $vcard.bestalias neq $vcard.forlife} +EMAIL;TYPE=internet:{$vcard.forlife}@polytechnique.org +{/if} +{if $vcard.virtualalias} +EMAIL;TYPE=internet:{$vcard.virtualalias} +{/if} +{if $vcard.mobile} +TEL;TYPE=cell;ENCODING=QUOTED-PRINTABLE:{$vcard.mobile|qp_enc} +{/if} +{if $vcard.adr_pro} +{if $vcard.adr_pro[0].entreprise} +ORG;ENCODING=QUOTED-PRINTABLE:{$vcard.adr_pro[0].entreprise|qp_enc} +{/if} +{if $vcard.adr_pro[0].poste} +TITLE;ENCODING=QUOTED-PRINTABLE:{$vcard.adr_pro[0].poste|qp_enc} +{/if} +{if $vcard.adr_pro[0].fonction} +ROLE;ENCODING=QUOTED-PRINTABLE:{$vcard.adr_pro[0].fonction|qp_enc} +{/if} +{if $vcard.adr_pro[0].tel} +TEL;TYPE=work;ENCODING=QUOTED-PRINTABLE:{$vcard.adr_pro[0].tel|qp_enc} +{/if} +{if $vcard.adr_pro[0].fax} +FAX;TYPE=work;ENCODING=QUOTED-PRINTABLE:{$vcard.adr_pro[0].fax|qp_enc} +{/if} +ADR;TYPE=work;ENCODING=QUOTED-PRINTABLE:{format_adr adr=$vcard.adr_pro[0]} +{/if} +{foreach item=adr from=$vcard.adr} +ADR;TYPE=home{if $adr.courier},postal{/if};ENCODING=QUOTED-PRINTABLE:{format_adr adr=$adr} +{if $adr.tel} +TEL;TYPE=home;ENCODING=QUOTED-PRINTABLE:{$adr.tel|qp_enc} +{/if} +{if $adr.fax} +FAX;TYPE=home;ENCODING=QUOTED-PRINTABLE:{$adr.fax|qp_enc} +{/if} +{/foreach} +{if $vcard.web} +URL;ENCODING=QUOTED-PRINTABLE:{$vcard.web|qp_enc} +{/if} +NOTE;ENCODING=QUOTED-PRINTABLE:{"(X`$vcard.promo`)\n`$vcard.libre`"|qp_enc} +SORT-STRING;ENCODING=QUOTED-PRINTABLE:{$vcard.nom|qp_enc} +REV:{$vcard.date|date_format:"%Y%m%dT000000Z"} +END:VCARD {* vim:set et sw=2 sts=2 sws=2: *} diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index 5ac7206..e49433c 100644 --- a/templates/xnet/skin.tpl +++ b/templates/xnet/skin.tpl @@ -19,7 +19,10 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} - + + + + Les associations polytechniciennes