Browse Source

Implemented new class=\"social-profile-extended\" at styles and modified the profiles of $user_info[] CT#469 and CT#468

Ricardo Rodriguez 15 years ago
parent
commit
af67d14e9a

+ 5 - 0
main/css/academica/default.css

@@ -1848,6 +1848,11 @@ div.image-social-content center.friend {
 	display : block;
 	padding-left:10px;
 	width:200px;
+}
+
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
 }
 
 /* general layout of the profile page */

+ 7 - 1
main/css/baby_orange/default.css

@@ -1900,7 +1900,13 @@ div.image-social-content center.friend {
     vertical-align:middle;
 	font-weight:700;
 	margin-right:2px;
-}
+}
+
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
+}
+
 .social-content-image {
 	margin-top:4px;
 	margin-right:5px;

+ 5 - 0
main/css/blue_lagoon/default.css

@@ -2668,6 +2668,7 @@ a.read {
 .profile_grid_element_1 { width:170px; float:left; text-align:left;	margin-bottom:1px; }
 
 
+
 /* pagination grid sortable */
 .sub_header {width:100%}
 .grid_selectbox {float:left;width:35%}
@@ -3076,6 +3077,10 @@ a.read {
 	padding:2px;
 }
 
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
+}
 
 div.image-social-content {
 	float:left;

+ 5 - 1
main/css/chamilo/default.css

@@ -3305,7 +3305,11 @@ a.read {
 	margin: 0px;
 	padding:2px;
 }
-
+
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
+}
 
 div.image-social-content {
 	float:left;

+ 5 - 1
main/css/cool_blue/default.css

@@ -3044,7 +3044,11 @@ float:left;
 	margin: 0px;
 	padding:2px;
 }
-
+
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
+}
 
 div.image-social-content {
 	float:left;

+ 7 - 1
main/css/corporate/default.css

@@ -1778,7 +1778,13 @@ div.image-social-content center.friend {
 	background:#FFFF66;
 	color:#000033;
 	font-weight:bold;
-}
+}
+
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
+}
+
 .social-info {
 	background:#B8C8DC;
 	color:#4475B0;

+ 7 - 1
main/css/cosmic_campus/default.css

@@ -1871,7 +1871,13 @@ div.image-social-content center.friend {
 	display : block;
 	padding-left:10px;
 	width:200px;
-}
+}
+
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
+}
+
 /* general layout of the profile page */
 #social-profile-wrapper {
 	width: 100%;

+ 7 - 1
main/css/delicious_bordeaux/default.css

@@ -2339,7 +2339,13 @@ div.image-social-content center.friend {
 	display : block;
 	padding-left:10px;
 	width:200px;
-}
+}
+
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
+}
+
 /* general layout of the profile page */
 #social-profile-wrapper {
 	width: 100%;

+ 5 - 1
main/css/dokeos_blue/default.css

@@ -2996,7 +2996,7 @@ div.image-social-content center.friend {
 	top: 1px;
 	right: 1px;
 	cursor: pointer;
-}
+}
 .social-info {
 	background:#B8C8DC;
 	color:#4475B0;
@@ -3076,6 +3076,10 @@ div.image-social-content center.friend {
 	padding-left:10px;
 	width:200px;
 }
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
+}
 
 /* general layout of the profile page */
 

+ 4 - 0
main/css/dokeos_classic/default.css

@@ -2547,6 +2547,10 @@ div.image-social-content center.friend {
 	color:#808080;
 	float:left;
 	width:100px;
+}
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
 }
 .social-profile-info dd {
 	padding:1px 0px 3px 0px;

+ 4 - 0
main/css/dokeos_classic_2D/default.css

@@ -2588,6 +2588,10 @@ div.image-social-content center.friend {
 	display : block;
 	padding-left:10px;
 	width:200px;
+}
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
 }
 /* general layout of the profile page */
 #social-profile-wrapper {

+ 4 - 0
main/css/empire_green/default.css

@@ -3085,6 +3085,10 @@ div.image-social-content center.friend {
 	display : block;
 	padding-left:10px;
 	width:200px;
+}
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
 }
 
 /* general layout of the profile page */

