<?php
require("auto.prepend.inc.php");
-new_skinned_page('profil.tpl',AUTH_COOKIE, true);
+new_skinned_page('profil.tpl',AUTH_COOKIE, true, 'profil.head.tpl');
if ($no_update_bd) {
$_REQUEST = array();
<?php
function select_fonction($fonction){
- echo "<option value=\"\" ". (($fonction == '0')?"selected":"") ."> </option>\n";
+ echo "<option value=\"\" ". (($fonction == '0')?"selected='selected'":"") ."> </option>\n";
$res = mysql_query("SELECT id, fonction_fr, FIND_IN_SET('titre', flags) from fonctions_def ORDER BY id");
while(list($fid, $flabel, $ftitre) = mysql_fetch_row($res)){
if($ftitre)
- echo "<option value=\"$fid\" " . (($fonction == $fid)?"selected":"") . ">$flabel</option>\n";
+ echo "<option value=\"$fid\" " . (($fonction == $fid)?"selected='selected'":"") . ">$flabel</option>\n";
else
- echo "<option value=\"$fid\" " . (($fonction == $fid)?"selected":"") . ">* $flabel</option>\n";
+ echo "<option value=\"$fid\" " . (($fonction == $fid)?"selected='selected'":"") . ">* $flabel</option>\n";
}
mysql_free_result($res);
}
$result = mysql_query($sql);
while (list($my_id,$my_pays) = mysql_fetch_row($result))
- printf("<option value=\"%s\" %s>%s</option>\n",$my_id,($current==$my_id?"selected":""),$my_pays);
+ printf("<option value=\"%s\" %s>%s</option>\n",$my_id,($current==$my_id?"selected='selected'":""),$my_pays);
}
function _geoloc_pays_smarty($params){
if(!isset($params['pays']))
echo "<option value=\"\"></option>";
while (list($regid,$regname) = mysql_fetch_row($result))
- printf("<option value=\"%s\" %s>%s</option>\n",$regid,($current==$regid?"selected":""),$regname);
+ printf("<option value=\"%s\" %s>%s</option>\n",$regid,($current==$regid?"selected='selected'":""),$regname);
}
function _geoloc_region_smarty($params){
if(!isset($params['pays']))
function select_comppros_name($cproname){
global $comppros_def, $comppros_title;
reset($comppros_def);
- echo "<option value=\"\"".(($cproname == "")?" selected":"")."></option>";
+ echo "<option value=\"\"".(($cproname == "")?" selected='selected'":"")."></option>";
foreach( $comppros_def as $cid => $cname){
if($comppros_title[$cid] == 1){
//c'est un titre de categorie
- echo "<option value=\"$cid\"".(($cname == $cproname)?" selected":"").">$cname</option>";
+ echo "<option value=\"$cid\"".(($cname == $cproname)?" selected='selected'":"").">$cname</option>";
}
else{
- echo "<option value=\"$cid\"".(($cname == $cproname)?" selected":"").">- $cname</option>";
+ echo "<option value=\"$cid\"".(($cname == $cproname)?" selected='selected'":"").">- $cname</option>";
}
}
}
function select_langue_name($lgname){
global $langues_def;
reset($langues_def);
- echo "<option value=\"\"".(($lgname == "")?" selected":"")."></option>";
+ echo "<option value=\"\"".(($lgname == "")?" selected='selected'":"")."></option>";
foreach( $langues_def as $lid => $lname){
- echo "<option value=\"$lid\"".(($lname == $lgname)?" selected":"").">$lname</option>";
+ echo "<option value=\"$lid\"".(($lname == $lgname)?" selected='selected'":"").">$lname</option>";
}
}
function _select_langue_name($params){
function select_langue_level($llevel){
global $langues_levels;
reset($langues_levels);
- echo "<option value=\"\"".(($lgname == "")?" selected":"")."></option>";
+ echo "<option value=\"\"".(($lgname == "")?" selected='selected'":"")."></option>";
foreach( $langues_levels as $level => $levelname){
- echo "<option value=\"$level\"".(($llevel == $level)?" selected":"")."> $levelname </option>";
+ echo "<option value=\"$level\"".(($llevel == $level)?" selected='selected'":"")."> $levelname </option>";
}
}
function _select_langue_level($params){
function select_secteur($secteur){
if($secteur == '') $secteur = -1;
- echo "<option value=\"\" ". (($secteur == '')?"selected":"") ."> </option>\n";
+ echo "<option value=\"\" ". (($secteur == '')?"selected='selected'":"") ."> </option>\n";
$res = mysql_query("SELECT id, label FROM emploi_secteur");
while(list($tmp_id, $tmp_label) = mysql_fetch_row($res)){
- echo "<option value=\"$tmp_id\" " . (($secteur == $tmp_id)?"selected":"") . ">$tmp_label</option>\n";
+ echo "<option value=\"$tmp_id\" " . (($secteur == $tmp_id)?"selected='selected'":"") . ">$tmp_label</option>\n";
}
mysql_free_result($res);
}
echo "<option value=\"\"> </option>\n";
$res = mysql_query("SELECT id, label FROM emploi_ss_secteur WHERE secteur = '$secteur'");
while(list($tmp_id, $tmp_label) = mysql_fetch_row($res)){
- echo "<option value=\"$tmp_id\" ". (($ss_secteur == $tmp_id)?"selected":"") .">$tmp_label</option>\n";
+ echo "<option value=\"$tmp_id\" ". (($ss_secteur == $tmp_id)?"selected='selected'":"") .">$tmp_label</option>\n";
}
mysql_free_result($res);
}
else{
- echo "<option value=\"\" selected> </option>\n";
+ echo "<option value=\"\" selected='selected'> </option>\n";
}
}
<li>
<a href="<?php echo "{$_SERVER['PHP_SELF']}?old_tab=$tab_name";?>">
<?php echo $tabname_array["$tab_name"];?>
- </A>
+ </a>
</li>
<?php }
}
--- /dev/null
+{* $Id: profil.head.tpl,v 1.1 2004-08-30 11:35:37 x2000habouzit Exp $ *}
+
+{literal}
+<style type="text/css">
+ <!--
+ div.blocunite {margin: 1em 0em 2em 0em;}
+ div.blocunite_tab {margin: 0em 0em 2em 0em;}
+ div.bloc {margin: 0em 0.5em 0.5em 0.5em;}
+ div.erreur {background-color: #FF3300; padding-left=0.5em; margin: 2px;}
+ table.bicol td.cold,td.col {padding-right: 0.5em;}
+ table.bicol td.colm {}
+ table.bicol td.colg,td.col {padding-left: 0.5em;}
+ table.bicol td.dcolm, td.dcolg, td.dcold {padding-bottom: 0.5em;}
+ table.bicol td.dcolg {padding-left: 0.5em;}
+ table.bicol td.dcold {padding-right: 0.5em;}
+ table.bicol td.pflags {}
+ table.bicol td.flags {padding-top: 0.5em;}
+ table.bicol tr.top {vertical-align: top;}
+ table.bicol span.titre {font-weight: bold;}
+ table.bicol span.comm {font-size: smaller;}
+ table.bicol span.nom {}
+ table.bicol span.valeur {font-weight: bold;}
+ table.bicol span.lien {font-size: smaller;}
+ -->
+</style>
+{/literal}
+
+{* vim:set et sw=2 sts=2 sws=2: *}
-{* $Id: profil.tpl,v 1.5 2004-08-24 23:06:05 x2000habouzit Exp $ *}
+{* $Id: profil.tpl,v 1.6 2004-08-30 11:35:37 x2000habouzit Exp $ *}
{config_load file="profil.conf"}
-{literal}
-<style>
- <!--
- div.blocunite {margin: 1em 0em 2em 0em;}
- div.blocunite_tab {margin: 0em 0em 2em 0em;}
- div.bloc {margin: 0em 0.5em 0.5em 0.5em;}
- div.erreur {background-color: #FF3300; padding-left=0.5em; margin: 2px;}
- table.bicol td.cold,td.col {padding-right: 0.5em;}
- table.bicol td.colm {}
- table.bicol td.colg,td.col {padding-left: 0.5em;}
- table.bicol td.dcolm, td.dcolg, td.dcold {padding-bottom: 0.5em;}
- table.bicol td.dcolg {padding-left: 0.5em;}
- table.bicol td.dcold {padding-right: 0.5em;}
- table.bicol td.pflags {}
- table.bicol td.flags {padding-top: 0.5em;}
- table.bicol tr.top {vertical-align: top;}
- table.bicol span.titre {font-weight: bold;}
- table.bicol span.comm {font-size: smaller;}
- table.bicol span.nom {}
- table.bicol span.valeur {font-weight: bold;}
- table.bicol span.lien {font-size: smaller;}
- -->
-</style>
-{/literal}
-
{dynamic}
{if $etat_naissance}
{include file="profil/naissance.tpl"}
{/if}
{* dessin des onglets *}
-<form action="{$smarty.server.PHP_SELF}" method="post" name="prof_annu">
- <input type="hidden" value="" name="binet_op" />
- <input type="hidden" value="" name="binet_id" />
- <input type="hidden" value="" name="groupex_op" />
- <input type="hidden" value="" name="groupex_id" />
- <input type="hidden" value="{$onglet}" name="old_tab" />
- <input type="hidden" value="" name="adresse_flag" />
+<form action="{$smarty.server.PHP_SELF}" method="post" id="prof_annu">
<table class="cadre_a_onglet" cellpadding="0" cellspacing="0">
<tr>
<td>
{draw_onglets}
+ <input type="hidden" value="" name="binet_op" />
+ <input type="hidden" value="" name="binet_id" />
+ <input type="hidden" value="" name="groupex_op" />
+ <input type="hidden" value="" name="groupex_id" />
+ <input type="hidden" value="{$onglet}" name="old_tab" />
+ <input type="hidden" value="" name="adresse_flag" />
</td>
</tr>
<tr>
<div class="conteneur_tab">
<table style="width:100%">
<tr>
- <td colspan=2>
+ <td colspan="2">
{include file=$onglet_tpl}
</td>
</tr>
-{* $Id: adresses.tpl,v 1.4 2004-08-24 23:06:06 x2000habouzit Exp $ *}
+{* $Id: adresses.tpl,v 1.5 2004-08-30 11:35:37 x2000habouzit Exp $ *}
<div class="blocunite_tab">
<table class="bicol" cellspacing="0" cellpadding="0" summary="Profil: Adresses personnelles">
<input type="radio" name="secondaire[{$adrid}]" value="1" {if $adr.secondaire}checked="checked"{/if} />
une résidence secondaire
</td>
- <tr>
- <td class="colg">
-
- </td>
- <td class="cold">
- <input type="checkbox" name="courrier[{$adrid}]" value="1" {if $adr.courrier}checked="checked"{/if} /> on peut m'y envoyer du courrier par la poste
- </td>
- </tr>
- <tr>
- <td colspan="2" class="flags">
- <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
- <tr>
- <td class="vert">
- <input type="checkbox" name="tel_public[{$adrid}]" value="1" {if $adr.tel_public}checked="checked"{/if} />
- </td>
- <td class="texte">
- site public
- </td>
- <td class="orange">
- <input type="checkbox" name="tel_ax[{$adrid}]" value="1" {if $adr.tel_ax}checked="checked"{/if} />
- </td>
- <td class="texte">
- transmis à l'AX
- </td>
- <td class="texte">
- <a href="javascript:x()" onclick="popWin('aide.php#flags','remplissage','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=400,height=500')">Quelle couleur ??</a>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td class="colg">
- <span class="titre">Téléphone associé</span>
- </td>
- <td>
- <input type="text" size="19" maxlength="28" name="tel[{$adrid}]" value="{$adr.tel}" />
-
- <span class="titre">Fax</span>
- <input type="text" size="19" maxlength="28" name="fax[{$adrid}]" value="{$adr.fax}" />
- </td>
- </tr>
- <tr><td colspan="5"> </td></tr>
- {/section}
- <tr><td colspan="5"> </td></tr>
- </table>
- </div>
+ </tr>
+ <tr>
+ <td class="colg">
+
+ </td>
+ <td class="cold">
+ <input type="checkbox" name="courrier[{$adrid}]" value="1" {if $adr.courrier}checked="checked"{/if} /> on peut m'y envoyer du courrier par la poste
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="flags">
+ <table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="vert">
+ <input type="checkbox" name="tel_public[{$adrid}]" value="1" {if $adr.tel_public}checked="checked"{/if} />
+ </td>
+ <td class="texte">
+ site public
+ </td>
+ <td class="orange">
+ <input type="checkbox" name="tel_ax[{$adrid}]" value="1" {if $adr.tel_ax}checked="checked"{/if} />
+ </td>
+ <td class="texte">
+ transmis à l'AX
+ </td>
+ <td class="texte">
+ <a href="javascript:x()" onclick="popWin('aide.php#flags','remplissage','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=400,height=500')">Quelle couleur ??</a>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="colg">
+ <span class="titre">Téléphone associé</span>
+ </td>
+ <td>
+ <input type="text" size="19" maxlength="28" name="tel[{$adrid}]" value="{$adr.tel}" />
+
+ <span class="titre">Fax</span>
+ <input type="text" size="19" maxlength="28" name="fax[{$adrid}]" value="{$adr.fax}" />
+ </td>
+ </tr>
+ <tr><td colspan="5"> </td></tr>
+ {/section}
+ <tr><td colspan="5"> </td></tr>
+ </table>
+</div>
- {* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2: *}
-{* $Id: general.tpl,v 1.6 2004-08-24 23:06:06 x2000habouzit Exp $ *}
+{* $Id: general.tpl,v 1.7 2004-08-30 11:35:37 x2000habouzit Exp $ *}
{include file="applis.js.tpl"}
<div class="blocunite_tab">
</select>
<script type="text/javascript">
<!--
- fillType(document.prof_annu.appli_type1, document.prof_annu.appli_id1.selectedIndex-1);
- selectType(document.prof_annu.appli_type1, '{dyn x=$appli_type1}');
+ fillType(document.forms.prof_annu.appli_type1, document.forms.prof_annu.appli_id1.selectedIndex-1);
+ selectType(document.forms.prof_annu.appli_type1, '{dyn x=$appli_type1}');
//-->
</script>
</td>
</select>
<script type="text/javascript">
<!--
- fillType(document.prof_annu.appli_type2, document.prof_annu.appli_id2.selectedIndex-1);
- selectType(document.prof_annu.appli_type2, '{dyn x=$appli_type2}');
+ fillType(document.forms.prof_annu.appli_type2, document.forms.prof_annu.appli_id2.selectedIndex-1);
+ selectType(document.forms.prof_annu.appli_type2, '{dyn x=$appli_type2}');
//-->
</script>
</td>
</td>
</tr>
<tr>
- <td class="col" colspan=3>
+ <td class="col" colspan="3">
<table cellspacing="0" cellpadding="0" summary="Trombinoscope">
<tr>
<td class="dcold">
<a href="javascript:x()" onclick="popWin('fiche.php?user={$smarty.session.username}&modif=new','_blank','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=620,height=370')">nouvelle photo</a>).
</td>
<td class="dcolg">
- <img src="getphoto.php?x={$smarty.session.uid}{*{if $smarty.cookies|@count == 0}&{php}echo SID;{/php}{/if}*}" alt=" [ PHOTO ] ">
+ <img src="getphoto.php?x={$smarty.session.uid}{*{if $smarty.cookies|@count == 0}&{php}echo SID;{/php}{/if}*}" alt=" [ PHOTO ] " />
</td>
</tr>
</table>
-{* $Id: mentor.tpl,v 1.5 2004-08-26 14:44:45 x2000habouzit Exp $ *}
+{* $Id: mentor.tpl,v 1.6 2004-08-30 11:35:37 x2000habouzit Exp $ *}
{literal}
-<script language="JavaScript" type="text/javascript">
- <!--
-
+<script type="text/javascript">
+ <![CDATA[
function mentor_pays_add()
{
- var selid = document.prof_annu.mentor_pays_id_new.selectedIndex;
- document.prof_annu.mentor_pays_id.value = document.prof_annu.mentor_pays_id_new.options[selid].value;
- document.prof_annu.mentor_pays_name.value = document.prof_annu.mentor_pays_id_new.options[selid].text;
- document.prof_annu.mentor_pays_op.value = "ajouter";
- document.prof_annu.submit();
+ var selid = document.forms.prof_annu.mentor_pays_id_new.selectedIndex;
+ document.forms.prof_annu.mentor_pays_id.value = document.forms.prof_annu.mentor_pays_id_new.options[selid].value;
+ document.forms.prof_annu.mentor_pays_name.value = document.forms.prof_annu.mentor_pays_id_new.options[selid].text;
+ document.forms.prof_annu.mentor_pays_op.value = "ajouter";
+ document.forms.prof_annu.submit();
} // function mentor_pays_add()
function mentor_pays_del( pid )
{
- document.prof_annu.mentor_pays_id.value = pid;
- document.prof_annu.mentor_pays_op.value = "retirer";
- document.prof_annu.submit();
+ document.forms.prof_annu.mentor_pays_id.value = pid;
+ document.forms.prof_annu.mentor_pays_op.value = "retirer";
+ document.forms.prof_annu.submit();
} // function mentor_pays_del( pid )
function mentor_secteur_add()
{
- var selid_secteur = document.prof_annu.mentor_secteur_id_new.selectedIndex;
- document.prof_annu.mentor_secteur_id.value = document.prof_annu.mentor_secteur_id_new.options[selid_secteur].value;
- document.prof_annu.mentor_secteur_name.value = document.prof_annu.mentor_secteur_id_new.options[selid_secteur].text;
- var selid_ss_secteur = document.prof_annu.mentor_ss_secteur_id_new.selectedIndex;
- document.prof_annu.mentor_ss_secteur_id.value = document.prof_annu.mentor_ss_secteur_id_new.options[selid_ss_secteur].value;
- document.prof_annu.mentor_ss_secteur_name.value = document.prof_annu.mentor_ss_secteur_id_new.options[selid_ss_secteur].text;
- document.prof_annu.mentor_secteur_op.value = "ajouter";
- document.prof_annu.submit();
+ var selid_secteur = document.forms.prof_annu.mentor_secteur_id_new.selectedIndex;
+ document.forms.prof_annu.mentor_secteur_id.value = document.forms.prof_annu.mentor_secteur_id_new.options[selid_secteur].value;
+ document.forms.prof_annu.mentor_secteur_name.value = document.forms.prof_annu.mentor_secteur_id_new.options[selid_secteur].text;
+ var selid_ss_secteur = document.forms.prof_annu.mentor_ss_secteur_id_new.selectedIndex;
+ document.forms.prof_annu.mentor_ss_secteur_id.value = document.forms.prof_annu.mentor_ss_secteur_id_new.options[selid_ss_secteur].value;
+ document.forms.prof_annu.mentor_ss_secteur_name.value = document.forms.prof_annu.mentor_ss_secteur_id_new.options[selid_ss_secteur].text;
+ document.forms.prof_annu.mentor_secteur_op.value = "ajouter";
+ document.forms.prof_annu.submit();
} // function mentor_secteur_add()
function mentor_secteur_del( sid )
{
- document.prof_annu.mentor_secteur_id.value = sid;
- document.prof_annu.mentor_secteur_op.value = "retirer";
- document.prof_annu.submit();
+ document.forms.prof_annu.mentor_secteur_id.value = sid;
+ document.forms.prof_annu.mentor_secteur_op.value = "retirer";
+ document.forms.prof_annu.submit();
} // function mentor_secteur_del( sid )
- //-->
+ //]]>
</script>
{/literal}
<p>
Si tu acceptes que ceux de nos camarades qui,
+</p>
<ul>
<li>encore jeunes, sont en train de bâtir leur projet professionnel,</li>
<li>ou bien, plus âgés, souhaitent réorienter leur carrière,</li>
</ul>
+<p>
te contactent afin de te demander conseil, dans les domaines que tu connais
bien, et pour lesquels tu pourrais les aider, remplis cette rubrique.<br />
Tu peux mentionner ici les domaines de compétences, les expériences
<tr>
<th colspan="3">
Pays dont tu connais bien la culture professionnelle
+ <input type="hidden" value="" name="mentor_pays_op" />
+ <input type="hidden" value="00" name="mentor_pays_id" />
+ <input type="hidden" value="" name="mentor_pays_name" />
</th>
</tr>
- <input type="hidden" value="" name="mentor_pays_op" />
- <input type="hidden" value="00" name="mentor_pays_id" />
- <input type="hidden" value="" name="mentor_pays_name" />
<tr>
<td colspan="3" class="pflags">
<table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
<tr>
<th colspan="3">
Secteurs d'activité dans lesquels tu as beaucoup exercé
+ <input type="hidden" value="" name="mentor_secteur_op" />
+ <input type="hidden" value="" name="mentor_secteur_id" />
+ <input type="hidden" value="" name="mentor_secteur_name" />
+ <input type="hidden" value="" name="mentor_ss_secteur_id" />
+ <input type="hidden" value="" name="mentor_ss_secteur_name" />
</th>
</tr>
- <input type="hidden" value="" name="mentor_secteur_op" />
- <input type="hidden" value="" name="mentor_secteur_id" />
- <input type="hidden" value="" name="mentor_secteur_name" />
- <input type="hidden" value="" name="mentor_ss_secteur_id" />
- <input type="hidden" value="" name="mentor_ss_secteur_name" />
<tr>
<td colspan="3" class="pflags">
<table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
<tr class="impair">
{/if}
<td class="colg">
- <select name="mentor_secteur_id_new" OnChange="javascript:submit()">
+ <select name="mentor_secteur_id_new" onchange="javascript:submit()">
{select_secteur secteur=$mentor_secteur_id_new}
</select>
</td>
-{* $Id: poly.tpl,v 1.2 2004-07-17 12:07:32 x2000habouzit Exp $ *}
+{* $Id: poly.tpl,v 1.3 2004-08-30 11:35:37 x2000habouzit Exp $ *}
{literal}
-<script language="JavaScript" type="text/javascript">
- <!--
-
+<script type="text/javascript">//<![CDATA[
/** defgroup user_profile Gestion du profil utilisateur */
/** ajout d'un binet au profil de l'utilisateur en base de données
*/
function binet_add()
{
- var selid = document.prof_annu.binet_sel.selectedIndex;
- document.prof_annu.binet_id.value = document.prof_annu.binet_sel.options[selid].value;
- document.prof_annu.binet_op.value = "ajouter";
- document.prof_annu.submit();
+ var selid = document.forms.prof_annu.binet_sel.selectedIndex;
+ document.forms.prof_annu.binet_id.value = document.forms.prof_annu.binet_sel.options[selid].value;
+ document.forms.prof_annu.binet_op.value = "ajouter";
+ document.forms.prof_annu.submit();
} // function binet_add()
*/
function binet_del( id )
{
- document.prof_annu.binet_id.value = id;
- document.prof_annu.binet_op.value = "retirer";
- document.prof_annu.submit();
+ document.forms.prof_annu.binet_id.value = id;
+ document.forms.prof_annu.binet_op.value = "retirer";
+ document.forms.prof_annu.submit();
} // END function binet_del( id )
*/
function groupex_add()
{
- var selid = document.prof_annu.groupex_sel.selectedIndex;
- document.prof_annu.groupex_id.value = document.prof_annu.groupex_sel.options[selid].value;
- document.prof_annu.groupex_op.value = "ajouter";
- document.prof_annu.submit();
+ var selid = document.forms.prof_annu.groupex_sel.selectedIndex;
+ document.forms.prof_annu.groupex_id.value = document.forms.prof_annu.groupex_sel.options[selid].value;
+ document.forms.prof_annu.groupex_op.value = "ajouter";
+ document.forms.prof_annu.submit();
} // END function groupex_add()
/** suppression d'un groupeX du profil de l'utilisateur en base de données
*/
function groupex_del( id )
{
- document.prof_annu.groupex_id.value = id;
- document.prof_annu.groupex_op.value = 'retirer';
- document.prof_annu.submit();
+ document.forms.prof_annu.groupex_id.value = id;
+ document.forms.prof_annu.groupex_op.value = 'retirer';
+ document.forms.prof_annu.submit();
} // END function groupex_del( id )
- //-->
+ //]]>
</script>
{/literal}
<div class="blocunite_tab">
<table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
<tr>
<td class="rouge">
- <input type="checkbox" name="accesX" checked"checked" disabled="disabled" />
+ <input type="checkbox" name="accesX" checked="checked" disabled="disabled" />
</td>
<td class="texte">
ne peut être ni public ni transmis à l'AX
-{* $Id: skill.tpl,v 1.3 2004-07-17 12:06:31 x2000habouzit Exp $ *}
+{* $Id: skill.tpl,v 1.4 2004-08-30 11:35:37 x2000habouzit Exp $ *}
{literal}
-<script language="JavaScript" type="text/javascript">
- <!--
-
+<script type="text/javascript">
+ //<![CDATA[
function langue_add()
{
- var selectid = document.prof_annu.langue_sel_add.selectedIndex;
- document.prof_annu.langue_id.value = document.prof_annu.langue_sel_add.options[selectid].value;
- var selectid_level = document.prof_annu.langue_level_sel_add.selectedIndex;
- document.prof_annu.langue_level.value = document.prof_annu.langue_level_sel_add.options[selectid_level].value;
- document.prof_annu.langue_op.value = "ajouter";
- document.prof_annu.submit();
+ var selectid = document.forms.prof_annu.langue_sel_add.selectedIndex;
+ document.forms.prof_annu.langue_id.value = document.forms.prof_annu.langue_sel_add.options[selectid].value;
+ var selectid_level = document.forms.prof_annu.langue_level_sel_add.selectedIndex;
+ document.forms.prof_annu.langue_level.value = document.forms.prof_annu.langue_level_sel_add.options[selectid_level].value;
+ document.forms.prof_annu.langue_op.value = "ajouter";
+ document.forms.prof_annu.submit();
} // function langue_add()
function langue_del( lid )
{
- document.prof_annu.langue_id.value = lid;
- document.prof_annu.langue_op.value = "retirer";
- document.prof_annu.submit();
+ document.forms.prof_annu.langue_id.value = lid;
+ document.forms.prof_annu.langue_op.value = "retirer";
+ document.forms.prof_annu.submit();
} // function langue_del( id )
function comppros_add()
{
- var selectid = document.prof_annu.comppros_sel_add.selectedIndex;
- document.prof_annu.comppros_id.value = document.prof_annu.comppros_sel_add.options[selectid].value;
- var selectid_level = document.prof_annu.comppros_level_sel_add.selectedIndex;
- document.prof_annu.comppros_level.value = document.prof_annu.comppros_level_sel_add.options[selectid_level].value;
- document.prof_annu.comppros_op.value = "ajouter";
- document.prof_annu.submit();
+ var selectid = document.forms.prof_annu.comppros_sel_add.selectedIndex;
+ document.forms.prof_annu.comppros_id.value = document.forms.prof_annu.comppros_sel_add.options[selectid].value;
+ var selectid_level = document.forms.prof_annu.comppros_level_sel_add.selectedIndex;
+ document.forms.prof_annu.comppros_level.value = document.forms.prof_annu.comppros_level_sel_add.options[selectid_level].value;
+ document.forms.prof_annu.comppros_op.value = "ajouter";
+ document.forms.prof_annu.submit();
} // function langue_add()
function comppros_del( cid )
{
- document.prof_annu.comppros_id.value = cid;
- document.prof_annu.comppros_op.value = "retirer";
- document.prof_annu.submit();
+ document.forms.prof_annu.comppros_id.value = cid;
+ document.forms.prof_annu.comppros_op.value = "retirer";
+ document.forms.prof_annu.submit();
} // function comppros_del( id )
- //-->
+ //]]>
</script>
{/literal}
<tr>
<th colspan="3">
Compétences professionnelles
+ <input type="hidden" value="" name="comppros_op" />
+ <input type="hidden" value="" name="comppros_id" />
+ <input type="hidden" value="" name="comppros_level" />
</th>
</tr>
- <input type="hidden" value="" name="comppros_op" />
- <input type="hidden" value="" name="comppros_id" />
- <input type="hidden" value="" name="comppros_level" />
<tr>
<td colspan="3" class="pflags">
<table class="flags" summary="Flags" cellpadding="0" cellspacing="0">
<tr>
<th colspan="3">
Compétences linguistiques
+ <input type="hidden" value="" name="langue_op" />
+ <input type="hidden" value="" name="langue_id" />
+ <input type="hidden" value="" name="langue_level" />
</th>
</tr>
- <input type="hidden" value="" name="langue_op" />
- <input type="hidden" value="" name="langue_id" />
- <input type="hidden" value="" name="langue_level" />
<tr>
<td colspan="3" class="pflags">
<table class="flags" summary="Flags" cellpadding="0" cellspacing="0">