]> git.mxchange.org Git - friendica-addons.git/blobdiff - communityhome/communityhome.php
Changed the README for my variant, and changed "Last" users/likes/posts
[friendica-addons.git] / communityhome / communityhome.php
index 8f0aa867509998266029d40ac05c4c4aa3e7a9f8..14c40328e0b3613f5b1db5318503c020e211db5e 100755 (executable)
@@ -35,7 +35,7 @@ function communityhome_home(&$a, &$o){
        $aside['$login_form'] = login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true);
        
        // last 12 users
-       $aside['$lastusers_title'] = t('Last users');
+       $aside['$lastusers_title'] = t('Latest users');
        $aside['$lastusers_items'] = array();
        $sql_extra = "";
        $publish = (get_config('system','publish_all') ? '' : " AND `publish` = 1 " );
@@ -95,7 +95,7 @@ function communityhome_home(&$a, &$o){
        }
        
        // last 12 photos
-       $aside['$photos_title'] = t('Last photos');
+       $aside['$photos_title'] = t('Latest photos');
        $aside['$photos_items'] = array();
        $r = q("SELECT `photo`.`id`, `photo`.`resource-id`, `photo`.`scale`, `photo`.`desc`, `user`.`nickname`, `user`.`username` FROM 
                                (SELECT `resource-id`, MAX(`scale`) as maxscale FROM `photo` 
@@ -130,7 +130,7 @@ function communityhome_home(&$a, &$o){
        }
        
        // last 10 liked items
-       $aside['$like_title'] = t('Last likes');
+       $aside['$like_title'] = t('Latest likes');
        $aside['$like_items'] = array();
        $r = q("SELECT `T1`.`created`, `T1`.`liker`, `T1`.`liker-link`, `item`.* FROM 
                        (SELECT `parent-uri`, `created`, `author-name` AS `liker`,`author-link` AS `liker-link`