[Scummvm-git-logs] scummvm-web master -> fe4372d15114736616f90b4237f3faabab946b1c
Mataniko
mataniko at gmail.com
Fri Oct 9 03:12:16 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .
Summary:
fe4372d151 WEB: Add a default theme const
Commit: fe4372d15114736616f90b4237f3faabab946b1c
https://github.com/scummvm/scummvm-web/commit/fe4372d15114736616f90b4237f3faabab946b1c
Author: Mataniko (mataniko at gmail.com)
Date: 2020-10-08T23:12:08-04:00
Commit Message:
WEB: Add a default theme const
Changed paths:
include/Constants.php
templates/pages/index.tpl
diff --git a/include/Constants.php b/include/Constants.php
index 3be9dbc8..a0dfebc7 100644
--- a/include/Constants.php
+++ b/include/Constants.php
@@ -61,6 +61,7 @@ class Constants
'residual' => 'Residual',
'retro' => 'Retro'
]);
+ define('DEFAULT_THEME', 'scumm');
/**
* Smarty configuration. The Smarty team does not recommend putting any of the
diff --git a/templates/pages/index.tpl b/templates/pages/index.tpl
index 4101b3ce..a0a35481 100644
--- a/templates/pages/index.tpl
+++ b/templates/pages/index.tpl
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="{$lang}" class="theme-scumm">
+<html lang="{$lang}" class="theme-{$smarty.const.DEFAULT_THEME}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
More information about the Scummvm-git-logs
mailing list