X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=htdocs%2Fjavascript%2Fxorg.js;h=3e6779ad857d9f662daaac19220d473bcb660644;hb=c3b581dc531c40960509e3115d8c61ebd5897ee3;hp=22d541f11a06160a4663886397244dc387b8af2a;hpb=ed130f4791d64c5355ca813366acc6aae84ba997;p=platal.git diff --git a/htdocs/javascript/xorg.js b/htdocs/javascript/xorg.js index 22d541f..3e6779a 100644 --- a/htdocs/javascript/xorg.js +++ b/htdocs/javascript/xorg.js @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2003-2009 Polytechnique.org * + * Copyright (C) 2003-2010 Polytechnique.org * * http://opensource.polytechnique.org/ * * * * This program is free software; you can redistribute it and/or modify * @@ -167,11 +167,7 @@ var __goodies_rss = { {'url_prefix': 'http://add.my.yahoo.com/content?.intl=fr&url=', 'img': 'images/goodies/add-yahoo.gif', 'alt': 'Add to My Yahoo!', - 'title': 'Ajouter à My Yahoo!'}, - {'url_prefix': 'http://www.newsgator.com/ngs/subscriber/subext.aspx?url=', - 'img': 'images/goodies/add-newsgator.gif', - 'alt': 'Subscribe in NewsGator Online', - 'title': 'Ajouter à Newsgator'} + 'title': 'Ajouter à My Yahoo!'} ] }; @@ -263,12 +259,12 @@ function auto_links() { // {{{ function checkPassword -function getType(char) { - if (char >= 'a' && char <= 'z') { +function getType(c) { + if (c >= 'a' && c <= 'z') { return 1; - } else if (char >= 'A' && char <= 'Z') { + } else if (c >= 'A' && c <= 'Z') { return 2; - } else if (char >= '0' && char <= '9') { + } else if (c >= '0' && c <= '9') { return 3; } else { return 4;