modifs mise en page
This commit is contained in:
parent
ad40551bc2
commit
091a502687
@ -86,8 +86,9 @@ print '<tr><td valign="top" width="30%">';
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
<?php print $langs->trans("In"); ?>
|
<tr><td><?php print $langs->trans ("AddIn"); ?></td><td>
|
||||||
<?php print $html->select_all_categories($categorie->id_mere);?>
|
<?php print $html->select_all_categories($categorie->id_mere);?>
|
||||||
|
</td></tr>
|
||||||
|
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@ -125,7 +125,9 @@ if ($user->rights->produit->creer)
|
|||||||
print '<tr><td valign="top">'.$langs->trans("Description").'</td><td>';
|
print '<tr><td valign="top">'.$langs->trans("Description").'</td><td>';
|
||||||
print '<textarea name="description" rows="6" cols="50">';
|
print '<textarea name="description" rows="6" cols="50">';
|
||||||
print $categorie->description.'</textarea></td></tr>';
|
print $categorie->description.'</textarea></td></tr>';
|
||||||
|
print '<tr><td>'.$langs->trans ("AddIn").'</td><td>';
|
||||||
print $html->select_all_categories();
|
print $html->select_all_categories();
|
||||||
|
print '</td></tr>';
|
||||||
print '<tr><td colspan="2" align="center">';
|
print '<tr><td colspan="2" align="center">';
|
||||||
print '<input type="submit" class="button" value="'.$langs->trans("CreateThisCat").'" name="creation" id="creation"/>';
|
print '<input type="submit" class="button" value="'.$langs->trans("CreateThisCat").'" name="creation" id="creation"/>';
|
||||||
print '</td></tr></form>';
|
print '</td></tr></form>';
|
||||||
|
|||||||
@ -37,7 +37,7 @@ if (!$user->rights->categorie->lire) accessforbidden();
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
llxHeader("","",$langs->trans("Categories"));
|
llxHeader("","",$langs->trans("Categories"));
|
||||||
|
$html = new Form($db);
|
||||||
print_fiche_titre($langs->trans("CategoriesArea"));
|
print_fiche_titre($langs->trans("CategoriesArea"));
|
||||||
|
|
||||||
print '<table border="0" width="100%" class="notopnoleftnoright">';
|
print '<table border="0" width="100%" class="notopnoleftnoright">';
|
||||||
@ -56,18 +56,16 @@ print '<td colspan="3">'.$langs->trans("Search").'</td>';
|
|||||||
print '</tr>';
|
print '</tr>';
|
||||||
print '<tr '.$bc[0].'><td>';
|
print '<tr '.$bc[0].'><td>';
|
||||||
print $langs->trans("Name").':</td><td><input class="flat" type="text" size="20" name="catname" value="' . $_POST['catname'] . '"/></td><td><input type="submit" class="button" value="'.$langs->trans ("Search").'"></td></tr>';
|
print $langs->trans("Name").':</td><td><input class="flat" type="text" size="20" name="catname" value="' . $_POST['catname'] . '"/></td><td><input type="submit" class="button" value="'.$langs->trans ("Search").'"></td></tr>';
|
||||||
|
/*
|
||||||
|
// faire une rech dans une sous catégorie uniquement
|
||||||
print '<tr '.$bc[0].'><td>';
|
print '<tr '.$bc[0].'><td>';
|
||||||
print $langs->trans("SubCatOf").':</td><td><select class="flat" name="subcatof" />';
|
print $langs->trans("SubCatOf").':</td><td>';
|
||||||
print '<option value="-1">'.$langs->trans("Choose").'</option>';
|
|
||||||
|
|
||||||
$cats = $c->get_all_meres ();
|
print $html->select_all_categories('','subcatof');
|
||||||
|
print '</td>';
|
||||||
|
print '<td><input type="submit" class="button" value="'.$langs->trans ("Search").'"></td></tr>';
|
||||||
|
*/
|
||||||
|
|
||||||
foreach ($cats as $cat)
|
|
||||||
{
|
|
||||||
print "<option value='".$cat->id."'>".htmlentities ($cat->label, ENT_QUOTES)."</option>\n";
|
|
||||||
}
|
|
||||||
|
|
||||||
print '</select></td><td><input type="submit" class="button" value="'.$langs->trans ("Search").'"></td></tr>';
|
|
||||||
print '</table></form>';
|
print '</table></form>';
|
||||||
|
|
||||||
print '</td><td valign="top" width="70%">';
|
print '</td><td valign="top" width="70%">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user