mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
Page/Menu Overview column widths
This commit is contained in:
@@ -638,20 +638,29 @@ class page_admin_ui extends e_admin_ui
|
|||||||
$this->sortField = false;
|
$this->sortField = false;
|
||||||
|
|
||||||
$this->fields['menu_title']['width'] = 'auto';
|
$this->fields['menu_title']['width'] = 'auto';
|
||||||
|
$this->fields['menu_image']['readParms'] = 'thumb=60x55';
|
||||||
|
$this->fields['menu_image']['width'] = 'auto';
|
||||||
|
|
||||||
$this->fields['page_title']['width'] = 'auto';
|
$this->fields['page_title']['width'] = 'auto';
|
||||||
|
|
||||||
$this->fields['options']['type'] = 'method';
|
$this->fields['options']['type'] = 'method';
|
||||||
|
|
||||||
|
|
||||||
foreach($this->fields as $k=>$fld)
|
foreach($this->fieldpref as $k)
|
||||||
{
|
{
|
||||||
$this->fields[$k]['nolist'] = false;
|
$this->fields[$k]['nolist'] = false;
|
||||||
|
|
||||||
|
if($k === 'page_id')
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if(strpos($k,'menu_') === 0)
|
if(strpos($k,'menu_') === 0)
|
||||||
{
|
{
|
||||||
$this->fields[$k]['class'] = 'menu-field '.$fld['class'];
|
$this->fields[$k]['class'] = 'menu-field '.$this->fields[$k]['class'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->fields[$k]['width'] = '13%';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1549,7 +1549,7 @@ body#admin-menus #sc-admin-help .panel-body {
|
|||||||
|
|
||||||
.e-image-preview { display:inline-block }
|
.e-image-preview { display:inline-block }
|
||||||
|
|
||||||
|
td img.thumbnail { margin-bottom:0 }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user