]> git.agnieray.net Git - galette.git/blob - galette/webroot/js/html5-ie.js
Fix translation domain, fix icons display
[galette.git] / galette / webroot / js / html5-ie.js
1 /**
2 * Copyright © 2011-2014 The Galette Team
3 *
4 * This file is part of Galette (http://galette.tuxfamily.org).
5 *
6 * Galette is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * Galette is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with Galette. If not, see <http://www.gnu.org/licenses/>.
18 *
19 * @category Javascript
20 * @package Galette
21 *
22 * @author Johan Cwiklinski <johan@x-tnd.be>
23 * @copyright 2011-2014 The Galette Team
24 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
25 * @version SVN: $Id$
26 * @link http://galette.tuxfamily.org
27 * @since Available since 0.7dev - 2011-07-23
28 */
29
30 //makes ie8 know about html5 tags
31 document.createElement("header");
32 document.createElement("footer");
33 document.createElement("section");
34 document.createElement("aside");
35 document.createElement("nav");
36 document.createElement("article");
37 document.createElement("figure");
38 document.createElement("figcaption");
39 document.createElement("hgroup");
40 document.createElement("time");
41
42 //bad hack for galette's dashboard
43 $(function(){
44 $('#desktop > div > a, #subscribe, #lostpassword, #btn_lostpassword, #memberslist, #trombino, #backhome, #logout, #btnadd, #btnadd_small, #btncancel, #btnvalid, #btnback, #btnvalid, #btnpreview, #btnsend, #btnusers, #btnusers_small, #btnmanagers, #btnmanagers_small, #btngroups, #btnmanagedgroups, #histreset, #next, #prev, #btnlabels, #btn_membercard, #btn_edit, #btn_contrib, #btn_addcontrib').each(function(){
45 $(this).append($('<span class="secondimg"></span>'));
46 });
47 });