Difference between revisions of "Widget:Pamela"

From Whitespace (Hackerspace Gent)
Jump to: navigation, search
Line 61: Line 61:
 
         // Dealing with unknown entities
 
         // Dealing with unknown entities
 
         if ( entities.length > 0 ) {
 
         if ( entities.length > 0 ) {
      //msg = msg + "<span style='color:red'>WARNING: </span><span style='color:darkred'>According to <a href='" + window.location.protocol + "//0x20.be/Pamela'>Pamela</a> there ";
+
      msg = msg + "<span style='color:red'>WARNING: </span><span style='color:darkred'>According to <a href='" + window.location.protocol + "//0x20.be/Pamela'>Pamela</a> there ";            
              msg = msg + "<span style='color:red'>WARNING: </span><span style='color:darkred'>According to <a href='/Pamela'>Pamela</a> there ";
+
 
      if ( entities.length == 1 ) {
 
      if ( entities.length == 1 ) {
 
          msg = msg + "is 1 unknown entity";
 
          msg = msg + "is 1 unknown entity";
Line 72: Line 71:
 
}
 
}
 
         else {
 
         else {
               msg = msg + "According to <a href='" + window.location.protocol + "//0x20.be/Pamela'>Pamela</a> there "
+
               msg = msg + "According to <a href='/Pamela'>Pamela</a> there "
 
}
 
}
  

Revision as of 20:04, 13 February 2011

Loading Pamela...