Kill ugly symlinks from banana sources to include/banana.
[platal.git] / htdocs / javascript / xorg.js
index 22d541f..3e6779a 100644 (file)
@@ -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;