Fraenkiman 4979cf2fb0 Reworked static.write and entry.write -panel
- Fixes #184

- Fixes the problem when the SEOmetatagInfo plugin and/or Tag plugin were active that no new entries or static pages could be written.
Note: Apparently the Smarty plugin function.toolbar.php does not work correctly with Smarty 4. Should be checked, as the datechanger plugin needs this.
- The HTML code of the administration area now contains a lang attribute in the html start tag to specify the language.
- The "Save page" and "Preview" -buttons in the "Create static pages" -panel now match the style of the other panels
-  Fixes various HTML errors in the PHP code and in the templates. "Write static page" and "Write entry" are now largely valid for HTML5.
- Fixed: in the SEOmetatagInfo plugin an opening <p> element followed an opening <p> element.
2023-12-21 18:35:40 +01:00

16 lines
516 B
Smarty

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="{$fp_config.locale.lang}">
<head>
<title>{$flatpress.title}{$pagetitle}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$flatpress.charset}">
{action hook=wp_head}
{action hook=admin_head}
</head>
{if !isset($panel)} {assign var=panel value=""} {/if}
{if !isset($action)} {assign var=action value=""} {/if}
<body class="{"admin-$panel-$action"|tag:admin_body_class}">
<div id="body-container">
<div id="outer-container">