diff --git a/templates/cassiopeia/error.php b/templates/cassiopeia/error.php index 2ed2a5385201f..bec04d72e98ec 100644 --- a/templates/cassiopeia/error.php +++ b/templates/cassiopeia/error.php @@ -110,7 +110,7 @@ countModules('top-a')) : ?>
- +
@@ -182,7 +182,7 @@ countModules('bottom-a')) : ?>
- +
diff --git a/templates/cassiopeia/html/layouts/chromes/cardGrey.php b/templates/cassiopeia/html/layouts/chromes/cardGrey.php deleted file mode 100644 index a374b1cbbf66c..0000000000000 --- a/templates/cassiopeia/html/layouts/chromes/cardGrey.php +++ /dev/null @@ -1,54 +0,0 @@ -content === null || $module->content === '') -{ - return; -} - -$moduleTag = $params->get('module_tag', 'div'); -$moduleAttribs = []; -$moduleAttribs['class'] = $module->position . ' card card-grey ' . htmlspecialchars($params->get('moduleclass_sfx'), ENT_QUOTES, 'UTF-8'); -$headerTag = htmlspecialchars($params->get('header_tag', 'h4'), ENT_QUOTES, 'UTF-8'); -$headerClass = htmlspecialchars($params->get('header_class', ''), ENT_QUOTES, 'UTF-8'); -$headerAttribs = []; -$headerAttribs['class'] = $headerClass; - -if ($module->showtitle) : - $moduleAttribs['aria-labelledby'] = 'mod-' . $module->id; - $headerAttribs['id'] = 'mod-' . $module->id; - - if ($headerClass !== 'card-title') : - $headerAttribs['class'] .= 'card-header ' . $headerClass; - endif; -else: - $moduleAttribs['aria-label'] = $module->title; -endif; - -$header = '<' . $headerTag . ' ' . ArrayHelper::toString($headerAttribs) . '>' . $module->title . ''; -?> -< > - showtitle && $headerClass !== 'card-title') : ?> - - -
- showtitle && $headerClass === 'card-title') : ?> - - - content; ?> -
-> diff --git a/templates/cassiopeia/index.php b/templates/cassiopeia/index.php index b18605c6923c6..20588e01a4a94 100644 --- a/templates/cassiopeia/index.php +++ b/templates/cassiopeia/index.php @@ -129,7 +129,7 @@ countModules('top-a')) : ?>
- +
@@ -146,13 +146,13 @@
- +
- +
countModules('sidebar-right')) : ?> @@ -163,7 +163,7 @@ countModules('bottom-a')) : ?>
- +