--- /dev/null
+<!DOCTYPE html >
+<html>
+<head>
+ <title><?php if(x($page,'title')) echo $page['title'] ?></title>
+ <script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>
+ <?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
+</head>
+<body>
+ <header>
+ <?php if(x($page, 'header')) echo $page['header']; ?>
+ </header>
+
+ <?php if(x($page,'nav')) echo $page['nav']; ?>
+
+ <aside><?php if(x($page,'aside')) echo $page['aside']; ?></aside>
+
+ <section><?php if(x($page,'content')) echo $page['content']; ?>
+ <div id="page-footer"></div>
+ </section>
+
+ <right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>
+
+ <footer id="footer">
+ <?php if(x($page, 'footer')) echo $page['footer']; ?>
+ </footer>
+
+ <?php if (x($page, 'bottom')) echo $page['bottom']; ?>
+</body>
+</html>
+
--- /dev/null
+<div id="footerbox" style="display:none">
+<a style="float:right; color:#333;margin-right:10px;display: table;margin-top: 5px;" href="friendica" title="Site Info / Impressum" >Info / Impressum</a>
+</div>
\ No newline at end of file
+<header>
+ <!--
+ <div id="site-location">$sitelocation</div>
+ <div id="banner">$banner</div>
+ -->
+</header>
+
<nav>
- $langselector
+ <!-- $langselector -->
<span id="banner">$banner</span>
</nav>
<div id="scrollup" >
-<a href="#top"><img src="view/theme/smoothly/totop.png" alt="back to top" title="Back to top" /></a>
+<a href="javascript:scrollTo(0,0)"><img src="view/theme/smoothly/totop.png" alt="back to top" title="Back to top" /></a>
</div>
<ul id="nav-notifications-template" style="display:none;" rel="template">
<li class="{4}"><a href="{0}"><img src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
</ul>
+
+<div style="position: fixed; top: 3px; left: 5px; z-index:9999">$langselector</div>
padding-left: 20px;
margin-left: 20px;
margin-bottom: 10px;
- background: url("down.png") no-repeat scroll left center transparent;
+ /*background: url("down.png") no-repeat scroll left center transparent;*/
}
.fakelink :hover {
}
#jot-preview-link {
- float: right;
+ float: left;
width: 60px;
/*height: 10px;*/
- margin-right: 180px;
- /*margin-top: 0px;
- margin-left: 10px;*/
font-size: 12px;
background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #bdbdbd), color-stop(1, #a2a2a2) );
background: -moz-linear-gradient( center top, #bdbdbd 5%, #a2a2a2 100% );
}
#profile-jot-perms {
- width: 25px;
+ width: 27px;
+ height: 27px;
float: right;
overflow: hidden;
margin-left: 10px;
- margin-right: 80px;
- margin-top: -28px;
+ margin-top: -20px;
border: 1px solid #7C7D7B;
border-radius: 5px 5px 5px 5px;
}
width: 80px;
float: right;
margin-right: 90px;
- margin-top: -28px;
+ margin-top: -20px;
margin-left: 10px;
+ padding: 5px 5px;
border: 1px solid #7C7D7B;
border-radius: 5px 5px 5px 5px;
}
background: url(login-bg.gif) no-repeat;
background-position: 0 50%;
padding-left: 18px;
- width: 384px!important;
+ width: 220px!important;
}
#profile-tabs-wrapper {
/* =============== */
.field {
- margin-bottom: 10px;
- margin-top: 10px;
+ /*margin-bottom: 10px;
+ margin-top: 10px;*/
padding-bottom: 0px;
width: 90%;
}
}
/*div.wall-item-content-wrapper.shiny {
- background-image: url("star.png");
+ background-image: url("shiny.png");
background-repeat: no-repeat;
}*/
/*
* Name: Smoothly
* Description: Like coffee with milk. Theme works fine with iPad[2].
- * Version: 0.7
+ * Version: 0.8
* Author: Alex <https://friendica.pixelbits.de/profile/alex>
* Maintainer: Alex <https://friendica.pixelbits.de/profile/alex>
* Screenshot: <a href="screenshot.png">Screenshot</a>
</script>
EOT;
-}
\ No newline at end of file
+
+ // custom css
+ if (!is_null($cssFile)) {
+ $a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile);
+ }
+
+_js_in_foot();
+
+}
+
+if(! function_exists('_js_in_foot')) {
+ function _js_in_foot() {
+ /** @purpose insert stuff in bottom of page
+ */
+ $a = get_app();
+ $baseurl = $a->get_baseurl($ssl_state);
+ $bottom['$baseurl'] = $baseurl;
+ $tpl = file_get_contents(dirname(__file__) . '/bottom.tpl');
+
+ return $a->page['bottom'] = replace_macros($tpl, $bottom);
+ }
+}