Task #0001529: Réécriture de code , placer les icones dans Icon_Action

This commit is contained in:
Dany De Bontridder 2018-01-16 21:07:04 +01:00
parent 936411a92e
commit dc84b68414
79 changed files with 1302 additions and 5077 deletions

View file

@ -15,6 +15,7 @@
if ( ! defined ('ALLOWED') ) define ('ALLOWED',1);
require_once '../include/constant.php';
require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/lib/icon_action.class.php';
require_once NOALYSS_INCLUDE.'/class/user.class.php';
require_once NOALYSS_INCLUDE.'/class/extension.class.php';
if ( !isset ($_REQUEST['gDossier'])) exit();

View file

@ -45,6 +45,7 @@ require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/class/user.class.php';
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
require_once NOALYSS_INCLUDE.'/lib/icon_action.class.php';
$http=new HttpInput();
mb_internal_encoding("UTF-8");

View file

@ -32,6 +32,7 @@ require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
require_once NOALYSS_INCLUDE.'/constant.security.php';
require_once NOALYSS_INCLUDE.'/lib/html_input.class.php';
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
require_once NOALYSS_INCLUDE.'/lib/icon_action.class.php';
$http=new HttpInput();
mb_internal_encoding("UTF-8");

Binary file not shown.

View file

@ -0,0 +1,150 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>Copyright (C) 2018 by original authors @ fontello.com</metadata>
<defs>
<font id="fontello" horiz-adv-x="1000" >
<font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
<missing-glyph horiz-adv-x="1000" />
<glyph glyph-name="logout" unicode="&#xe800;" d="M357 46q0-2 1-11t0-14-2-14-5-11-12-3h-178q-67 0-114 47t-47 114v392q0 67 47 114t114 47h178q8 0 13-5t5-13q0-2 1-11t0-15-2-13-5-11-12-3h-178q-37 0-63-26t-27-64v-392q0-37 27-63t63-27h174t6 0 7-2 4-3 4-5 1-8z m518 304q0-14-11-25l-303-304q-11-10-25-10t-25 10-11 25v161h-250q-14 0-25 11t-11 25v214q0 15 11 25t25 11h250v161q0 14 11 25t25 10 25-10l303-304q11-10 11-25z" horiz-adv-x="928.6" />
<glyph glyph-name="cancel-circled" unicode="&#xe801;" d="M641 224q0 14-10 25l-101 101 101 101q10 11 10 25 0 15-10 26l-51 50q-10 11-25 11-15 0-25-11l-101-101-101 101q-11 11-25 11-16 0-26-11l-50-50q-11-11-11-26 0-14 11-25l101-101-101-101q-11-11-11-25 0-15 11-26l50-50q10-11 26-11 14 0 25 11l101 101 101-101q10-11 25-11 15 0 25 11l51 50q10 11 10 26z m216 126q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z" horiz-adv-x="857.1" />
<glyph glyph-name="cancel-circled2" unicode="&#xe802;" d="M612 248l-81-82q-6-5-13-5t-13 5l-76 77-77-77q-5-5-13-5t-12 5l-82 82q-6 6-6 13t6 13l76 76-76 77q-6 5-6 12t6 13l82 82q5 5 12 5t13-5l77-77 76 77q6 5 13 5t13-5l81-82q6-5 6-13t-6-12l-76-77 76-76q6-6 6-13t-6-13z m120 102q0 83-41 152t-110 111-152 41-153-41-110-111-41-152 41-152 110-111 153-41 152 41 110 111 41 152z m125 0q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z" horiz-adv-x="857.1" />
<glyph glyph-name="eye" unicode="&#xe803;" d="M929 314q-85 132-213 197 34-58 34-125 0-103-73-177t-177-73-177 73-73 177q0 67 34 125-128-65-213-197 75-114 187-182t242-68 243 68 186 182z m-402 215q0 11-8 19t-19 7q-70 0-120-50t-50-119q0-11 8-19t19-8 19 8 8 19q0 48 34 82t82 34q11 0 19 8t8 19z m473-215q0-19-11-38-78-129-210-206t-279-77-279 77-210 206q-11 19-11 38t11 39q78 128 210 205t279 78 279-78 210-205q11-20 11-39z" horiz-adv-x="1000" />
<glyph glyph-name="upload" unicode="&#xe804;" d="M714 29q0 14-10 25t-25 10-25-10-11-25 11-25 25-11 25 11 10 25z m143 0q0 14-10 25t-26 10-25-10-10-25 10-25 25-11 26 11 10 25z m72 125v-179q0-22-16-38t-38-16h-821q-23 0-38 16t-16 38v179q0 22 16 38t38 15h238q12-31 39-51t62-20h143q34 0 61 20t40 51h238q22 0 38-15t16-38z m-182 361q-9-22-33-22h-143v-250q0-15-10-25t-25-11h-143q-15 0-25 11t-11 25v250h-143q-23 0-33 22-9 22 8 39l250 250q10 10 25 10t25-10l250-250q18-17 8-39z" horiz-adv-x="928.6" />
<glyph glyph-name="download" unicode="&#xe805;" d="M714 100q0 15-10 25t-25 11-25-11-11-25 11-25 25-11 25 11 10 25z m143 0q0 15-10 25t-26 11-25-11-10-25 10-25 25-11 26 11 10 25z m72 125v-179q0-22-16-37t-38-16h-821q-23 0-38 16t-16 37v179q0 22 16 38t38 16h259l75-76q33-32 76-32t76 32l76 76h259q22 0 38-16t16-38z m-182 318q10-23-8-39l-250-250q-10-11-25-11t-25 11l-250 250q-17 16-8 39 10 21 33 21h143v250q0 15 11 25t25 11h143q14 0 25-11t10-25v-250h143q24 0 33-21z" horiz-adv-x="928.6" />
<glyph glyph-name="attention" unicode="&#xe806;" d="M571 83v106q0 8-5 13t-12 5h-108q-7 0-12-5t-5-13v-106q0-8 5-13t12-6h108q7 0 12 6t5 13z m-1 208l10 257q0 6-5 10-7 6-14 6h-122q-6 0-14-6-5-4-5-12l9-255q0-5 6-9t13-3h103q8 0 14 3t5 9z m-7 522l428-786q20-35-1-70-9-17-26-26t-35-10h-858q-18 0-35 10t-26 26q-21 35-1 70l429 786q9 17 26 27t36 10 36-10 27-27z" horiz-adv-x="1000" />
<glyph glyph-name="search" unicode="&#xe807;" d="M680 256c-55-55-126-83-197-83-65 0-129 23-182 66l-51-125-130-130c-14-10-29-15-45-15-41 0-75 37-75 77 0 16 5 32 15 45l129 130 126 51c-44 52-66 117-66 182 0 152 127 277 279 277 150 0 277-128 277-278 0-72-26-144-80-197z m-319 75c34-33 78-50 122-50 92 0 170 77 170 172 0 93-79 170-170 170-94 0-172-79-172-170 0-45 17-89 50-122z" horiz-adv-x="760" />
<glyph glyph-name="mail" unicode="&#xe808;" d="M580 306l258-267-789 0 259 264 135-127z m-517 355l760 0-380-362z m566-309l257 242 0-508z m-629-266l0 508 259-243z" horiz-adv-x="886" />
<glyph glyph-name="anchor" unicode="&#xe809;" d="M-1 202q0 8 5 13l102 123 22-28 78-96q5-6 4-14t-7-12q-11-8-23 0l-23 19q16-60 63-101t113-54q6-1 11 0t10 7 6 20v389q0 10-6 16t-11 7l-6 1h-40q-19 0-33 13t-14 34 14 33 33 13h42q2 1 3 1t5 2 5 3 4 4 3 6 1 8v10q-31 14-49 43t-19 64q0 47 34 81t81 34 82-34 34-81q0-36-19-64t-50-43v-10q0-5 1-8t4-6 4-4 5-3 4-1 3-2h43q19 0 33-13t14-33q0-19-14-33t-33-14h-41q-2 0-6-1t-11-7-6-15v-390q0-13 6-20t11-7 10 0q67 14 114 54t63 101l-23-19q-6-5-13-4t-13 7q-8 12 0 23l78 96 21 28 103-123q4-6 4-15t-7-14q-6-5-14-5t-13 5l-30 25q-17-102-87-179t-171-102q-1-1-2-1-14-3-24-13t-14-21q-4-16-17-26t-29-10q-16 0-29 10t-16 26q-3 12-14 21t-24 13q-2 0-3 1-100 26-170 102t-88 179l-29-25q-6-6-15-5t-15 8q-5 6-5 13z m351 524q0-20 10-35v5q0 20 14 33t33 14 33-13 14-34v-5q11 16 11 35 0 23-17 40t-41 16-40-16-17-40z" horiz-adv-x="814.9" />
<glyph glyph-name="resize-full-alt" unicode="&#xe80a;" d="M0-150l0 342 119-119 278 277-276 275-121-121 0 346 342 0-119-119 277-277 275 275-121 121 346 0 0-342-119 119-277-277 275-275 121 121 0-346-342 0 119 119-277 278-275-276 121-121-346 0z" horiz-adv-x="1000" />
<glyph glyph-name="tag" unicode="&#xe80b;" d="M1000 714v-270l-595-595-405 405 595 595h270z m-160-160q28 28 28 68t-28 67-67 28-68-28-28-67 28-68 68-28 67 28z" horiz-adv-x="1000" />
<glyph glyph-name="cw" unicode="&#xe80c;" d="M408 760q168 0 287-116t123-282l122 0-184-206-184 206 144 0q-4 124-94 210t-214 86q-126 0-216-90t-90-218q0-126 90-216t216-90q104 0 182 60l70-76q-110-88-252-88-168 0-288 120t-120 290 120 290 288 120z" horiz-adv-x="940" />
<glyph glyph-name="edit" unicode="&#xe80d;" d="M496 189l64 65-85 85-64-65v-31h53v-54h32z m245 402q-9 9-18 0l-196-196q-9-9 0-18t18 0l196 196q9 9 0 18z m45-331v-106q0-67-47-114t-114-47h-464q-67 0-114 47t-47 114v464q0 66 47 113t114 48h464q35 0 65-14 9-4 10-13 2-10-5-16l-27-28q-8-8-18-4-13 3-25 3h-464q-37 0-63-26t-27-63v-464q0-37 27-63t63-27h464q37 0 63 27t26 63v70q0 7 5 12l36 36q8 8 20 4t11-16z m-54 411l161-160-375-375h-161v160z m248-73l-51-52-161 161 51 52q16 15 38 15t38-15l85-85q16-16 16-38t-16-38z" horiz-adv-x="1000" />
<glyph glyph-name="attention-circled" unicode="&#xe80e;" d="M429 779q116 0 215-58t156-156 57-215-57-215-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58z m71-696v106q0 8-5 13t-12 5h-107q-8 0-13-5t-6-13v-106q0-8 6-13t13-6h107q7 0 12 6t5 13z m-1 192l10 346q0 7-6 10-5 5-13 5h-123q-8 0-13-5-6-3-6-10l10-346q0-6 5-10t14-4h103q8 0 13 4t6 10z" horiz-adv-x="857.1" />
<glyph glyph-name="trash-empty" unicode="&#xe80f;" d="M286 439v-321q0-8-5-13t-13-5h-36q-8 0-13 5t-5 13v321q0 8 5 13t13 5h36q8 0 13-5t5-13z m143 0v-321q0-8-5-13t-13-5h-36q-8 0-13 5t-5 13v321q0 8 5 13t13 5h36q8 0 13-5t5-13z m142 0v-321q0-8-5-13t-12-5h-36q-8 0-13 5t-5 13v321q0 8 5 13t13 5h36q7 0 12-5t5-13z m72-404v529h-500v-529q0-12 4-22t8-15 6-5h464q2 0 6 5t8 15 4 22z m-375 601h250l-27 65q-4 5-9 6h-177q-6-1-10-6z m518-18v-36q0-8-5-13t-13-5h-54v-529q0-46-26-80t-63-34h-464q-37 0-63 33t-27 79v531h-53q-8 0-13 5t-5 13v36q0 8 5 13t13 5h172l39 93q9 21 31 35t44 15h178q23 0 44-15t30-35l39-93h173q8 0 13-5t5-13z" horiz-adv-x="785.7" />
<glyph glyph-name="doc" unicode="&#xe810;" d="M819 638q16-16 27-42t11-50v-642q0-23-15-38t-38-16h-750q-23 0-38 16t-16 38v892q0 23 16 38t38 16h500q22 0 49-11t42-27z m-248 136v-210h210q-5 17-12 23l-175 175q-6 7-23 12z m215-853v572h-232q-23 0-38 16t-16 37v233h-429v-858h715z" horiz-adv-x="857.1" />
<glyph glyph-name="calendar" unicode="&#xe811;" d="M71-79h161v161h-161v-161z m197 0h178v161h-178v-161z m-197 197h161v178h-161v-178z m197 0h178v178h-178v-178z m-197 214h161v161h-161v-161z m411-411h179v161h-179v-161z m-214 411h178v161h-178v-161z m428-411h161v161h-161v-161z m-214 197h179v178h-179v-178z m-196 482v161q0 7-6 12t-12 6h-36q-7 0-12-6t-6-12v-161q0-7 6-13t12-5h36q7 0 12 5t6 13z m410-482h161v178h-161v-178z m-214 214h179v161h-179v-161z m214 0h161v161h-161v-161z m18 268v161q0 7-5 12t-13 6h-35q-7 0-13-6t-5-12v-161q0-7 5-13t13-5h35q8 0 13 5t5 13z m215 36v-715q0-29-22-50t-50-21h-786q-29 0-50 21t-21 50v715q0 29 21 50t50 21h72v54q0 37 26 63t63 26h36q37 0 63-26t26-63v-54h214v54q0 37 27 63t63 26h35q37 0 64-26t26-63v-54h71q29 0 50-21t22-50z" horiz-adv-x="928.6" />
<glyph glyph-name="edit-1" unicode="&#xe812;" d="M90 589l0-593 444 0 0 262 90 101 0-453-624 0 0 760 541 0-75-77-376 0z m749 180c35-34 32-88-3-124l-57-56 17 75-63 64-74-17 56 57c35 35 90 35 124 1z m-219-99c0 3 65 20 75 23l1 1 67-69c-4 0-23-75-23-75l-371-384-159-36-2 1 41 158z m-247-422l-45 46-35-6-23-22-10-40 46-45 39 9 23 23z" horiz-adv-x="864" />
<glyph glyph-name="resize-full" unicode="&#xe813;" d="M186 407l-113 116-73-73 0 210 210 0-72-73 115-115z m0-114l67-66-115-114 72-72-210 0 0 210 73-73z m245 114l-65 65 115 115-72 73 210 0 0-210-73 72z m115-229l73 73 0-210-210 0 72 72-115 114 65 66z" horiz-adv-x="619" />
<glyph glyph-name="up-bold" unicode="&#xe814;" d="M0 282l397 536 394-536h-216v-401h-359v401h-216z" horiz-adv-x="791" />
<glyph glyph-name="down-fat" unicode="&#xe815;" d="M5 538q13 23 53 23h147v205q0 21 16 37t37 15h304q22 0 38-15t15-37v-205h147q40 0 53-23t-7-54l-363-582q-1-2-5-6t-12-9-18-6-18 5-13 11l-4 5-363 582q-21 32-7 54z" horiz-adv-x="820.3" />
<glyph glyph-name="cancel-circled2-1" unicode="&#xe816;" d="M0 350q0 207 147 354t353 146 354-146 146-354-146-354-354-146-353 146-147 354z m109 0q0-162 115-276t276-115 276 115 115 276-115 276-276 115-276-115-115-276z m145-137l137 137-137 137 109 109 137-137 137 137 109-109-137-137 137-137-109-109-137 137-137-137z" horiz-adv-x="1000" />
<glyph glyph-name="upload-1" unicode="&#xe817;" d="M0 350q0 207 147 354t353 146 354-146 146-354-146-354-354-146-353 146-147 354z m109 0q0-162 115-276t276-115 276 115 115 276-115 276-276 115-276-115-115-276z m170 14l221 207 221-207-123 0 0-223-196 0 0 223-123 0z" horiz-adv-x="1000" />
<glyph glyph-name="exclamation" unicode="&#xe818;" d="M0 350q0 207 147 354t353 146 354-146 146-354-146-354-354-146-353 146-147 354z m318 402l79-550 207 0 78 550-364 0z m77-696q0-44 31-76t76-32 76 32 31 76-31 76-76 33-76-33-31-76z" horiz-adv-x="1000" />
<glyph glyph-name="down-open-1" unicode="&#xe819;" d="M0 526l148 148 352-351 352 351 148-148-352-352-148-148-148 148z" horiz-adv-x="1000" />
<glyph glyph-name="up-open-1" unicode="&#xe81a;" d="M0 174l352 352 148 148 148-148 352-352-148-148-352 351-352-351z" horiz-adv-x="1000" />
<glyph glyph-name="left-open-1" unicode="&#xe81b;" d="M0 350l148 149 352 351 148-148-351-352 351-352-148-148-352 352z" horiz-adv-x="648" />
<glyph glyph-name="right-open-1" unicode="&#xe81c;" d="M0-2l352 352-352 352 148 148 352-351 148-149-148-148-352-352z" horiz-adv-x="648" />
<glyph glyph-name="arrows-cw" unicode="&#xe81d;" d="M0-150l0 402 402 0-160-160q108-107 258-107 125 0 222 75t130 192l138 0q-35-173-173-288t-317-114q-207 0-353 146z m10 598q35 174 173 288t317 114q207 0 354-146l146 146 0-402-402 0 160 160q-108 107-258 107-125 0-222-75t-130-192l-138 0z" horiz-adv-x="1000" />
<glyph glyph-name="down-dir" unicode="&#xe81e;" d="M460 550l-230-400-230 400 460 0z" horiz-adv-x="460" />
<glyph glyph-name="up-dir" unicode="&#xe81f;" d="M0 150l230 400 230-400-460 0z" horiz-adv-x="460" />
<glyph glyph-name="cog" unicode="&#xe820;" d="M571 350q0 59-41 101t-101 42-101-42-42-101 42-101 101-42 101 42 41 101z m286 61v-124q0-7-4-13t-11-7l-104-16q-10-30-21-51 19-27 59-77 6-6 6-13t-5-13q-15-21-55-61t-53-39q-7 0-14 5l-77 60q-25-13-51-21-9-76-16-104-4-16-20-16h-124q-8 0-14 5t-6 12l-16 103q-27 9-50 21l-79-60q-6-5-14-5-8 0-14 6-70 64-92 94-4 5-4 13 0 6 5 12 8 12 28 37t30 40q-15 28-23 55l-102 15q-7 1-11 7t-5 13v124q0 7 5 13t10 7l104 16q8 25 22 51-23 32-60 77-6 7-6 14 0 5 5 12 15 20 55 60t53 40q7 0 15-5l77-60q24 13 50 21 9 76 17 104 3 16 20 16h124q7 0 13-5t7-12l15-103q28-9 51-20l79 59q5 5 13 5 7 0 14-5 72-67 92-95 4-5 4-12 0-7-4-13-9-12-29-37t-30-40q15-28 23-54l102-16q7-1 12-7t4-13z" horiz-adv-x="857.1" />
<glyph glyph-name="cog-alt" unicode="&#xe821;" d="M500 350q0 59-42 101t-101 42-101-42-42-101 42-101 101-42 101 42 42 101z m429-286q0 29-22 51t-50 21-50-21-21-51q0-29 21-50t50-21 51 21 21 50z m0 572q0 29-22 50t-50 21-50-21-21-50q0-30 21-51t50-21 51 21 21 51z m-215-235v-103q0-6-4-11t-8-6l-87-14q-6-19-18-42 19-27 50-64 4-6 4-11 0-7-4-11-12-17-46-50t-43-33q-7 0-12 4l-64 50q-21-11-43-17-6-60-13-87-4-13-17-13h-104q-6 0-11 4t-5 10l-13 85q-19 6-42 18l-66-50q-4-4-11-4-6 0-12 4-80 75-80 90 0 5 4 10 5 8 23 30t26 34q-13 24-20 46l-85 13q-5 1-9 5t-4 11v104q0 5 4 10t9 6l86 14q7 19 18 42-19 27-50 64-4 6-4 11 0 7 4 12 12 16 46 49t44 33q6 0 12-4l64-50q19 10 43 18 6 60 13 86 3 13 16 13h104q6 0 11-4t6-10l13-85q19-6 42-17l65 49q5 4 12 4 6 0 11-4 81-75 81-90 0-4-4-10-7-9-24-30t-25-34q13-27 19-46l85-12q6-2 9-6t4-11z m357-298v-78q0-9-83-17-6-15-16-29 28-63 28-77 0-2-2-4-68-40-69-40-5 0-26 27t-29 37q-11-1-17-1t-17 1q-7-11-29-37t-25-27q-1 0-69 40-3 2-3 4 0 14 29 77-10 14-17 29-83 8-83 17v78q0 9 83 18 7 16 17 29-29 63-29 77 0 2 3 4 2 1 19 11t33 19 17 9q4 0 25-26t29-38q12 1 17 1t17-1q28 40 51 63l4 1q2 0 69-39 2-2 2-4 0-14-28-77 9-13 16-29 83-9 83-18z m0 572v-78q0-9-83-18-6-15-16-29 28-63 28-77 0-2-2-4-68-39-69-39-5 0-26 26t-29 38q-11-1-17-1t-17 1q-7-12-29-38t-25-26q-1 0-69 39-3 2-3 4 0 14 29 77-10 14-17 29-83 9-83 18v78q0 9 83 17 7 16 17 29-29 63-29 77 0 2 3 4 2 1 19 11t33 19 17 9q4 0 25-26t29-37q12 1 17 1t17-1q28 39 51 62l4 1q2 0 69-39 2-2 2-4 0-14-28-77 9-13 16-29 83-8 83-17z" horiz-adv-x="1071.4" />
<glyph glyph-name="down-dir-1" unicode="&#xe822;" d="M571 457q0-14-10-25l-250-250q-11-11-25-11t-25 11l-250 250q-11 11-11 25t11 25 25 11h500q14 0 25-11t10-25z" horiz-adv-x="571.4" />
<glyph glyph-name="up-dir-1" unicode="&#xe823;" d="M571 171q0-14-10-25t-25-10h-500q-15 0-25 10t-11 25 11 26l250 250q10 10 25 10t25-10l250-250q10-11 10-26z" horiz-adv-x="571.4" />
<glyph glyph-name="down-open-2" unicode="&#xe824;" d="M939 399l-414-413q-10-11-25-11t-25 11l-414 413q-11 11-11 26t11 25l93 92q10 11 25 11t25-11l296-296 296 296q11 11 25 11t26-11l92-92q11-11 11-25t-11-26z" horiz-adv-x="1000" />
<glyph glyph-name="right-open-2" unicode="&#xe825;" d="M618 361l-414-415q-11-10-25-10t-25 10l-93 93q-11 11-11 25t11 25l296 297-296 296q-11 11-11 25t11 25l93 93q10 11 25 11t25-11l414-414q10-11 10-25t-10-25z" horiz-adv-x="714.3" />
<glyph glyph-name="left-open-2" unicode="&#xe826;" d="M654 682l-297-296 297-297q10-10 10-25t-10-25l-93-93q-11-10-25-10t-25 10l-414 415q-11 10-11 25t11 25l414 414q10 11 25 11t25-11l93-93q10-10 10-25t-10-25z" horiz-adv-x="714.3" />
<glyph glyph-name="up-open-2" unicode="&#xe827;" d="M939 107l-92-92q-11-10-26-10t-25 10l-296 297-296-297q-11-10-25-10t-25 10l-93 92q-11 11-11 26t11 25l414 414q11 10 25 10t25-10l414-414q11-11 11-25t-11-26z" horiz-adv-x="1000" />
<glyph glyph-name="plus" unicode="&#xe828;" d="M729 454q44 0 74-31t31-73-31-73-74-30l-208 3 0-212q0-43-30-73t-75-31-73 31-30 73l3 212-212-3q-44 0-74 30t-30 73 30 73 74 31l212 0-3 209q0 42 30 73t73 31 75-31 30-73l0-209 208 0z" horiz-adv-x="834" />
<glyph glyph-name="compass" unicode="&#xe829;" d="M0 350q0 207 146 353t354 146 353-146 146-353-146-354-353-146-354 146-146 354z m125 0q0-154 110-265t265-110 263 109q112 112 112 266t-111 264-264 111-265-111-110-264z m187-188l125 250 250 125-125-250z" horiz-adv-x="1000" />
<glyph glyph-name="resize-full-alt-1" unicode="&#xe82a;" d="M839 55l72 72 0-224-223 0 72 72-184 185 79 79z m-749 591l-72-72 0 223 223 0-72-72 184-184-79-79z m670 79l-72 72 223 0 0-223-72 72-184-184-79 79z m-407-565l-184-185 72-72-223 0 0 224 72-72 184 184z" horiz-adv-x="928" />
<glyph glyph-name="tag-1" unicode="&#xe82b;" d="M0 483l0 287q2 31 24 54t52 22l287 0q88-6 133-55l426-472q19-28 19-58t-19-52l-334-334q-25-21-57-21t-52 21l-424 475q-55 64-55 133z m125 164q2-31 23-52t51-20q32 0 52 22t21 50q0 33-23 54t-50 20q-33-2-53-23t-21-51z" horiz-adv-x="941" />
<glyph glyph-name="edit-2" unicode="&#xe82c;" d="M0-150l0 818 188 182 521 0 0-226 31 31 162-160-380-381-239-78 76 238 262 262 0 226-369 0 0-156-164 0 0-668 533 0 0 143 88 87 0-318-709 0z m361 264l119 39-80 82z" horiz-adv-x="902" />
<glyph glyph-name="compass-1" unicode="&#xe82d;" d="M0 349q0 188 134 322t322 134 321-134 133-322-133-321-321-133-322 133-134 321z m63 1q0-162 115-277t277-116 277 116 116 277-116 277-277 116-277-116-115-277z m138-234l186 302 302 186 20-22-184-302-302-184z" horiz-adv-x="910" />
<glyph glyph-name="cogs" unicode="&#xe82e;" d="M0 245l0 97 94 8q8 30 23 55l-60 74 68 69 74-61q26 16 55 23l8 94 97 0 10-94q29-7 55-23l74 61 68-69-60-74q16-25 23-55l94-8 0-97-94-10q-7-29-23-55l60-72-68-70-74 60q-26-15-55-23l-10-94-97 0-8 94q-29 8-55 23l-74-60-68 70 60 72q-15 26-23 55z m221 49q0-37 26-64t64-26 63 26 26 64-26 63-63 26-64-26-26-63z m318 238l8 72 70-2q8 22 20 39l-37 57 54 45 49-49q20 10 41 14l14 66 72-8-2-68q22-8 39-22l57 39 45-54-49-49q10-20 12-43l68-14-8-70-68 0q-8-20-22-37l39-59-56-45-47 49q-22-8-43-12l-14-66-70 6 0 70q-20 8-37 20l-59-37-45 54 49 49q-8 20-12 41z m31-445l6 50 49 0q6 16 14 28l-26 43 37 33 36-37q13 8 29 10l10 48 48-5 0-49q16-6 28-16l41 27 31-41-35-35q6-13 10-29l47-12-6-51-49 0q-4-15-14-27l28-43-40-33-35 37q-13-8-29-10l-10-49-49 6 0 51q-13 4-27 14l-41-28-31 41 35 36q-6 13-8 29z m118 13q-4-21 8-36t32-17 34 9 17 34-10 35-31 18l-6 0q-17 0-31-12t-13-31z m17 451q-4-27 14-48t45-25 48 15 23 45-14 48-44 24l-7 0q-26 0-44-17t-21-42z" horiz-adv-x="1000" />
<glyph glyph-name="up" unicode="&#xe82f;" d="M0 264l391 586 390-586-211 0 0-414-359 0 0 414-211 0z" horiz-adv-x="781" />
<glyph glyph-name="down-open" unicode="&#xf004;" d="M0 533q0 25 18 43t44 18 42-18l305-303 304 303q18 18 43 18t43-18q18-18 18-43t-18-43l-390-391-391 391q-18 19-18 43z" horiz-adv-x="817.4" />
<glyph glyph-name="up-open" unicode="&#xf005;" d="M0 167q0 26 18 43l391 391 390-391q17-17 17-43 0-26-17-44-18-17-44-17t-43 17l-303 305-305-305q-18-17-43-17t-43 17q-18 18-18 44z" horiz-adv-x="816.9" />
<glyph glyph-name="right-open" unicode="&#xf006;" d="M0 0q0 25 18 43l305 304-305 304q-18 18-18 44t18 43 44 18 43-18l390-391-390-391q-19-18-43-18t-44 18q-18 18-18 44z" horiz-adv-x="495.1" />
<glyph glyph-name="left-open" unicode="&#xf007;" d="M0 353l391 391q18 18 43 18 24 0 43-18 18-18 18-44t-18-43l-304-304 304-305q18-17 18-43t-18-43q-18-18-43-18t-43 18z" horiz-adv-x="495.1" />
<glyph glyph-name="move" unicode="&#xf047;" d="M1000 350q0-14-11-25l-142-143q-11-11-26-11t-25 11-10 25v72h-215v-215h72q14 0 25-10t11-25-11-25l-143-143q-10-11-25-11t-25 11l-143 143q-11 10-11 25t11 25 25 10h72v215h-215v-72q0-14-10-25t-25-11-25 11l-143 143q-11 11-11 25t11 25l143 143q10 11 25 11t25-11 10-25v-72h215v215h-72q-14 0-25 10t-11 25 11 26l143 142q11 11 25 11t25-11l143-142q11-11 11-26t-11-25-25-10h-72v-215h215v72q0 14 10 25t25 11 26-11l142-143q11-10 11-25z" horiz-adv-x="1000" />
<glyph glyph-name="info-circled-alt" unicode="&#xf086;" d="M0 350q0 95 37 182t100 149 149 100 183 37q95 0 182-37t149-100 100-149 37-182q0-95-37-182t-100-150-149-100-182-37q-96 0-183 37t-149 100-100 150-37 182z m117 0q0-71 28-137t75-112 112-75 137-28 136 28 112 75 75 112 28 137-28 136-75 112-112 75-136 28-137-28-112-75-75-112-28-136z m281 170q0 28 20 45t51 17q32 0 51-17t19-45-19-46-51-17q-32 0-51 17t-20 46z m5-402v299h132v-299h-132z" horiz-adv-x="937.5" />
<glyph glyph-name="link-ext" unicode="&#xf08e;" d="M786 332v-178q0-67-47-114t-114-47h-464q-67 0-114 47t-47 114v464q0 66 47 113t114 48h393q7 0 12-5t5-13v-36q0-8-5-13t-12-5h-393q-37 0-63-26t-27-63v-464q0-37 27-63t63-27h464q37 0 63 27t26 63v178q0 8 5 13t13 5h36q8 0 13-5t5-13z m214 482v-285q0-15-11-25t-25-11-25 11l-98 98-364-364q-5-6-13-6t-12 6l-64 64q-6 5-6 12t6 13l364 364-98 98q-11 11-11 25t11 25 25 11h285q15 0 25-11t11-25z" horiz-adv-x="1000" />
<glyph glyph-name="doc-text" unicode="&#xf0f6;" d="M819 638q16-16 27-42t11-50v-642q0-23-15-38t-38-16h-750q-23 0-38 16t-16 38v892q0 23 16 38t38 16h500q22 0 49-11t42-27z m-248 136v-210h210q-5 17-12 23l-175 175q-6 7-23 12z m215-853v572h-232q-23 0-38 16t-16 37v233h-429v-858h715z m-572 483q0 7 5 12t13 5h393q8 0 13-5t5-12v-36q0-8-5-13t-13-5h-393q-8 0-13 5t-5 13v36z m411-125q8 0 13-5t5-13v-36q0-8-5-13t-13-5h-393q-8 0-13 5t-5 13v36q0 8 5 13t13 5h393z m0-143q8 0 13-5t5-13v-36q0-8-5-13t-13-5h-393q-8 0-13 5t-5 13v36q0 8 5 13t13 5h393z" horiz-adv-x="857.1" />
<glyph glyph-name="plus-squared" unicode="&#xf0fe;" d="M714 314v72q0 14-10 25t-25 10h-179v179q0 15-11 25t-25 11h-71q-15 0-25-11t-11-25v-179h-178q-15 0-25-10t-11-25v-72q0-14 11-25t25-10h178v-179q0-14 11-25t25-11h71q15 0 25 11t11 25v179h179q14 0 25 10t10 25z m143 304v-536q0-66-47-113t-114-48h-535q-67 0-114 48t-47 113v536q0 66 47 113t114 48h535q67 0 114-48t47-113z" horiz-adv-x="857.1" />
<glyph glyph-name="bitbucket" unicode="&#xf171;" d="M455 371q4-35-28-57t-63-3q-21 9-29 32t-1 46 29 32q20 11 41 7t36-20 15-37z m62 11q-8 60-63 92t-110 7q-35-15-56-49t-20-72q3-51 44-87t92-31q51 4 85 47t28 93z m133 303q-11 15-31 25t-32 12-40 7q-162 26-316-1-24-4-37-7t-30-12-28-24q16-16 42-26t41-12 49-6q127-16 250-1 35 5 50 7t40 12 42 26z m32-578q-4-14-9-42t-7-47-16-39-33-32q-48-27-106-40t-112-12-113 10q-25 5-45 10t-43 15-41 25-29 34q-14 54-31 163l3 9 10 5q124-83 283-83t283 83q12-3 13-13t-3-25-4-21z m101 537q-15-94-62-366-3-17-15-31t-24-23-31-17q-140-70-340-49-139 15-220 78-8 6-14 14t-10 20-5 19-3 22-3 20q-5 27-15 83t-16 90-13 83-12 88q2 14 10 27t17 21 26 17 25 12 27 10q70 26 175 36 211 21 377-28 86-25 120-68 9-11 9-28t-3-30z" horiz-adv-x="785.7" />
<glyph glyph-name="linux" unicode="&#xf17c;" d="M370 621q-6-1-9-6t-4-5q-3-1-3 2 0 7 10 9h6z m49-8q-3-1-7 4t-10 2q14 6 18-1 2-3-1-5z m-196-238q-3 0-4-2t-2-7-3-8-6-7q-5-6 0-7 2 0 7 4t7 10q0 2 1 4t1 4 1 2 0 2v2t-1 1-1 2z m477-201q0 10-31 24 2 8 4 15t3 15 2 12 0 12 0 11-2 12-3 12-2 14-4 14q-5 27-26 58t-40 42q13-11 32-47 48-90 30-155-6-22-28-23-17-2-21 10t-5 47-6 60q-5 21-11 38t-11 25-9 14-7 8-4 4q-8 35-17 58t-17 31-13 19-8 22q-3 12 3 30t2 27-24 14q-9 2-25 10t-20 9q-4 1-6 15t4 28 20 15q21 2 29-16t2-33q-6-10-1-15t17 0q7 2 7 20v21q-3 17-8 28t-11 17-13 8-15 4q-60-4-50-74 0-9-1-9-5 5-16 6t-19 0-8 3q0 31-9 50t-25 19q-15 0-23-16t-10-33q0-8 2-20t8-21 8-8q6 2 9 8 2 5-4 4-4 0-8 8t-6 19q0 12 5 21t19 8q10 0 15-12t6-22-1-12q-12-9-17-16-5-7-16-13t-11-7q-7-8-9-16t4-10q8-4 14-10t9-11 11-7 19-4q27-1 57 8 1 1 13 4t19 6 17 7 12 10q5 8 11 5 2-2 3-5t-1-7-10-5q-11-3-31-12t-25-11q-25-11-40-13-14-3-44 1-5 1-5-1t10-10q14-13 37-13 10 1 20 4t20 8 19 10 17 9 13 7 10 1 5-6q0-1-1-2t-2-3-3-3-5-2-5-3-5-3-6-2q-15-8-37-25t-38-24-27 0q-12 6-35 41-12 17-14 12-1-2-1-6 0-14-8-31t-16-31-12-33 6-35q-13-3-35-50t-26-79q-1-10-1-38t-3-33q-4-14-16-2-18 17-20 53-1 15 2 31 2 10-1 10-1-1-2-3-20-36 6-92 3-7 14-16t13-11q11-13 58-51t52-42q9-9 10-22t-8-24-25-13q4-8 16-24t15-31 4-39q26 13 4 51-2 5-6 9t-5 7-1 3q2 3 7 6t11-2q26-29 93-20 74 9 99 49 13 21 19 17 6-4 5-30 0-13-13-51-5-13-3-21t14-8q1 10 8 43t7 50q1 12-3 41t-5 54 13 39q9 10 29 10 0 21 19 30t40 6 34-13z m-351 462q2 9-1 17t-6 8q-5 1-5-4 1-3 2-3 6 0 4-9-1-11 5-11 1 0 1 2z m234-110q-1 4-3 6t-8 3-8 3q-3 2-5 5t-4 4-3 4-2 2-3-1q-7-9 4-24t22-18q5 0 8 5t2 11z m-99 119q0 6-3 11t-6 7-5 1q-3 0-5-1t0-2 3-2q8-2 10-17 0-2 5 1 1 1 1 2z m30 130q0 1-1 3t-5 3-6 4q-8 8-13 8-5 0-7-4t0-7 0-7q-1-3-4-6t-3-5 2-5q2-2 4 0t6 5 9 5q0 1 5 1t8 1 5 4z m315-749q11-6 18-13t6-14-1-12-9-13-13-10-17-11-17-9-18-9-15-7q-21-11-48-31t-42-36q-9-9-38-11t-50 8q-10 5-16 13t-9 15-13 11-26 5q-24 0-72 0-11 0-32 0t-32-2q-25 0-45-8t-30-17-24-16-30-6q-16 0-62 17t-81 24q-11 2-29 5t-28 5-22 6-18 8-10 11q-5 12 4 37t10 30q1 9-2 23t-6 23-2 21 6 15q7 6 31 8t34 6q17 10 23 20t7 28q12-41-18-59-18-11-46-8-19 1-24-6-7-8 3-32 1-3 4-10t5-10 2-9 1-13q0-8-9-27t-8-27q1-9 20-14 12-4 47-11t56-11q13-3 41-12t46-13 31-2q24 3 36 15t13 27-4 33-11 29-11 20q-67 106-94 135-38 42-63 23-6-5-9 8-1 9-1 21 1 16 6 29t13 26 13 24q4 12 14 40t17 43 17 35 21 30q62 79 70 108-7 63-9 173-1 51 13 85t59 58q22 12 58 12 30 1 59-7t50-24q32-23 51-67t17-83q-3-53 16-119 19-63 75-122 30-33 55-91t33-106q5-28 3-48t-7-30-11-13q-5-1-13-10t-15-20-23-19-34-8q-10 1-17 3t-13 8-7 8-7 12-5 11q-12 20-23 16t-15-27 4-54q11-39 0-109-5-36 10-56t41-19 47 20q33 28 50 37t58 24q30 10 43 20t10 20-14 16-28 13q-19 6-28 27t-8 40 8 27q1-18 5-32t8-23 11-15 12-11 12-7 9-6z" horiz-adv-x="857.1" />
<glyph glyph-name="dot-circled" unicode="&#xf192;" d="M571 350q0-59-41-101t-101-42-101 42-42 101 42 101 101 42 101-42 41-101z m-142 304q-83 0-153-41t-110-111-41-152 41-152 110-111 153-41 152 41 110 111 41 152-41 152-110 111-152 41z m428-304q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z" horiz-adv-x="857.1" />
<glyph glyph-name="plus-squared-alt" unicode="&#xf196;" d="M643 404v-36q0-8-5-13t-13-5h-196v-196q0-8-5-13t-13-5h-36q-8 0-13 5t-5 13v196h-196q-8 0-13 5t-5 13v36q0 7 5 12t13 5h196v197q0 8 5 13t13 5h36q8 0 13-5t5-13v-197h196q8 0 13-5t5-12z m71-250v464q0 37-26 63t-63 26h-464q-37 0-63-26t-27-63v-464q0-37 27-63t63-27h464q37 0 63 27t26 63z m72 464v-464q0-67-47-114t-114-47h-464q-67 0-114 47t-47 114v464q0 66 47 113t114 48h464q66 0 114-48t47-113z" horiz-adv-x="785.7" />
<glyph glyph-name="fax" unicode="&#xf1ac;" d="M161 636q37 0 63-26t26-64v-607q0-37-26-63t-63-26h-72q-36 0-63 26t-26 63v607q0 37 26 64t63 26h72z m768-91q32-19 52-52t19-72v-428q0-59-42-101t-101-42h-482q-37 0-63 26t-26 63v857q0 23 15 38t38 16h375q23 0 49-11t43-27l85-85q15-15 26-42t12-49v-91z m-411-552v71q0 8-5 13t-13 5h-71q-8 0-13-5t-5-13v-71q0-8 5-13t13-5h71q8 0 13 5t5 13z m0 143v71q0 8-5 13t-13 5h-71q-8 0-13-5t-5-13v-71q0-8 5-13t13-5h71q8 0 13 5t5 13z m0 143v71q0 8-5 13t-13 5h-71q-8 0-13-5t-5-13v-71q0-8 5-13t13-5h71q8 0 13 5t5 13z m143-286v71q0 8-5 13t-13 5h-72q-7 0-12-5t-5-13v-71q0-8 5-13t12-5h72q8 0 13 5t5 13z m0 143v71q0 8-5 13t-13 5h-72q-7 0-12-5t-5-13v-71q0-8 5-13t12-5h72q8 0 13 5t5 13z m0 143v71q0 8-5 13t-13 5h-72q-7 0-12-5t-5-13v-71q0-8 5-13t12-5h72q8 0 13 5t5 13z m143-286v71q0 8-5 13t-13 5h-72q-7 0-12-5t-6-13v-71q0-8 6-13t12-5h72q8 0 13 5t5 13z m0 143v71q0 8-5 13t-13 5h-72q-7 0-12-5t-6-13v-71q0-8 6-13t12-5h72q8 0 13 5t5 13z m0 143v71q0 8-5 13t-13 5h-72q-7 0-12-5t-6-13v-71q0-8 6-13t12-5h72q8 0 13 5t5 13z m53 214v143h-89q-22 0-38 15t-16 38v90h-357v-286h500z" horiz-adv-x="1000" />
<glyph glyph-name="calc" unicode="&#xf1ec;" d="M214-7q0 29-21 50t-50 21-51-21-21-50 21-51 51-21 50 21 21 51z m215 0q0 29-21 50t-51 21-50-21-21-50 21-51 50-21 51 21 21 51z m-215 214q0 30-21 51t-50 21-51-21-21-51 21-50 51-21 50 21 21 50z m429-214q0 29-21 50t-51 21-50-21-21-50 21-51 50-21 51 21 21 51z m-214 214q0 30-21 51t-51 21-50-21-21-51 21-50 50-21 51 21 21 50z m-215 214q0 30-21 51t-50 21-51-21-21-51 21-50 51-21 50 21 21 50z m429-214q0 30-21 51t-51 21-50-21-21-51 21-50 50-21 51 21 21 50z m-214 214q0 30-21 51t-51 21-50-21-21-51 21-50 50-21 51 21 21 50z m428-428v214q0 29-21 50t-50 22-50-22-22-50v-214q0-29 22-50t50-22 50 22 21 50z m-214 428q0 30-21 51t-51 21-50-21-21-51 21-50 50-21 51 21 21 50z m214 179v143q0 14-10 25t-26 11h-714q-14 0-25-11t-11-25v-143q0-14 11-25t25-11h714q15 0 26 11t10 25z m0-179q0 30-21 51t-50 21-51-21-21-51 21-50 51-21 50 21 21 50z m72 358v-858q0-29-22-50t-50-21h-786q-29 0-50 21t-21 50v858q0 29 21 50t50 21h786q29 0 50-21t22-50z" horiz-adv-x="1000" />
<glyph glyph-name="toggle-off" unicode="&#xf204;" d="M643 350q0 58-23 111t-61 91-91 61-111 23-111-23-91-61-61-91-23-111 23-111 61-91 91-61 111-23 111 23 91 61 61 91 23 111z m428 0q0 58-22 111t-61 91-91 61-111 23h-216q67-50 106-125t38-161-38-161-106-125h216q58 0 111 23t91 61 61 91 22 111z m72 0q0-72-29-139t-76-113-114-77-138-28h-429q-72 0-138 28t-114 77-76 113-29 139 29 139 76 114 114 76 138 28h429q72 0 138-28t114-76 76-114 29-139z" horiz-adv-x="1142.9" />
<glyph glyph-name="toggle-on" unicode="&#xf205;" d="M0 350q0 73 29 139t76 114 114 76 138 28h429q72 0 138-28t114-76 76-114 29-139-29-139-76-113-114-77-138-28h-429q-72 0-138 28t-114 77-76 113-29 139z m786-286q58 0 111 23t91 61 61 91 22 111-22 111-61 91-91 61-111 23-111-23-91-61-61-91-23-111 23-111 61-91 91-61 111-23z" horiz-adv-x="1142.9" />
<glyph glyph-name="safari" unicode="&#xf267;" d="M530 352q0-15-10-25t-23-11q-14 0-25 9t-10 23q0 15 9 25t23 11 25-9 11-23z m8-33l195 325q-5-5-37-35t-70-65-77-71-65-62-28-29l-195-323q4 4 38 34t70 65 76 71 65 62 28 28z m361 31q0-112-58-207-2 1-9 6t-15 9-9 5q-8 0-8-8 0-5 33-24-41-63-103-107t-135-61l-8 37q-1 6-9 6-3 0-4-3t-1-6l9-38q-41-8-82-8-111 0-208 59 1 1 8 11t12 19 5 10q0 8-7 8-4 0-10-8t-12-20-8-13q-63 42-107 105t-61 137l38 8q6 2 6 8 0 3-3 5t-6 1l-38-9q-8 41-8 78 0 115 61 212 1-1 10-7t17-11 10-4q7 0 7 6 0 4-7 9t-18 12l-11 7q43 62 105 105t136 60l9-37q1-6 8-6 3 0 5 3t1 6l-9 37q40 7 75 7 114 0 212-61-22-31-22-36 0-7 6-7 7 0 27 35 62-41 105-103t60-135l-31-7q-6-1-6-8 0-3 3-5t5-1l32 7q8-40 8-78z m47 0q0 91-35 174t-95 142-142 95-174 35-173-35-143-95-95-142-35-174 35-173 95-143 143-95 173-35 174 35 142 95 95 143 35 173z m54 0q0-102-40-194t-106-160-160-106-194-40-194 40-160 106-106 160-40 194 40 194 106 160 160 106 194 40 194-40 160-106 106-160 40-194z" horiz-adv-x="1000" />
<glyph glyph-name="chrome" unicode="&#xf268;" d="M498 850q134 1 252-67 130-75 196-208l-414 22q-89 5-164-41t-103-128l-154 236q72 89 174 137t213 49z m-416-226l188-370q40-80 117-121t164-25l-129-252q-118 19-214 88t-152 176-56 230q0 149 82 274z m885-94q32-84 33-174t-27-170-86-152-137-117q-128-74-278-66l226 347q49 73 46 162t-59 155z m-467-11q70 0 119-50t50-119-50-119-119-49-119 49-49 119 49 119 119 50z" horiz-adv-x="1000" />
<glyph glyph-name="firefox" unicode="&#xf269;" d="M504-150q-158 0-282 84t-183 222q-33 74-38 168t15 186 62 174 100 135l-7-156q7 7 38 8t39-8q24 45 90 77t131 32q-30-25-67-82t-33-92q14-4 35-7t36-4 37-3 29-1q8-3 5-26t-17-42q-3-4-9-10t-32-20-56-19l8-105-77 37q-10-24-5-45t21-38 36-23 45-3q29 5 55 19t47 25 41 10q34-2 50-19t10-36q0-1-1-3t-5-7-10-9-17-5-26-1q-34-53-81-76t-117-16q41-34 91-46t94-3 86 29 71 48 45 58q24 51 22 108t-21 105-44 70q49-21 77-45t43-62q8 95-32 191t-117 159q148-43 230-156t84-289q1-71-23-143t-68-132-106-110-138-75-161-28z" horiz-adv-x="1000" />
<glyph glyph-name="calendar-1" unicode="&#xf4c5;" d="M0-31v761q0 37 26 62t62 26h762q36 0 61-26t26-62v-761q0-36-26-62t-61-26h-762q-36 0-62 26t-26 62z m88 0h762v527h-762v-527z m60 59v175h176v-175h-176z m0 234v176h176v-176h-176z m235-234v175h175v-175h-175z m0 234v176h175v-176h-175z m234-234v175h176v-175h-176z m0 234v176h176v-176h-176z" horiz-adv-x="937.5" />
<glyph glyph-name="search-1" unicode="&#xf50d;" d="M11 375q-23 87 0 173t87 150q48 49 110 74t128 25q65 0 127-25t110-74q52-52 77-119t21-137-36-132q28-8 49-29l174-173q35-35 35-85t-35-85q-35-35-85-35t-85 35l-173 174q-22 20-30 49-70-35-149-35-66 0-128 25t-110 73q-64 64-87 151z m101 86q0-93 65-158 66-65 159-65 92 0 157 65t66 158-66 158q-66 66-157 66-92 0-159-66-65-65-65-158z" horiz-adv-x="892.6" />
</font>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -166,7 +166,8 @@ function action_add_concerned_card(obj)
'query' : inp,
'ctl' : 'unused',
'ag_id' : ag_id,
'op':'card'
'op':'card',
'accvis':0
});
waiting_box();

