new file: olm-login.php
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
<?php
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
$product_item = is_array($product_item ?? null) ? $product_item : [];
|
||||
$parts = (array) ($product_item['parts'] ?? []);
|
||||
?>
|
||||
<section class="kb-docs-product">
|
||||
<nav class="kb-breadcrumbs"><a href="<?php echo esc_url($url_builder::docsIndex()); ?>"><?php esc_html_e('Dokumentation', 'kb-markdown-importer'); ?></a><span>/</span><?php echo esc_html($product->name); ?></nav>
|
||||
<h1><?php echo esc_html($product->name); ?></h1>
|
||||
<h2><?php esc_html_e('Verfügbare Versionen', 'kb-markdown-importer'); ?></h2>
|
||||
<?php if (count($parts) > 1) : ?>
|
||||
<p class="kb-product-parts"><?php echo esc_html(implode(', ', array_map(static fn (array $part): string => (string) $part['label'], $parts))); ?></p>
|
||||
<?php endif; ?>
|
||||
<h2><?php esc_html_e('Verfuegbare Versionen', 'kb-markdown-importer'); ?></h2>
|
||||
<ul class="kb-version-list">
|
||||
<?php foreach ((array) $versions as $index => $version) : ?>
|
||||
<li>
|
||||
|
||||
Reference in New Issue
Block a user