Add alteration warning to theme gallery above change theme button

This commit is contained in:
Starbeamrainbowlabs 2019-09-29 15:43:03 +01:00
parent 988038f599
commit a239f5c044
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ register_module([
</div>";
}
$content .= "</div>
<p><strong>Warning: If you've altered $settings->sitename's CSS by changing the value of the <code>css</code> setting, then your changes will be overwritten by clicking the button below! If necessary, move your changes to the <code>css_custom</code> setting first before continuing here.</strong></p>
<input type='submit' class='large' value='Change Theme' />
</form>";