View file

@ -1074,13 +1074,15 @@ function show_calc()
}
var sid = 'calc1';
var shtml = '';
shtml += '<div style="float:right;height:10px;display:block;margin-top:2px;margin-right:2px"><span id="pin_calc1"><a class="input_text" onclick="pin(\'calc1\')" id="close_div">&#8853;</a></span> <a onclick="removeDiv(\'calc1\');" href="javascript:void(0)" id="close_div">X</a></div>';
shtml += '<div> <h2 class="title">Calculatrice</h2></div>';
shtml +="<div class=\"bxbutton\">";
shtml += '<a class="icon" onclick="pin(\'calc1\')" id="pin_calc1">&#xf192;</a> <a onclick="removeDiv(\'calc1\');" href="javascript:void(0)" id="close_div">X</a>';
shtml +="</div>";
shtml += ' <h2 class="title">Calculatrice</h2>';
shtml += '<form name="calc_line" method="GET" onSubmit="cal();return false;" >Calculatrice simplifiée: écrivez simplement les opérations que vous voulez puis la touche retour. exemple : 1+2+3*(1/5) <input class="input_text" type="text" size="30" id="inp" name="calculator"> <input type="button" value="Efface tout" class="button" onClick="Clean();return false;" > <input type="button" class="button" value="Fermer" onClick="removeDiv(\'calc1\')" >';
shtml += '</form><span class="highligth" style="display:block" id="sub_total"> Taper une formule (ex 20*5.1) puis enter </span><span style="display:block" id="listing"> </span>';
var obj = {id: sid, html: shtml,
drag: false, style: ''
drag: false, style: 'z-index:98'
};
add_div(obj);
this.document.getElementById('inp').focus();
@ -2077,7 +2079,6 @@ function view_action(ag_id, dossier, modify)
var pos = fixed_position(0, 50) + ";width:90%;left:5%;";
add_div({
id: id,
drag: 1,
cssclass: "inner_box",
style: pos
});
@ -2874,16 +2875,17 @@ function create_anchor_up()
function init_scroll()
{
var up=new Element('div',{"class":"inner_box",
"style":"padding:10px;left:auto;width:60px;height: auto;display:none;position:fixed;top:25px;right:20px;text-align:center",
"style":"padding:5px;left:auto;width:auto;height: auto;display:none;position:fixed;top:25px;right:50px;text-align:center",
id:"go_up"
});
up.innerHTML=' <a class="button" href="#up_top" ><img src="image/arrow-up.png"/></a><a href="javascript:show_calc()" class="button"><img src="image/compute.png"/></a>';
up.innerHTML=' <a class="icon" href="#up_top" >&#xe81a;</a><a href="javascript:show_calc()" class="icon">&#xf1ec;</a>';
document.body.appendChild(up);
window.onscroll=function () {
if ( document.viewport.getScrollOffsets().top> 0) {
if ($('go_up').visible() == false) {
$('go_up').setOpacity(0.85);
$('go_up').setOpacity(0.70);
$('go_up').show();
$('go_up').style.zIndex=99;
}
} else {
$('go_up').hide();
@ -2986,14 +2988,14 @@ function pin (object_id) {
if ( aDraggableElement[object_id]) {
aDraggableElement[object_id].destroy();
aDraggableElement[object_id]=undefined;
$('pin_'+object_id).firstChild.innerHTML="&#8853;";
$('pin_'+object_id).innerHTML="&#xf192;";
} else {
aDraggableElement[object_id]=new Draggable(object_id, {starteffect: function ()
{
new Effect.Highlight(object_id, {scroll: window, queue: 'end'});
}}
);
$('pin_'+object_id).firstChild.innerHTML="&#8778;";
$('pin_'+object_id).innerHTML="&#xf047;";
}
}
/**

View file

@ -47,7 +47,7 @@ function todo_list_show(p_id)
{
try
{
var todo_div=create_div({id:'todo_list_div'+p_id,cssclass:'add_todo_list',drag:1});
var todo_div=create_div({id:'todo_list_div'+p_id,cssclass:'add_todo_list'});

View file

@ -26,6 +26,7 @@ require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
include_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
require_once NOALYSS_INCLUDE.'/class/acc_ledger_search.class.php';
require_once NOALYSS_INCLUDE.'/lib/icon_action.class.php';
html_page_start($_SESSION['g_theme']);

View file

@ -7,6 +7,18 @@
src: url('image/OpenSansRegular.eot');
src: local('OpenSansRegular'), url('image/OpenSansRegular.woff') format('woff'), url('image/OpenSansRegular.ttf') format('truetype');
}
@font-face {
font-family: 'fontello';
src: url('image/fontello/fontello.eot?18582275');
src: url('image/fontello/fontello.eot?18582275#iefix') format('embedded-opentype'),
url('image/fontello/fontello.woff?18582275') format('woff'),
url('image/fontello/fontello.ttf?18582275') format('truetype'),
url('image/fontello/fontello.svg?18582275#fontello') format('svg');
font-weight: normal;
font-style: normal;
}
/* use this class to attach this font to any element i.e. <p class="fontsforweb_fontid_38327">Text with this font applied</p> */
.fontsforweb_fontid_38327 {
font-family: 'OpenSansRegular' !important;
@ -1250,37 +1262,6 @@ a.line:hover,div_content a.line
color: #FFFFFF;
background-color:#336699;
}
#close_div
{
color:white;
text-decoration:none;
margin-left: 2px;
margin-right:6px;
margin-top:0px;
font-size:14px;
font-size:1rem;
cursor: pointer;
border:0px;
}
#close_div:hover
{
background-color: #F93;
}
#popmeout
{
background-color:#FFFFFF;
color:#0000FF;
text-decoration:none;
border:1px solid #0000FF;
margin-left: 2px;
margin-right:18px;
font-size:12px;
font-size: 0.75rem;
}
#popmeout:hover
{
background-color: #F93;
}
table.table_large tr.odd ,table.table_large tr.even {
height:32px;
@ -2265,4 +2246,36 @@ span.inplace_edit_input
margin-right:5px;
padding-top:0px;
margin-top:0px;
}
/**
* For the icon (font-famillo fontello)
*/
.icon {
font-family: "fontello";
font-weight:normal;
cursor: pointer;
}
.icon:hover {
font-family: "fontello";
}
/**
* Icon in the title of Box
*/
div.bxbutton .icon
{
color:white;
text-decoration:none;
margin-left: 6px;
margin-right:6px;
/*! padding-top:10px; */
font-size:14px;
font-size:1rem;
cursor: pointer;
border:0px;
height: 18px;
}
div.bxbutton .icon:hover
{
background-color: white;
color: blue;
}

View file

@ -11,6 +11,16 @@
.fontsforweb_fontid_38327 {
font-family: 'OpenSansRegular' !important;
}
@font-face {
font-family: 'fontello';
src: url('image/fontello/fontello.eot?18582275');
src: url('image/fontello/fontello.eot?18582275#iefix') format('embedded-opentype'),
url('image/fontello/fontello.woff?18582275') format('woff'),
url('image/fontello/fontello.ttf?18582275') format('truetype'),
url('image/fontello/fontello.svg?18582275#fontello') format('svg');
font-weight: normal;
font-style: normal;
}
BODY {
font-family: Arial, Helvetica, "Liberation Sans" , FreeSans, sans-serif;
@ -1232,37 +1242,7 @@ a.line:hover,div_content a.line
color: #FFFFFF;
background-color:#336699;
}
#close_div
{
color:white;
text-decoration:none;
margin-left: 2px;
margin-right:6px;
margin-top:0px;
font-size:14px;
font-size:1rem;
cursor: pointer;
border:0px;
}
#close_div:hover
{
background-color: #F93;
}
#popmeout
{
background-color:#FFFFFF;
color:#0000FF;
text-decoration:none;
border:1px solid #0000FF;
margin-left: 2px;
margin-right:18px;
font-size:12px;
font-size: 0.75rem;
}
#popmeout:hover
{
background-color: #F93;
}
table.table_large tr.odd ,table.table_large tr.even {
height:32px;
@ -2188,4 +2168,36 @@ span.inplace_edit_input
margin-right:5px;
padding-top:0px;
margin-top:0px;
}
/**
* For the icon (font-famillo fontello)
*/
.icon {
font-family: "fontello";
font-weight:normal;
cursor: pointer;
}
.icon:hover {
font-family: "fontello";
}
/**
* Icon in the title of Box
*/
div.bxbutton .icon
{
color:white;
text-decoration:none;
margin-left: 6px;
margin-right:6px;
/*! padding-top:10px; */
font-size:14px;
font-size:1rem;
cursor: pointer;
border:0px;
height: 18px;
}
div.bxbutton .icon:hover
{
background-color: white;
color: blue;
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -20,7 +20,7 @@ form {
display:none;
}
.button, .smallbutton{
.button, .smallbutton,.icon{
display:none;
}
div.recherche_form {

View file

@ -16,7 +16,16 @@
.fontsforweb_fontid_38327 {
font-family: 'OpenSansRegular' !important;
}
@font-face {
font-family: 'fontello';
src: url('image/fontello/fontello.eot?18582275');
src: url('image/fontello/fontello.eot?18582275#iefix') format('embedded-opentype'),
url('image/fontello/fontello.woff?18582275') format('woff'),
url('image/fontello/fontello.ttf?18582275') format('truetype'),
url('image/fontello/fontello.svg?18582275#fontello') format('svg');
font-weight: normal;
font-style: normal;
}
BODY {
font-family: Arial, Helvetica, "Liberation Sans" , FreeSans, sans-serif;
font-family: 'OpenSansRegular';
@ -1079,39 +1088,7 @@ a.line:hover,div_content a.line
background-color:#336699;
cursor:pointer;
}
#close_div
{
color:white;
text-decoration:none;
margin-left: 6px;
margin-right:6px;
/*! padding-top:10px; */
font-size:14px;
font-size:1rem;
cursor: pointer;
border:0px;
height: 18px;
}
#close_div:hover
{
background-color: white;
color: blue;
}
#popmeout
{
background-color:#FFFFFF;
color:#0000FF;
text-decoration:none;
border:1px solid #0000FF;
margin-left: 2px;
margin-right:18px;
font-size:12px;
font-size: 0.75rem;
}
#popmeout:hover
{
background-color: #F93;
}
table.table_large tr.odd ,table.table_large tr.even {
height:32px;
@ -2091,25 +2068,21 @@ td.selectedmenu {
#go_up {
background-color: transparent;
border:0px;
font-size:300%;
box-shadow: none;
color:blue;
margin-right: 20px;
}
#go_up a ,#go_up a:visited{
background-image: none;
text-decoration: none;
color:blue;
font-size:2.7em;
font-size: 2.7rem;
/*! padding-right: 6px; */
font-size:1.7em;
font-size: 1.7rem;
padding: 0px;
margin: 0px;
background-color: whitesmoke;
}
#go_up a:hover {
background-color: gold;
font-size:2.8em;
font-size:2.8rem;
}
@ -2219,4 +2192,36 @@ div.menu2 td.mtitle, div.menu2 td.mtitle a{
}
div.menu2 td.mtitle a{
border-width:0px;
}
/**
* For the icon (font-famillo fontello)
*/
.icon {
font-family: "fontello";
font-weight:normal;
cursor: pointer;
}
.icon:hover {
font-family: "fontello";
}
/**
* Icon in the title of Box
*/
div.bxbutton .icon
{
color:white;
text-decoration:none;
margin-left: 6px;
margin-right:6px;
/*! padding-top:10px; */
font-size:14px;
font-size:1rem;
cursor: pointer;
border:0px;
height: 18px;
}
div.bxbutton .icon:hover
{
background-color: white;
color: blue;
}

View file

@ -169,7 +169,7 @@ echo '</div>';
<div class="foldercontent">
<span style="margin:2%" class="visible_gt800">
<?php
echo _('Cherche').HtmlInput::infobulle(23);
echo _('Cherche').Icon_Action::infobulle(23);
?>
<?php
echo HtmlInput::filter_table("folder", '0,1,2',1);

View file

@ -95,7 +95,7 @@ if (isset($_POST['generate']))
{
$act->Update();
}
$doc_mod=$hi->post('doc_mod',"number");
$doc_mod=$http->post('doc_mod',"number");
$act->generate_document($doc_mod, $_POST);
$sub_action = 'detail';
}

View file

@ -51,7 +51,7 @@ $r.='<form id="search_card1_frm" method="GET" onsubmit="action_add_concerned_car
$q=new IText('query');
$q->value=(isset($query))?$query:'';
$r.='<span style="margin-left:50px">';
$r.=_('Fiche contenant').HtmlInput::infobulle(19);
$r.=_('Fiche contenant').Icon_Action::infobulle(19);
$r.=$q->input();
$r.=HtmlInput::submit('fs', _('Recherche'), "", "smallbutton");
$r.='</span>';
@ -82,6 +82,8 @@ for ($i=0; $i<count($a); $i++)
echo $r;
// No accountancy history
$accvis=0;
require_once(NOALYSS_TEMPLATE.'/card_result.php');
$response=ob_get_contents();
ob_end_clean();

View file

@ -43,11 +43,11 @@ $max=(count($array)>MAX_CARD_SEARCH)?MAX_CARD_SEARCH:count($array);
<h2 class="notice"><?php printf (_("Résultat limité à %d , %d nombre de fiches trouvées"), MAX_CARD_SEARCH,count($array))?> </h2>
<?php endif?>
<?php echo _('Cherche')?> <?php echo HtmlInput::infobulle(26);echo HtmlInput::filter_table("tb_fiche", "0,1,2,3,4,5", 1); ?> :
<?php echo _('Cherche')?> <?php echo Icon_Action::infobulle(26);echo HtmlInput::filter_table("tb_fiche", "0,1,2,3,4,5", 1); ?> :
<table id="tb_fiche" class="sorttable" style="width:100%">
<tr>
<th>
<?php echo _("Quick Code");?> <?php echo HtmlInput::infobulle(17); ?>
<?php echo _("Quick Code");?> <?php echo Icon_Action::infobulle(17); ?>
</th>
<th class=" sorttable_sorted">
Nom

View file

@ -261,7 +261,7 @@ case 'st':
}
if ( strpos($where," in ()") != 0)
{
$html=HtmlInput::anchor_close('select_card_div');
$html=Icon_Action::close('select_card_div');
$html.=h2info(_('Choix de la catégorie'));
$html.='<h3 class="notice">';
$html.=_("Aucune catégorie de fiche ne correspond à".
@ -384,7 +384,7 @@ case 'fs':
$q=new IText('query');
$q->value=(isset($query))?$query:'';
$r.='<span style="margin-left:50px">';
$r.=_('Fiche contenant').HtmlInput::infobulle(19);
$r.=_('Fiche contenant').Icon_Action::infobulle(19);
$r.=$q->input();
$r.=HtmlInput::submit('fs',_('Recherche'),"","smallbutton");
$r.='</span>';
@ -411,7 +411,7 @@ case 'fs':
if ( strpos($sql," in ()") != 0)
{
$html=HtmlInput::anchor_close('search_card');
$html=Icon_Action::close('search_card');
$html.='<div> '.h2info(_('Recherche de fiche')).'</div>';
$html.='<h3 class="notice">';
$html.=_("Aucune catégorie de fiche ne correspond à".

View file

@ -207,7 +207,7 @@ case 'de':
catch (Exception $e)
{
record_log($e->getTraceAsString());
echo HtmlInput::anchor_close($div);
echo Icon_Action::close($div);
echo '<h2 class="error">'._("Désolé il y a une erreur").'</h2>';
}
$html=ob_get_contents();

View file

@ -28,7 +28,7 @@ ob_start();
require_once NOALYSS_INCLUDE.'/class/pre_operation.class.php';
$op=new Pre_Operation($cn,$_GET['id']);
$array=$op->load();
echo HtmlInput::anchor_close('mod_predf_op');
echo Icon_Action::close('mod_predf_op');
echo h2(_('Modification du nom'),' class="title"');
echo '

View file

@ -50,12 +50,12 @@ $a_menu=$cn->get_array($sql,array($_SESSION['g_user']));
<tr>
<th class='sorttable_sorted'>
Code AD
<?php echo HtmlInput::infobulle(34); ?>
<?php echo Icon_Action::infobulle(34); ?>
<span id="sorttable_sortfwdind">&nbsp<img src="image/up.gif"></span>
</th>
<th>
<?php echo _("Chemin");?>
<?php echo HtmlInput::infobulle(35); ?>
<?php echo Icon_Action::infobulle(35); ?>
</th>
<th>
<?php echo _("Description complète");?>

View file

@ -189,7 +189,7 @@ if ($ac=='shared_note')
header('Content-type: text/xml; charset=UTF-8');
$dom=new DOMDocument('1.0', 'UTF-8');
$tl_id=$dom->createElement('content', _("Cette note n'est pas à vous").
HtmlInput::anchor_close('shared_'.$id));
Icon_Action::close('shared_'.$id));
$dom->appendChild($tl_id);
echo $dom->saveXML();
return;

View file

@ -30,7 +30,7 @@ ob_start();
require_once NOALYSS_INCLUDE.'/class/follow_up.class.php';
require_once NOALYSS_INCLUDE.'/class/default_menu.class.php';
echo HtmlInput::title_box(_("Détail action"), $div);
echo HtmlInput::title_box(_("Détail action"), $div,"close","","y");
$act = new Follow_Up($cn);
$act->ag_id = $ag_id;
$act->get();

View file

@ -296,7 +296,7 @@ if ( isset($_GET['view'] ) )
$b=$periode->get_date_limit($_GET['to_periode']);
echo "<h2 class=\"info\"> période du ".$a['p_start']." au ".$b['p_end']."</h2>";
echo '<span style="display:block">';
echo _('Cherche').HtmlInput::infobulle(24);
echo _('Cherche').Icon_Action::infobulle(24);
echo HtmlInput::filter_table("t_balance", "0,1","1");
echo '</span>';
echo '<table id="t_balance" width="100%">';

View file

@ -1202,7 +1202,7 @@ class Acc_Ledger extends jrn_def_sql
if ($wLedger==null)
throw new Exception(_('Pas de journal disponible'));
$wLedger->javascript="onChange='update_name();update_predef(\"ods\",\"t\",\"".$_REQUEST['ac']."\");$add_js'";
$label=" Journal ".HtmlInput::infobulle(2);
$label=" Journal ".Icon_Action::infobulle(2);
$ret.="<table>";
$ret.=tr(td($label).td($wLedger->input()));
@ -1263,7 +1263,7 @@ class Acc_Ledger extends jrn_def_sql
exit();
}
}
$label=HtmlInput::infobulle(3);
$label=Icon_Action::infobulle(3);
$f_periode=td(_("Période comptable")." $label ").td($l_form_per);
$ret.=tr($f_periode);
}
@ -1303,8 +1303,8 @@ class Acc_Ledger extends jrn_def_sql
$ret.=HtmlInput::hidden('nb_item', $nb_row);
$ret.=dossier::hidden();
$ret.=HtmlInput::hidden('jrn_type', $this->get_type());
$info=HtmlInput::infobulle(0);
$info_poste=HtmlInput::infobulle(9);
$info=Icon_Action::infobulle(0);
$info_poste=Icon_Action::infobulle(9);
$ret.='<table id="quick_item" style="position:float;width:100%">';
$ret.='<tr>'.
'<th style="text-align:left">Quickcode'.$info.'</th>'.
@ -3234,9 +3234,7 @@ class Acc_Ledger extends jrn_def_sql
function add_card($p_filter, $p_id_update)
{
$js_script="this.filter='{$p_filter}';this.elementId='{$p_id_update}';this.jrn=\$('p_jrn').value; select_card_type(this);";
$str_add_button=HtmlInput::button_image($js_script, uniqid(),
'class="smallbutton image_search"',
"image/bouton-plus.png");
$str_add_button=Icon_Action::icon_add(uniqid(), $js_script);
return $str_add_button;
}
/**

View file

@ -295,7 +295,7 @@ class Acc_Ledger_Fin extends Acc_Ledger
}
}
$label = HtmlInput::infobulle(3);
$label = Icon_Action::infobulle(3);
$f_period = "Période comptable $label" . $l_form_per;
}
@ -315,7 +315,7 @@ class Acc_Ledger_Fin extends Acc_Ledger
$wLedger->javascript = $add_js;
$label = " Journal " . HtmlInput::infobulle(2);
$label = " Journal " . Icon_Action::infobulle(2);
$f_jrn = $label . $wLedger->input();
@ -345,7 +345,7 @@ class Acc_Ledger_Fin extends Acc_Ledger
$wPJ->value = (isset($e_pj)) ? $e_pj : $default_pj;
$f_extrait = $wPJ->input() . HtmlInput::hidden('e_pj_suggest', $default_pj);
$label = HtmlInput::infobulle(7);
$label = Icon_Action::infobulle(7);
$first_sold = (isset($first_sold)) ? $first_sold : "";
$wFirst = new INum('first_sold', $first_sold);
@ -383,7 +383,6 @@ class Acc_Ledger_Fin extends Acc_Ledger
$W1->value = $tiers;
$W1->extra = 'deb'; // credits
$W1->typecard = 'deb';
$W1->style=' style = "vertical-align:65%"';
$W1->set_dblclick("fill_ipopcard(this);");
$W1->set_attribute('ipopup', 'ipopcard');

View file

@ -1005,7 +1005,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger
$Echeance=new IDate();
$Echeance->setReadOnly(false);
$Echeance->tabindex=2;
$label=HtmlInput::infobulle(4);
$label=Icon_Action::infobulle(4);
$f_echeance=$Echeance->input('e_ech',$e_ech,'Echéance'.$label);
$f_periode="";
if ($this->check_periode() == true)
@ -1034,7 +1034,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger
}
$r.="<td>";
$label=HtmlInput::infobulle(3);
$label=Icon_Action::infobulle(3);
$f_periode=td(_("Période comptable")." $label ").td($l_form_per);
}
// Ledger (p_jrn)
@ -1067,7 +1067,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger
$Commentaire->setReadOnly(false);
$Commentaire->size=60;
$Commentaire->tabindex=3;
$label=HtmlInput::infobulle(1) ;
$label=Icon_Action::infobulle(1) ;
$f_desc=$Commentaire->input("e_comm",$e_comm);
// PJ
@ -1116,7 +1116,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger
}
$W1=new ICard();
$W1->label=_("Fournisseur ").HtmlInput::infobulle(0) ;
$W1->label=_("Fournisseur ").Icon_Action::infobulle(0) ;
$W1->name="e_client";
$W1->tabindex=3;
$W1->value=$e_client;
@ -1530,7 +1530,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger
{
$r.='<td style="background-color:red" class="num" '.$css_void_tva.'>';
$r.=HtmlInput::infobulle(28);
$r.=Icon_Action::infobulle(28);
$r.='<a href="#" class="error" style="display:inline" title="'. _("Attention Différence entre TVA calculée et donnée").'">'
.nbm($tva_item).'<a>';
}

View file

@ -215,7 +215,7 @@ class Acc_Ledger_Search
$f_accounting->set_attribute('ipopup', 'ipop_account');
$f_accounting->set_attribute('label', 'ld');
$f_accounting->set_attribute('account', $this->div.'accounting');
$info=HtmlInput::infobulle(13);
$info=Icon_Action::infobulle(13);
$f_paid=new ICheckbox('unpaid', null, $this->div.'unpaid');
$f_paid->selected=(isset($_REQUEST['unpaid']))?true:false;
@ -556,7 +556,7 @@ class Acc_Ledger_Search
{
$r='';
$r.='<div id="search_form" style="display:none">';
$r.=HtmlInput::anchor_hide('&#10761;',
$r.=Icon_Action::hide('&#10761;',
'$(\'search_form\').style.display=\'none\';');
$r.=h2('Recherche', 'class="title"');
$r.='<FORM METHOD="GET">';

View file

@ -787,7 +787,7 @@ class Acc_Ledger_Sold extends Acc_Ledger {
same */
if (bcsub($tva_item, $tva_computed) != 0 && ! ($tva_item == 0 && $both_side == 1)) {
$r.='<td style="background-color:red" class="num">';
$r.=HtmlInput::infobulle(28);
$r.=Icon_Action::infobulle(28);
$r.='<a href="#" class="error" style="display:inline" title="' . _("Attention Différence entre TVA calculée et donnée") . '">'
. nbm($tva_item) . '<a>';
} else {
@ -1064,7 +1064,7 @@ EOF;
$Echeance->setReadOnly(false);
$Echeance->tabindex = 2;
$label = HtmlInput::infobulle(4);
$label = Icon_Action::infobulle(4);
$f_echeance = $Echeance->input('e_ech', $e_ech, _('Echéance') . $label);
$Date = new IDate();
$Date->setReadOnly(false);
@ -1090,7 +1090,7 @@ EOF;
throw new Exception( _("Aucune période ouverte") );
}
}
$label = HtmlInput::infobulle(3);
$label = Icon_Action::infobulle(3);
$f_periode = '<td>' . _("Période comptable") . "</td> <td> $label " . $l_form_per . '</td>';
}
/* if we suggest the next pj, then we need a javascript */
@ -1110,7 +1110,7 @@ EOF;
throw new Exception(_('Pas de journal disponible'));
$wLedger->table = 1;
$wLedger->javascript = "onChange='update_predef(\"ven\",\"f\",\"".$_REQUEST['ac']."\");$add_js'";
$wLedger->label = " Journal " . HtmlInput::infobulle(2);
$wLedger->label = " Journal " . Icon_Action::infobulle(2);
$f_jrn = $wLedger->input();
@ -1120,7 +1120,7 @@ EOF;
$Commentaire->size = 60;
$Commentaire->tabindex = 3;
$label = HtmlInput::infobulle(1);
$label = Icon_Action::infobulle(1);
$f_desc = $Commentaire->input("e_comm", $e_comm) ;
// PJ
@ -1159,7 +1159,7 @@ EOF;
}
$W1 = new ICard();
$W1->label = "Client " . HtmlInput::infobulle(0);
$W1->label = "Client " . Icon_Action::infobulle(0);
$W1->name = "e_client";
$W1->tabindex = 3;
$W1->value = $e_client;
@ -1178,7 +1178,6 @@ EOF;
$W1->javascript = sprintf(' onchange="fill_data_onchange(\'%s\');" ', $W1->name);
$f_client_qcode = $W1->input();
$client_label = new ISpan();
$client_label->style="vertical-align:top";
$client_label->table = 0;
$f_client = $client_label->input("e_client_label", $e_client_label);
$f_client_bt = $W1->search();

