mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 17:13:03 +01:00
Debug v18
This commit is contained in:
@@ -264,6 +264,7 @@ if ($action == 'create') {
|
||||
|
||||
print dol_get_fiche_head();
|
||||
|
||||
print '<div class="div-table-responsive">'; // You can use div-table-responsive-no-min if you dont need reserved height for your table
|
||||
print '<table class="border centpercent">';
|
||||
|
||||
// Id
|
||||
@@ -371,6 +372,7 @@ if ($action == 'create') {
|
||||
print '</td></td><td>'.$langs->trans('DetailTarget').'</td></tr>';
|
||||
|
||||
print '</table>';
|
||||
print '</div>';
|
||||
|
||||
print dol_get_fiche_end();
|
||||
|
||||
@@ -388,6 +390,7 @@ if ($action == 'create') {
|
||||
|
||||
print dol_get_fiche_head();
|
||||
|
||||
print '<div class="div-table-responsive">'; // You can use div-table-responsive-no-min if you dont need reserved height for your table
|
||||
print '<table class="border centpercent">';
|
||||
|
||||
$menu = new Menubase($db);
|
||||
@@ -489,7 +492,8 @@ if ($action == 'create') {
|
||||
print '</td></tr>';
|
||||
|
||||
// Target
|
||||
print '<tr><td>'.$langs->trans('Target').'</td><td><select class="flat" id="target" name="target">';
|
||||
print '<tr><td>'.$langs->trans('Target').'</td><td>';
|
||||
print '<select class="flat" id="target" name="target">';
|
||||
print '<option value=""'.($menu->target == "" ? ' selected' : '').'> </option>';
|
||||
print '<option value="_blank"'.($menu->target == "_blank" ? ' selected' : '').'>'.$langs->trans('_blank').'</option>';
|
||||
print '</select>';
|
||||
@@ -497,6 +501,7 @@ if ($action == 'create') {
|
||||
print '</td><td>'.$langs->trans('DetailTarget').'</td></tr>';
|
||||
|
||||
print '</table>';
|
||||
print '</div>';
|
||||
|
||||
print dol_get_fiche_end();
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ CREATE TABLE llx_menu
|
||||
url varchar(255) NOT NULL, -- Relative (or absolute) url to go
|
||||
target varchar(100) NULL, -- Target of Url link
|
||||
titre varchar(255) NOT NULL, -- Key for menu translation
|
||||
prefix varchar(255) NULL, -- prefix
|
||||
prefix varchar(255) NULL, -- picto
|
||||
langs varchar(100), -- Lang file to load for translation
|
||||
level smallint, -- Deprecated. Not used.
|
||||
perms text, -- Condition to show enabled or disabled
|
||||
|
||||
Reference in New Issue
Block a user