Display: Update icon for partial copy - refs BT#17832

pull/3564/head
Yannick Warnier 5 years ago
parent e918fcc2b1
commit 97992782b1
  1. BIN
      main/img/icons/22/copy_partial.png
  2. BIN
      main/img/icons/32/copy_partial.png
  3. 326
      main/img/icons/svg/copy_partial.svg
  4. 4
      main/session/session_list.php

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 960 B

@ -0,0 +1,326 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<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"
width="128"
height="128"
viewBox="0 0 128 128"
id="svg2"
version="1.1"
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"
sodipodi:docname="copy_partial.svg"
inkscape:export-filename="/var/www/chamilo111x/main/img/icons/32/copy_partial.png"
inkscape:export-xdpi="24.000002"
inkscape:export-ydpi="24.000002">
<defs
id="defs4">
<linearGradient
id="XMLID_8_"
gradientUnits="userSpaceOnUse"
x1="74.5"
y1="5.0479002"
x2="74.5"
y2="124.2402">
<stop
offset="0"
style="stop-color:#FFFFFF"
id="stop4539" />
<stop
offset="1"
style="stop-color:#E1E1DF"
id="stop4541" />
</linearGradient>
<linearGradient
id="XMLID_9_"
gradientUnits="userSpaceOnUse"
x1="74.5"
y1="11.0811"
x2="74.5"
y2="121.4673">
<stop
offset="0"
style="stop-color:#FDFDFD"
id="stop4546" />
<stop
offset="0.15778346"
style="stop-color:#F3F2F2"
id="stop4548" />
<stop
offset="0.67668343"
style="stop-color:#D7D6D6"
id="stop4550" />
<stop
offset="1"
style="stop-color:#c9cbca;stop-opacity:1"
id="stop4552" />
</linearGradient>
<radialGradient
id="XMLID_10_"
cx="110"
cy="32.869099"
r="15.5963"
gradientUnits="userSpaceOnUse">
<stop
offset="0.2135"
style="stop-color:#8E8E8F"
id="stop4557" />
<stop
offset="0.927"
style="stop-color:#EEEEEE"
id="stop4559" />
</radialGradient>
<linearGradient
id="XMLID_11_"
gradientUnits="userSpaceOnUse"
x1="92.023399"
y1="9.9473"
x2="104.2735"
y2="32.947201">
<stop
offset="0"
style="stop-color:#FFFEFE"
id="stop4566" />
<stop
offset="1"
style="stop-color:#CFD0D0"
id="stop4568" />
</linearGradient>
<linearGradient
id="XMLID_12_"
gradientUnits="userSpaceOnUse"
x1="99.530296"
y1="5.1806998"
x2="105.9053"
y2="31.930599">
<stop
offset="0"
style="stop-color:#FCFDFD"
id="stop4573" />
<stop
offset="1"
style="stop-color:#EEEEEE"
id="stop4575" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#XMLID_10_"
id="radialGradient4545"
gradientUnits="userSpaceOnUse"
cx="110"
cy="32.869099"
r="15.5963" />
<linearGradient
inkscape:collect="always"
xlink:href="#XMLID_11_"
id="linearGradient4547"
gradientUnits="userSpaceOnUse"
x1="92.023399"
y1="9.9473"
x2="104.2735"
y2="32.947201" />
<linearGradient
inkscape:collect="always"
xlink:href="#XMLID_12_"
id="linearGradient4549"
gradientUnits="userSpaceOnUse"
x1="99.530296"
y1="5.1806998"
x2="105.9053"
y2="31.930599" />
<linearGradient
inkscape:collect="always"
xlink:href="#XMLID_8_"
id="linearGradient4551"
gradientUnits="userSpaceOnUse"
x1="74.5"
y1="5.0479002"
x2="74.5"
y2="124.2402" />
<linearGradient
inkscape:collect="always"
xlink:href="#XMLID_9_"
id="linearGradient4553"
gradientUnits="userSpaceOnUse"
x1="74.5"
y1="11.0811"
x2="74.5"
y2="102.2284" />
<radialGradient
inkscape:collect="always"
xlink:href="#XMLID_9_"
id="radialGradient4555"
gradientUnits="userSpaceOnUse"
cx="110"
cy="32.869099"
r="15.5963" />
<linearGradient
inkscape:collect="always"
xlink:href="#XMLID_11_"
id="linearGradient4557"
gradientUnits="userSpaceOnUse"
x1="92.023399"
y1="9.9473"
x2="104.2735"
y2="32.947201" />
<linearGradient
inkscape:collect="always"
xlink:href="#XMLID_12_"
id="linearGradient4559"
gradientUnits="userSpaceOnUse"
x1="99.530296"
y1="5.1806998"
x2="105.9053"
y2="31.930599" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.2014223"
inkscape:cx="27.548788"
inkscape:cy="72.442532"
inkscape:document-units="px"
inkscape:current-layer="g4520"
showgrid="false"
units="px"
inkscape:window-width="1860"
inkscape:window-height="1016"
inkscape:window-x="60"
inkscape:window-y="1107"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<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>
<g
inkscape:label="Capa 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-924.36216)">
<g
id="g4563"
inkscape:export-filename="/var/www/chamilo/main/img/icons/22/copy.png"
inkscape:export-xdpi="15.46875"
inkscape:export-ydpi="15.46875">
<rect
y="924.36218"
x="0"
height="128"
width="128"
id="rect4561"
style="opacity:0.36960012;fill:#00193e;fill-opacity:0;stroke:none;stroke-width:1.66299999;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<g
transform="matrix(0.84999997,0,0,0.84999997,16.297562,938.30887)"
id="g4520">
<path
style="opacity:0.2"
inkscape:connector-curvature="0"
id="path4522"
d="M 30.666,7 C 28.816,7 27,8.83 27,10.694 c 0,106.39 0,106.39 0,109.807 0,3.917 4,4.499 4,4.499 l 87,0 c 0,0 4,-0.268 4,-4.018 0,-3.75 0,-78.479 0,-78.479 C 122,37.306 94.325,7 87.135,7 L 30.666,7 Z" />
<path
style="opacity:0.425"
inkscape:connector-curvature="0"
id="path4524"
d="M 30.666,8 C 28.816,8 27,9.83 27,11.694 c 0,106.39 0,106.39 0,109.807 0,3.917 5,4.499 5,4.499 l 85,0 c 0,0 5,-0.268 5,-4.018 0,-3.75 0,-78.479 0,-78.479 C 122,38.306 94.325,8 87.135,8 L 30.666,8 Z" />
<path
style="opacity:0.6;fill:#262626"
inkscape:connector-curvature="0"
id="path4526"
d="M 30.666,6 C 28.816,6 27,7.83 27,9.694 c 0,106.39 0,106.39 0,109.807 0,3.917 3,4.499 3,4.499 l 89,0 c 0,0 3,-0.268 3,-4.018 0,-3.75 0,-78.479 0,-78.479 C 122,36.306 94.325,6 87.135,6 L 30.666,6 Z" />
<path
style="fill:#fcfdfd;fill-opacity:1"
inkscape:connector-curvature="0"
id="path4528"
d="m 121,120.113 c 0,2.584 -2.398,2.887 -2.398,2.887 l -88.104,0 C 30.498,123 28,122.525 28,119.917 28,100.1 28,10.861 28,9.694 28,8.374 29.359,7 30.666,7 31.66,7 79.135,7 87.135,7 94.167,7 121,37.326 121,41.504 c 0,4.619 0,63.145 0,78.609 z" />
<path
style="fill:url(#radialGradient4545);opacity:0.44"
inkscape:connector-curvature="0"
id="path4533"
d="m 120,39 c 0,7.18 -2.82,13 -10,13 -7.18,0 -16,-5.82 -16,-13 0,-7.18 2.82,-9 10,-9 7.18,0 11,4 16,9 z" />
<path
style="opacity:0.5;fill:#343434"
inkscape:connector-curvature="0"
id="path4535"
d="m 84.415,6.963 c 0.547,0 0.947,0.002 3.616,1.193 4.182,1.891 4.103,22.225 4.103,26.673 l -0.001,0.128 c 0,0.521 0.399,0.959 0.918,1.002 5.973,0.496 23.318,-0.848 26.406,4.026 1.199,1.608 1.365,2.858 1.918,2.858 0.553,0 0.625,-0.786 0.625,-1.339 0,-0.797 -0.257,-1.574 -0.766,-2.428 -0.004,-0.009 -0.002,-0.018 -0.006,-0.026 -0.014,-0.028 -0.038,-0.065 -0.053,-0.094 l 0,-0.001 C 118.87,34.256 95.385,8.574 88.821,6.365 88.815,6.363 88.814,6.357 88.809,6.355 88.802,6.352 88.794,6.353 88.788,6.351 88.767,6.343 88.739,6.328 88.718,6.32 88.624,6.291 88.531,6.279 88.439,6.277 88.01,6.133 87.578,6 87.135,6 86.627,6 84.473,6.457 84.415,6.963 Z" />
<path
style="fill:url(#linearGradient4547)"
inkscape:connector-curvature="0"
id="path4537"
d="M 121,41.504 C 117.625,32.875 93.133,34.962 93.133,34.962 93.003,37.629 94.632,7 87.135,7 94.168,7 121,38.814 121,41.504 Z" />
<path
style="fill:url(#linearGradient4549)"
inkscape:connector-curvature="0"
id="path4539"
d="M 121,41.504 C 119.5,33.563 94.25,33.438 94.25,33.438 94.225,36.104 94.524,7 87.135,7 94.168,7 121,38.814 121,41.504 Z" />
</g>
<g
id="g5149"
transform="matrix(0.84999997,0,0,0.84999997,-15.500062,924.22707)">
<path
d="M 30.666,7 C 28.816,7 27,8.83 27,10.694 c 0,106.39 0,106.39 0,109.807 0,3.917 4,4.499 4,4.499 l 87,0 c 0,0 4,-0.268 4,-4.018 0,-3.75 0,-78.479 0,-78.479 C 122,37.306 94.325,7 87.135,7 L 30.666,7 Z"
id="path4532"
inkscape:connector-curvature="0"
style="opacity:0.2" />
<path
d="M 30.666,8 C 28.816,8 27,9.83 27,11.694 c 0,106.39 0,106.39 0,109.807 0,3.917 5,4.499 5,4.499 l 85,0 c 0,0 5,-0.268 5,-4.018 0,-3.75 0,-78.479 0,-78.479 C 122,38.306 94.325,8 87.135,8 L 30.666,8 Z"
id="path4534"
inkscape:connector-curvature="0"
style="opacity:0.442" />
<path
d="M 30.666,6 C 28.816,6 27,7.83 27,9.694 c 0,106.39 0,106.39 0,109.807 0,3.917 3,4.499 3,4.499 l 89,0 c 0,0 3,-0.268 3,-4.018 0,-3.75 0,-78.479 0,-78.479 C 122,36.306 94.325,6 87.135,6 L 30.666,6 Z"
id="path4536"
inkscape:connector-curvature="0"
style="opacity:0.6;fill:#262626" />
<path
d="m 121,120.113 c 0,2.584 -2.398,2.887 -2.398,2.887 l -88.104,0 C 30.498,123 28,122.525 28,119.917 28,100.1 28,10.861 28,9.694 28,8.374 29.359,7 30.666,7 31.66,7 79.135,7 87.135,7 94.167,7 121,37.326 121,41.504 c 0,4.619 0,63.145 0,78.609 z"
id="path4543"
inkscape:connector-curvature="0"
style="fill:url(#linearGradient4551)" />
<path
d="m 120,119.282 c 0,2.481 -2,2.718 -2,2.718 l -87,0 c 0,0 -2,-0.163 -2,-2.249 C 29,101.736 29,10.877 29,9.694 29,8.374 30.317,7 31.583,7 32.547,7 79.442,7 87.193,7 94.006,7 120,37.326 120,41.504 c 0,4.63 0,62.674 0,77.778 z"
id="path4554"
inkscape:connector-curvature="0"
style="fill:url(#linearGradient4553);fill-opacity:1" />
<path
d="m 120,39 c 0,7.18 -2.82,13 -10,13 -7.18,0 -16,-5.82 -16,-13 0,-7.18 2.82,-9 10,-9 7.18,0 11,4 16,9 z"
id="path4561"
inkscape:connector-curvature="0"
style="fill:url(#radialGradient4555);fill-opacity:1;opacity:0.236" />
<path
d="m 84.415,6.963 c 0.547,0 0.947,0.002 3.616,1.193 4.182,1.891 4.103,22.225 4.103,26.673 l -0.001,0.128 c 0,0.521 0.399,0.959 0.918,1.002 5.973,0.496 23.318,-0.848 26.406,4.026 1.199,1.608 1.365,2.858 1.918,2.858 0.553,0 0.625,-0.786 0.625,-1.339 0,-0.797 -0.257,-1.574 -0.766,-2.428 -0.004,-0.009 -0.002,-0.018 -0.006,-0.026 -0.014,-0.028 -0.038,-0.065 -0.053,-0.094 l 0,-0.001 C 118.87,34.256 95.385,8.574 88.821,6.365 88.815,6.363 88.814,6.357 88.809,6.355 88.802,6.352 88.794,6.353 88.788,6.351 88.767,6.343 88.739,6.328 88.718,6.32 88.624,6.291 88.531,6.279 88.439,6.277 88.01,6.133 87.578,6 87.135,6 86.627,6 84.473,6.457 84.415,6.963 Z"
id="path4563"
inkscape:connector-curvature="0"
style="opacity:0.5;fill:#343434" />
<path
d="M 121,41.504 C 117.625,32.875 93.133,34.962 93.133,34.962 93.003,37.629 94.632,7 87.135,7 94.168,7 121,38.814 121,41.504 Z"
id="path4570"
inkscape:connector-curvature="0"
style="fill:url(#linearGradient4557)" />
<path
d="M 121,41.504 C 119.5,33.563 94.25,33.438 94.25,33.438 94.225,36.104 94.524,7 87.135,7 94.168,7 121,38.814 121,41.504 Z"
id="path4577"
inkscape:connector-curvature="0"
style="fill:url(#linearGradient4559)" />
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 13 KiB