View file

@ -140,7 +140,7 @@ class Anc_Print
<td>
<?php
echo _('Depuis') ;
echo HtmlInput::infobulle(37);
echo Icon_Action::infobulle(37);
?>
</td>
<td>
@ -153,7 +153,7 @@ class Anc_Print
<td>
<?php
echo _('Jusque') ;
echo HtmlInput::infobulle(37);
echo Icon_Action::infobulle(37);
?>
</td>
<td>
@ -166,7 +166,7 @@ class Anc_Print
</table>
<span style="padding:5px;margin:5px;display:block;">
<?php echo _( "Plan Analytique :").$plan_id->input();
echo HtmlInput::infobulle(42);
echo Icon_Action::infobulle(42);
?>
</span>

View file

@ -499,7 +499,7 @@ class Fiche
$w->set_attribute('ipopup', 'ipop_account');
$w->set_attribute('account', "av_text" . $attr->ad_id);
$w->table = 1;
$bulle = HtmlInput::infobulle(14);
$bulle = Icon_Action::infobulle(14);
break;
case 'select':
$w = new ISelect("av_text" . $attr->ad_id);
@ -528,7 +528,7 @@ class Fiche
$w->name = "av_text" . $attr->ad_id;
if ($attr->ad_id == 21 || $attr->ad_id==22||$attr->ad_id==20||$attr->ad_id==31)
{
$bulle=HtmlInput::infobulle(21);
$bulle=Icon_Action::infobulle(21);
}
if ($attr->ad_id == ATTR_DEF_NAME || $attr->ad_id== ATTR_DEF_QUICKCODE)
$class=" input_text highlight info";
@ -597,10 +597,10 @@ class Fiche
$sql="select account_auto($this->fiche_def)";
$ret_sql=$this->cn->exec_sql($sql);
$a=Database::fetch_array($ret_sql, 0);
$bulle=HtmlInput::infobulle(10);
$bulle=Icon_Action::infobulle(10);
if ($a['account_auto']=='t')
$bulle.=HtmlInput::warnbulle(11);
$bulle.=" ".Icon_Action::warnbulle(11);
}
elseif ($r->ad_id==ATTR_DEF_TVA)
{
@ -639,7 +639,7 @@ class Fiche
$w->dbl_click_history();
$w->width=$r->ad_size;
$w->table=0;
$bulle=HtmlInput::infobulle(14);
$bulle=Icon_Action::infobulle(14);
$w->value=$r->av_text;
break;
case 'card':
@ -711,7 +711,7 @@ class Fiche
if ($r->ad_id==21||$r->ad_id==22||$r->ad_id==20||$r->ad_id==31)
{
$bulle=HtmlInput::infobulle(21);
$bulle=Icon_Action::infobulle(21);
}
if ($r->ad_id == ATTR_DEF_NAME || $r->ad_id== ATTR_DEF_QUICKCODE||$r->ad_id==ATTR_DEF_ACCOUNT)
$class=" input_text highlight info";
@ -1755,7 +1755,7 @@ class Fiche
$r.='<table id="tiers_tb" class="sortable" style="width:90%;margin-left:5%">
<TR >
<TH>'._('Quick Code').HtmlInput::infobulle(17).'</TH>'.
<TH>'._('Quick Code').Icon_Action::infobulle(17).'</TH>'.
'<th>'._('Poste comptable').'</th>'.
'<th class="sorttable_sorted">'._('Nom').'<span id="sorttable_sortfwdind"><img src="image/up.gif"></span>'.'</th>
<th>'._('Adresse').'</th>

View file

@ -615,12 +615,12 @@ class Periode
if ($obj->getp("p_closed")=='f')
{
$javascript=sprintf('%s.close_periode(\'%d\')', $p_js, $obj->p_id);
echo HtmlInput::image_click(ICONON, $javascript, _('Fermé'));
echo Icon_Action::iconon(uniqid(), $javascript);
}
else
{
$javascript=sprintf("%s.open_periode('%d')", $p_js, $obj->p_id);
echo HtmlInput::image_click(ICONOFF, $javascript, _('Ouvert'));
echo Icon_Action::iconoff(uniqid(),$javascript );
}
echo "</td>";
echo "</tr>";

View file

@ -228,7 +228,7 @@ class Pre_op_ach extends Pre_operation_detail
}
$W1=new ICard();
$W1->label=_("Fournisseur ").HtmlInput::infobulle(0) ;
$W1->label=_("Fournisseur ").Icon_Action::infobulle(0) ;
$W1->name="e_client";
$W1->tabindex=3;
$W1->value=$e_client;

