Update theme.blade.php

This commit is contained in:
Julian Prieber 2022-12-06 15:56:38 +01:00
parent a57af3df96
commit 889fa3bb07
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,7 @@
$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
if($page->theme != "default" and $page->theme != ""){
if(file_exists(base_path('themes') . '/' . $page->theme . '/readme.md')){
@ -200,6 +200,7 @@
}
$themeVe = NULL;
if(!isset($verNr)){$verNr = "error";};
if ($entry != "." && $entry != "..") {
echo '<tr>';