mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +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" => [
|
"Code" => [
|
||||||
"author" => "Starbeamrainbowlabs",
|
"author" => "Starbeamrainbowlabs",
|
||||||
"author_url" => "https://starbeamrmainbowlabs.com/",
|
"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" => [
|
"Slightly modified version of Slimdown" => [
|
||||||
"author" => "Johnny Broadway",
|
"author" => "Johnny Broadway",
|
||||||
"author_url" => "https://github.com/jbroadway",
|
"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" => [
|
"Default Favicon" => [
|
||||||
"author" => "bluefrog23",
|
"author" => "bluefrog23",
|
||||||
|
@ -2598,7 +2600,8 @@ register_module([
|
||||||
"Bug Reports" => [
|
"Bug Reports" => [
|
||||||
"author" => "nibreh",
|
"author" => "nibreh",
|
||||||
"author_url" => "https://github.com/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 .= " <li>";
|
||||||
$credits_html .= "<a href='" . $author_details["thing_url"] . "'>$thing</a> by ";
|
$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 .= "<a href='" . $author_details["author_url"] . "'>" . $author_details["author"] . "</a>";
|
||||||
$credits_html .= "</li>\n";
|
$credits_html .= "</li>\n";
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Adds the credits page. You *must* have this module :D",
|
"description": "Adds the credits page. You *must* have this module :D",
|
||||||
"id": "page-credits",
|
"id": "page-credits",
|
||||||
"lastupdate": 1458586856,
|
"lastupdate": 1458588145,
|
||||||
"optional": false
|
"optional": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -21,12 +21,14 @@ register_module([
|
||||||
"Code" => [
|
"Code" => [
|
||||||
"author" => "Starbeamrainbowlabs",
|
"author" => "Starbeamrainbowlabs",
|
||||||
"author_url" => "https://starbeamrmainbowlabs.com/",
|
"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" => [
|
"Slightly modified version of Slimdown" => [
|
||||||
"author" => "Johnny Broadway",
|
"author" => "Johnny Broadway",
|
||||||
"author_url" => "https://github.com/jbroadway",
|
"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" => [
|
"Default Favicon" => [
|
||||||
"author" => "bluefrog23",
|
"author" => "bluefrog23",
|
||||||
|
@ -36,7 +38,8 @@ register_module([
|
||||||
"Bug Reports" => [
|
"Bug Reports" => [
|
||||||
"author" => "nibreh",
|
"author" => "nibreh",
|
||||||
"author_url" => "https://github.com/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 .= " <li>";
|
||||||
$credits_html .= "<a href='" . $author_details["thing_url"] . "'>$thing</a> by ";
|
$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 .= "<a href='" . $author_details["author_url"] . "'>" . $author_details["author"] . "</a>";
|
||||||
$credits_html .= "</li>\n";
|
$credits_html .= "</li>\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue