1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-07 06:36:50 +02:00

V2 dev-version finished

This commit is contained in:
trendschau
2023-08-03 14:35:58 +02:00
parent 0462f15b4b
commit faee1fdb38
29 changed files with 54 additions and 146 deletions

View File

@@ -35,7 +35,7 @@ class ControllerWebSetup extends Controller
if( !$storage->checkFolder('fileFolder')){ $systemerrors[] = $storage->getError(); }
# check php-version
if (version_compare(phpversion(), '8.3.0', '<'))
if (version_compare(phpversion(), '8.0.0', '<'))
{
$systemerrors[] = 'The PHP-version of your server is ' . phpversion() . ' and Typemill needs at least 8.0.0';
}

View File

@@ -31,6 +31,7 @@ class Extension
$themeSettings = [];
foreach($themes as $themename => $themeinputs)
{
if(!is_array($themeinputs)){ $themeinputs = []; }
$themeSettings[$themename] = $themeinputs;
$themeSettings[$themename]['customcss'] = $this->storage->getFile('cacheFolder', '', $themename . '-custom.css');
}

View File

@@ -98,6 +98,8 @@ class Meta
{
$modified = false;
if(!is_array($meta['meta'])){ $meta['meta'] = []; }
if(!isset($meta['meta']['owner']))
{
$meta['meta']['owner'] = $currentuser ? $currentuser : false;

View File

@@ -71,11 +71,8 @@
<div class="content-center w-1/2 flex justify-center items-center">
<div class="max-w-md content-center">
<h2>Latest from Typemill</h2>
<p>Hey, get the latest news from Typemill please!</p>
<p>base_url(): {{ base_url() }}</p>
<p>current_url(): {{ current_url() }}</p>
<p>current_path(): {{ current_path() }}</p>
<h2 class="text-4xl py-5">Welcome back!</h2>
<p>What kind of information would be helpful or entertaining here?</p>
</div>
</div>

View File

@@ -84,8 +84,9 @@
{% endfor %}
</ul>
{% else %}
<h2 class="text-6xl py-5">Welcome to Typemill</h2>
<p>some bla bla bla here</p>
<h2 class="text-4xl py-5">Here comes Typemill</h2>
<p>Hey writer, author, editor, content-guru, or website-manager, we hope you like Typemill, because we coded it just for you.</p>
<p>Get inspired and enjoy your writing!</p>
{% endif %}
</div>
</div>

File diff suppressed because one or more lines are too long