@@ -249,7 +249,6 @@ |
||
| 249 | 249 | * Import a relationship |
| 250 | 250 | * |
| 251 | 251 | * @param ODD $data ODD data |
| 252 | - |
|
| 253 | 252 | * @return bool |
| 254 | 253 | * @throws ImportException|InvalidParameterException |
| 255 | 254 | * @deprecated 1.9 |
@@ -724,13 +724,13 @@ |
||
| 724 | 724 | } |
| 725 | 725 | |
| 726 | 726 | /** |
| 727 | - * Get all of members of an access collection |
|
| 728 | - * |
|
| 729 | - * @param int $collection_id The collection's ID |
|
| 730 | - * @param bool $guids_only If set to true, will only return the members' GUIDs (default: false) |
|
| 731 | - * |
|
| 732 | - * @return ElggUser[]|int[]|false guids or entities if successful, false if not |
|
| 733 | - */ |
|
| 727 | + * Get all of members of an access collection |
|
| 728 | + * |
|
| 729 | + * @param int $collection_id The collection's ID |
|
| 730 | + * @param bool $guids_only If set to true, will only return the members' GUIDs (default: false) |
|
| 731 | + * |
|
| 732 | + * @return ElggUser[]|int[]|false guids or entities if successful, false if not |
|
| 733 | + */ |
|
| 734 | 734 | function getMembers($collection_id, $guids_only = false) { |
| 735 | 735 | $collection_id = (int) $collection_id; |
| 736 | 736 | |
@@ -335,8 +335,8 @@ |
||
| 335 | 335 | */ |
| 336 | 336 | 'feed:rss' => "S'abonner au fil RSS de cette page", |
| 337 | 337 | /** |
| 338 | - * Links |
|
| 339 | - */ |
|
| 338 | + * Links |
|
| 339 | + */ |
|
| 340 | 340 | 'link:view' => "voir le lien", |
| 341 | 341 | 'link:view:all' => "Voir tout", |
| 342 | 342 | |
@@ -312,8 +312,8 @@ |
||
| 312 | 312 | */ |
| 313 | 313 | 'feed:rss' => 'RSS feed for this page', |
| 314 | 314 | /** |
| 315 | - * Links |
|
| 316 | - */ |
|
| 315 | + * Links |
|
| 316 | + */ |
|
| 317 | 317 | 'link:view' => 'view link', |
| 318 | 318 | 'link:view:all' => 'View all', |
| 319 | 319 | |
@@ -16,9 +16,9 @@ discard block |
||
| 16 | 16 | |
| 17 | 17 | if ($group->canEdit()) { |
| 18 | 18 | $all_link = elgg_view('output/url', array( |
| 19 | - 'href' => "groups/subgroups/{$group->guid}/all", |
|
| 20 | - 'text' => elgg_echo('link:view:all'), |
|
| 21 | - 'is_trusted' => true, |
|
| 19 | + 'href' => "groups/subgroups/{$group->guid}/all", |
|
| 20 | + 'text' => elgg_echo('link:view:all'), |
|
| 21 | + 'is_trusted' => true, |
|
| 22 | 22 | )); |
| 23 | 23 | } |
| 24 | 24 | |
@@ -33,9 +33,9 @@ discard block |
||
| 33 | 33 | $any_member = ($group->subgroups_members_create_enable != 'no'); |
| 34 | 34 | if (($any_member && $group->isMember()) || $group->canEdit()) { |
| 35 | 35 | $new_link = elgg_view('output/url', array( |
| 36 | - 'href' => "groups/subgroups/add/$group->guid", |
|
| 37 | - 'text' => elgg_echo('au_subgroups:add:subgroup'), |
|
| 38 | - 'is_trusted' => true, |
|
| 36 | + 'href' => "groups/subgroups/add/$group->guid", |
|
| 37 | + 'text' => elgg_echo('au_subgroups:add:subgroup'), |
|
| 38 | + 'is_trusted' => true, |
|
| 39 | 39 | )); |
| 40 | 40 | } |
| 41 | 41 | else { |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | $options['container_guid'] = $container_guid; |
| 86 | 86 | $container = get_entity($container_guid); |
| 87 | 87 | |
| 88 | - $return['title'] = elgg_echo('blog:title:user_blogs', array(gc_explode_translation($container->name, $lang))); |
|
| 88 | + $return['title'] = elgg_echo('blog:title:user_blogs', array(gc_explode_translation($container->name, $lang))); |
|
| 89 | 89 | |
| 90 | 90 | $crumbs_title = gc_explode_translation($container->name, $lang); |
| 91 | 91 | elgg_push_breadcrumb($crumbs_title); |
@@ -1,7 +1,7 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Creates a splash page for GCcollab for users to check language. |
|
| 4 | - */ |
|
| 3 | + * Creates a splash page for GCcollab for users to check language. |
|
| 4 | + */ |
|
| 5 | 5 | |
| 6 | 6 | $site_url = elgg_get_site_url(); |
| 7 | 7 | $jsLocation = $site_url . "mod/wet4/views/default/js/wet-boew.js"; |
@@ -11,9 +11,9 @@ discard block |
||
| 11 | 11 | $gccollab_text = elgg_echo('wet:login_welcome'); |
| 12 | 12 | |
| 13 | 13 | if( _elgg_services()->session->get('language') == 'fr'){ |
| 14 | - $graphic_lang = 'fr'; |
|
| 14 | + $graphic_lang = 'fr'; |
|
| 15 | 15 | } else { |
| 16 | - $graphic_lang = 'en'; |
|
| 16 | + $graphic_lang = 'en'; |
|
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | //Create The body of the splash |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | $body .= elgg_view('page/elements/foot'); |
| 143 | 143 | |
| 144 | 144 | $head = elgg_view('page/elements/head', array( |
| 145 | - 'title' => 'GCcollab', |
|
| 145 | + 'title' => 'GCcollab', |
|
| 146 | 146 | )); |
| 147 | 147 | |
| 148 | 148 | $params = array( |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Creates a splash page for GCcollab for users to check language. |
|
| 4 | - */ |
|
| 3 | + * Creates a splash page for GCcollab for users to check language. |
|
| 4 | + */ |
|
| 5 | 5 | |
| 6 | 6 | elgg_register_event_handler('init', 'system', 'splash_collab_init'); |
| 7 | 7 | |
@@ -6,16 +6,16 @@ discard block |
||
| 6 | 6 | elgg_register_event_handler('init', 'system', 'gc_profile_nudge_init'); |
| 7 | 7 | |
| 8 | 8 | function gc_profile_nudge_init(){ |
| 9 | - elgg_register_ajax_view('gc_profile_nudge/profile_nudge'); |
|
| 9 | + elgg_register_ajax_view('gc_profile_nudge/profile_nudge'); |
|
| 10 | 10 | |
| 11 | - if( elgg_is_logged_in() && !elgg_is_admin_logged_in() ){ |
|
| 11 | + if( elgg_is_logged_in() && !elgg_is_admin_logged_in() ){ |
|
| 12 | 12 | |
| 13 | - $reminder_time = elgg_get_plugin_setting('reminder_time', 'gc_profile_nudge'); |
|
| 13 | + $reminder_time = elgg_get_plugin_setting('reminder_time', 'gc_profile_nudge'); |
|
| 14 | 14 | |
| 15 | 15 | if( $reminder_time ){ |
| 16 | - $in_days = $reminder_time * 86400; // 1 day = 86400 seconds |
|
| 16 | + $in_days = $reminder_time * 86400; // 1 day = 86400 seconds |
|
| 17 | 17 | |
| 18 | - $user = elgg_get_logged_in_user_entity(); |
|
| 18 | + $user = elgg_get_logged_in_user_entity(); |
|
| 19 | 19 | |
| 20 | 20 | // If user hasn't seen nudge, use their last login date as benchmark |
| 21 | 21 | if( !isset( $user->last_profile_nudge ) ){ |
@@ -23,12 +23,12 @@ discard block |
||
| 23 | 23 | $user->save(); |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | - $last_profile_nudge = intval($user->last_profile_nudge); |
|
| 26 | + $last_profile_nudge = intval($user->last_profile_nudge); |
|
| 27 | 27 | |
| 28 | - // Show nudge if user hasn't seen in XX days |
|
| 29 | - if( (time() - $last_profile_nudge) > $in_days ){ |
|
| 30 | - elgg_extend_view('page/elements/foot', 'gc_profile_nudge/include'); |
|
| 31 | - } |
|
| 28 | + // Show nudge if user hasn't seen in XX days |
|
| 29 | + if( (time() - $last_profile_nudge) > $in_days ){ |
|
| 30 | + elgg_extend_view('page/elements/foot', 'gc_profile_nudge/include'); |
|
| 31 | + } |
|
| 32 | 32 | } |
| 33 | 33 | } |
| 34 | 34 | } |