Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Helpbutton #100

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions config/example.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@

$discordUrl = "https://discord.gg/INVITE_LINK"; // Discord URL, leave "" for empty

/* Help link */

$helplink = ""; // URL for help page, leave "" for empty

/* Worldopole */

$worldopoleUrl = ""; // Link to Worldopole, leave "" for empty
Expand Down
6 changes: 6 additions & 0 deletions pre-index.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ function pokemonFilterImages($noPokemonNumbers)
title="PayPal - The safer, easier way to pay online!" alt="Donate" style="float: right;">
</a>';
}
if ($helplink != "") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change this to if (!empty($helplink)) {

echo '<a href="' . $helplink . '" target="_blank" style="margin-bottom: 5px; vertical-align: middle; padding:0 5px;">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move CSS style into one of the SCSS files.

Copy link
Author

@thermoscookies thermoscookies Feb 23, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iroken222 I copied and pasted this from the paypalurl/discordurl above it, do you want me to move those into stylesheets as well so they can be consistent?

<img src="static/images/help.png" border="0" name="submit"
title="Help for this map." alt="Help" style="float: right;">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move styles into stylesheets.

</a>';
}
?>
<?php if (!$noWeatherOverlay) {
?>
Expand Down
Binary file added static/images/help.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.