Update theme.blade.php

This commit is contained in:
Julian Prieber 2022-12-06 15:56:38 +01:00
parent a57af3df96
commit 889fa3bb07

View File

@ -28,7 +28,7 @@
$themeName = substr($matches[0][0],12); $themeName = substr($matches[0][0],12);
} }
} }
if($page->theme != $entry){echo '<option value="'; print_r($entry); echo '">'; echo $themeName; echo '</option>'; }}}} ?> if($page->theme != $entry and isset($themeName)){echo '<option value="'; print_r($entry); echo '">'; echo $themeName; echo '</option>'; }}}} ?>
<?php <?php
if($page->theme != "default" and $page->theme != ""){ if($page->theme != "default" and $page->theme != ""){
if(file_exists(base_path('themes') . '/' . $page->theme . '/readme.md')){ if(file_exists(base_path('themes') . '/' . $page->theme . '/readme.md')){
@ -200,6 +200,7 @@
} }
$themeVe = NULL; $themeVe = NULL;
if(!isset($verNr)){$verNr = "error";};
if ($entry != "." && $entry != "..") { if ($entry != "." && $entry != "..") {
echo '<tr>'; echo '<tr>';