1if (typeof Fox == 'undefined') 2{ 3 Fox = {}; 4 5 Fox.Strings = 6 { 7 add: function (object) 8 { 9 jQuery.extend(this, object); 10 return this; 11 } 12 }; 13 14 Fox.Options = 15 { 16 // Fox.Options.add('key', {...}); 17 add: function (key, data) 18 { 19 var o = {}; 20 o[key] = data; 21 jQuery.extend(this, o); 22 return this; 23 }, 24 25 // Return by copy: Fox.Options.get('key'); 26 // Return by reference: Fox.Options['key']; 27 get: function (key) 28 { 29 return jQuery.extend({}, this[key]); 30 } 31 }; 32} 33 34 35(function () 36{ 37 Fox.Strings.add( 38 { 39 JCANCEL: "Annuler", 40 COM_FOXCONTACT_BROWSE_FILES: "Explorer les fichiers", 41 COM_FOXCONTACT_FAILED: "Ãchec", 42 COM_FOXCONTACT_SUCCESS: "Succès", 43 COM_FOXCONTACT_NO_RESULTS_MATCH: "Aucun résultat conforme", 44 COM_FOXCONTACT_REMOVE_ALT: "Supprimer", 45 COM_FOXCONTACT_REMOVE_TITLE: "Supprimer ce fichier" 46 } 47 ); 48 49 Date.monthNames = ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"]; 50 Date.dayNames = ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"]; 51 Date.monthNumbers = { "janvier": 0, "février": 1, "mars": 2, "avril": 3, "mai": 4, "juin": 5, "juillet": 6, "août": 7, "septembre": 8, "octobre": 9, "novembre": 10, "décembre": 11 }; 52 53 // Calendar default options 54 Fox.Options.add('calendar', { 55 dayOfWeekStart: JSON.parse("1"), 56 lang: 'dynamic', 57 step: 60, 58 i18n: { 59 dynamic: { 60 months: Date.monthNames, 61 dayOfWeek: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"] 62 } 63 } 64 }); 65 66 Fox.Options.add('chosen', { 67 disable_search_threshold: 10, 68 allow_single_deselect: true, 69 no_results_text: Fox.Strings['COM_FOXCONTACT_NO_RESULTS_MATCH'] 70 }); 71 72})(); 73 74 75// Emulate "placeholder" feature on outdated browsers 76/*/home/mairievawe/www/media/com_foxcontact/js/placeholder.js*/ 77jQuery(document).ready(function ($) 78{ 79 // Create a new input object, then test if the placeholder attribute is an option inside that object. 80 // It will be an option in browsers that support placeholder text, and absent in those that donât. 81 if (!('placeholder' in document.createElement('input'))) 82 { 83 // Avoid the query string ?_=random at the end of the url 84 $.ajaxSetup({cache: true }); 85 $.getScript('/media/com_foxcontact/js/placeholder.min.js'); 86 } 87}); 88 89 90/* Reset button | Reset input */ 91/*/home/mairievawe/www/media/com_foxcontact/js/reset.js*/ 92jQuery(document).ready(function ($) 93{ 94 if ($('.fox_form .reset-button').length) 95 { 96 // Avoid the query string ?_=random at the end of the url 97 $.ajaxSetup({cache: true }); 98 $.getScript('/media/com_foxcontact/js/reset.min.js'); 99 } 100}); 101 102 103/* Captcha begin */ 104function ReloadFCaptcha(id) 105{ 106 var image = document.getElementById(id); 107 108 // Generates a unique id with an 8 digits fixed length 109 var uniqueid = Math.floor(Math.random() * Math.pow(10, 8)); 110 image.src = image.src.replace(/uniqueid=[0-9]{8}/, "uniqueid=" + uniqueid); 111} 112 113 114function BuildReloadButton(id) 115{ 116 document.getElementById(id).src = document.getElementById(id).src.replace("transparent.gif", "reload-16.png"); 117} 118/* Captcha end */ 119 120/* Enable the following function if you want to enable autofocus to the first input of the first form in the page */ 121/* 122 jQuery(document).ready(function ($) 123 { 124 jQuery('.fox_form').find('input[type=text]').filter(':visible:first').focus(); 125 }); 126 */
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.