@ -210,7 +210,7 @@ $hideSearch = api_get_configuration_value('hide_search_form_in_session_list');
$copySessionContentLink = '';
if ($addSessionContent) {
$copySessionContentLink = '&nbsp;<a onclick="javascript:if(!confirm('."\'".addslashes(api_htmlentities(get_lang("ConfirmYourChoice"), ENT_QUOTES))."\'".')) return false;" href="session_list.php?copy_session_content=1&list_type='.$listType.'&action=copy&idChecked=\'+options.rowId+\'">'.
Display::return_icon('cd.png', get_lang('CopyWithSessionContent'), '', ICON_SIZE_SMALL).'</a>';
Display::return_icon('copy.png', get_lang('CopyWithSessionContent'), '', ICON_SIZE_SMALL).'</a>';
}
// With this function we can add actions to the jgrid (edit, delete, etc)
@ -222,7 +222,7 @@ $action_links = 'function action_formatter(cellvalue, options, rowObject) {
'&nbsp;<a href="add_courses_to_session.php?page=session_list.php&id_session=\'+options.rowId+\'">'.
Display::return_icon('courses_to_session.png', get_lang('SubscribeCoursesToSession'), '', ICON_SIZE_SMALL).'</a>'.
'&nbsp;<a onclick="javascript:if(!confirm('."\'".addslashes(api_htmlentities(get_lang("ConfirmYourChoice"), ENT_QUOTES))."\'".')) return false;" href="session_list.php?list_type='.$listType.'&action=copy&idChecked=\'+options.rowId+\'">'.
Display::return_icon('copy.png', get_lang('Copy'), '', ICON_SIZE_SMALL).'</a>'.
Display::return_icon('copy_partial.png', get_lang('Copy'), '', ICON_SIZE_SMALL).'</a>'.
$copySessionContentLink.
'&nbsp;<a onclick="javascript:if(!confirm('."\'".addslashes(api_htmlentities(get_lang("ConfirmYourChoice"), ENT_QUOTES))."\'".')) return false;" href="session_list.php?list_type='.$listType.'&action=delete&idChecked=\'+options.rowId+\'">'.
Display::return_icon('delete.png', get_lang('Delete'), '', ICON_SIZE_SMALL).'</a>'.

Loading…
Cancel
Save