+ 4 - 0
main/css/fruity_orange/default.css

@@ -3087,6 +3087,10 @@ div.image-social-content center.friend {
 	display : block;
 	padding-left:10px;
 	width:200px;
+}
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
 }
 
 /* general layout of the profile page */

+ 6 - 1
main/css/medical/default.css

@@ -2513,7 +2513,12 @@ div.image-social-content center.friend {
 	display : block;
 	padding-left:10px;
 	width:200px;
-}
+}
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
+}
+
 /* general layout of the profile page */
 #social-profile-wrapper {
 	width: 100%;

+ 4 - 0
main/css/public_admin/default.css

@@ -3267,6 +3267,10 @@ div.image-social-content center.friend {
 	padding-left:10px;
 	width:200px;
 }
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
+}
 
 /* general layout of the profile page */
 

+ 4 - 0
main/css/royal_purple/default.css

@@ -3080,6 +3080,10 @@ div.image-social-content center.friend {
 	display : block;
 	padding-left:10px;
 	width:200px;
+}
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
 }
 
 /* general layout of the profile page */

+ 6 - 1
main/css/silver_line/default.css

@@ -2243,7 +2243,12 @@ div.image-social-content center.friend {
 	display : block;
 	padding-left:10px;
 	width:200px;
-}
+}
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
+}
+
 /* general layout of the profile page */
 #social-profile-wrapper {
 	width: 100%;

+ 4 - 0
main/css/sober_brown/default.css

@@ -3639,6 +3639,10 @@ div.image-social-content center.friend {
 	display : block;
 	padding-left:10px;
 	width:200px;
+}
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
 }
 
 /* general layout of the profile page */

+ 4 - 0
main/css/steel_grey/default.css

@@ -3088,6 +3088,10 @@ div.image-social-content center.friend {
 	display : block;
 	padding-left:10px;
 	width:200px;
+}
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
 }
 
 /* general layout of the profile page */

+ 4 - 0
main/css/tasty_olive/default.css

@@ -3175,6 +3175,10 @@ div.image-social-content center.friend {
 	display : block;
 	padding-left:10px;
 	width:200px;
+}
+.social-profile-extended {
+	width:320px;
+	overflow:hidden;
 }
 
 /* general layout of the profile page */

+ 4 - 4
main/social/profile.php

@@ -644,28 +644,28 @@ echo '<div id="social-content-right">';
 								echo '<br />';
 								echo '<div class="social-background-content" style="width:100%;">';
 								echo '<div class="social-actions-message"><strong>'.get_lang('MyCompetences').'</strong></div>';
-								echo cut($user_info['competences'],$cut_size);
+								echo '<div class="social-profile-extended">'.$user_info['competences'].'</div>';
 								echo '</div>';
 								echo '<br />';
 							}				
 							if (!empty($user_info['diplomas'])) {
 								echo '<div class="social-background-content" style="width:100%;" >';
 								echo '<div class="social-actions-message"><strong>'.get_lang('MyDiplomas').'</strong></div>';
-								echo cut($user_info['diplomas'],$cut_size);
+								echo '<div class="social-profile-extended">'.$user_info['diplomas'].'</div>'; 
 								echo '</div>';
 								echo '<br />';
 							}
 							if (!empty($user_info['openarea'])) {
 								echo '<div class="social-background-content" style="width:100%;" >';
 								echo '<div class="social-actions-message"><strong>'.get_lang('MyPersonalOpenArea').'</strong></div>';
-								echo cut($user_info['openarea'],$cut_size);
+								echo '<div class="social-profile-extended">'.$user_info['openarea'].'</div>';
 								echo '</div>';
 								echo '<br />';
 							}
 							if (!empty($user_info['teach'])) {
 								echo '<div class="social-background-content" style="width:100%;" >';
 								echo '<div class="social-actions-message"><strong>'.get_lang('MyTeach').'</strong></div>';
-								echo cut($user_info['teach'],$cut_size);
+								echo '<div class="social-profile-extended">'.$user_info['teach'].'</div>';
 								echo '</div>';
 								echo '<br />';
 							}