mirror of
https://github.com/typemill/typemill.git
synced 2025-07-12 18:16:22 +02:00
Version 1.1.7 Improved Session Management
This commit is contained in:
2
cache/lastCache.txt
vendored
2
cache/lastCache.txt
vendored
@ -1 +1 @@
|
||||
1527608103
|
||||
1528043723
|
@ -38,9 +38,17 @@ class SettingsController extends Controller
|
||||
|
||||
if($newSettings)
|
||||
{
|
||||
$copyright = $this->getCopyright();
|
||||
$newSettings['startpage'] = isset($newSettings['startpage']) ? true : false;
|
||||
/* make sure only allowed fields are stored */
|
||||
$newSettings = array(
|
||||
'title' => $newSettings['title'],
|
||||
'author' => $newSettings['author'],
|
||||
'copyright' => $newSettings['copyright'],
|
||||
'year' => $newSettings['year'],
|
||||
'statpage' => isset($newSettings['startpage']) ? true : false
|
||||
);
|
||||
|
||||
$copyright = $this->getCopyright();
|
||||
|
||||
$validate->settings($newSettings, $copyright, 'settings');
|
||||
}
|
||||
|
||||
@ -572,7 +580,7 @@ class SettingsController extends Controller
|
||||
"None"
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
private function getLanguages()
|
||||
{
|
||||
return array(
|
||||
|
@ -3,10 +3,12 @@
|
||||
<h1>{{ item.name }}</h1>
|
||||
|
||||
{% endif %}
|
||||
|
||||
<h1>{{ }}</h1>
|
||||
|
||||
{{ content }}
|
||||
|
||||
{% if settings.themes.typemill.modified %}
|
||||
{% if settings.themes.typemill.modified %}
|
||||
<p><small>{{ settings.themes.typemill.modifiedText }}: {{ item.modified|date(settings.themes.typemill.modifiedFormat) }}</small></p>
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user