Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- // Adding themes by configuration object
- resources.dojo.addTheme.claro = "dijit.themes.claro"
- resources.dojo.addTheme.addByApp = "custom.themes.addByApp"
- resources.dojo.prependTheme.prependByApp = "custom.themes.prependByApp"
- // Adding themes by api:
- $this->dojo()->prependTheme('prependByApi', 'custom.themes.prependByApi');
- $this->dojo()->addTheme('addByApi', 'custom.themes.addByApi');
- ?>
- <!-- Output -->
- <style type="text/css">
- <!--
- @import "/lib/dojo/1.6.1/custom/themes/prependByApi/prependByApi.css";
- @import "/lib/dojo/1.6.1/custom/themes/prependByApp/prependByApp.css";
- @import "/lib/dojo/1.6.1/dijit/themes/claro/claro.css";
- @import "/lib/dojo/1.6.1/custom/themes/addByApp/addByApp.css";
- @import "/lib/dojo/1.6.1/custom/themes/addByApi/addByApi.css";
- -->
- </style>
- <body class="prependByApi prependByApp claro addByApp addByApi"></body>
Add Comment
Please, Sign In to add comment