🔥 remove more code related to bludit pro

This commit is contained in:
Kazhnuz 2025-01-18 20:46:11 +01:00
parent 3e7bb6c7b3
commit 62d78dc24f
6 changed files with 8 additions and 9 deletions

View file

@ -34,4 +34,4 @@ echo '
echo '</form>'; echo '</form>';
echo '<p class="mt-3 text-right">' . $L->g('Powered by Koblog') . ((defined('KOBLOG_PRO')) ? ' PRO' : '') . '</p>'; echo '<p class="mt-3 text-right">' . $L->g('Powered by Koblog') . '</p>';

View file

@ -7,8 +7,7 @@ class pluginLinks extends Plugin
{ {
// JSON database // JSON database
$jsondb = json_encode(array( $jsondb = json_encode(array(
'Koblog' => 'https://www.koblog.com', 'Koblog' => 'https://git.kobold.cafe/kazhnuz/koblog',
'Koblog PRO' => 'https://pro.koblog.com'
)); ));
// Fields and default values for the database of this plugin // Fields and default values for the database of this plugin
@ -91,7 +90,7 @@ class pluginLinks extends Plugin
$html .= '<div>'; $html .= '<div>';
$html .= '<label>' . $L->get('Url') . '</label>'; $html .= '<label>' . $L->get('Url') . '</label>';
$html .= '<input name="linkURL" type="text" dir="auto" class="form-control" value="" placeholder="https://www.koblog.com/">'; $html .= '<input name="linkURL" type="text" dir="auto" class="form-control" value="" placeholder="https://git.kobold.cafe/kazhnuz/koblog/">';
$html .= '</div>'; $html .= '</div>';
$html .= '<div>'; $html .= '<div>';

View file

@ -39,10 +39,10 @@ class pluginVersion extends Plugin
global $L; global $L;
$html = ''; $html = '';
if ($this->getValue('showCurrentVersion')) { if ($this->getValue('showCurrentVersion')) {
$html = '<a id="current-version" class="nav-link" href="' . HTML_PATH_ADMIN_ROOT . 'about' . '">' . $L->get('Version') . ' ' . (defined('KOBLOG_PRO') ? '<span class="bi-heart" style="color: #ffc107"></span>' : '') . '<span class="badge bg-warning rounded-pill">' . KOBLOG_VERSION . '</span></a>'; $html = '<a id="current-version" class="nav-link" href="' . HTML_PATH_ADMIN_ROOT . 'about' . '">' . $L->get('Version') . ' <span class="badge bg-warning rounded-pill">' . KOBLOG_VERSION . '</span></a>';
} }
if ($this->getValue('newVersionAlert')) { if ($this->getValue('newVersionAlert')) {
$html .= '<a id="new-version" style="display: none;" target="_blank" href="https://www.koblog.com">' . $L->get('New version available') . ' <span class="bi-bell" style="color: red"></span></a>'; $html .= '<a id="new-version" style="display: none;" target="_blank" href="https://git.kobold.cafe/kazhnuz/koblog">' . $L->get('New version available') . ' <span class="bi-bell" style="color: red"></span></a>';
} }
return $html; return $html;
} }

View file

@ -1,5 +1,5 @@
<footer class="footer bg-dark"> <footer class="footer bg-dark">
<div class="container"> <div class="container">
<p class="m-0 text-center text-white text-uppercase"><?php echo $site->footer(); ?><span class="ms-5 text-warning"><img class="mini-logo" src="<?php echo DOMAIN_THEME_IMG.'favicon.png'; ?>"/> Powered by <a target="_blank" class="text-white" href="https://www.koblog.com"><?php echo (defined('KOBLOG_PRO'))?'KOBLOG PRO':'KOBLOG' ?></a></span></p> <p class="m-0 text-center text-white text-uppercase"><?php echo $site->footer(); ?><span class="ms-5 text-warning"><img class="mini-logo" src="<?php echo DOMAIN_THEME_IMG.'favicon.png'; ?>"/> Powered by <a target="_blank" class="text-white" href="https://git.kobold.cafe/kazhnuz/koblog">KOBLOG</a></span></p>
</div> </div>
</footer> </footer>

View file

@ -1,5 +1,5 @@
<footer class="footer bg-dark"> <footer class="footer bg-dark">
<div class="container"> <div class="container">
<p class="m-0 text-center text-white text-uppercase"><?php echo $site->footer(); ?><span class="ms-5 text-warning"><img class="mini-logo" src="<?php echo DOMAIN_THEME_IMG.'favicon.png'; ?>"/> Powered by <a target="_blank" class="text-white" href="https://www.koblog.com"><?php echo (defined('KOBLOG_PRO'))?'KOBLOG PRO':'KOBLOG' ?></a></span></p> <p class="m-0 text-center text-white text-uppercase"><?php echo $site->footer(); ?><span class="ms-5 text-warning"><img class="mini-logo" src="<?php echo DOMAIN_THEME_IMG.'favicon.png'; ?>"/> Powered by <a target="_blank" class="text-white" href="https://git.kobold.cafe/kazhnuz/koblog">KOBLOG</a></span></p>
</div> </div>
</footer> </footer>

View file

@ -6,6 +6,6 @@
} }
?> ?>
</ul> </ul>
<p class="m-0 mt-2">Powered by <a class="color-blue" href="https://www.koblog.com">Koblog</a> - Open source CMS</p> <p class="m-0 mt-2">Powered by <a class="color-blue" href="https://git.kobold.cafe/kazhnuz/koblog">Koblog</a> - Open source CMS</p>
</div> </div>
</footer> </footer>