Browse Source

Merge pull request #1253 from aragonc/1.11.x

fix css gravatar
Alex Aragon Calixto 8 years ago
parent
commit
3b23a7ee29

+ 7 - 25
app/Resources/public/css/base.css

@@ -2496,6 +2496,8 @@ table#skill_holder {
   padding-top: .5em;
   padding-bottom: .5em;
   width: auto;
+  font-size: 12px;
+  line-height: 16px;
 }
 .lp-add-item{
   display:block;
@@ -3014,31 +3016,6 @@ a.forum_group_link {
     border: 1px solid #ccc;
     margin-bottom:5px;
 }
-
-#hide_bar_template {
-    vertical-align: middle;
-    width: 10px;
-    display: inline;
-    float:left;
-    height: 100%;
-    padding-bottom: 90em;
-    margin-bottom: -90em;
-    cursor:pointer;
-    background-color:#eee;
-    margin-left: 4px !important;
-    background-image: url("../../main/img/hide0.png");
-    background-repeat: no-repeat;
-    background-position: center center;
-}
-
-.hide_bar_template_not_hide {
-    background-image: url("../../main/img/hide2.png") !important;
-}
-
-#hide_bar_template:hover {
-    background-color:#aaa;
-}
-
 .timeline-example {
     background-color: #FFFFFF;
     border: 1px solid #CCCCCC;
@@ -5694,6 +5671,11 @@ a.sessionView {
 #resource_tab li.lp_resource_element a{
     padding: 5px;
 }
+/* Gravatar */
+#user_image_block img,
+#sn-avatar-one a.expand-image img{
+    width: 120px;
+}
 /* CSS NEW TOP ******************************************************************************/
 /* CSS Responsive */
 @media (min-width: 1025px) and (max-width: 1200px) {

+ 15 - 13
main/document/create_document.php

@@ -23,21 +23,23 @@ var hide_bar = function() {
 
 $(document).ready(function() {
     $(".scrollbar-light").scrollbar();
-
+    
     if ($(window).width() <= 785 ) {
         hide_bar();
     }    
 
     $("#hide_bar_template").click(function() {
         
-        $("#template_col").toggleClass("hide");
+        $("#expand").toggleClass("hide");
+        $("#expand").toggleClass("hide");
+        $("#contract").toggleClass("hide");
         
-        if ($("#doc_form").is(".col-md-8")) {
-            $("#doc_form").removeClass("col-md-8");
+        if ($("#doc_form").is(".col-md-9")) {
+            $("#doc_form").removeClass("col-md-9");
             $("#doc_form").addClass("col-md-11");
         } else {
             $("#doc_form").removeClass("col-md-11");
-            $("#doc_form").addClass("col-md-8");
+            $("#doc_form").addClass("col-md-9");
         }
         
         $("#hide_bar_template").toggleClass("hide_bar_template_not_hide");
@@ -611,11 +613,13 @@ if ($form->validate()) {
 
 	// link back to the documents overview
 	if ($is_certificate_mode) {
-		$actionsLeft =  '<a href="document.php?certificate=true&id='.$folder_id.'&selectcat=' . Security::remove_XSS($_GET['selectcat']).'">'.
+            $actionsLeft =  '<a href="document.php?certificate=true&id='.$folder_id.'&selectcat=' . Security::remove_XSS($_GET['selectcat']).'">'.
             Display::return_icon('back.png',get_lang('Back').' '.get_lang('To').' '.get_lang('CertificateOverview'),'',ICON_SIZE_MEDIUM).'</a>';
+            $actionsLeft .= '<a id="hide_bar_template" href="#">'.Display::return_icon('expand.png',get_lang('Back'),null,ICON_SIZE_MEDIUM).'</a>';
         } else {
-		$actionsLeft = '<a href="document.php?curdirpath='.Security::remove_XSS($dir).'">'.
+            $actionsLeft = '<a href="document.php?curdirpath='.Security::remove_XSS($dir).'">'.
             Display::return_icon('back.png',get_lang('Back').' '.get_lang('To').' '.get_lang('DocumentsOverview'),'',ICON_SIZE_MEDIUM).'</a>';
+            $actionsLeft .= '<a id="hide_bar_template" href="#">'.Display::return_icon('expand.png',get_lang('Back'),array('id'=>'expand'),ICON_SIZE_MEDIUM).Display::return_icon('contract.png',get_lang('Back'),array('id'=>'contract', 'class'=>'hide'),ICON_SIZE_MEDIUM).'</a>';
         }
 
         echo $toolbar = Display::toolbarAction('actions-documents', array(0 => $actionsLeft, 1 => ''));
@@ -632,20 +636,18 @@ if ($form->validate()) {
 		Display::display_normal_message($create_certificate.': <br /><br/>'.$str_info,false);
 	}
     // HTML-editor
-    echo '<div class="row" style="overflow:hidden">
-            <div id="template_col" class="col-md-2">
+    echo '<div class="page-create">
+            <div class="row" style="overflow:hidden">
+            <div id="template_col" class="col-md-3">
                 <div class="panel panel-default">
                 <div class="panel-body">
                     <div id="frmModel" class="items-templates scrollbar-light"></div>
                 </div>
                 </div>
             </div>
-            <div class="col-md-1">
-                <div id="hide_bar_template"></div>
-            </div>
             <div id="doc_form" class="col-md-9">
                 '.$form->returnForm().'
             </div>
-          </div>';
+          </div></div>';
 	Display :: display_footer();
 }

BIN
main/img/icons/128/contract.png


BIN
main/img/icons/128/expand.png


BIN
main/img/icons/22/contract.png


BIN
main/img/icons/22/expand.png


BIN
main/img/icons/32/contract.png


BIN
main/img/icons/32/expand.png


BIN
main/img/icons/48/contract.png


BIN
main/img/icons/48/expand.png


BIN
main/img/icons/64/contract.png


BIN
main/img/icons/64/expand.png


+ 222 - 0
main/img/icons/svg/contract.svg

@@ -0,0 +1,222 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   enable-background="new 0 0 512 512"
+   height="128"
+   id="Layer_1"
+   version="1.1"
+   viewBox="0 0 128 128"
+   width="128"
+   xml:space="preserve"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="contract.svg"><metadata
+     id="metadata13"><rdf:RDF><cc:Work
+         rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs
+     id="defs11"><linearGradient
+       inkscape:collect="always"
+       id="linearGradient4161"><stop
+         style="stop-color:#ffffff;stop-opacity:1;"
+         offset="0"
+         id="stop4163" /><stop
+         style="stop-color:#ffffff;stop-opacity:0;"
+         offset="1"
+         id="stop4165" /></linearGradient><linearGradient
+       inkscape:collect="always"
+       id="linearGradient4151"><stop
+         style="stop-color:#2daccd;stop-opacity:1"
+         offset="0"
+         id="stop4153" /><stop
+         style="stop-color:#006189;stop-opacity:1"
+         offset="1"
+         id="stop4155" /></linearGradient><linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4151"
+       id="linearGradient4157"
+       x1="216.94914"
+       y1="211.52544"
+       x2="315.66104"
+       y2="314.03391"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.91828274,0,0,0.91828274,-178.05359,-178.05359)" /><linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4161"
+       id="linearGradient4167"
+       x1="254.17493"
+       y1="213.81667"
+       x2="223.97308"
+       y2="242.96385"
+       gradientUnits="userSpaceOnUse" /><filter
+       inkscape:collect="always"
+       style="color-interpolation-filters:sRGB"
+       id="filter4209"
+       x="-0.073903374"
+       width="1.1478066"
+       y="-0.070192203"
+       height="1.1403844"><feGaussianBlur
+         inkscape:collect="always"
+         stdDeviation="1.5928788"
+         id="feGaussianBlur4211" /></filter><linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4161"
+       id="linearGradient4215"
+       gradientUnits="userSpaceOnUse"
+       x1="254.17493"
+       y1="213.81667"
+       x2="223.97308"
+       y2="242.96385"
+       gradientTransform="translate(-2.3010933,82.839357)" /><linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4161"
+       id="linearGradient4219"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="translate(74.0185,77.853655)"
+       x1="254.17493"
+       y1="213.81667"
+       x2="223.97308"
+       y2="242.96385" /><linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4161"
+       id="linearGradient4223"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="translate(74.0185,77.853655)"
+       x1="254.17493"
+       y1="213.81667"
+       x2="223.97308"
+       y2="242.96385" /><linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4151"
+       id="linearGradient4321"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.91828274,0,0,0.91828274,-178.05359,-178.05359)"
+       x1="216.94914"
+       y1="211.52544"
+       x2="315.66104"
+       y2="314.03391" /><linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4151"
+       id="linearGradient4323"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.91828274,0,0,0.91828274,-178.05359,-178.05359)"
+       x1="216.94914"
+       y1="211.52544"
+       x2="315.66104"
+       y2="314.03391" /><linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4151"
+       id="linearGradient4325"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.91828274,0,0,0.91828274,-178.05359,-178.05359)"
+       x1="216.94914"
+       y1="211.52544"
+       x2="315.66104"
+       y2="314.03391" /></defs><sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="1325"
+     inkscape:window-height="747"
+     id="namedview9"
+     showgrid="false"
+     inkscape:zoom="1.84375"
+     inkscape:cx="82.385615"
+     inkscape:cy="62.608396"
+     inkscape:window-x="41"
+     inkscape:window-y="21"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="Layer_1" /><g
+     id="g5203"
+     inkscape:export-filename="/var/www/chamilo11/main/img/icons/128/contract.png"
+     inkscape:export-xdpi="90"
+     inkscape:export-ydpi="90"><rect
+       y="-1.5497208e-06"
+       x="0"
+       height="128"
+       width="128"
+       id="rect5182"
+       style="opacity:0;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /><g
+       transform="translate(1.5645942e-5,-0.08111333)"
+       id="g5184"><g
+         id="g4300"
+         transform="matrix(-0.74163088,0,0,-0.74163088,53.926898,53.926898)"><path
+           d="m 12.576172,5.2285156 c -4.0606465,0 -7.3476564,3.290683 -7.3476564,7.3476564 l 0,22.039062 c 0,4.060646 3.2870099,7.345704 7.3476564,7.345704 L 22.009766,32.53125 46.179688,56.697266 56.695312,46.179688 32.527344,22.009766 41.960938,12.576172 c 0,-4.0569734 -3.285058,-7.3476564 -7.345704,-7.3476564 l -22.039062,0 z"
+           inkscape:href="#path7"
+           id="path4144"
+           xlink:href="#path7"
+           inkscape:original="M 12.576172 5.2285156 C 8.5155255 5.2285156 5.2285156 8.5191986 5.2285156 12.576172 L 5.2285156 34.615234 C 5.2285156 38.67588 8.5155255 41.960938 12.576172 41.960938 L 22.009766 32.53125 L 46.179688 56.697266 L 56.695312 46.179688 L 32.527344 22.009766 L 41.960938 12.576172 C 41.960938 8.5191986 38.67588 5.2285156 34.615234 5.2285156 L 12.576172 5.2285156 z "
+           inkscape:radius="0"
+           sodipodi:type="inkscape:offset" /><path
+           id="path4290"
+           d="M 12.576168,7.6492557e-7 C 5.6914254,7.6492557e-7 7.6492557e-7,5.6956954 7.6492557e-7,12.576168 l 0,22.038785 C 7.6492557e-7,41.496537 5.6945843,47.19112 12.576168,47.19112 a 5.2300654,5.2300654 0 0 0 3.696446,-1.531668 l 5.737476,-5.733886 20.47125,20.469459 a 5.2300654,5.2300654 0 0 0 7.396473,0 L 60.395025,49.877813 a 5.2300654,5.2300654 0 0 0 0,-7.396473 L 39.923775,22.01009 45.659452,16.274404 A 5.2300654,5.2300654 0 0 0 47.19112,12.576168 C 47.19112,5.6956954 41.499696,7.649256e-7 34.614953,7.649256e-7 l -22.038785,0 z"
+           style="fill:#164450"
+           inkscape:connector-curvature="0" /><path
+           id="path7"
+           d="m 41.960729,12.575681 c 0,-4.0569733 -3.285616,-7.3462621 -7.346262,-7.3462621 l -22.038786,0 c -4.0606464,0 -7.3462621,3.2892888 -7.3462621,7.3462621 l 0,22.038786 c 0,4.060646 3.2856157,7.346262 7.3462621,7.346262 L 22.009659,32.530424 46.17909,56.696412 56.696182,46.179319 32.526751,22.009659 41.960729,12.575681 Z"
+           style="fill:url(#linearGradient4157);fill-opacity:1"
+           inkscape:connector-curvature="0" /><path
+           transform="matrix(0.91828274,0,0,0.91828274,-178.05359,-178.05359)"
+           sodipodi:nodetypes="ccccccc"
+           inkscape:connector-curvature="0"
+           id="path4159"
+           d="m 218.10802,229.19583 -10.42471,10.7637 c -6.04245,-0.99741 -7.6753,-3.04094 -8.37037,-10.40427 1.44589,-10.60089 -2.72811,-25.91585 3.7106,-28.34667 l 47.99702,47.70939 -6.85817,6.75405 z"
+           style="fill:url(#linearGradient4167);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;filter:url(#filter4209)" /></g><g
+         id="g4316"
+         transform="matrix(-0.74686544,0,0,-0.74686544,55.2075,169.511)"><path
+           id="path4286"
+           d="M 46.102459,66.075109 A 5.2300654,5.2300654 0 0 0 42.48134,67.604977 L 22.01009,88.076227 16.274404,82.34055 A 5.2300654,5.2300654 0 0 0 12.576168,80.808882 C 5.6945843,80.808882 7.6492555e-7,86.503465 7.6492555e-7,93.385049 l 0,22.038781 C 7.6492555e-7,122.30542 5.6945843,128 12.576168,128 l 22.038785,0 c 6.881584,0 12.576167,-5.69458 12.576167,-12.57617 a 5.2300654,5.2300654 0 0 0 -1.533459,-3.70003 l -5.733886,-5.7303 20.47125,-20.476628 a 5.2300654,5.2300654 0 0 0 0,-7.394683 L 49.877813,67.604977 a 5.2300654,5.2300654 0 0 0 -3.775354,-1.529868 z"
+           style="fill:#164450"
+           inkscape:connector-curvature="0" /><path
+           id="path4298"
+           d="M 46.17909,71.302617 22.009659,95.472278 12.575681,86.0383 c -4.0606464,0 -7.3462621,3.285616 -7.3462621,7.346262 l 0,22.038788 c 0,4.06064 3.2856157,7.34626 7.3462621,7.34626 l 22.038786,0 c 4.060646,0 7.346262,-3.28562 7.346262,-7.34626 L 32.526521,105.99672 56.695953,81.820168 46.17909,71.302617 Z"
+           style="fill:url(#linearGradient4321);fill-opacity:1"
+           inkscape:connector-curvature="0" /><path
+           transform="matrix(0,-0.91828274,0.91828274,0,-251.15218,304.33323)"
+           style="fill:url(#linearGradient4215);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;filter:url(#filter4209)"
+           d="m 215.80693,312.03519 -10.42471,10.7637 c -6.04245,-0.99741 -7.6753,-3.04094 -8.37037,-10.40427 1.44589,-10.60089 -2.72811,-25.91585 3.7106,-28.34667 l 47.99702,47.70939 -6.85817,6.75405 z"
+           id="path4213"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="ccccccc" /></g><g
+         id="g4311"
+         transform="matrix(-0.74162712,0,0,-0.74162712,169.00224,169.00276)"><path
+           id="path4148"
+           d="m 81.743308,66.075109 a 5.2300654,5.2300654 0 0 0 -3.621119,1.529868 L 67.604977,78.122189 a 5.2300654,5.2300654 0 0 0 0,7.394683 l 20.47125,20.476628 -5.733886,5.7303 a 5.2300654,5.2300654 0 0 0 -1.533459,3.70003 c 0,6.88159 5.694583,12.57617 12.576167,12.57617 l 22.038781,0 C 122.30542,128 128,122.30542 128,115.42383 l 0,-22.038781 c 0,-6.881584 -5.69458,-12.576167 -12.57617,-12.576167 a 5.2300654,5.2300654 0 0 0 -3.69823,1.531668 l -5.73569,5.735677 -20.471248,-20.47125 a 5.2300654,5.2300654 0 0 0 -3.775354,-1.529868 z"
+           style="fill:#164450"
+           inkscape:connector-curvature="0" /><path
+           id="path4294"
+           d="M 115.42335,86.0383 105.98914,95.472278 81.819939,71.302847 71.302847,81.819939 95.472278,105.99649 86.0383,115.42335 c 0,4.06064 3.285616,7.34626 7.346262,7.34626 l 22.038788,0 c 4.06064,0 7.34626,-3.28562 7.34626,-7.34626 l 0,-22.038788 c 0,-4.060646 -3.28562,-7.346262 -7.34626,-7.346262 z"
+           style="fill:url(#linearGradient4323);fill-opacity:1"
+           inkscape:connector-curvature="0" /><path
+           transform="matrix(0,-0.91828274,-0.91828274,0,376.17707,374.76837)"
+           sodipodi:nodetypes="ccccccc"
+           inkscape:connector-curvature="0"
+           id="path4217"
+           d="m 292.12652,307.04949 -10.42471,10.7637 c -6.04245,-0.99741 -7.6753,-3.04094 -8.37037,-10.40427 1.44589,-10.60089 -2.72811,-25.91585 3.7106,-28.34667 l 47.99702,47.70939 -6.85817,6.75405 z"
+           style="fill:url(#linearGradient4219);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;filter:url(#filter4209)" /></g><g
+         id="g4306"
+         transform="matrix(-0.70933474,0,0,-0.70933474,165.86791,52.926898)"><path
+           id="path4288"
+           d="M 93.385049,7.6492557e-7 C 86.500306,7.6492557e-7 80.808882,5.6956954 80.808882,12.576168 a 5.2300654,5.2300654 0 0 0 1.531668,3.698236 l 5.735677,5.735686 -20.47125,20.47125 a 5.2300654,5.2300654 0 0 0 0,7.396473 l 10.517212,10.517212 a 5.2300654,5.2300654 0 0 0 7.396473,0 l 20.471248,-20.469459 5.73748,5.733886 a 5.2300654,5.2300654 0 0 0 3.69644,1.531668 C 122.30542,47.19112 128,41.496537 128,34.614953 l 0,-22.038785 C 128,5.6956954 122.30858,7.6492557e-7 115.42383,7.6492557e-7 l -22.038781,0 z"
+           style="fill:#164450"
+           inkscape:connector-curvature="0" /><path
+           id="path4296"
+           d="m 115.42335,5.2294189 -22.038788,0 c -4.060646,0 -7.346262,3.2892888 -7.346262,7.3462621 l 9.433978,9.433978 -24.169661,24.169431 10.517092,10.517092 24.169431,-24.165988 9.43421,9.430535 c 4.06064,0 7.34626,-3.285616 7.34626,-7.346262 l 0,-22.038786 c 0,-4.0569733 -3.28562,-7.3462621 -7.34626,-7.3462621 z"
+           style="fill:url(#linearGradient4325);fill-opacity:1"
+           inkscape:connector-curvature="0" /><path
+           style="fill:url(#linearGradient4223);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;filter:url(#filter4209)"
+           d="m 292.12652,307.04949 -10.42471,10.7637 c -6.04245,-0.99741 -7.6753,-3.04094 -8.37037,-10.40427 1.44589,-10.60089 -2.72811,-25.91585 3.7106,-28.34667 l 47.99702,47.70939 -6.85817,6.75405 z"
+           id="path4221"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="ccccccc"
+           transform="matrix(-0.91828274,0,0,0.91828274,373.12604,-249.9543)" /></g></g></g></svg>

+ 222 - 0
main/img/icons/svg/expand.svg

@@ -0,0 +1,222 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   enable-background="new 0 0 512 512"
+   height="128"
+   id="Layer_1"
+   version="1.1"
+   viewBox="0 0 128 128"
+   width="128"
+   xml:space="preserve"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="expand.svg"><metadata
+     id="metadata13"><rdf:RDF><cc:Work
+         rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
+     id="defs11"><linearGradient
+       inkscape:collect="always"
+       id="linearGradient4161"><stop
+         style="stop-color:#ffffff;stop-opacity:1;"
+         offset="0"
+         id="stop4163" /><stop
+         style="stop-color:#ffffff;stop-opacity:0;"
+         offset="1"
+         id="stop4165" /></linearGradient><linearGradient
+       inkscape:collect="always"
+       id="linearGradient4151"><stop
+         style="stop-color:#2daccd;stop-opacity:1"
+         offset="0"
+         id="stop4153" /><stop
+         style="stop-color:#006189;stop-opacity:1"
+         offset="1"
+         id="stop4155" /></linearGradient><linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4151"
+       id="linearGradient4157"
+       x1="216.94914"
+       y1="211.52544"
+       x2="315.66104"
+       y2="314.03391"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.91828274,0,0,0.91828274,-178.05359,-178.05359)" /><linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4161"
+       id="linearGradient4167"
+       x1="254.17493"
+       y1="213.81667"
+       x2="223.97308"
+       y2="242.96385"
+       gradientUnits="userSpaceOnUse" /><filter
+       inkscape:collect="always"
+       style="color-interpolation-filters:sRGB"
+       id="filter4209"
+       x="-0.073903374"
+       width="1.1478066"
+       y="-0.070192203"
+       height="1.1403844"><feGaussianBlur
+         inkscape:collect="always"
+         stdDeviation="1.5928788"
+         id="feGaussianBlur4211" /></filter><linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4161"
+       id="linearGradient4215"
+       gradientUnits="userSpaceOnUse"
+       x1="254.17493"
+       y1="213.81667"
+       x2="223.97308"
+       y2="242.96385"
+       gradientTransform="translate(-2.3010933,82.839357)" /><linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4161"
+       id="linearGradient4219"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="translate(74.0185,77.853655)"
+       x1="254.17493"
+       y1="213.81667"
+       x2="223.97308"
+       y2="242.96385" /><linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4161"
+       id="linearGradient4223"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="translate(74.0185,77.853655)"
+       x1="254.17493"
+       y1="213.81667"
+       x2="223.97308"
+       y2="242.96385" /><linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4151"
+       id="linearGradient4321"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.91828274,0,0,0.91828274,-178.05359,-178.05359)"
+       x1="216.94914"
+       y1="211.52544"
+       x2="315.66104"
+       y2="314.03391" /><linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4151"
+       id="linearGradient4323"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.91828274,0,0,0.91828274,-178.05359,-178.05359)"
+       x1="216.94914"
+       y1="211.52544"
+       x2="315.66104"
+       y2="314.03391" /><linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4151"
+       id="linearGradient4325"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.91828274,0,0,0.91828274,-178.05359,-178.05359)"
+       x1="216.94914"
+       y1="211.52544"
+       x2="315.66104"
+       y2="314.03391" /></defs><sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="1325"
+     inkscape:window-height="747"
+     id="namedview9"
+     showgrid="false"
+     inkscape:zoom="1.84375"
+     inkscape:cx="101.20404"
+     inkscape:cy="27.754443"
+     inkscape:window-x="41"
+     inkscape:window-y="21"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="Layer_1" /><g
+     id="g4411"
+     inkscape:export-filename="/var/www/chamilo11/main/img/icons/128/expand.png"
+     inkscape:export-xdpi="90"
+     inkscape:export-ydpi="90"><g
+       id="g4390"><g
+         id="g4300"
+         transform="matrix(0.74163088,0,0,0.74163088,7.999998,7.999998)"><path
+           d="m 12.576172,5.2285156 c -4.0606465,0 -7.3476564,3.290683 -7.3476564,7.3476564 l 0,22.039062 c 0,4.060646 3.2870099,7.345704 7.3476564,7.345704 L 22.009766,32.53125 46.179688,56.697266 56.695312,46.179688 32.527344,22.009766 41.960938,12.576172 c 0,-4.0569734 -3.285058,-7.3476564 -7.345704,-7.3476564 l -22.039062,0 z"
+           inkscape:href="#path7"
+           id="path4144"
+           xlink:href="#path7"
+           inkscape:original="M 12.576172 5.2285156 C 8.5155255 5.2285156 5.2285156 8.5191986 5.2285156 12.576172 L 5.2285156 34.615234 C 5.2285156 38.67588 8.5155255 41.960938 12.576172 41.960938 L 22.009766 32.53125 L 46.179688 56.697266 L 56.695312 46.179688 L 32.527344 22.009766 L 41.960938 12.576172 C 41.960938 8.5191986 38.67588 5.2285156 34.615234 5.2285156 L 12.576172 5.2285156 z "
+           inkscape:radius="0"
+           sodipodi:type="inkscape:offset" /><path
+           id="path4290"
+           d="M 12.576168,7.6492557e-7 C 5.6914254,7.6492557e-7 7.6492557e-7,5.6956954 7.6492557e-7,12.576168 l 0,22.038785 C 7.6492557e-7,41.496537 5.6945843,47.19112 12.576168,47.19112 a 5.2300654,5.2300654 0 0 0 3.696446,-1.531668 l 5.737476,-5.733886 20.47125,20.469459 a 5.2300654,5.2300654 0 0 0 7.396473,0 L 60.395025,49.877813 a 5.2300654,5.2300654 0 0 0 0,-7.396473 L 39.923775,22.01009 45.659452,16.274404 A 5.2300654,5.2300654 0 0 0 47.19112,12.576168 C 47.19112,5.6956954 41.499696,7.649256e-7 34.614953,7.649256e-7 l -22.038785,0 z"
+           style="fill:#164450"
+           inkscape:connector-curvature="0" /><path
+           id="path7"
+           d="m 41.960729,12.575681 c 0,-4.0569733 -3.285616,-7.3462621 -7.346262,-7.3462621 l -22.038786,0 c -4.0606464,0 -7.3462621,3.2892888 -7.3462621,7.3462621 l 0,22.038786 c 0,4.060646 3.2856157,7.346262 7.3462621,7.346262 L 22.009659,32.530424 46.17909,56.696412 56.696182,46.179319 32.526751,22.009659 41.960729,12.575681 Z"
+           style="fill:url(#linearGradient4157);fill-opacity:1"
+           inkscape:connector-curvature="0" /><path
+           transform="matrix(0.91828274,0,0,0.91828274,-178.05359,-178.05359)"
+           sodipodi:nodetypes="ccccccc"
+           inkscape:connector-curvature="0"
+           id="path4159"
+           d="m 218.10802,229.19583 -10.42471,10.7637 c -6.04245,-0.99741 -7.6753,-3.04094 -8.37037,-10.40427 1.44589,-10.60089 -2.72811,-25.91585 3.7106,-28.34667 l 47.99702,47.70939 -6.85817,6.75405 z"
+           style="fill:url(#linearGradient4167);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;filter:url(#filter4209)" /></g><g
+         id="g4316"
+         transform="matrix(0.74686544,0,0,0.74686544,8.0000026,24.563449)"><path
+           id="path4286"
+           d="M 46.102459,66.075109 A 5.2300654,5.2300654 0 0 0 42.48134,67.604977 L 22.01009,88.076227 16.274404,82.34055 A 5.2300654,5.2300654 0 0 0 12.576168,80.808882 C 5.6945843,80.808882 7.6492555e-7,86.503465 7.6492555e-7,93.385049 l 0,22.038781 C 7.6492555e-7,122.30542 5.6945843,128 12.576168,128 l 22.038785,0 c 6.881584,0 12.576167,-5.69458 12.576167,-12.57617 a 5.2300654,5.2300654 0 0 0 -1.533459,-3.70003 l -5.733886,-5.7303 20.47125,-20.476628 a 5.2300654,5.2300654 0 0 0 0,-7.394683 L 49.877813,67.604977 a 5.2300654,5.2300654 0 0 0 -3.775354,-1.529868 z"
+           style="fill:#164450"
+           inkscape:connector-curvature="0" /><path
+           id="path4298"
+           d="M 46.17909,71.302617 22.009659,95.472278 12.575681,86.0383 c -4.0606464,0 -7.3462621,3.285616 -7.3462621,7.346262 l 0,22.038788 c 0,4.06064 3.2856157,7.34626 7.3462621,7.34626 l 22.038786,0 c 4.060646,0 7.346262,-3.28562 7.346262,-7.34626 L 32.526521,105.99672 56.695953,81.820168 46.17909,71.302617 Z"
+           style="fill:url(#linearGradient4321);fill-opacity:1"
+           inkscape:connector-curvature="0" /><path
+           transform="matrix(0,-0.91828274,0.91828274,0,-251.15218,304.33323)"
+           style="fill:url(#linearGradient4215);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;filter:url(#filter4209)"
+           d="m 215.80693,312.03519 -10.42471,10.7637 c -6.04245,-0.99741 -7.6753,-3.04094 -8.37037,-10.40427 1.44589,-10.60089 -2.72811,-25.91585 3.7106,-28.34667 l 47.99702,47.70939 -6.85817,6.75405 z"
+           id="path4213"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="ccccccc" /></g><g
+         id="g4311"
+         transform="matrix(0.74162712,0,0,0.74162712,25.071699,25.071833)"><path
+           id="path4148"
+           d="m 81.743308,66.075109 a 5.2300654,5.2300654 0 0 0 -3.621119,1.529868 L 67.604977,78.122189 a 5.2300654,5.2300654 0 0 0 0,7.394683 l 20.47125,20.476628 -5.733886,5.7303 a 5.2300654,5.2300654 0 0 0 -1.533459,3.70003 c 0,6.88159 5.694583,12.57617 12.576167,12.57617 l 22.038781,0 C 122.30542,128 128,122.30542 128,115.42383 l 0,-22.038781 c 0,-6.881584 -5.69458,-12.576167 -12.57617,-12.576167 a 5.2300654,5.2300654 0 0 0 -3.69823,1.531668 l -5.73569,5.735677 -20.471248,-20.47125 a 5.2300654,5.2300654 0 0 0 -3.775354,-1.529868 z"
+           style="fill:#164450"
+           inkscape:connector-curvature="0" /><path
+           id="path4294"
+           d="M 115.42335,86.0383 105.98914,95.472278 81.819939,71.302847 71.302847,81.819939 95.472278,105.99649 86.0383,115.42335 c 0,4.06064 3.285616,7.34626 7.346262,7.34626 l 22.038788,0 c 4.06064,0 7.34626,-3.28562 7.34626,-7.34626 l 0,-22.038788 c 0,-4.060646 -3.28562,-7.346262 -7.34626,-7.346262 z"
+           style="fill:url(#linearGradient4323);fill-opacity:1"
+           inkscape:connector-curvature="0" /><path
+           transform="matrix(0,-0.91828274,-0.91828274,0,376.17707,374.76837)"
+           sodipodi:nodetypes="ccccccc"
+           inkscape:connector-curvature="0"
+           id="path4217"
+           d="m 292.12652,307.04949 -10.42471,10.7637 c -6.04245,-0.99741 -7.6753,-3.04094 -8.37037,-10.40427 1.44589,-10.60089 -2.72811,-25.91585 3.7106,-28.34667 l 47.99702,47.70939 -6.85817,6.75405 z"
+           style="fill:url(#linearGradient4219);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;filter:url(#filter4209)" /></g><g
+         id="g4306"
+         transform="matrix(0.70933474,0,0,0.70933474,28.205115,8.9999977)"><path
+           id="path4288"
+           d="M 93.385049,7.6492557e-7 C 86.500306,7.6492557e-7 80.808882,5.6956954 80.808882,12.576168 a 5.2300654,5.2300654 0 0 0 1.531668,3.698236 l 5.735677,5.735686 -20.47125,20.47125 a 5.2300654,5.2300654 0 0 0 0,7.396473 l 10.517212,10.517212 a 5.2300654,5.2300654 0 0 0 7.396473,0 l 20.471248,-20.469459 5.73748,5.733886 a 5.2300654,5.2300654 0 0 0 3.69644,1.531668 C 122.30542,47.19112 128,41.496537 128,34.614953 l 0,-22.038785 C 128,5.6956954 122.30858,7.6492557e-7 115.42383,7.6492557e-7 l -22.038781,0 z"
+           style="fill:#164450"
+           inkscape:connector-curvature="0" /><path
+           id="path4296"
+           d="m 115.42335,5.2294189 -22.038788,0 c -4.060646,0 -7.346262,3.2892888 -7.346262,7.3462621 l 9.433978,9.433978 -24.169661,24.169431 10.517092,10.517092 24.169431,-24.165988 9.43421,9.430535 c 4.06064,0 7.34626,-3.285616 7.34626,-7.346262 l 0,-22.038786 c 0,-4.0569733 -3.28562,-7.3462621 -7.34626,-7.3462621 z"
+           style="fill:url(#linearGradient4325);fill-opacity:1"
+           inkscape:connector-curvature="0" /><path
+           style="fill:url(#linearGradient4223);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;filter:url(#filter4209)"
+           d="m 292.12652,307.04949 -10.42471,10.7637 c -6.04245,-0.99741 -7.6753,-3.04094 -8.37037,-10.40427 1.44589,-10.60089 -2.72811,-25.91585 3.7106,-28.34667 l 47.99702,47.70939 -6.85817,6.75405 z"
+           id="path4221"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="ccccccc"
+           transform="matrix(-0.91828274,0,0,0.91828274,373.12604,-249.9543)" /></g></g><rect
+       ry="0"
+       y="0"
+       x="0"
+       height="128"
+       width="128"
+       id="rect4409"
+       style="opacity:0;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /></g></svg>

+ 1 - 1
main/inc/lib/usermanager.lib.php

@@ -1550,7 +1550,7 @@ class UserManager
             case USER_IMAGE_SIZE_ORIGINAL:
                 $pictureAnonymousSize = '128';
                 $realSizeName = '';
-                $gravatarSize = 108;
+                $gravatarSize = 200;
                 break;
             case USER_IMAGE_SIZE_BIG:
                 $pictureAnonymousSize = '128';

+ 1 - 1
main/inc/lib/userportal.lib.php

@@ -827,7 +827,7 @@ class IndexManager
     {
         $html = null;
         if (!api_is_anonymous()) {
-            $userPicture = UserManager::getUserPicture(api_get_user_id(), USER_IMAGE_SIZE_BIG);
+            $userPicture = UserManager::getUserPicture(api_get_user_id(), USER_IMAGE_SIZE_ORIGINAL);
             $content = null;
 
             if (api_get_setting('allow_social_tool') == 'true') {