Changeset 22892 for lang/perl/Moxy

Show
Ignore:
Timestamp:
11/07/08 09:46:18 (2 months ago)
Author:
tokuhirom
Message:

show html source directly

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Moxy/trunk/assets/plugins/ShowHTMLSource/panel.tt

    r22805 r22892  
    1 <a href="#" onclick="var x=document.getElementById('moxy_show_html_source');x.style.display = (x.style.display=='none' ? '' : 'none');return false;">show html source</a> 
    2 <div id="moxy_show_html_source" style="display:none"> 
    3     <div> 
    4         <h2 id="moxy_html_source">HTML</h2> 
    5         <pre>[% html | html %] [% response.body | html %]</pre> 
    6     </div> 
     1<div id="moxy_show_html_source"> 
     2    <pre>[% html | html %] [% response.body | html %]</pre> 
    73</div>