Skip to content

Commit

Permalink
Merge pull request #1420 from voltan/develop
Browse files Browse the repository at this point in the history
Work on core
  • Loading branch information
voltan authored Sep 16, 2016
2 parents bca9e6e + 7818deb commit 35e0126
Show file tree
Hide file tree
Showing 206 changed files with 32 additions and 20,474 deletions.
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,12 @@
[submodule "usr/module/sitemap"]
path = usr/module/sitemap
url = https://github.com/pi-module/sitemap
[submodule "usr/module/message"]
path = usr/module/message
url = https://github.com/pi-module/message
[submodule "usr/module/comment"]
path = usr/module/comment
url = https://github.com/pi-module/comment
[submodule "usr/module/search"]
path = usr/module/search
url = https://github.com/pi-module/search
7 changes: 0 additions & 7 deletions .idea/sqldialects.xml

This file was deleted.

11 changes: 11 additions & 0 deletions lib/Pi/Form/View/Helper/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,17 @@ public function render(FormInterface $form, $options = array())
</div>
</div>
<div class="%error_size% help-block">%error_content%</div>
EOT;
break;

case 'button':
$labelPattern = '';
$elementPattern =<<<EOT
<div class="%element_size% js-form-element">
%element_content%
%desc_html%
</div>
<div class="%error_size% help-block">%error_content%</div>
EOT;
break;

Expand Down
12 changes: 8 additions & 4 deletions lib/Pi/View/Helper/ThemeAssemble.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,11 +261,15 @@ public function renderStrategy($module)
$moduleMeta = Pi::registry('module')->read($module);
$headTitleStr = $moduleMeta['title'];
}
if ($headTitleStr && $headTitleStr != $sitename) {
$headTitle->set($headTitleStr);
} else {
$headTitle->set(Pi::config('slogan'));
if ($headTitleStr && $headTitleStr == $sitename) {
$headTitle->setPrefix('');
$headTitle->setPostfix('');
}
if (!empty($slogan)) {
$slogan = $separator . $slogan;
$headTitle->setPostfix($slogan);
}
$headTitle->set($headTitleStr);
}
}

Expand Down
1 change: 1 addition & 0 deletions usr/module/comment
Submodule comment added at 92f2ef
62 changes: 0 additions & 62 deletions usr/module/comment/asset/css/admin.css

This file was deleted.

102 changes: 0 additions & 102 deletions usr/module/comment/asset/css/block.css

This file was deleted.

Loading

0 comments on commit 35e0126

Please sign in to comment.