X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fjobs.secteur.tpl;h=1bf028d517e913d2f5fb6ff2b80d0e761c558cfb;hb=0bcc8717002a2ab1b8531e1a78aa403132b0ecbc;hp=dac620cb9060ea6c0db558c8cf4b8cbbb8defa7b;hpb=be6ab042d1dc34d9e42557281b48dd8da400231b;p=platal.git diff --git a/templates/profile/jobs.secteur.tpl b/templates/profile/jobs.secteur.tpl index dac620c..1bf028d 100644 --- a/templates/profile/jobs.secteur.tpl +++ b/templates/profile/jobs.secteur.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -21,10 +21,21 @@ {**************************************************************************} - {iterate from=$ssecteurs item=ssecteur} + {if $ssecteur.optgroup} + {if $gp} + + {/if} + + {assign var=1 name=gp} + {else} + {/if} + {if $gp} + + {/if} {/iterate}