View file

@ -186,8 +186,8 @@ class Pre_Op_Advanced extends Pre_operation_detail
$ret.=dossier::hidden();
$ret.=HtmlInput::hidden('jrn_type', $legder->get_type());
$info = HtmlInput::infobulle(0);
$info_poste = HtmlInput::infobulle(9);
$info = Icon_Action::infobulle(0);
$info_poste = Icon_Action::infobulle(9);
if ($g_user->check_action(FICADD) == 1)
$ret.=$f_add_button->input();
$ret.='<table id="quick_item" style="width:100%">';

View file

@ -229,7 +229,7 @@ class Pre_op_ven extends Pre_operation_detail
}
$W1=new ICard();
$W1->label="Client ".HtmlInput::infobulle(0) ;
$W1->label="Client ".Icon_Action::infobulle(0) ;
$W1->name="e_client";
$W1->tabindex=3;
$W1->value=$e_client;

View file

@ -223,7 +223,7 @@ $select_all->javascript="recompute('rec1')";
echo $select_all->input();
echo '</p>';
echo '<p>';
echo _('Cherche').HtmlInput::infobulle(25);
echo _('Cherche').Icon_Action::infobulle(25);
echo HtmlInput::filter_table("t_rec_bk", "0,1,2,3","1");
echo '</p>';
echo HtmlInput::submit('save', 'Mettre à jour le n° de relevé bancaire');
@ -233,7 +233,7 @@ echo '<span style="display:block">';
echo '</span>';
echo '<table id="t_rec_bk" class="sortable" style="width:90%;margin-left:5%">';
$r ='<th class=" sorttable_sorted">'.'Date '.HtmlInput::infobulle(17).'<span id="sorttable_sortfwdind"><img src="image/up.gif"></span>'.'</th>';
$r ='<th class=" sorttable_sorted">'.'Date '.Icon_Action::infobulle(17).'<span id="sorttable_sortfwdind"><img src="image/up.gif"></span>'.'</th>';
$r.=th('Libellé');
$r.=th('N° interne');
$r.=th('Montant', ' style="text-align:right"');

