Personnalisation de template
Posté : jeu. 18 févr. 2010 13:33
re...
comment personnaliser la position des champs dans un template?
comment personnaliser la position des champs dans un template?
Code : Tout sélectionner
<?php defined('_JEXEC') or die('Restricted access'); ?>
<table class="adminform" width="200px" style="float: right; border : solid 1px;" >
<tr>
<td align=center >
<?php echo $this->createFieldDescription($this->fields[0]); ?>
</td>
</tr>
<tr>
<td>
par <?php echo $this->createFieldDescription($this->fields[2]); ?>
</td>
</tr>
<tr>
<td>
Echelle : <?php echo $this->createFieldDescription($this->fields[1]); ?>
</td>
</tr>
</table>
<table class="adminform" width="100%" >
<tr>
<td width="150px" >
<label for="name">
Marque
</label>
</td>
<td>
<?php echo $this->createFieldDescription($this->fields[3]); ?>
</td>
</tr>
<tr>
<td>
<label for="name">
Modèle
</label>
</td>
<td>
<?php echo $this->createFieldDescription($this->fields[4]); ?>
</td>
</tr>
<tr>
<td>
<label for="name">
Version
</label>
</td>
<td>
<?php echo $this->createFieldDescription($this->fields[5]); ?>
</td>
</tr>
<tr>
<td>
<label for="name">
Nombre
</label>
</td>
<td>
<?php echo $this->createFieldDescription($this->fields[6]); ?>
</td>
</tr>
<tr>
<td>
<label for="name">
Image
</label>
</td>
<td>
<?php echo $this->createFieldDescription($this->fields[7]); ?>
</td>
</tr>
<tr>
<td>
<label for="name">
Description
</label>
</td>
<td>
<?php echo $this->createFieldDescription($this->fields[8]); ?>
</td>
</tr>
</table>