1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-22 13:45:02 +00:00

Fix theme gallery submission system

This commit is contained in:
Starbeamrainbowlabs 2019-08-26 21:00:38 +01:00
parent a606dbdc2d
commit eb551708b5
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 3 additions and 2 deletions

View file

@ -155,7 +155,7 @@
"version": "0.1",
"author": "Starbeamrainbowlabs",
"description": "Adds a theme gallery page and optional automatic theme updates. Contacts a remote server, where IP addresses are stored in automatic server logs for security and attack mitigation purposes.",
"lastupdate": 1566833304,
"lastupdate": 1566849483,
"optional": false,
"extra_data": []
},

View file

@ -52,7 +52,8 @@ register_module([
$content = "<h1>Theme Gallery</h1>
<form method='get' action='theme-gallery-select'>
<form method='get' action='index.php'>
<input type='hidden' name='action' value='theme-gallery-select' />
<div class='grid-large theme-list'>\n";
foreach($themes_available as $theme) {
$selected = $theme->id == $settings->css_theme_gallery_selected_id ? " selected" : "";