]> git.mxchange.org Git - friendica.git/commitdiff
reduce visibility of lang-select flag (duepuntozero)
authorFriendika <info@friendika.com>
Sat, 11 Jun 2011 03:39:46 +0000 (20:39 -0700)
committerFriendika <info@friendika.com>
Sat, 11 Jun 2011 03:39:46 +0000 (20:39 -0700)
boot.php
include/items.php
view/theme/duepuntozero/style.css

index b94000b60741aa1774564b8aa461c6f62b8d206c..b8b0dc05935c0a9980a95565d08395beba9480a8 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -4,7 +4,7 @@ set_time_limit(0);
 ini_set('pcre.backtrack_limit', 250000);
 
 
-define ( 'FRIENDIKA_VERSION',      '2.2.1006' );
+define ( 'FRIENDIKA_VERSION',      '2.2.1007' );
 define ( 'DFRN_PROTOCOL_VERSION',  '2.21'    );
 define ( 'DB_UPDATE_VERSION',      1063      );
 
index a5d430aa22053a2a88961df0c4d2a981713c4033..db500fda2a925d302362276f0a8043afb43c292b 100644 (file)
@@ -1334,6 +1334,17 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $secure_fee
                                                $datarray['author-avatar'] = $contact['thumb'];
                                }
 
+                               if((x($datarray,'object-type')) && ($datarray['object-type'] === ACTIVITY_OBJ_EVENT)) {
+                                       $ev = bbtoevent($datarray['body']);
+                                       if(x($ev,'desc') && x($ev,'start')) {
+                                               $r = q("SELECT * FROM `event` WHERE `uri` = '%s' AND `uid` = %d LIMIT 1",
+                                                       dbesc($item_id),
+                                                       intval($importer['uid'])
+                                               );
+                                               // import/update event
+
+                                       }
+                               }
                                $r = q("SELECT `uid`, `last-child`, `edited`, `body` FROM `item` WHERE `uri` = '%s' AND `uid` = %d LIMIT 1",
                                        dbesc($item_id),
                                        intval($importer['uid'])
@@ -1751,4 +1762,5 @@ function item_expire($uid,$days) {
 
        proc_run('php',"include/notifier.php","expire","$uid");
 
-}
\ No newline at end of file
+}
+
index 68edd02b9474f17fd4bef80f7a5ba9482fab055f..8928148042291edf4787b99e24d9b490d42bce52 100644 (file)
@@ -2459,6 +2459,13 @@ a.mail-list-link {
        position: absolute;
        left: 0px;
        top: 0px;
+       opacity: 0.3;
+       filter:alpha(opacity=30);
+}
+
+#lang-select-icon:hover {
+       opacity: 1;
+       filter:alpha(opacity=100);
 }