mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-12-22 13:45:02 +00:00
Add icons next to people in credits.
This commit is contained in:
parent
312a3040af
commit
512eec7ec2
3 changed files with 17 additions and 7 deletions
|
@ -2583,12 +2583,14 @@ register_module([
|
|||
"Code" => [
|
||||
"author" => "Starbeamrainbowlabs",
|
||||
"author_url" => "https://starbeamrmainbowlabs.com/",
|
||||
"thing_url" => "https://github.com/sbrl/Pepprminty-Wiki"
|
||||
"thing_url" => "https://github.com/sbrl/Pepprminty-Wiki",
|
||||
"icon" => "https://avatars0.githubusercontent.com/u/9929737?v=3&s=24"
|
||||
],
|
||||
"Slightly modified version of Slimdown" => [
|
||||
"author" => "Johnny Broadway",
|
||||
"author_url" => "https://github.com/jbroadway",
|
||||
"thing_url" => "https://gist.github.com/jbroadway/2836900"
|
||||
"thing_url" => "https://gist.github.com/jbroadway/2836900",
|
||||
"icon" => "https://avatars2.githubusercontent.com/u/87886?v=3&s=24"
|
||||
],
|
||||
"Default Favicon" => [
|
||||
"author" => "bluefrog23",
|
||||
|
@ -2598,7 +2600,8 @@ register_module([
|
|||
"Bug Reports" => [
|
||||
"author" => "nibreh",
|
||||
"author_url" => "https://github.com/nibreh/",
|
||||
"thing_url" => ""
|
||||
"thing_url" => "",
|
||||
"icon" => "https://avatars2.githubusercontent.com/u/7314006?v=3&s=24"
|
||||
]
|
||||
];
|
||||
|
||||
|
@ -2608,6 +2611,8 @@ register_module([
|
|||
{
|
||||
$credits_html .= " <li>";
|
||||
$credits_html .= "<a href='" . $author_details["thing_url"] . "'>$thing</a> by ";
|
||||
if(isset($author_details["icon"]))
|
||||
$credits_html .= "<img style='vertical-align: middle;' src='" . $author_details["icon"] . "' /> ";
|
||||
$credits_html .= "<a href='" . $author_details["author_url"] . "'>" . $author_details["author"] . "</a>";
|
||||
$credits_html .= "</li>\n";
|
||||
}
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
"author": "Starbeamrainbowlabs",
|
||||
"description": "Adds the credits page. You *must* have this module :D",
|
||||
"id": "page-credits",
|
||||
"lastupdate": 1458586856,
|
||||
"lastupdate": 1458588145,
|
||||
"optional": false
|
||||
},
|
||||
{
|
||||
|
|
|
@ -21,12 +21,14 @@ register_module([
|
|||
"Code" => [
|
||||
"author" => "Starbeamrainbowlabs",
|
||||
"author_url" => "https://starbeamrmainbowlabs.com/",
|
||||
"thing_url" => "https://github.com/sbrl/Pepprminty-Wiki"
|
||||
"thing_url" => "https://github.com/sbrl/Pepprminty-Wiki",
|
||||
"icon" => "https://avatars0.githubusercontent.com/u/9929737?v=3&s=24"
|
||||
],
|
||||
"Slightly modified version of Slimdown" => [
|
||||
"author" => "Johnny Broadway",
|
||||
"author_url" => "https://github.com/jbroadway",
|
||||
"thing_url" => "https://gist.github.com/jbroadway/2836900"
|
||||
"thing_url" => "https://gist.github.com/jbroadway/2836900",
|
||||
"icon" => "https://avatars2.githubusercontent.com/u/87886?v=3&s=24"
|
||||
],
|
||||
"Default Favicon" => [
|
||||
"author" => "bluefrog23",
|
||||
|
@ -36,7 +38,8 @@ register_module([
|
|||
"Bug Reports" => [
|
||||
"author" => "nibreh",
|
||||
"author_url" => "https://github.com/nibreh/",
|
||||
"thing_url" => ""
|
||||
"thing_url" => "",
|
||||
"icon" => "https://avatars2.githubusercontent.com/u/7314006?v=3&s=24"
|
||||
]
|
||||
];
|
||||
|
||||
|
@ -46,6 +49,8 @@ register_module([
|
|||
{
|
||||
$credits_html .= " <li>";
|
||||
$credits_html .= "<a href='" . $author_details["thing_url"] . "'>$thing</a> by ";
|
||||
if(isset($author_details["icon"]))
|
||||
$credits_html .= "<img style='vertical-align: middle;' src='" . $author_details["icon"] . "' /> ";
|
||||
$credits_html .= "<a href='" . $author_details["author_url"] . "'>" . $author_details["author"] . "</a>";
|
||||
$credits_html .= "</li>\n";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue