Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pablo Rauzy
cigala
Commits
469147cf
Commit
469147cf
authored
May 06, 2021
by
Pablo Rauzy
Browse files
add base tag to admin interface as all internal links are absolute now
parent
7548f259
Changes
1
Hide whitespace changes
Inline
Side-by-side
root/cigala.php
View file @
469147cf
...
...
@@ -1011,6 +1011,7 @@ else {
<head>
<title>
Cigala:
<?php
echo
$settings
[
'title'
];
?>
</title>
<meta
charset=
"utf-8"
/>
<base
href=
"
<?php
echo
$settings
[
'url'
],(
dirname
(
$file
)
==
'.'
?
''
:
dirname
(
$file
)
.
'/'
);
?>
"
/>
<?php
if
(
$settings
[
'css'
])
:
?>
<link
rel=
"stylesheet"
href=
"
<?php
echo
((
strpos
(
$settings
[
'css'
],
'//'
)
===
false
)
?
$settings
[
'url'
]
:
''
),
$settings
[
'css'
];
?>
"
type=
"text/css"
media=
"screen"
/>
<?php
endif
;
?>
...
...
@@ -1462,7 +1463,7 @@ else {
</div>
<?php
endif
;
?>
</div>
<
!--
p><small>I'm currently testing new features, you may experience some unstability, sorry for that!.</small></p
--
>
<p><small>
I'm currently testing new features, you may experience some unstability, sorry for that!.
</small></p>
<?php
if
(
$nonpubmod
>
0
)
:
?>
<div
id=
"banner"
><p>
You have non-published modifications.
</p></div>
<?php
endif
;
?>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment