<!--
   -------------------------------------------------------
   Sur une ide et ralisation de Alatourette AxCit
   -  Copyright Alatourette AxCit 2002-2004 pour NPDS  -
   -------------------------------------------------------

<!-- Add by Alatourette AxCit / Fonction Texte 1 colonne -->
<input type="image" name="bloc2" src="plugins/images/txt.gif" onClick="InsertTxt();">&nbsp;&nbsp;
<script>
function InsertTxt() {
   window.opener.tinyMCE.execCommand('mceInsertContent',true,
   "<table width='100%' border='0'><tr><td width='100%' valign='top'>texte &agrave; ins&eacute;rer</td></tr></table>");
}
</script>
<!-- Add by Alatourette AxCit / Fonction Texte 1 colonne -->


<!-- Add by Alatourette AxCit / Fonction Texte 2 colonnes -->
<input type="image" name="bloc2" src="plugins/images/txttxt.gif" onClick="InsertTxtTxt();"><br />
<script>
function InsertTxtTxt() {
   window.opener.tinyMCE.execCommand('mceInsertContent',true,
   "<table width='100%' border='0'><tr><td width='50%' valign='top'>texte &agrave; ins&eacute;rer dans la colonne 1</td><td>&nbsp;&nbsp;</td><td width='50%' valign='top'>texte &agrave; ins&eacute;rer dans la colonne 2</td></tr></table>");
}
</script>
<!-- Add by Alatourette AxCit / Fonction Texte 2 colonnes -->


<!-- Add by Alatourette AxCit / Fonction col-Image & col-Texte -->
<input type="image" name="bloc2" src="plugins/images/imgtxt.gif" onClick="InsertImgTxt();">&nbsp;&nbsp;
<script>
function InsertImgTxt() {
   window.opener.tinyMCE.execCommand('mceInsertContent',true,
   "<table width='100%' border='0'><tr><td width='5%' valign='top'><img src='editeur/plugins/images/defaut.gif'></td><td width='95%' valign='top'>texte &agrave; ins&eacute;rer</td></tr></table>");
}
</script>
<!-- Add by Alatourette AxCit / Fonction col-Image & col-Texte -->


<!-- Add by Alatourette AxCit / Fonction col-Texte & col-Image -->
<input type="image" name="bloc2" src="plugins/images/txtimg.gif" onClick="InsertTxtImg();">&nbsp;&nbsp;
<script>
function InsertTxtImg() {
   window.opener.tinyMCE.execCommand('mceInsertContent',true,
   "<table width='100%' border='0'><tr><td width='95%' valign='top'>texte &agrave; ins&eacute;rer</td><td width='5%' valign='top'><img src='editeur/plugins/images/defaut.gif'></td></tr></table>");
}
</script>
<!-- Add by Alatourette AxCit / Fonction col-Texte & col-Image -->


<!-- Add by Alatourette AxCit / Fonction col-Image & col-Texte & col-Image -->
<input type="image" name="bloc2" src="plugins/images/imgtxtimg.gif" onClick="InsertImgTxtImg();"><br><hr noshade>
<script>
function InsertImgTxtImg() {
   window.opener.tinyMCE.execCommand('mceInsertContent',true,
   "<table width='100%' border='0'><tr><td width='5%' valign='top'><img src='editeur/plugins/images/defaut.gif'></td><td width='90%' valign='top'>texte &agrave; ins&eacute;rer</td><td width='5%' valign='top'><img src='editeur/plugins/images/defaut.gif'></td></tr></table>");
}
</script>
<!-- Add by Alatourette AxCit / Fonction col-Image & col-Texte & col-Image -->

<!-- Add by Alatourette AxCit / Fonction Liste  puces -->
<center>
<table width="95%" cellspacing="0" cellpadding="3" border="0">
<tr>
<td valign="top">
<form name="puce">
<font class="noir"><b><?php echo editor_translate("Insrer une liste  puce"); ?></b></font><br /><br />
<font class="noir"><?php echo editor_translate("Nombre de lignes"); ?> :</font>&nbsp;<input class="TEXTBOX_STANDARD" type="text" name="lig" size="3" value="2"><br />
<input type="radio" name="coulpuce" checked onClick="check1()"><img src="plugins/images/11.gif">&nbsp;
<input type="radio" name="coulpuce" onClick="check2()"><img src="plugins/images/12.gif">&nbsp;
<input type="radio" name="coulpuce" onClick="check3()"><img src="plugins/images/13.gif">&nbsp;
<input type="radio" name="coulpuce" onClick="check4()"><img src="plugins/images/14.gif"><br /><br />
<input type="hidden" name="couleur" value="11">
<input type="image" name="tab1" src="plugins/images/listpuce.gif" onClick="InsertPuce();">
</td>
</form>
</tr></table>
<script>
function check1() { //v2.0
  var info = document.puce;
  info.coulpuce[1].checked=false;
  info.coulpuce[2].checked=false;
  info.coulpuce[3].checked=false;
  info.couleur.value = "11";
}
function check2() { //v2.0
  var info = document.puce;
  info.coulpuce[0].checked=false;
  info.coulpuce[2].checked=false;
  info.coulpuce[3].checked=false;
  info.couleur.value = "12";
}
function check3() { //v2.0
  var info = document.puce;
  info.coulpuce[1].checked=false;
  info.coulpuce[0].checked=false;
  info.coulpuce[3].checked=false;
  info.couleur.value = "13";
}
function check4() { //v2.0
  var info = document.puce;
  info.coulpuce[1].checked=false;
  info.coulpuce[2].checked=false;
  info.coulpuce[0].checked=false;
  info.couleur.value = "14";
}
  
function InsertPuce() {
   var info = document.puce; 
   if (info.lig.value != "0") {
      var contenu = "<table width='100%' border='0'>";
      for (i = 1; i <= info.lig.value; i++) {
         contenu = contenu + "<tr>";
         contenu = contenu + "<td width='3%' valign='top'><img src='editeur/plugins/images/";
         contenu = contenu + info.couleur.value;
         contenu = contenu + ".gif' width='11' height='11'></td><td width='97%'>texte de la liste &agrave; puce</td>";
         contenu = contenu + "</tr>";
      }
      contenu = contenu + "</table>";
      window.opener.tinyMCE.execCommand('mceInsertContent',true,contenu);
   }
}
</script>
<!-- Add by Alatourette AxCit / Fonction Liste  puces -->