View file

@ -44,7 +44,7 @@ echo h1(_("Exercice")." ".$exercice);
echo _('Cherche').' : '.HtmlInput::filter_table("fin_saldo_tb", '0,1,2,3', '1');
echo '<table class="sortable" style="margin-left:2%;width:96%" class="result" id="fin_saldo_tb">';
echo tr(th('Quick Code', ' class=" sorttable_sorted"',
HtmlInput::infobulle(17).'<span id="sorttable_sortfwdind"><img src="image/up.gif"></span>')
Icon_Action::infobulle(17).'<span id="sorttable_sortfwdind"><img src="image/up.gif"></span>')
.th(_('Compte en banque'), ' style="text-align:left"')
.th(_('Journal'), ' style="text-align:center"')
.th(_('Description'), ' style="text-align:center"')

View file

@ -311,5 +311,6 @@ define ('EXC_PARAM_TYPE',1006);
define ('EXC_DUPLICATE',1200);
define ('ICONON','icon-on.png');
define ('ICONOFF','icon-off.png');
define ("PINDG","&#8853;");
define ("UNPINDG","&#8778;");
define ("PINDG","&#xf047;");
define ("UNPINDG","&#xf192;");
//define ("UNPINDG","&#8778;");

View file

@ -236,7 +236,7 @@ if ( $sa == 'list' )
$template="";
echo '<div class="content">';
echo '<span style="display:block">';
echo _('Cherche').HtmlInput::infobulle(23);
echo _('Cherche').Icon_Action::infobulle(23);
echo HtmlInput::filter_table("t_dossier", "0,1,2","1");
echo '</span>';
echo '<TABLE id="t_dossier" class="table_large" >';

