mirror of
https://github.com/danpros/htmly.git
synced 2026-04-23 22:16:23 +05:30
Translate menu
This commit is contained in:
parent
588c6823f2
commit
347b26bba2
2 changed files with 2 additions and 2 deletions
|
|
@ -1628,7 +1628,7 @@ function toolbar()
|
||||||
$toolbar .= <<<EOF
|
$toolbar .= <<<EOF
|
||||||
<link href="{$base}system/resources/css/toolbar.css" rel="stylesheet" />
|
<link href="{$base}system/resources/css/toolbar.css" rel="stylesheet" />
|
||||||
EOF;
|
EOF;
|
||||||
$toolbar .= '<div id="toolbar"><label for="menu-toggle" id="menu-button">☰ Menu</label><input type="checkbox" id="menu-toggle"><div id="menu"><ul>';
|
$toolbar .= '<div id="toolbar"><label for="menu-toggle" id="menu-button">☰ ' . i18n('Menu') . '</label><input type="checkbox" id="menu-toggle"><div id="menu"><ul>';
|
||||||
$toolbar .= '<li class="tb-admin"><a href="' . $base . 'admin">' . i18n('Admin') . '</a></li>';
|
$toolbar .= '<li class="tb-admin"><a href="' . $base . 'admin">' . i18n('Admin') . '</a></li>';
|
||||||
$toolbar .= '<li class="tb-addcontent"><a href="' . $base . 'admin/content">' . i18n('Add_content') . '</a></li>';
|
$toolbar .= '<li class="tb-addcontent"><a href="' . $base . 'admin/content">' . i18n('Add_content') . '</a></li>';
|
||||||
if ($role === 'editor' || $role === 'admin') {
|
if ($role === 'editor' || $role === 'admin') {
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ body {
|
||||||
font-family: Georgia, sans-serif;
|
font-family: Georgia, sans-serif;
|
||||||
left: 0;
|
left: 0;
|
||||||
margin: 0 -20px;
|
margin: 0 -20px;
|
||||||
padding: 0 25px;
|
padding: 0 35px;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue