Commit 469147cf authored by Pablo Rauzy's avatar Pablo Rauzy
Browse files

add base tag to admin interface as all internal links are absolute now

parent 7548f259
......@@ -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; ?>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment