more theme stuff

This commit is contained in:
friendica 2012-11-03 06:32:27 -07:00
parent 41a43f1282
commit 7915e597ec
4 changed files with 12 additions and 8 deletions

View file

@ -86,10 +86,11 @@ function fileas_widget($baseurl,$selected = '') {
intval(local_user()),
intval(TERM_FILE)
);
if(count($r)) {
foreach($r as $rr)
if(! $r)
return;
foreach($r as $rr)
$terms[] = array('name' => $rr['term'], 'selected' => (($selected == $rr['term']) ? 'selected' : ''));
}
return replace_macros(get_markup_template('fileas_widget.tpl'),array(
'$title' => t('Saved Folders'),

View file

@ -174,7 +174,7 @@ EOT;
if($banner === false)
// $banner .= '<a href="http://friendica.com"><img id="logo-img" src="images/fred-32.png" alt="logo" /></a>';
$banner = '';
$banner = 'red';
$tpl = get_markup_template('nav.tpl');

View file

@ -390,8 +390,6 @@ if($a->is_mobile || $a->is_tablet) {
));
}
$a->page['footer'] .= '<div id="powered-by">' . t("Friendica Red") . '</div>';
$page = $a->page;
$profile = $a->profile;

View file

@ -152,6 +152,7 @@ nav #banner #logo-text a {
nav #banner #logo-text a:hover { text-decoration: none; }
.nav-commlink, .nav-login-link {
display: block;
height: 15px;
@ -3484,7 +3485,7 @@ nav {
left: 0px;
top: 0px;
padding: 0px;
background-color: #888888;
background-color: #5a5a5a;
color: #ffffff;
z-index: 100;
-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
@ -3539,7 +3540,7 @@ nav .nav-menu {
padding: 5px;
margin: 3px 15px 0px;
font-size: 14px;
border-bottom: 3px solid #888888;
border-bottom: 3px solid #5a5a5a;
}
nav .nav-menu.selected {
border-bottom: 4px solid #CCCCCC;
@ -3658,6 +3659,10 @@ header #banner {
overflow: hidden;
text-align: center;
width: 100%;
color: red;
font-weight: bold;
font-size: 2em;
}
header #banner a,
header #banner a:active,