/*
* Name: Smoothly
* Description: Like coffee with milk. Theme works fine with iPad[2].
- * Version: Version 0.9.20-2
+ * Version: Version 0.11.12
* Author: Alex <https://friendica.pixelbits.de/profile/alex>
* Maintainer: Alex <https://friendica.pixelbits.de/profile/alex>
* Screenshot: <a href="screenshot.png">Screenshot</a>
*/
+$a = get_app();
$a->theme_info = array();
function smoothly_init(&$a) {
+ $cssFile = null;
+ $ssl_state = null;
+ $baseurl = $a->get_baseurl($ssl_state);
$a->page['htmlhead'] .= <<< EOT
<script>
</script>
EOT;
- // custom css
- if (!is_null($cssFile)) {
+ /** custom css **/
+ if (!is_null($cssFile)) {
$a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile);
- }
+ }
_js_in_foot();
/** @purpose insert stuff in bottom of page
*/
$a = get_app();
+ $ssl_state = null;
$baseurl = $a->get_baseurl($ssl_state);
$bottom['$baseurl'] = $baseurl;
$tpl = file_get_contents(dirname(__file__) . '/bottom.tpl');