diff --git a/plugins/box/filesmanager/views/backend/index.view.php b/plugins/box/filesmanager/views/backend/index.view.php index ddaf480..9894acd 100755 --- a/plugins/box/filesmanager/views/backend/index.view.php +++ b/plugins/box/filesmanager/views/backend/index.view.php @@ -7,7 +7,7 @@ Form::open(null, array('enctype' => 'multipart/form-data')). Form::hidden('csrf', Security::token()). Form::input('file', null, array('type' => 'file', 'size' => '25')).Html::br(). - Form::submit('upload_file', __('Upload', 'filesmanager'), array('class' => 'btn')). + Form::submit('upload_file', __('Upload', 'filesmanager'), array('class' => 'btn btn-small')). Form::close() ) ?> @@ -18,11 +18,19 @@ $value) { + if ($path_parts[$key] == '') { + unset($path_parts[$key]); + } + } + $s = ''; + foreach ($path_parts as $p) { $s .= $p.'/'; if($p == $current[count($current)-2]) $active = ' class="active"'; else $active = ''; - echo '/ '.$p.''; + echo ''.$p.' /'; } ?>