Skip to content

Commit

Permalink
Slight UI fixes; Fix concretecms#3814
Browse files Browse the repository at this point in the history
Former-commit-id: 97dc42e
Former-commit-id: 9f212f4bff97a78c7fad1d2a563c1f4ffaf2da1e
  • Loading branch information
aembler committed May 18, 2016
1 parent 92bddb8 commit a129d9a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 4 additions & 3 deletions concrete/src/Block/BlockType/BlockTypeList.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<?php
namespace Concrete\Core\Block\BlockType;

use Concrete\Core\Entity\Block\BlockType\BlockType as BlockTypeEntity;
use Core;
use Loader;
use BlockType as ConcreteBlockType;
use Package;

use Concrete\Core\Legacy\DatabaseItemList;

class BlockTypeList extends DatabaseItemList
Expand All @@ -30,7 +31,7 @@ public function get($itemsToGet = 100, $offset = 0)
$r = parent::get($itemsToGet, intval($offset));
$blocktypes = array();
foreach ($r as $row) {
$bt = ConcreteBlockType::getByID($row['btID']);
$bt = BlockType::getByID($row['btID']);
if (is_object($bt)) {
$blocktypes[] = $bt;
}
Expand Down Expand Up @@ -84,7 +85,7 @@ public static function getAvailableList()
if (is_dir($fdir) && !in_array($file, $btHandles) && file_exists($fdir . '/' . FILENAME_BLOCK_CONTROLLER)) {
$bt = BlockType::getByHandle($file);
if (!is_object($bt)) {
$bt = new BlockType();
$bt = new BlockTypeEntity();
$bt->setBlockTypeHandle($file);
$class = $bt->getBlockTypeClass();
$bta = new $class();
Expand Down
2 changes: 1 addition & 1 deletion concrete/themes/concrete/elements/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
?>
</head>
<body>
<div class="ccm-ui ccm-ui-fieldless">
<div class="ccm-ui">

<?php if ($showLogo) {
?>
Expand Down
4 changes: 4 additions & 0 deletions concrete/views/frontend/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
}
?>

<div class="ccm-ui-fieldless">

<style type="text/css">@import "<?=ASSETS_URL_CSS?>/views/install.css";</style>
<script type="text/javascript" src="<?=ASSETS_URL_JAVASCRIPT?>/bootstrap/tooltip.js"></script>
<script type="text/javascript" src="<?=ASSETS_URL_JAVASCRIPT?>/jquery-cookie.js"></script>
Expand Down Expand Up @@ -663,3 +665,5 @@

<?php
} ?>

</div>

0 comments on commit a129d9a

Please sign in to comment.