table.tinybicol td, table.bicol td, table.tinybicol tr, table.bicol tr { padding: 4px; }
td.half { width: 50%; padding: 4px; }
-td.titre {
+.titre {
color: #000000;
background: inherit;
font-weight: bold;
$wiz->addPage('ProfileAddresses', 'Adresses personnelles', 'adresses');
$wiz->addPage('ProfileGroups', 'Groupes X - Binets', 'poly');
$wiz->addPage('ProfileDecos', 'Décorations - Medailles', 'deco');
- $wiz->addPage('ProfilePro', 'Informations professionnelles', 'emploi');
+ $wiz->addPage('ProfileJobs', 'Informations professionnelles', 'emploi');
$wiz->addPage('ProfileSkills', 'Compétences diverses', 'skill');
$wiz->addPage('ProfileMentor', 'Mentoring', 'mentor');
$wiz->apply($page, 'profile/edit', $opened_tab);
--- /dev/null
+<?php
+/***************************************************************************
+ * Copyright (C) 2003-2007 Polytechnique.org *
+ * http://opensource.polytechnique.org/ *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the Free Software *
+ * Foundation, Inc., *
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
+ ***************************************************************************/
+
+class ProfileJobs extends ProfilePage
+{
+ protected $pg_template = 'profile/jobs.tpl';
+
+ public function __construct(PlWizard &$wiz)
+ {
+ parent::__construct($wiz);
+ }
+}
+
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+?>
require_once dirname(__FILE__) . '/addresses.inc.php';
require_once dirname(__FILE__) . '/groups.inc.php';
require_once dirname(__FILE__) . '/decos.inc.php';
+require_once dirname(__FILE__) . '/jobs.inc.php';
// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
?>
</div>
{/foreach}
{if $addresses|@count eq 0}
-<div id="addresses_0">
+<div id="addresses_0_cont">
{include file="profile/adresses.address.tpl" i=0 adr=0}
</div>
{/if}
de changer ta photo, celle-ci correspond à ton ancien
profil car la nouvelle n'a pas encore été validée par un administrateur du site !
<a href="profile/{$smarty.session.forlife}?modif=new" class="popup2">Ta fiche avec la nouvelle photo</a>)
- {/if}.
+ {/if} :
</td>
<td class="dcolg">
<img src="photo/{$smarty.session.forlife}" alt=" [ PHOTO ] " />
</tr>
<tr>
<td class="dcolg">
- <span class="titre">Complément libre</span>
- <span class="comm">Commentaire ? ICQ ? etc...</span>
- </td>
- <td class="dcold">
- <div id="ft_preview" style="display: none"></div>
- <textarea name="freetext" {if $errors.freetext}class="error"{/if} id="freetext" rows="3" cols="29" >{$freetext}</textarea>
- <br/>
- <span class="smaller">
+ <div>
+ <span class="titre">Complément libre</span>
+ <span class="comm">Commentaire ? ICQ ? etc...</span>
+ </div>
+ <div class="smaller" style="margin-top: 30px">
<a href="wiki_help/notitle" class="popup3">
{icon name=information title="Syntaxe wiki"} Voir la syntaxe wiki autorisée pour le commentaire
</a>
- </span><br />
- <input type="submit" name="preview" value="Aperçu" onclick="previewWiki('freetext', 'ft_preview', true, 'ft_preview'); return false;" />
+ <div class="center">
+ <input type="submit" name="preview" value="Aperçu"
+ onclick="previewWiki('freetext', 'ft_preview', true, 'ft_preview'); return false;" />
+ </div>
+ </div>
+ </td>
+ <td class="dcold">
+ <div id="ft_preview" style="display: none"></div>
+ <textarea name="freetext" {if $errors.freetext}class="error"{/if}
+ id="freetext" rows="8" cols="35" >{$freetext}</textarea>
</td>
</tr>
</table>
</td>
</tr>
<tr class="top">
- <td class="titre">
+ <td class="titre" style="width: 30%">
<script type="text/javascript">printTitle("Section")</script>
</td>
<td>
{* *}
{**************************************************************************}
-
-{section name=adresses_pro loop=2}
-{assign var='i' value=$smarty.section.adresses_pro.index}
-
-<table class="bicol" cellspacing="0" cellpadding="0" summary="Profil: Informations professionnelles - Entreprise n°{$i+1}">
+<table class="bicol" cellspacing="0" cellpadding="0" summary="Entreprise n°{$eid+1}">
<tr>
<th colspan="2">
- Informations professionnelles - Entreprise n°{$i+1}
+ Entreprise n°{$eid+1}
</th>
</tr>
{include file=include/flags.radio.tpl name="pubpro[$i]" val=$pubpro.$i}
</tr>
</table>
-{/section}
-
-<table class="bicol" cellspacing="0" cellpadding="0" summary="Profil: Informations professionnelles - CV">
- <tr>
- <th colspan="2">
- Informations professionnelles - CV
- </th>
- </tr>
- <tr>
- <td colspan="2" class="flags">
- <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
- <tr>
- <td class="rouge">
- <input type="checkbox" name="accesCV" checked="checked" disabled="disabled" />
- </td>
- <td class="texte">
- privé
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td class="dcolg">
- <span class="titre">Curriculum vitae</span><br />
- <span class="comm">Le CV n'est <strong>jamais</strong> public.<br />
- <a href="Xorg/FAQ?display=light#cv" class="popup_800x480">Comment remplir mon CV ?</a></span><br />
- <span class="comm"><a href="wiki_help" class="popup3">{icon name=information title="Syntaxe wiki"} Voir la syntaxe wiki</a></span>
- </td>
- <td class="dcold">
- <div id="cv_preview" style="display: none"></div>
- <textarea name="cv" id="cv" rows="15" cols="40">{$cv}</textarea><br />
- <input type="submit" name="preview" value="Aperçu" onclick="previewWiki('cv', 'cv_preview', true, 'cv_preview'); return false;" />
- </td>
- </tr>
-</table>
-
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
--- /dev/null
+{**************************************************************************}
+{* *}
+{* Copyright (C) 2003-2007 Polytechnique.org *}
+{* http://opensource.polytechnique.org/ *}
+{* *}
+{* This program is free software; you can redistribute it and/or modify *}
+{* it under the terms of the GNU General Public License as published by *}
+{* the Free Software Foundation; either version 2 of the License, or *}
+{* (at your option) any later version. *}
+{* *}
+{* This program is distributed in the hope that it will be useful, *}
+{* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
+{* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
+{* GNU General Public License for more details. *}
+{* *}
+{* You should have received a copy of the GNU General Public License *}
+{* along with this program; if not, write to the Free Software *}
+{* Foundation, Inc., *}
+{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
+{* *}
+{**************************************************************************}
+
+
+{foreach from=$entreprises item=job key=i}
+<div id="{"job_`$i`_cont"}">
+{include file="profile/jobs.job.tpl" i=$i job=$job}
+</div>
+{/foreach}
+{if $jobs|@count eq 0}
+<div id="job_0_cont">
+{include file="profile/jobs.job.tpl" i=0 job=0}
+</div>
+{/if}
+
+<div id="add_job" class="center">
+ <a href="javascript:addJob()">
+ {icon name=add title="Ajouter un emploi"} Ajouter un emploi
+ </a>
+</div>
+
+<table class="bicol" summary="CV">
+ <tr>
+ <th>
+ Informations professionnelles - CV
+ </th>
+ </tr>
+ <tr>
+ <td>
+ <div style="float: left; width: 25%">
+ <div class="titre">Curriculum vitae :</div>
+ <div class="flags">
+ <span class="rouge"><input type="checkbox" name="accesCV" checked="checked" disabled="disabled" /></span>
+ <span class="texte">privé</span>
+ </div>
+ <div class="smaller" style="margin-top: 30px">
+ <a href="Xorg/FAQ?display=light#cv" class="popup_800x480">
+ {icon name="lightbulb" title="Astuce"}Comment remplir mon CV ?
+ </a><br />
+ <a href="wiki_help" class="popup3">
+ {icon name=information title="Syntaxe wiki"} Voir la syntaxe wiki
+ </a>
+ <div class="center">
+ <input type="submit" name="preview" value="Aperçu du CV"
+ onclick="previewWiki('cv', 'cv_preview', true, 'cv_preview'); return false;" />
+ </div>
+ </div>
+ </div>
+ <div style="float: right">
+ <div id="cv_preview" style="display: none"></div>
+ <textarea name="cv" id="cv" rows="15" cols="55">{$cv}</textarea>
+ </div>
+ </td>
+ </tr>
+</table>
+
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}