View file

@ -89,7 +89,7 @@ $search_card_js=sprintf('onclick="boxsearch_card(\'%d\')"',dossier::id());
?>
<div id="box_search_card">
<?php echo _('Recherche de fiche')?> <?php echo HtmlInput::infobulle(18)?> :<?php echo $search_card->input()?>
<?php echo _('Recherche de fiche')?> <?php echo Icon_Action::infobulle(18)?> :<?php echo $search_card->input()?>
<?php echo HtmlInput::button_anchor(_("Chercher"),"javascript:void(0)","",$search_card_js,'smallbutton')?>
</div>
<?php
@ -396,7 +396,7 @@ if ($_GET['histo'] == 4 || $_GET['histo'] == 5)
echo tr(
th('Quick Code') .
th('Libellé') .
'<th>Poste'.HtmlInput::infobulle(27).'</th>'.
'<th>Poste'.Icon_Action::infobulle(27).'</th>'.
th('Débit', 'style="text-align:right"') .
th('Crédit', 'style="text-align:right"') .
th('Solde', 'style="text-align:right"') .
@ -509,7 +509,7 @@ for ($e = 0; $e < count($afiche); $e++)
echo '<h2>' . $detail_card ;
echo "poste "
. ":".HtmlInput::history_account($row->strAttribut(ATTR_DEF_ACCOUNT),$row->strAttribut(ATTR_DEF_ACCOUNT),'display:inline').HtmlInput::infobulle(27).'</h2>';
. ":".HtmlInput::history_account($row->strAttribut(ATTR_DEF_ACCOUNT),$row->strAttribut(ATTR_DEF_ACCOUNT),'display:inline').Icon_Action::infobulle(27).'</h2>';
echo '<table class="result">';
echo '<tr>';

View file

@ -35,7 +35,7 @@ global $g_user,$http;
//-----------------------------------------------------
require_once NOALYSS_INCLUDE.'/lib/database.class.php';
if ($g_user->Admin() == 0 && $g_user->is_local_admin() == 0)
if ($g_user->Admin() == 0 && $g_user->is_local_admin() == 0 && $g_user->get_status_security_ledger()==1)
{
$sql = "select jrn_def_id,jrn_def_name
from jrn_def join jrn_type on jrn_def_type=jrn_type_id
@ -53,16 +53,16 @@ else
from jrn_def join jrn_type on jrn_def_type=jrn_type_id
order by jrn_def_name
");
// Count the forbidden journaux
// $NoPriv = $cn->count_sql("select jrn_def_id,jrn_def_name,jrn_def_class_deb,jrn_def_class_cred,jrn_type_id,jrn_desc,uj_priv,
// jrn_deb_max_line,jrn_cred_max_line
// from jrn_def join jrn_type on jrn_def_type=jrn_type_id
// join user_sec_jrn on uj_jrn_id=jrn_def_id
// where
// uj_login=$1
// and uj_priv ='X'
// ",array($g_user->id));
}
// Count the forbidden journaux
$NoPriv = $cn->count_sql("select jrn_def_id,jrn_def_name,jrn_def_class_deb,jrn_def_class_cred,jrn_type_id,jrn_desc,uj_priv,
jrn_deb_max_line,jrn_cred_max_line
from jrn_def join jrn_type on jrn_def_type=jrn_type_id
join user_sec_jrn on uj_jrn_id=jrn_def_id
where
uj_login=$1
and uj_priv ='X'
",array($g_user->id));
/*
* Show all the available ledgers
*/
@ -139,7 +139,7 @@ $w->selected = 1;
print '</TR>';
print '<TR>';
$w->selected = (isset($simple)) ? $simple : '1';
echo '<td>Style d\'impression '.HtmlInput::infobulle(32).'</td>' . $w->input('p_simple', $a);
echo '<td>Style d\'impression '.Icon_Action::infobulle(32).'</td>' . $w->input('p_simple', $a);
print "</TR>";
echo '</TABLE>';

View file

@ -831,7 +831,7 @@ function ajax_disconnected($div)
$script.='a.style.top=posY-20+offsetY;a.style.left=posX+offsetX;';
$script = create_script($script);
$html = $script;
$html.=HtmlInput::anchor_close($div);
$html.=Icon_Action::close($div);
$html.='<div>';
$html.=h2(_('Données non disponibles'), 'class="title" style="width:auto"');
$html.=h2(_('Veuillez vous reconnecter soit dans une autre fenêtre soit '
@ -1176,7 +1176,7 @@ function display_dashboard_operation($p_array,$p_title,$p_div)
?>
<div id="<?php echo $p_div;?>" class="inner_box" style="display:none;position:fixed;top:250px;left:12%;width: 75%;min-height:50%;overflow:auto;">
<?php
echo HtmlInput::title_box($p_title, $p_div, "hide");
echo HtmlInput::title_box($p_title, $p_div, "hide",'','y');
?>
<?php if (count($p_array)>0) :?>
<table class="result">

File diff suppressed because it is too large Load diff

View file

@ -80,10 +80,8 @@ class IButton extends HtmlInput
}
static function show_calc()
{
$calc=new IButton('shcalc');
$calc->label=_('Calculatrice');
$calc->javascript="show_calc()";
return $calc->input();
$calc='<span class="button icon" onclick="show_calc();">&#xf1ec;</span>';
return $calc;
}
static public function test_me()

View file

@ -53,7 +53,7 @@
//
$W1=new ICard();
$W1->label="Client ".HtmlInput::infobulle(0) ;
$W1->label="Client ".Icon_Action::infobulle(0) ;
$W1->name="e_client";
$W1->tabindex=3;
$W1->value=$e_client;
@ -133,7 +133,7 @@ class ICard extends HtmlInput
$this->indicator=null;
$this->choice_create=1;
$this->autocomplete=1;
$this->style=' style="vertical-align:50%"';
$this->style=' ';
$this->accvis=1; //!< account_visible =1 otherwise 0
}
@ -174,7 +174,8 @@ class ICard extends HtmlInput
$this->fct=$p_name;
}
/**\brief return the html string for creating the ipopup, this ipopup
/**
* \brief return the html string for creating the ipopup, this ipopup
* can be used for adding, modifying or display a card
* @note ipopup is obsolete, the popin is created by javascript
* \param $p_name name of the ipopup, must be set after with set_attribute
@ -235,12 +236,10 @@ class ICard extends HtmlInput
$e=sprintf(' ondblclick="%s" ', $this->dblclick);
$this->dblclick=$e;
}
$input=sprintf('
<input class="smallbutton" onclick="$(\'%s\').value=\'\'" id="%s" value="X" type="button" style="vertical-align:top">
$input=Icon_Action::clean_zone(uniqid("remove"),"{$this->id}=''");
$input.=sprintf('
<INPUT TYPE="Text" class="input_text"
NAME="%s" ID="%s" VALUE="%s" SIZE="%d" %s %s %s>',
$this->id,
uniqid("remove"),
$this->name, $this->id, $this->value, $this->size,
$this->dblclick, $this->javascript, $this->style
);
@ -333,10 +332,9 @@ class ICard extends HtmlInput
$a.="this.inp='".$this->name."';";
$a.="this.popup='ipop_card';";
$javascript=$a.' search_card(this);return false;';
$button=HtmlInput::button_image($javascript, $this->name."_bt",
'alt="'._('Recherche').'" class="image_search"',
"image/magnifier13.png");
$button=Icon_Action::icon_magnifier(uniqid(),$javascript);
return $button;
}

View file

@ -0,0 +1,188 @@
<?php
/*
* This file is part of NOALYSS.
*
* PhpCompta is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* PhpCompta is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PhpCompta; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
// Copyright (2018) Author Dany De Bontridder <dany@alchimerys.be>
/**
* @file
* @brief Utility , library of icon with javascript
*/
/**
* @brief Utility , library of icon with javascript
*/
class Icon_Action
{
/**
* Display a icon with a magnify glass
* @param string $id id of element
* @param string $p_javascript
* @param string $p_style optionnal HTML code
* @return type
*/
static function icon_magnifier($id, $p_javascript, $p_style="")
{
$r="";
$r.=sprintf('<span id="%s" class=" smallbutton icon" style="%s" onclick="%s">&#xf50d;</span>',
$id, $p_style, $p_javascript);
return $r;
}
/**
*
* @param type $id
* @param type $p_javascript
* @param type $p_style
* @return type
*/
static function icon_add($id, $p_javascript, $p_style="")
{
$r="";
$r=sprintf('<input class="smallbutton icon" onclick="%s" id="%s" type="button" %s value="&#xe828;">',
$p_javascript, $id, $p_style);
return $r;
}
/**
*
* @param string $id
* @param string $p_javascript
* @param string opt $p_style
* @return html string
*/
static function clean_zone($id, $p_javascript, $p_style="")
{
$r="";
$r=sprintf('<input class="smallbutton" onclick="%s" id="%s" value="X" %s type="button" style="">',
$p_javascript, $id, $p_style
);
return $r;
}
/**
* Display a info in a bubble, text is in message_javascript
* @param integer $p_comment
* @see message_javascript.php
* @return html string
*/
static function infobulle($p_comment)
{
$r='<span tabindex="-1" class="icon" style="cursor:pointer;display:inline;text-decoration:none;" onmouseover="showBulle(\''.$p_comment.'\')" onclick="showBulle(\''.$p_comment.'\')" onmouseout="hideBulle(0)">';
$r.="&#xf086;";
$r.='</span>';
return $r;
}
/**
* Display a icon ON
* @param string $p_div id of element
* @param string $p_javascript
* @param string $p_style optionnal HTML code
* @return html string
*/
static function iconon($p_id, $p_javascript, $p_style="")
{
$r=sprintf('<span style="color:green;cursor:pointer" id="%s" class="icon" style="%s" onclick="%s">&#xf205;</span>',
$p_id, $p_style, $p_javascript);
return $r;
}
/**
* Display a icon OFF
* @param string $p_div id of element
* @param string $p_javascript
* @param string $p_style optionnal HTML code
* @return html string
*/
static function iconoff($p_id, $p_javascript, $p_style="")
{
$r=sprintf('<span style="color:red;cursor:pointer" id="%s" class="icon" style="%s" onclick="%s">&#xf204;</span>',
$p_id, $p_style, $p_javascript);
return $r;
}
/**
* Return a html string with an anchor which close the inside popup. (top-right corner)
* @param name of the DIV to close
*/
static function close($p_div)
{
$r='';
$r.=sprintf('<A class="icon" onclick="removeDiv(\'%s\');%s">&#10761;</A>',
$p_div, $p_div);
return $r;
}
/**
* Display a icon for fix or move a div
* @param string $p_div id of the div to fix/move
* @param string $p_javascript
* @return html string
*/
static function draggable($p_div)
{
$drag=sprintf('<span id="pin_%s" style="" class="icon " onclick="pin(\'%s\')" >'.UNPINDG.'</span>',
$p_div, $p_div);
return $drag;
}
/**
* Display a icon for zooming
* @param string $p_div id of the div to zoom
* @param string $p_javascript
* @return html string
*/
static function zoom($p_div, $p_javascript)
{
$r=sprintf('<span id="span_%s" class="icon" onclick="%s">
&#11036;</span>', $p_div, $p_javascript);
return $r;
}
/**
* Display a warning in a bubble, text is in message_javascript
* @param integer $p_comment
* @see message_javascript.php
* @return html string
*/
static function warnbulle($p_comment)
{
$r=sprintf('<A tabindex="-1" onmouseover="showBulle(\'%s\')" onclick="showBulle(\'%s\')" onmouseout="hideBulle(0)" style="color:red" class="icon">&#xe818;</A>',
$p_comment, $p_comment);
return $r;
}
/**
* Return a html string with an anchor to hide a div, put it in the right corner
* @param $action action action to perform (message)
* @param $javascript javascript
* @note not protected against html
* @see Acc_Ledger::display_search_form
*/
static function hide($action, $javascript)
{
$r='';
$r.='<span id="hide" class="icon" onclick="'.$javascript.'">'.$action.'</span>';
return $r;
}
}

View file

@ -46,22 +46,20 @@ class IConcerned extends HtmlInput
$this->value=($p_value==null)?$this->value:$p_value;
if ( $this->readOnly==true) return $this->display();
$this->id=($this->id=="")?$this->name:$this->id;
$r=sprintf("
<image onclick=\"search_reconcile(".dossier::id().",'%s','%s','%s','%s','%s')\" class=\"image_search\" src=\"image/magnifier13.png\" />
$this->id=($this->id=="")?$this->name:$this->id;
$javascript=sprintf("search_reconcile(".dossier::id().",'%s','%s','%s','%s','%s')",
$this->name,
$this->amount_id,
$this->paid,
$this->div,
$this->tiers );
$r=Icon_Action::icon_magnifier(uniqid(), $javascript);
$r.=sprintf("
<INPUT TYPE=\"text\" style=\"color:black;background:lightyellow;border:solid 1px grey;\" NAME=\"%s\" ID=\"%s\" VALUE=\"%s\" SIZE=\"8\" readonly>
<INPUT class=\"smallbutton\" TYPE=\"button\" onClick=\"$('%s').value=''\" value=\"X\">
",
$this->name,
$this->amount_id,
$this->paid,
$this->div,
$this->tiers,
$this->name,
$this->id,
$this->value,
$this->id

View file

@ -69,9 +69,11 @@ class IDate extends HtmlInput
%s
pattern="[0-9]{1,2}.[0-9]{1,2}.[0-9]{4}"
/>
<img src="image/x-office-calendar.png" id="%s_trigger"
style="cursor: pointer"
onmouseover="this.style.background=\'red\';" onmouseout="this.style.background=\'\'"/>
<span class="smallbutton icon"
id="%s_trigger"
/>
&#xe811;
</span>
',$this->name,$this->id,$this->value,$this->placeholder,$this->title,$t,$this->id
);

View file

@ -46,8 +46,8 @@ class Inplace_Switch
{
$this->name=$p_name;
$this->value=$p_value;
$this->iconon='<img src="image/icon-on.png"/>';
$this->iconoff='<img src="image/icon-off.png"/>';
$this->iconon=Icon_Action::iconon(uniqid(), "");
$this->iconoff=Icon_Action::iconoff(uniqid(), "");
$this->json=json_encode(['name'=>$p_name,"value"=>$p_value], JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES|JSON_NUMERIC_CHECK);
$this->callback="ajax.php";
$this->jscript="";
@ -55,7 +55,7 @@ class Inplace_Switch
function input()
{
printf('<span class="inplace_edit" id="%s">', $this->name);
printf('<span style="text-decoration: none" class="inplace_edit icon" id="%s">', $this->name);
if ($this->value==1)
{
echo $this->iconon;

View file

@ -130,7 +130,8 @@ class IPoste extends HtmlInput
{
$this->id=($this->id=="")?$this->name:$this->id;
$javascript='search_poste(this)';
$button=HtmlInput::button_image($javascript,$this->id."_bt", 'alt="'._('Recherche').'" class="image_search"',"image/magnifier13.png");
//$button=HtmlInput::button_image($javascript,$this->id."_bt", 'alt="'._('Recherche').'" class="image_search"',"image/magnifier13.png");
$button=Icon_Action::icon_magnifier($this->id."_bt", $javascript);
/* add the property */
$sc=$this->get_js_attr();
return $button.$sc;

View file

@ -155,7 +155,7 @@ echo '<tr>';
echo '<th>'.$table->get_header(0).'</th>';
echo '<th>'.$table->get_header(1).'</th>';
echo '<th>'.$table->get_header(2).'</th>';
echo '<th>'.$table->get_header(3).HtmlInput::infobulle(33).'</th>';
echo '<th>'.$table->get_header(3).Icon_Action::infobulle(33).'</th>';
echo '<th>'.$table->get_header(4).'</th>';
echo '<th>'.$table->get_header(5).'</th>';
echo '<th>'.$table->get_header(6).'</th>';

View file

@ -270,7 +270,7 @@ if ($sa == 'list')
{
echo '<span style="display:block;margin-top:10">';
echo _('Filtre').HtmlInput::infobulle(23);
echo _('Filtre').Icon_Action::infobulle(23);
echo HtmlInput::filter_table("t_modele", "0,1,2","1");
echo '</span>';
echo '<table id="t_modele" class="table_large" style="border-spacing:10;border-collapse:separate" >';

View file

@ -361,9 +361,9 @@ if ( $action == "view" )
str_id = new String( a_select[i].id);
if ( str_id.search(/action/) > -1 ) {
if ( p_value == 1 ) {
a_select[i].innerHTML='<img src="image/icon-on.png"/>';
a_select[i].innerHTML='&#xf204';
} else {
a_select[i].innerHTML='<img src="image/icon-off.png"/>';
a_select[i].innerHTML='&#xf205';
}
}
} // loop

View file

@ -209,7 +209,7 @@ else
echo HtmlInput::hidden('action','restore');
echo HtmlInput::hidden('sa','r');
echo '<table>';
echo '<tr><td>'._("Nom de la base de donnée").HtmlInput::infobulle(29)
echo '<tr><td>'._("Nom de la base de donnée").Icon_Action::infobulle(29)
.'</td>';
$wNom=new IText();
$wNom->name="database";

View file

@ -28,11 +28,11 @@
?>
<?php if (! $inner ) : ?>
<div id="search_action" class="op_detail_frame" style="position:absolute;display:none;margin-left:120px;width:70%;clear:both;z-index:2;height:auto;border:1px #000080 solid">
<?php echo HtmlInput::anchor_hide('&#10761;', "$('search_action').style.display='none';");?>
<?php echo Icon_Action::hide('&#10761;', "$('search_action').style.display='none';");?>
<?php endif; ?>
<?php if ( $inner ) : ?>
<div id="search_action" class="">
<?php echo HtmlInput::anchor_hide('&#10761;', "removeDiv('search_action_div');");?>
<?php echo Icon_Action::hide('&#10761;', "removeDiv('search_action_div');");?>
<?php endif; ?>
<h2 class="title">

View file

@ -62,7 +62,7 @@
endfor;
?>
<th style="text-align: right">
<?php echo HtmlInput::infobulle(41); ?>
<?php echo Icon_Action::infobulle(41); ?>
<?php echo _('Pourcentage'); ?>
</th>
</tr>

View file

@ -3,11 +3,11 @@
//see licence.txt
?><!-- left div -->
<div id="calendar_box_div" class="box">
<?php echo HtmlInput::title_box(_('Calendrier'),'cal_div','zoom',"onclick=\"calendar_zoom($obj)\"",'n');?>
<?php echo HtmlInput::title_box(_('Calendrier'),'cal_div','zoom',"calendar_zoom($obj)",'n');?>
<?php echo $cal->display('short',0); ?>
</div>
<div id="todo_listg_div" class="box"> <?php echo HtmlInput::title_box(_('Pense-Bête'),"todo_listg_div",'zoom'," onclick=\"zoom_todo()\"",'n')?>
<div id="todo_listg_div" class="box"> <?php echo HtmlInput::title_box(_('Pense-Bête'),"todo_listg_div",'zoom',"zoom_todo()",'n')?>
<?php
/*
@ -192,7 +192,7 @@ endif;
<div id="action_late_div" class="inner_box" style="position:fixed;display:none;margin-left:12%;top:25%;width:75%;min-height:50%;overflow: auto;">
<?php
echo HtmlInput::title_box(_("Action en retard"), "action_late_div","hide")
echo HtmlInput::title_box(_("Action en retard"), "action_late_div","hide","","y")
?>
<ol>
<?php if (count($late_operation)> 0) :
@ -228,7 +228,7 @@ endif;
<div id="action_now_div" class="inner_box" style="display:none;margin-left:25%;width: 50%;top:25%;min-height:50%;overflow: auto;">
<?php
echo HtmlInput::title_box(_("Action pour aujourd'hui"), "action_now_div","hide",'','n')
echo HtmlInput::title_box(_("Action pour aujourd'hui"), "action_now_div","hide",'','y')
?>
<ol>
<?php
@ -267,7 +267,7 @@ endif;
<div id="last_operation_box_div" class="box">
<?php echo HtmlInput::title_box(_('Dernières opérations'),"last_operation_box_div",'zoom','onclick="popup_recherche('.dossier::id().')"','n')?>
<?php echo HtmlInput::title_box(_('Dernières opérations'),"last_operation_box_div",'zoom','popup_recherche('.dossier::id().')','n')?>
<table style="width: 100%">
<?php
@ -332,9 +332,7 @@ for($i=0;$i<count($last_ledger);$i++):
</div>
<div id="add_todo_list" class="box" style="display:none">
<script charset="utf-8" type="text/javascript" language="javascript">
new Draggable($('add_todo_list'),{});
</script>
<form method="post">
<?php
$wDate=new IDate('p_date_todo');
@ -343,7 +341,7 @@ $wTitle=new IText('p_title');
$wDesc=new ITextArea('p_desc');
$wDesc->heigh=5;
$wDesc->width=40;
echo HtmlInput::title_box("Note","add_todo_list","hide",'','n');
echo HtmlInput::title_box(_("Note"),"add_todo_list","hide",'',"",'y');
echo _("Date")." ".$wDate->input().'<br>';
echo _("Titre")." ".$wTitle->input().'<br>';
echo _("Description")."<br>".$wDesc->input().'<br>';

View file

@ -70,7 +70,7 @@ $doc_type->get();
<tr>
<td><?php echo _('Prochain numéro')?>
<?php echo
HtmlInput::infobulle(15);
Icon_Action::infobulle(15);
?>
</td>
<td>

View file

@ -32,7 +32,7 @@
<tr>
<th >
<?php echo _("Quick Code")?>
<?php echo HtmlInput::infobulle(17)?>
<?php echo Icon_Action::infobulle(17)?>
</th>
<th >
<?php echo _("Nom")?>

View file

@ -68,17 +68,17 @@
<h2><?php echo $f_legend_detail?></h2>
<table id="sold_item" >
<tr>
<th style="width:auto"colspan="2">Code <?php echo HtmlInput::infobulle(0)?></th>
<th style="width:auto"colspan="2">Code <?php echo Icon_Action::infobulle(0)?></th>
<th class="visible_gt800 visible_gt1155"><?php echo _('Dénomination')?></th>
<?php if ($flag_tva =='Y') : ?>
<th><?php echo _('prix/unité htva')?><?php echo HtmlInput::infobulle(6)?></th>
<th><?php echo _('prix/unité htva')?><?php echo Icon_Action::infobulle(6)?></th>
<th><?php echo _('quantité')?></th>
<th class="visible_gt800" ><?php echo _('Total HTVA')?></th>
<th><?php echo _('tva')?></th>
<th class="visible_gt800"><?php echo _('tot.tva')?></th>
<th><?php echo _('tvac')?></th>
<?php else: ?>
<th><?php echo _('prix/unité ')?><?php echo HtmlInput::infobulle(6)?></th>
<th><?php echo _('prix/unité ')?><?php echo Icon_Action::infobulle(6)?></th>
<th><?php echo _('quantité')?></th>
<th><?php echo _('Total ')?></th>
<?php endif;?>

View file

@ -36,8 +36,8 @@
<fieldset><legend><?php echo _('Opérations')?></legend>
<table id="fin_item" width="100%" border="0">
<tr>
<th id="thdate" style="display:none;text-align: left"><?php echo _('Date')?><?php echo HtmlInput::infobulle(16)?></TH>
<th style="text-align: left;width: auto">code<?HtmlInput::infobulle(0)?></TH>
<th id="thdate" style="display:none;text-align: left"><?php echo _('Date')?><?php echo Icon_Action::infobulle(16)?></TH>
<th style="text-align: left;width: auto">code<?Icon_Action::infobulle(0)?></TH>
<th style="text-align: left"><?php echo _('Fiche')?></TH>
<th style="text-align: left" class="visible_gt800 visible_gt1155"><?php echo _('Commentaire')?></TH>
<th style="text-align: left"><?php echo _('Montant')?></TH>

View file

@ -7,13 +7,11 @@
{
$callback=$_SERVER['PHP_SELF'];
$str=$_SERVER['QUERY_STRING']."&op=history&act=de&ajax=$callback";
echo '<A id="close_div" HREF="javascript:void(0)" onclick="var a=window.open(\'popup.php?'.$str.'\',\'\',\'fullscreen=yes,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,statusbar=no,menubar=no,status=no,location=no\'); a.focus();removeDiv(\''.$div.'\')">&#11036
echo '<A class="icon" HREF="javascript:void(0)" onclick="var a=window.open(\'popup.php?'.$str.'\',\'\',\'fullscreen=yes,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,statusbar=no,menubar=no,status=no,location=no\'); a.focus();removeDiv(\''.$div.'\')">&#11036
</A>';
printf('<span id="pin_%s" style="margin:0px;padding:0px;margin-right:6px;padding-top:2px;font-size:120%%;border-width:0px" ><a class="input_text" onclick="pin(\'%s\')" id="close_div">%s</a></span>',
$div,
$div,PINDG);
echo '<A id="close_div" HREF="javascript:void(0)" onclick="removeDiv(\''.$div.'\');">&#10761;</A>';
echo Icon_Action::draggable($div);
echo Icon_Action::close($div);
}
?>
</div>

View file

@ -140,10 +140,10 @@ endif;
<?php endif; ?>
<table>
<tr>
<td><?php echo _(" Bon de commande")?> :</td><td> <?php echo HtmlInput::infobulle(31)." ".$cmd->input(); ?></td>
<td><?php echo _(" Bon de commande")?> :</td><td> <?php echo Icon_Action::infobulle(31)." ".$cmd->input(); ?></td>
</tr>
<tr>
<td> <?php echo _("Autre information")?> : </td><td><?php echo HtmlInput::infobulle(30)." ".$other->input();?></td>
<td> <?php echo _("Autre information")?> : </td><td><?php echo Icon_Action::infobulle(30)." ".$other->input();?></td>
</tr>
<tr>
<td>

View file

@ -16,12 +16,10 @@
$msg_close=_('Fermer');
$msg_pop=_('Ouvrir dans une fenêtre séparée');
echo '<A id="close_div" title="'.$msg_pop.'" onclick="var a=window.open(\'popup.php?'.$str.'\',\'\',\'titlebar=no,location=no,statusbar=no,menubar=no,toolbar=no,fullscreen=yes,scrollbars=yes,resizable=yes,status=no\'); a.focus();removeDiv(\''.$div.'\')">&#11036;
</A>';
printf('<span id="pin_%s" style="margin:0px;padding:0px;margin-right:6px;padding-top:2px;font-size:120%%;border-width:0px" ><a class="input_text" onclick="pin(\'%s\')" id="close_div">%s</a></span>',
$div,
$div,PINDG);
echo '<A id="close_div" title="'.$msg_close.'" onclick="removeDiv(\''.$div.'\');">&#10761;</A>';
$js="a=window.open('popup.php?{$str}','','titlebar=no,location=no,statusbar=no,menubar=no,toolbar=no,fullscreen=yes,scrollbars=yes,resizable=yes,status=no'); a.focus();removeDiv('{$div}')";
echo Icon_Action::zoom($div, $js);
echo Icon_Action::draggable($div);
echo Icon_Action::close($div);
}
?>
</div>

View file

@ -29,7 +29,7 @@
</tr>
<tr>
<td style="text-align:right;width:30em">
<?php echo _('Et paiement compris entre les date ').HtmlInput::infobulle(36); ?>
<?php echo _('Et paiement compris entre les date ').Icon_Action::infobulle(36); ?>
</td>
<td>
<?php echo $f_date_paid_start->input(); ?> <?php echo _('et')?> <?php echo $f_date_paid_end->input(); ?>

View file

@ -93,7 +93,7 @@ echo $str_add_button;
</TR>
<TR>
<TD><?php echo _('Préfixe pièce justificative')?>
<?php echo HtmlInput::infobulle(39);?>
<?php echo Icon_Action::infobulle(39);?>
</TD>
<TD>
<?php echo $pj_pref; ?>
@ -104,7 +104,7 @@ echo $str_add_button;
<TR>
<TD>
<?php echo _('Dernière pièce numérotée')?>
<?php echo HtmlInput::infobulle(40);?>
<?php echo Icon_Action::infobulle(40);?>
</TD>
<TD>
<?php echo $last_seq?>
@ -113,7 +113,7 @@ echo $str_add_button;
<tr>
<TD><?php echo _('N° pièce justificative')?>
<?php echo HtmlInput::infobulle(38);?>
<?php echo Icon_Action::infobulle(38);?>
</TD>
<TD>
<?php echo $pj_seq; ?>

View file

@ -13,17 +13,17 @@
<legend><?php echo $f_legend_detail?></legend>
<table id="sold_item" width="100%" border="0">
<tr>
<th style="width:auto"colspan="2">Code <?php echo HtmlInput::infobulle(0)?></th>
<th style="width:auto"colspan="2">Code <?php echo Icon_Action::infobulle(0)?></th>
<th><?php echo _('Dénomination')?></th>
<?php if ($flag_tva =='Y') : ?>
<th><?php echo _('prix/unité htva')?><?php echo HtmlInput::infobulle(6)?></th>
<th><?php echo _('prix/unité htva')?><?php echo Icon_Action::infobulle(6)?></th>
<th><?php echo _('quantité')?></th>
<th><?php echo _('Total HTVA')?></th>
<th><?php echo _('tva')?></th>
<th><?php echo _('tot.tva')?></th>
<th><?php echo _('tvac')?></th>
<?php else: ?>
<th><?php echo _('prix/unité ')?><?php echo HtmlInput::infobulle(6)?></th>
<th><?php echo _('prix/unité ')?><?php echo Icon_Action::infobulle(6)?></th>
<th><?php echo _('quantité')?></th>
<th><?php echo _('Total ')?></th>
<?php endif;?>

View file

@ -47,7 +47,7 @@ foreach ($Row as $line) {
* Get date of reconcile operation
*/
$ret_reconcile=$cn->execute('reconcile_date',array($line['jr_id']));
if ($line["jr_pj_number"]=="A17.1392") { var_dump($line); echo "1-".$line['HTVA'];}
$class = ($i % 2 == 0) ? ' class="even" ' : ' class="odd" ';
echo "<tr $class>";
echo "<TD>" . h($line['jr_pj_number']) . "</TD>";
@ -55,12 +55,14 @@ foreach ($Row as $line) {
echo "<TD>" . smaller_date($line['date_paid']) . "</TD>";
echo "<TD>" . HtmlInput::detail_op($line['jr_id'], $line['jr_internal']) . "</TD>";
$tiers = $Jrn->get_tiers($line['jrn_def_type'], $line['jr_id']);
if ($line["jr_pj_number"]=="A17.1392") { echo "2-".$line['HTVA'];}
echo td($tiers);
echo "<TD>" . h($line['comment']) . "</TD>";
$dep_priv=($line['dep_priv']==0)?"":nbm($line['dep_priv']);
$tot['dep_priv']=bcadd($tot['dep_priv'], floatval($line['dep_priv']));
$dna=($line['dna']==0)?"":nbm($line['dna']);
$tot['dna']=bcadd($tot['dna'],floatval($line['dna']));
if ($line["jr_pj_number"]=="A17.1392") { echo "3-".$line['HTVA'];}
echo "<TD class=\"num\">" . nbm($line['HTVA']) . "</TD>";
$tot['htva']=bcadd($tot['htva'], floatval($line['HTVA']));

View file

@ -31,25 +31,25 @@
<table>
<tr>
<TD> <?php echo _('Répertoire temporaire');?> </TD>
<TD> <?php echo $ictmp->input(); echo HtmlInput::infobulle(200);?></TD>
<TD> <?php echo $ictmp->input(); echo Icon_Action::infobulle(200);?></TD>
</tr>
<TR>
<TD><?php echo _('Changement de langue');?></TD>
<TD> <?php echo $iclocale->input();echo HtmlInput::infobulle(201)?></TD>
<TD> <?php echo $iclocale->input();echo Icon_Action::infobulle(201)?></TD>
</TR>
<TR>
<TD><?php echo _('Chemin complet vers les executable de Postgresql');?> </TD>
<TD><?php echo $icpath->input();echo HtmlInput::infobulle(202)?></TD>
<TD><?php echo $icpath->input();echo Icon_Action::infobulle(202)?></TD>
</TR>
<TR>
<TD><?php echo _('Utilisateur Postgresql');?> </TD>
<TD><?php echo $icuser->input();echo HtmlInput::infobulle(203)?></TD>
<TD><?php echo $icuser->input();echo Icon_Action::infobulle(203)?></TD>
</TR>
<TR>
<TD><?php echo _('Mot de passe de l\'utilisateur Postgresql');?> </TD>
<TD><?php echo $icpasswd->input();echo HtmlInput::infobulle(204)?></TD>
<TD><?php echo $icpasswd->input();echo Icon_Action::infobulle(204)?></TD>
</TR>
<tr>
<td>
@ -61,14 +61,14 @@
</tr>
<TR>
<TD><?php echo _('Adresse Serveur Postgresql');?> </TD>
<TD><?php echo $ichost->input();echo HtmlInput::infobulle(208)?></TD>
<TD><?php echo $ichost->input();echo Icon_Action::infobulle(208)?></TD>
</TR>
<TR>
<TD><?php echo _('Port de Postgresql');?> </TD>
<TD><?php echo $icport->input();echo HtmlInput::infobulle(205)?></TD>
<TD><?php echo $icport->input();echo Icon_Action::infobulle(205)?></TD>
</TR>
<tr>
<td><?php echo _('Mode Serveur mutualisé'). HtmlInput::infobulle(207) ?></td>
<td><?php echo _('Mode Serveur mutualisé'). Icon_Action::infobulle(207) ?></td>
<td><?php echo $smulti->input() ?></td>
</tr>
<tr id="div_db" style="visibility:hidden">
@ -76,7 +76,7 @@
<?php echo _('Nom base de donnée');?>
</td>
<td>
<?php echo $icdbname->input();echo HtmlInput::infobulle(206) ?>
<?php echo $icdbname->input();echo Icon_Action::infobulle(206) ?>
</td>
</tr>
</table>

View file

@ -35,7 +35,7 @@ $is_public->value='Y';
$is_public->set_check($this->is_public);
$dossier=Dossier::id();
$close_share=" if ( \$('shared_{$this->tl_id}') ){ \$('shared_{$this->tl_id}').remove();}";
echo HtmlInput::title_box("Note","todo_list_div".$this->tl_id,'close',$close_share);
echo HtmlInput::title_box("Note","todo_list_div".$this->tl_id,'close',$close_share,'y');
?>
<form id="todo_form_<?php echo $this->tl_id?>" onsubmit="todo_list_save(<?php echo $this->tl_id?>);return false">
<table>

View file

@ -135,7 +135,7 @@ $a_user=$repo->get_user_folder($sql);
if ( !empty ($a_user) )
{
echo '<span style="display:block">';
echo _('Cherche').HtmlInput::infobulle(22);
echo _('Cherche').Icon_Action::infobulle(22);
echo HtmlInput::filter_table("user", "0,1,2,5","1");
echo '</span>';
echo '<table id="user" class="result">';

View file

@ -59,7 +59,7 @@ if ($action=="input")
$manage_table->set_col_label('parent_accounting', "Dépend");
$manage_table->set_col_label('pcm_lib', "Libellé");
$manage_table->set_col_label('pcm_type',
"Type de menu".HtmlInput::infobulle(33));
"Type de menu".Icon_Action::infobulle(33));
header('Content-type: text/xml; charset=UTF-8');
echo $manage_table->ajax_input()->saveXML();
return;

View file

@ -50,7 +50,7 @@ $manage_table->create_js_script();
$manage_table->set_col_label('pcm_val', "Poste");
$manage_table->set_col_label('parent_accounting', "Dépend");
$manage_table->set_col_label('pcm_lib', "Libellé");
$manage_table->set_col_label('pcm_type', "Type de menu".HtmlInput::infobulle(33));
$manage_table->set_col_label('pcm_type', "Type de menu".Icon_Action::infobulle(33));
// Change visible property
function test_visible_update(Manage_Table_SQL $p_manage_table,$p_property,$p_visible,$p_update) {

View file

@ -4,8 +4,9 @@ set search_path=public,comptaproc;
alter table action_gestion drop ag_ref_ag_id;
/* --- repository
-- add style
insert into theme (the_name,the_filestyle) values ('Classic 692','style-r692.css');
insert into theme (the_name,the_filestyle) values ('Classic7','style-classic7.css');
delete from theme where the_filestyle in ('style-mandarine.css','style-mobile.css');
update user_global_pref set parameter_value='style-
-- add constraint
alter table jnt_use_dos add CONSTRAINT use_id_dos_id_uniq UNIQUE (use_id,dos_id);
*/