Revision 130

Date:
2011/08/27 15:21:41
Author:
ahitrov
Revision Log:
New multimedia_new control
Files:

Legend:

 
Added
 
Removed
 
Modified
  • koi8/core/comps/contenido/components/inputs/multimedia_new.msn

     
    1 1 <!-- ���� ������ ����������� -->
    2 2 <table cellpadding="0" cellspacing="2" border="0" width="100%">
    3 3 <tr><td><b><% $rusname %></b> / <font size="-1" color="#888888">name="<% $attr %>"</font> </td></tr>
    4 <tr><td><input type="file" name="<% $attr %>" style="width:95%;font-family:arial;font-size:9pt;"></td></tr>
    4 <tr><td><a href="javascript:void(0)" class="mm_act" id="<% $attr %>_file_prompt" style="padding:0 6px;"
    5 onclick="$('#<% $attr %>_url_loader').hide(); $('#<% $attr %>_file_loader').show(); $('#<% $attr %>_file_prompt').addClass('mm_act'); $('#<% $attr %>_url_prompt').removeClass('mm_act'); return false;">file</a>
    6 <a href="javascript:void(0)" class="mm_inact" id="<% $attr %>_url_prompt" style="padding:0 6px;"
    7 onclick="$('#<% $attr %>_file_loader').hide(); $('#<% $attr %>_url_loader').show(); $('#<% $attr %>_url_prompt').addClass('mm_act'); $('#<% $attr %>_file_prompt').removeClass('mm_act'); $('#<% $attr %>_ext_url')[0].focus(); return false;">url</a></div>
    8 <div id="<% $attr %>_file_loader" style="background:#d0d0d0; padding:2px;">
    9 <input type="file" name="<% $attr %>" style="width:95%;font-family:arial;font-size:9pt;"></div>
    10 <div id="<% $attr %>_url_loader" style="display:none; background:#d0d0d0; padding:2px;">&nbsp;URL:&nbsp;<input
    11 id="<% $attr %>_ext_url" type="text" name="<% $attr %>.ext_url" style="width:81%;font-family:arial;font-size:9pt;"></div>
    12 </td></tr>
    5 13 % if ( exists($MULTI->{filename}) )
    6 14 % {
    7 15 % my $TYPE = 'unknown';