Difference between revisions of "Widget:Pamela"

From Whitespace (Hackerspace Gent)
Jump to: navigation, search
Line 4: Line 4:
 
</div>
 
</div>
 
{{#widget:Pamela}}</noinclude><includeonly>
 
{{#widget:Pamela}}</noinclude><includeonly>
<div id="pamelaWidget">Loading <a href='http://0x20.be/Pamela'>Pamela</a>...</div>
+
<div id="pamelaWidget">Loading <a href='/Pamela'>Pamela</a>...</div>
 
<script type="text/javascript">
 
<script type="text/javascript">
 
var xmlHttp = null;
 
var xmlHttp = null;
Line 50: Line 50:
 
// End of code to remove
 
// End of code to remove
 
         else {
 
         else {
             people.unshift('<a href="' + window.location.protocol + '//0x20.be/' + data[i] + '">' + data[i] + '</a>');
+
             people.unshift('<a href="/' + data[i] + '">' + data[i] + '</a>');
 
         }
 
         }
 
     }
 
     }
Line 68: Line 68:
 
                   msg = msg + "are " + entities.length + " unknown entities";
 
                   msg = msg + "are " + entities.length + " unknown entities";
 
               }
 
               }
               msg = msg + " present in Whitespace!!!<br><p style='text-align:center'>>> " +  entities.join(", " ) + " <<</p></span>Further <a href='" + window.location.protocol + "//0x20.be/Pamela'>Pamela</a> says there ";
+
               msg = msg + " present in Whitespace!!!<br><p style='text-align:center'>>> " +  entities.join(", " ) + " <<</p></span>Further <a href='/Pamela'>Pamela</a> says there ";
 
}
 
}
 
         else {
 
         else {

Revision as of 20:08, 13 February 2011

Loading Pamela...