mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 17:23:00 +00:00
Fix theme gallery submission system
This commit is contained in:
parent
a606dbdc2d
commit
eb551708b5
2 changed files with 3 additions and 2 deletions
|
@ -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": []
|
||||
},
|
||||
|
|
|
@ -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" : "";
|
||||
|
|
Loading…
Reference in a new issue