Ignore:
Timestamp:
01/09/2010 05:02:33 PM (2 years ago)
Author:
Acinonyx
Message:

[awmn] Escape HTML special characters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/awmn/templates/basic/includes/pages/gmap/gmap_js.tpl

    r198 r230  
    44 * 
    55 * Copyright (C) 2005 Nikolaos Nikalexis <winner@cube.gr> 
     6 * Copyright (C) 2010 Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> 
    67 *  
    78 * This program is free software; you can redistribute it and/or modify 
     
    299300                        var this_node = selected[0].getAttribute("id"); 
    300301                                if(this_node != node_id) { 
    301                                         html = html + "<br /><a href=\"\" onclick=\"javascript: t = window.open('?page=nodes&subpage=plot_link&a_node="+ selected[0].getAttribute("id") +"&b_node="+ node_id +"', 'popup_plot_link', 'width=600,height=450,toolbar=0,resizable=1,scrollbars=1'); t.focus(); return false;\">{/literal}{$lang.plot}{literal}</a></div>"; 
     302                                        html = html + "<br /><a href=\"\" onclick=\"javascript: t = window.open('?page=nodes&amp;subpage=plot_link&amp;a_node="+ selected[0].getAttribute("id") +"&amp;b_node="+ node_id +"', 'popup_plot_link', 'width=600,height=450,toolbar=0,resizable=1,scrollbars=1'); t.focus(); return false;\">{/literal}{$lang.plot}{literal}</a></div>"; 
    302303                                } 
    303304                        } else { 
Note: See TracChangeset for help on using the changeset viewer.