diff --git a/main/css/academica/default.css b/main/css/academica/default.css index 360cbe47be..2e4f2ecb86 100755 --- a/main/css/academica/default.css +++ b/main/css/academica/default.css @@ -2258,6 +2258,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -2288,6 +2289,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -2318,6 +2320,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -2853,7 +2856,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -3681,4 +3684,24 @@ span.form_required { } .online_grid_element_1, .online_grid_element_2 { font-size:10px; +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/baby_orange/default.css b/main/css/baby_orange/default.css index 0b7278a055..927b557b45 100755 --- a/main/css/baby_orange/default.css +++ b/main/css/baby_orange/default.css @@ -2230,6 +2230,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -2260,6 +2261,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -2290,6 +2292,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -2823,7 +2826,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -3609,4 +3612,25 @@ span.form_required { } .online_grid_element_1, .online_grid_element_2 { font-size:10px; +} + + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/blue_lagoon/default.css b/main/css/blue_lagoon/default.css index 5cbd3af98d..4d603a174d 100755 --- a/main/css/blue_lagoon/default.css +++ b/main/css/blue_lagoon/default.css @@ -2865,6 +2865,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -2895,6 +2896,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -2925,6 +2927,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3465,7 +3468,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -4295,4 +4298,24 @@ span.form_required { } .online_grid_element_1, .online_grid_element_2 { font-size:10px; +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/chamilo/default.css b/main/css/chamilo/default.css index 7198f5a8e7..9650d6de8d 100755 --- a/main/css/chamilo/default.css +++ b/main/css/chamilo/default.css @@ -3233,6 +3233,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -3263,6 +3264,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -3293,6 +3295,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3832,7 +3835,7 @@ div.image-social-content center.friend { height:auto; overflow:hidden; float:left; - + width:700px; } .social-content-image { @@ -4039,17 +4042,17 @@ div.image-social-content center.friend { overflow:hidden; } .social-box-left { - width:345px; + width:340px; float:left; height:auto; margin:0px; } .social-box-right { - width:300px; + width:280px; float:left; height:auto; - margin-left:10px; + margin-left:18px; overflow:hidden; } .social-box-container1 { @@ -4072,7 +4075,7 @@ div.image-social-content center.friend { width:700px; } .social-box-container2 { - width:700px; + //width:648px; height:auto; overflow:hidden; margin-bottom:20px; @@ -4665,3 +4668,24 @@ padding-top:10px; .progresstext { text-align:center; } + + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; +} diff --git a/main/css/chamilo_electric_blue/default.css b/main/css/chamilo_electric_blue/default.css index 17f91674d1..cc9c287e5d 100755 --- a/main/css/chamilo_electric_blue/default.css +++ b/main/css/chamilo_electric_blue/default.css @@ -3186,6 +3186,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -3216,6 +3217,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -3246,6 +3248,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3785,6 +3788,7 @@ div.image-social-content center.friend { height:auto; overflow:hidden; float:left; + width:700px; } @@ -4630,4 +4634,24 @@ span.form_required { } .progresstext { text-align:center; +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/chamilo_green/default.css b/main/css/chamilo_green/default.css index 9b82a344ec..572c87af89 100755 --- a/main/css/chamilo_green/default.css +++ b/main/css/chamilo_green/default.css @@ -3200,6 +3200,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -3230,6 +3231,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -3260,6 +3262,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3801,6 +3804,7 @@ div.image-social-content center.friend { height:auto; overflow:hidden; float:left; + width:700px; } .social-content-image { @@ -4638,4 +4642,24 @@ span.form_required { } .progresstext { text-align:center; +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/chamilo_orange/default.css b/main/css/chamilo_orange/default.css index 0cfed316ba..9200d814cf 100755 --- a/main/css/chamilo_orange/default.css +++ b/main/css/chamilo_orange/default.css @@ -3177,6 +3177,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -3207,6 +3208,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -3237,6 +3239,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3778,6 +3781,7 @@ div.image-social-content center.friend { height:auto; overflow:hidden; float:left; + width:700px; } .social-content-image { @@ -4613,4 +4617,24 @@ span.form_required { } .progresstext { text-align:center; +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/chamilo_red/default.css b/main/css/chamilo_red/default.css index 301e3c7e3b..a4d974ea83 100755 --- a/main/css/chamilo_red/default.css +++ b/main/css/chamilo_red/default.css @@ -3188,6 +3188,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -3218,6 +3219,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -3248,6 +3250,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3789,6 +3792,7 @@ div.image-social-content center.friend { height:auto; overflow:hidden; float:left; + width:700px; } .social-content-image { @@ -4624,4 +4628,24 @@ span.form_required { .progresstext { text-align:center; +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/cool_blue/default.css b/main/css/cool_blue/default.css index 2245c02d85..5b1b0a4376 100644 --- a/main/css/cool_blue/default.css +++ b/main/css/cool_blue/default.css @@ -2741,6 +2741,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -2771,6 +2772,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -2801,6 +2803,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3335,7 +3338,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -4162,4 +4165,24 @@ span.form_required { } .online_grid_element_1, .online_grid_element_2 { font-size:10px; +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/corporate/default.css b/main/css/corporate/default.css index 6e0db96f17..5024b92a80 100644 --- a/main/css/corporate/default.css +++ b/main/css/corporate/default.css @@ -2209,6 +2209,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -2239,6 +2240,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -2269,6 +2271,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -2802,7 +2805,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -3632,3 +3635,24 @@ span.form_required { font-size:10px; } + + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; +} \ No newline at end of file diff --git a/main/css/cosmic_campus/default.css b/main/css/cosmic_campus/default.css index a4898e586d..6e750173f6 100755 --- a/main/css/cosmic_campus/default.css +++ b/main/css/cosmic_campus/default.css @@ -2272,6 +2272,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -2302,6 +2303,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -2332,6 +2334,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -2865,7 +2868,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -3693,4 +3696,26 @@ span.form_required { } .online_grid_element_1, .online_grid_element_2 { font-size:10px; +} + + + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/delicious_bordeaux/default.css b/main/css/delicious_bordeaux/default.css index 36c3e222e3..b6be1b3c69 100644 --- a/main/css/delicious_bordeaux/default.css +++ b/main/css/delicious_bordeaux/default.css @@ -2736,6 +2736,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -2766,6 +2767,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -2796,6 +2798,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3326,7 +3329,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -4153,4 +4156,24 @@ span.form_required { } .online_grid_element_1, .online_grid_element_2 { font-size:10px; +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/dokeos_blue/default.css b/main/css/dokeos_blue/default.css index 43eeb86f12..bf5ab66e26 100644 --- a/main/css/dokeos_blue/default.css +++ b/main/css/dokeos_blue/default.css @@ -2755,6 +2755,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -2785,6 +2786,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -2815,6 +2817,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3347,7 +3350,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -4202,4 +4205,24 @@ span.form_required { } .online_grid_element_1, .online_grid_element_2 { font-size:10px; +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/dokeos_classic/default.css b/main/css/dokeos_classic/default.css index 4fe06ba390..3801c30ee6 100644 --- a/main/css/dokeos_classic/default.css +++ b/main/css/dokeos_classic/default.css @@ -3037,6 +3037,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -3067,6 +3068,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -3097,6 +3099,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3628,7 +3631,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -4425,4 +4428,25 @@ span.form_required { } .online_grid_element_1, .online_grid_element_2 { font-size:10px; +} + + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/dokeos_classic_2D/default.css b/main/css/dokeos_classic_2D/default.css index 42b3bf0768..985fc43269 100644 --- a/main/css/dokeos_classic_2D/default.css +++ b/main/css/dokeos_classic_2D/default.css @@ -3052,6 +3052,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -3082,6 +3083,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -3112,6 +3114,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3639,7 +3642,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -4426,4 +4429,24 @@ span.form_required { } .online_grid_element_1, .online_grid_element_2 { font-size:10px; +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/empire_green/default.css b/main/css/empire_green/default.css index d3e1deab59..a3d7ee6ea9 100644 --- a/main/css/empire_green/default.css +++ b/main/css/empire_green/default.css @@ -2760,6 +2760,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -2790,6 +2791,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -2820,6 +2822,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3352,7 +3355,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -4139,4 +4142,24 @@ span.form_required { } .online_grid_element_1, .online_grid_element_2 { font-size:10px; +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/fruity_orange/default.css b/main/css/fruity_orange/default.css index 1bc536a628..12960b6b33 100644 --- a/main/css/fruity_orange/default.css +++ b/main/css/fruity_orange/default.css @@ -2761,6 +2761,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -2791,6 +2792,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -3352,7 +3354,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -4141,4 +4143,24 @@ span.form_required { } .online_grid_element_1, .online_grid_element_2 { font-size:10px; +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/medical/default.css b/main/css/medical/default.css index 37955d06cb..f7a275a957 100644 --- a/main/css/medical/default.css +++ b/main/css/medical/default.css @@ -3219,6 +3219,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -3249,6 +3250,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -3279,6 +3281,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3811,7 +3814,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -4574,4 +4577,24 @@ span.form_required { .decrease_font:hover { border: 1px solid black; cursor: pointer; -} \ No newline at end of file +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; +} \ No newline at end of file diff --git a/main/css/public_admin/default.css b/main/css/public_admin/default.css index cd74ccf9a2..19d6b74ac4 100644 --- a/main/css/public_admin/default.css +++ b/main/css/public_admin/default.css @@ -2944,6 +2944,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -2974,6 +2975,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -3004,6 +3006,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3530,7 +3533,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -4346,4 +4349,24 @@ span.form_required { } .online_grid_element_1, .online_grid_element_2 { font-size:10px; +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/royal_purple/default.css b/main/css/royal_purple/default.css index e9289ee0c2..5445b6eb10 100644 --- a/main/css/royal_purple/default.css +++ b/main/css/royal_purple/default.css @@ -2755,6 +2755,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -2785,6 +2786,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -2815,6 +2817,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3347,7 +3350,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -4137,4 +4140,24 @@ span.form_required { } .online_grid_element_1, .online_grid_element_2 { font-size:10px; +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/silver_line/default.css b/main/css/silver_line/default.css index 88a9cb719b..bc598cfa12 100644 --- a/main/css/silver_line/default.css +++ b/main/css/silver_line/default.css @@ -2707,6 +2707,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -2737,6 +2738,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -2767,6 +2769,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3299,7 +3302,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -4082,4 +4085,24 @@ span.form_required { } .online_grid_element_1, .online_grid_element_2 { font-size:10px; +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/sober_brown/default.css b/main/css/sober_brown/default.css index 1f30c2a114..677062da33 100644 --- a/main/css/sober_brown/default.css +++ b/main/css/sober_brown/default.css @@ -2913,6 +2913,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -2943,6 +2944,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -2973,6 +2975,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3505,7 +3508,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -4291,4 +4294,24 @@ span.form_required { } .online_grid_element_1, .online_grid_element_2 { font-size:10px; +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/steel_grey/default.css b/main/css/steel_grey/default.css index 77a8b6ac1b..c6fc778ed9 100644 --- a/main/css/steel_grey/default.css +++ b/main/css/steel_grey/default.css @@ -2762,6 +2762,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -2792,6 +2793,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -2822,6 +2824,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3354,7 +3357,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -4140,4 +4143,24 @@ span.form_required { } .online_grid_element_1, .online_grid_element_2 { font-size:10px; +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/css/tasty_olive/default.css b/main/css/tasty_olive/default.css index 192f23fb2b..c9efeb05f9 100644 --- a/main/css/tasty_olive/default.css +++ b/main/css/tasty_olive/default.css @@ -2764,6 +2764,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .popular_grid_element_0 { @@ -2794,6 +2795,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .newest_grid_element_1 { @@ -2824,6 +2826,7 @@ a.read { height: auto; margin: 0 8px 15px 15px; padding: 16px 12px 5px; + width:90%; } .box_description_group_member { @@ -3355,7 +3358,7 @@ div.image-social-content center.friend { #social-content-right { height:auto; overflow:hidden; - width:79%; + width:700px; } .social-content-image { @@ -4142,4 +4145,24 @@ span.form_required { } .online_grid_element_1, .online_grid_element_2 { font-size:10px; +} + +.rounded_div { + background: none repeat scroll 0 0 #FFFFFF; + border: 1px solid #E5E5E5; + border-radius: 11px 11px 11px 11px; + + -webkit-border-radius: 11px 11px 11px 11px; + -opera-border-radius: 11px 11px 11px 11px; + -moz-border-radius: 11px 11px 11px 11px; + + box-shadow: 0 4px 18px #C8C8C8; + -webkit-box-shadow: 0 4px 18px #C8C8C8; + -opera-box-shadow: 0 4px 18px #C8C8C8; + -moz-box-shadow: 0 4px 18px #C8C8C8; + + float: left; + height: auto; + margin: 10px 8px 15px 15px; + padding: 16px 12px 5px; } \ No newline at end of file diff --git a/main/inc/lib/message.lib.php b/main/inc/lib/message.lib.php index 12984852e9..c4c4a9fb20 100755 --- a/main/inc/lib/message.lib.php +++ b/main/inc/lib/message.lib.php @@ -127,7 +127,7 @@ class MessageManager * @param int $number_of_items * @param string $direction */ - public static function get_message_data ($from, $number_of_items, $column, $direction) { + public static function get_message_data($from, $number_of_items, $column, $direction) { global $charset; $from = intval($from); $number_of_items = intval($number_of_items); @@ -141,8 +141,6 @@ class MessageManager if (!in_array($direction, array('ASC', 'DESC'))) $direction = 'ASC'; } - - $table_message = Database::get_main_table(TABLE_MESSAGE); $request=api_is_xml_http_request(); $sql_query = "SELECT id as col0, user_sender_id as col1, title as col2, send_date as col3, msg_status as col4 FROM $table_message " . @@ -153,16 +151,13 @@ class MessageManager $i = 0; $message_list = array (); while ($result = Database::fetch_row($sql_result)) { - if ($request===true) { $message[0] = ''; } else { $message[0] = ($result[0]); } - $result[2] = Security::remove_XSS($result[2]); - - $result[2] = cut($result[2],80,true); + $result[2] = cut($result[2], 80,true); if ($request===true) { @@ -173,11 +168,11 @@ class MessageManager }*/ $message[1] = ''.GetFullUserName($result[1]).''; - $message[2] = ''.str_replace("\\","",$result[2]).''; - $message[4] = ''.Display::return_icon('message_reply.png',get_lang('ReplyToMessage')).''. + $message[2] = ''.str_replace("\\","",$result[3]).''; + $message[3] = ''.Display::return_icon('message_reply.png',get_lang('ReplyToMessage')).''. '  '.Display::return_icon('delete.png',get_lang('DeleteMessage')).''; } else { - if($result[4]==1) { + if($result[3]==1) { $class = 'class = "unread"'; } else { $class = 'class = "read"'; @@ -186,12 +181,12 @@ class MessageManager if ($_GET['f']=='social') { $link = '&f=social'; } - $message[1] = ''.GetFullUserName(($result[1])).'';; - $message[2] = ''.$result[2].''; - $message[4] = ''.Display::return_icon('message_reply.png',get_lang('ReplyToMessage')).''. + $message[1] = ''.$result[2].'
'.GetFullUserName(($result[1])); + //$message[2] = ''.$result[2].''; + $message[3] = ''.Display::return_icon('message_reply.png',get_lang('ReplyToMessage')).''. '  '.Display::return_icon('delete.png',get_lang('DeleteMessage')).''; } - $message[3] = $result[3]; //date stays the same + $message[2] = $result[3]; //date stays the same foreach($message as $key => $value) { $message[$key] = api_xml_http_response_encode($value); } @@ -594,12 +589,10 @@ class MessageManager * @param string * @return array */ - public static function get_message_data_sent ($from, $number_of_items, $column, $direction) { + public static function get_message_data_sent($from, $number_of_items, $column, $direction) { global $charset; - $from = intval($from); $number_of_items = intval($number_of_items); - if (!isset($direction)) { $column = 3; $direction = 'DESC'; @@ -608,25 +601,20 @@ class MessageManager if (!in_array($direction, array('ASC', 'DESC'))) $direction = 'ASC'; } - - $table_message = Database::get_main_table(TABLE_MESSAGE); $request=api_is_xml_http_request(); $sql_query = "SELECT id as col0, user_sender_id as col1, title as col2, send_date as col3, user_receiver_id as col4, msg_status as col5 FROM $table_message " . "WHERE user_sender_id=".api_get_user_id()." AND msg_status=".MESSAGE_STATUS_OUTBOX." " . "ORDER BY col$column $direction LIMIT $from,$number_of_items"; - $sql_result = Database::query($sql_query); $i = 0; $message_list = array (); while ($result = Database::fetch_row($sql_result)) { - if ($request===true) { $message[0] = ''; - } else { + } else { $message[0] = ($result[0]); - } - + } $class = 'class = "read"'; $result[2] = Security::remove_XSS($result[2]); @@ -640,10 +628,10 @@ class MessageManager if ($_GET['f']=='social') { $link = '&f=social'; } - $message[1] = ''.GetFullUserName($result[4]).''; - $message[2] = ''.$result[2].''; - $message[3] = $result[3]; //date stays the same - $message[4] = ''.Display::return_icon('delete.png',get_lang('DeleteMessage')).''; + $message[1] = ''.$result[2].'
'.GetFullUserName($result[4]); + //$message[2] = ''.$result[2].''; + $message[2] = $result[3]; //date stays the same + $message[3] = ''.Display::return_icon('delete.png',get_lang('DeleteMessage')).''; } foreach($message as $key => $value) { @@ -849,7 +837,7 @@ class MessageManager * @param string $user_email * @return int user id */ - public static function get_user_id_by_email ($user_email) { + public static function get_user_id_by_email($user_email) { $tbl_user = Database::get_main_table(TABLE_MAIN_USER); $sql='SELECT user_id FROM '.$tbl_user.' WHERE email="'.Database::escape_string($user_email).'";'; $rs=Database::query($sql); @@ -881,120 +869,120 @@ class MessageManager if (is_array($rows) && count($rows)> 0) { - // prepare array for topics with its items - $topics = array(); - $x = 0; - foreach ($rows as $index=>$value) { - if (empty($value['parent_id'])) { - $x = $index; - $topics[$x] = $value; - } else { - $topics[$x]['items'][] = $value; - } + // prepare array for topics with its items + $topics = array(); + $x = 0; + foreach ($rows as $index=>$value) { + if (empty($value['parent_id'])) { + $x = $index; + $topics[$x] = $value; + } else { + $topics[$x]['items'][] = $value; } - uasort($topics,array('MessageManager','order_desc_date')); - - $param_names = array_keys($_GET); - $array_html = array(); - foreach ($topics as $index => $topic) { - $html = ''; - // topics - $indent = 0; - $user_sender_info = UserManager::get_user_info_by_id($topic['user_sender_id']); - $files_attachments = self::get_links_message_attachment_files($topic['id']); - $name = api_get_person_name($user_sender_info['firstname'], $user_sender_info['lastname']); - - $html .= '
'; - $html .= '
'.Display::return_icon('content-post-group1.jpg',get_lang('Theme')).'
'; - $html .= '
'; - $html .= ''; - $html .= ''.(((isset($_GET['anchor_topic']) && $_GET['anchor_topic'] == 'topic_'.$topic['id']) || in_array('items_'.$topic['id'].'_page_nr',$param_names))?Display::return_icon('div_hide.gif',get_lang('Hide'),array('style'=>'vertical-align: middle')): - Display::return_icon('div_show.gif',get_lang('Show'),array('style'=>'vertical-align: middle'))).' - '.Security::remove_XSS($topic['title']).''; - $html .= ''; - - if ($topic['send_date']!=$topic['update_date']) { - if (!empty($topic['update_date']) && $topic['update_date'] != '0000-00-00 00:00:00' ) { - $html .= ' ('.get_lang('LastUpdate').' '.date_to_str_ago($topic['update_date']).')'; - } - } else { - $html .= ' ('.get_lang('Created').' '.date_to_str_ago($topic['send_date']).')'; + } + uasort($topics,array('MessageManager','order_desc_date')); + + $param_names = array_keys($_GET); + $array_html = array(); + foreach ($topics as $index => $topic) { + $html = ''; + // topics + $indent = 0; + $user_sender_info = UserManager::get_user_info_by_id($topic['user_sender_id']); + $files_attachments = self::get_links_message_attachment_files($topic['id']); + $name = api_get_person_name($user_sender_info['firstname'], $user_sender_info['lastname']); + + $html .= '
'; + + $html .= ''; + $html .= ''.(((isset($_GET['anchor_topic']) && $_GET['anchor_topic'] == 'topic_'.$topic['id']) || in_array('items_'.$topic['id'].'_page_nr',$param_names))?Display::return_icon('div_hide.gif',get_lang('Hide'),array('style'=>'vertical-align: middle')): + Display::return_icon('div_show.gif',get_lang('Show'),array('style'=>'vertical-align: middle'))).' + '.Security::remove_XSS($topic['title']).''; + $html .= ''; + + if ($topic['send_date']!=$topic['update_date']) { + if (!empty($topic['update_date']) && $topic['update_date'] != '0000-00-00 00:00:00' ) { + $html .= ' ('.get_lang('LastUpdate').' '.date_to_str_ago($topic['update_date']).')'; } + } else { + $html .= ' '.get_lang('Created').' '.date_to_str_ago($topic['send_date']).''; + } + + $html .= '
'; + $html .= ''; + $html.= '
'; + $html.= ''; - $html .= '
'; - $html .= '
'; - $array_html[] = array($html); + // grids for items with paginations + $html .= Display::return_sortable_grid('items_'.$topic['id'], array(), $array_html_items, array('hide_navigation'=>false, 'per_page' => $items_per_page), $query_vars, false, array(true, true, true,false), false); } - // grids for items and topics with paginations + $html .= '
'; + + $html .= '
'; //rounded_div + + $array_html[] = array($html); + } + // grids for items and topics with paginations - $html_messages .= '
'; - $html_messages .= Display::return_sortable_grid('topics', array(), $array_html, array('hide_navigation'=>false, 'per_page' => $topics_per_page), $query_vars, false, array(true, true, true,false), false); - $html_messages .= '
'; + //$html_messages .= '
'; + $html_messages .= Display::return_sortable_grid('topics', array(), $array_html, array('hide_navigation'=>false, 'per_page' => $topics_per_page), $query_vars, false, array(true, true, true,false), false); + //$html_messages .= '
'; } return $html_messages; @@ -1139,11 +1127,10 @@ function inbox_display() { $table->set_header(0, '', false,array ('style' => 'width:20px;')); $title=api_xml_http_response_encode(get_lang('Title')); $action=api_xml_http_response_encode(get_lang('Actions')); - - $table->set_header(1,api_xml_http_response_encode(get_lang('From')),true); - $table->set_header(2,$title,true); - $table->set_header(3,api_xml_http_response_encode(get_lang('Date')),true, array('style' => 'width:150px;')); - $table->set_header(4,$action,false,array ('style' => 'width:70px;')); + $table->set_header(1,api_xml_http_response_encode(get_lang('Messages')),false); + //$table->set_header(2,$title,true); + $table->set_header(2,api_xml_http_response_encode(get_lang('Date')),true, array('style' => 'width:150px;')); + $table->set_header(3,$action,false,array ('style' => 'width:70px;')); if ($_REQUEST['f']=='social') { $parameters['f'] = 'social'; @@ -1225,10 +1212,10 @@ function outbox_display() { $title = api_xml_http_response_encode(get_lang('Title')); $action= api_xml_http_response_encode(get_lang('Actions')); - $table->set_header(1, api_xml_http_response_encode(get_lang('To')),true); - $table->set_header(2, $title,true); - $table->set_header(3, api_xml_http_response_encode(get_lang('Date')),true,array ('style' => 'width:150px;')); - $table->set_header(4,$action, false,array ('style' => 'width:70px;')); + $table->set_header(1, api_xml_http_response_encode(get_lang('Messages')),false); + //$table->set_header(2, $title,true); + $table->set_header(2, api_xml_http_response_encode(get_lang('Date')),true,array ('style' => 'width:150px;')); + $table->set_header(3,$action, false,array ('style' => 'width:70px;')); /* if ($_REQUEST['f']=='social') { diff --git a/main/messages/new_message.php b/main/messages/new_message.php index 52c84e499c..97052e5d0b 100755 --- a/main/messages/new_message.php +++ b/main/messages/new_message.php @@ -95,8 +95,16 @@ function add_image_form() { } } } + -'; +'; $nameTools = get_lang('ComposeMessage'); diff --git a/main/messages/outbox.php b/main/messages/outbox.php index 67c3f57ea1..7c9ad65615 100755 --- a/main/messages/outbox.php +++ b/main/messages/outbox.php @@ -153,8 +153,6 @@ echo '
'; MessageManager::delete_message_by_user_sender(api_get_user_id(), $delete_list_id[$i]); } $delete_list_id=array(); - - outbox_display(); } elseif ($_REQUEST['action']=='deleteone') { diff --git a/main/messages/view_message.php b/main/messages/view_message.php index cf9db10b89..2d80866143 100755 --- a/main/messages/view_message.php +++ b/main/messages/view_message.php @@ -79,8 +79,8 @@ echo '
'; echo '
'; if (api_get_setting('allow_social_tool') == 'true'){ echo ''; } echo '
'; echo '
'; -/* - FOOTER -*/ -Display::display_footer(); -?> \ No newline at end of file +/* FOOTER */ +Display::display_footer(); \ No newline at end of file diff --git a/main/social/friends.php b/main/social/friends.php index b92707b2d8..7187de742c 100755 --- a/main/social/friends.php +++ b/main/social/friends.php @@ -144,9 +144,9 @@ if (count($friends) == 0 ) { '; - echo '
'.Display::return_icon('content-post-group1.jpg',get_lang('Friends')).'
'; - echo ''; + echo '
'; ?> diff --git a/main/social/group_add.php b/main/social/group_add.php index 301860109d..58ada91040 100755 --- a/main/social/group_add.php +++ b/main/social/group_add.php @@ -41,7 +41,16 @@ function hide_icon_edit(element_html) { ident="#edit_image"; $(ident).hide(); } -'; + + +'; $table_message = Database::get_main_table(TABLE_MESSAGE); @@ -114,16 +123,8 @@ echo '
'; //show the action menu SocialManager::show_social_menu('group_add'); echo '
'; - echo '
'; - echo ''; - echo '
'; + echo '
'; + $form->display(); + echo '
'; echo '
'; - -Display :: display_footer(); -?> \ No newline at end of file +Display :: display_footer(); \ No newline at end of file diff --git a/main/social/group_edit.php b/main/social/group_edit.php index 974a5dabf0..9846083b26 100755 --- a/main/social/group_edit.php +++ b/main/social/group_edit.php @@ -41,7 +41,16 @@ function hide_icon_edit(element_html) { ident="#edit_image"; $(ident).hide(); } -'; + + +'; $group_id = isset($_GET['id']) ? intval($_GET['id']) : intval($_POST['id']); $tool_name = get_lang('GroupEdit'); @@ -170,17 +179,11 @@ echo '
'; //this include the social menu div SocialManager::show_social_menu('group_edit',$group_id); echo '
'; - echo '
'; - echo '
'; - echo '
'.Display::return_icon('content-post-group1.jpg',get_lang('GroupEdit')).'
'; - echo ''; - + echo ''; echo '
'; echo '
'; diff --git a/main/social/group_invitation.php b/main/social/group_invitation.php index 137156aef4..e8f96f028c 100755 --- a/main/social/group_invitation.php +++ b/main/social/group_invitation.php @@ -357,7 +357,6 @@ if ($add_type == 'multiple') { Display::display_footer(); exit; } - ?>
> @@ -399,9 +398,8 @@ if ($add_type=='multiple') { if(!empty($errorMsg)) { Display::display_error_message($errorMsg); //main API } - echo '
'; - echo '
'.Display::return_icon('content-post-group1.jpg',get_lang('SubscribeUsersToGroup')).'
'; - echo '