mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
Upload 'file' button in admin area - styling fix.
This commit is contained in:
parent
a3674a7bf0
commit
d63e4063e2
@ -1744,7 +1744,15 @@ class e_form
|
||||
*/
|
||||
function file($name, $options = array())
|
||||
{
|
||||
if(e_ADMIN_AREA && empty($options['class']))
|
||||
{
|
||||
$options = array('class'=>'tbox well file');
|
||||
}
|
||||
|
||||
$options = $this->format_options('file', $name, $options);
|
||||
|
||||
|
||||
|
||||
//never allow id in format name-value for text fields
|
||||
return "<input type='file' name='{$name}'".$this->get_attributes($options, $name)." />";
|
||||
}
|
||||
|
@ -186,6 +186,8 @@ table label.checkbox { margin-left: 20px }
|
||||
.form-control-feedback-left { left:0; top:0 }
|
||||
.has-feedback-left input { padding-left:30px; }
|
||||
|
||||
td .file.well { margin-bottom:0 }
|
||||
|
||||
/* #admin-ui-list-filter #searchquery { padding-left:22px; } */
|
||||
#admin-ui-list-db-language { padding-top:20px ; padding-right:30px }
|
||||
#admin-ui-list-total-records { padding-top:5px }
|
||||
|
Loading…
x
Reference in New Issue
Block a user