|
|
@ -17,6 +17,8 @@ class MasonryItemWidget {
|
|
|
|
// 获取父级瀑布流参数
|
|
|
|
// 获取父级瀑布流参数
|
|
|
|
$masonryParams = MasonryWidget::getMasonryParams();
|
|
|
|
$masonryParams = MasonryWidget::getMasonryParams();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$text = trim($text);
|
|
|
|
|
|
|
|
|
|
|
|
$content = $text = $parser->recursiveTagParse($text, $frame);
|
|
|
|
$content = $text = $parser->recursiveTagParse($text, $frame);
|
|
|
|
if (!$masonryParams) {
|
|
|
|
if (!$masonryParams) {
|
|
|
|
return '<span class="error">' . wfMessage('isekai-masonry-item-must-in-masonry')->parse() . '</span>' . $content;
|
|
|
|
return '<span class="error">' . wfMessage('isekai-masonry-item-must-in-masonry')->parse() . '</span>' . $content;
|
|
|
|