Browse Source

ativity rel links went to target instead of object

pull/1/head
Friendika 11 years ago
parent
commit
8341ce9ce8
  1. 2
      include/items.php
  2. 14
      view/theme/default/style.css

2
include/items.php

@ -422,7 +422,7 @@ function get_atom_elements($feed,$item) {
if($rawobj[0]['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['id'][0]['data'])
$res['object'] .= '<id>' . $rawobj[0]['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['id'][0]['data'] . '</id>' . "\n";
if($rawobj[0]['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['link'])
$res['target'] .= '<link>' . encode_rel_links($rawobj[0]['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['link']) . '</link>' . "\n";
$res['object'] .= '<link>' . encode_rel_links($rawobj[0]['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['link']) . '</link>' . "\n";
if($rawobj[0]['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['title'][0]['data'])
$res['object'] .= '<title>' . $rawobj[0]['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['title'][0]['data'] . '</title>' . "\n";
if($rawobj[0]['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['content'][0]['data']) {

14
view/theme/default/style.css

@ -47,13 +47,13 @@ img {
border: none;
}
code {
font-family: monospace;
font-family: Courier, monospace;
white-space: pre;
display: block;
overflow: auto;
border: 1;
background: #000000;
color: #44FF44;
border: 1px solid #444;
background: #EEE;
color: #444;
padding: 10px;
margin-top: 20px;
}
@ -124,10 +124,10 @@ blockquote:before {
color: #F5F6FB;
font-family: "lucida sans", verdana, sans;
/* font-family: "lucida sans", verdana, sans; */
font-size: 1.8em;
letter-spacing: 0.08em;
font-weight: bold;
letter-spacing: 0.12em;
/* font-weight: bold; */
position: absolute;
top: 10px;
left: 40%;

Loading…
Cancel
Save