Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Citronalco
zpbase
Commits
18cfc43a
Commit
18cfc43a
authored
Jul 24, 2022
by
Bernhard Geier
Browse files
image: if gallery has no name, do not reserve space for it
parent
ce10ec93
Changes
1
Hide whitespace changes
Inline
Side-by-side
zpbase/inc/header.php
View file @
18cfc43a
...
...
@@ -211,7 +211,7 @@ if (!defined('WEBPATH')) die();?>
<div
id=
"header"
>
<?php
if
(
getOption
(
'zpbase_pnglogo'
)
!=
''
)
{
?>
<a
id=
"logo"
href=
"
<?php
echo
html_encode
(
getGalleryIndexURL
());
?>
"
><img
class=
"remove-attributes"
src=
"
<?php
echo
pathurlencode
(
WEBPATH
.
'/'
.
UPLOAD_FOLDER
.
'/'
.
getOption
(
'zpbase_pnglogo'
));
?>
"
alt=
"
<?php
printGalleryTitle
();
?>
"
/></a>
<?php
}
else
{
?>
<?php
}
else
if
(
getGalleryTitle
()
!=
''
)
{
?>
<h1><a
id=
"logo"
href=
"
<?php
echo
html_encode
(
getGalleryIndexURL
());
?>
"
>
<?php
printGalleryTitle
();
?>
</a></h1>
<?php
}
?>
<ul
id=
"nav"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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