summaryrefslogtreecommitdiff
path: root/app/php
diff options
context:
space:
mode:
Diffstat (limited to 'app/php')
-rw-r--r--app/php/pages/config.xml9
-rw-r--r--app/php/themes/default/preloader.gifbin0 -> 7681 bytes
-rw-r--r--app/php/web/ThemeManager.php11
3 files changed, 19 insertions, 1 deletions
diff --git a/app/php/pages/config.xml b/app/php/pages/config.xml
index d6403ff..11d708f 100644
--- a/app/php/pages/config.xml
+++ b/app/php/pages/config.xml
@@ -3,10 +3,17 @@
<services>
<service id="page"
class="TPageService"
- ClientScriptManagerClass="Application.web.ClientScriptManager" />
+ ClientScriptManagerClass="Application.web.ClientScriptManager">
+ <modules>
+ <module id="theme"
+ class="Application.web.ThemeManager"
+ BasePath="Web._themes" />
+ </modules>
+ </service>
</services>
<pages MasterClass="Application.layouts.MainLayout"
+ Theme="default"
StatePersisterClass="System.Web.UI.TCachePageStatePersister"
StatePersister.CacheModuleID="cache"
StatePersister.CacheTimeout="3600" />
diff --git a/app/php/themes/default/preloader.gif b/app/php/themes/default/preloader.gif
new file mode 100644
index 0000000..6505467
--- /dev/null
+++ b/app/php/themes/default/preloader.gif
Binary files differ
diff --git a/app/php/web/ThemeManager.php b/app/php/web/ThemeManager.php
new file mode 100644
index 0000000..9dcae76
--- /dev/null
+++ b/app/php/web/ThemeManager.php
@@ -0,0 +1,11 @@
+<?php
+
+Prado::using('Application.web.BaseUrlDerivedFromBasePath');
+
+class ThemeManager extends TThemeManager {
+
+ use BaseUrlDerivedFromBasePath;
+
+}
+
+?>