Changeset 19805


Ignore:
Timestamp:
01/04/13 22:40:07 (7 years ago)
Author:
mistic100
Message:

convert textarea liner to jquery

Location:
extensions/url_uploader/template
Files:
2 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/url_uploader/template/photos_add.tpl

    r19804 r19805  
    11{combine_css path=$URLUPLOADER_PATH|@cat:"template/style.css"} 
    22{combine_script id="URI" load="footer" path=$URLUPLOADER_PATH|@cat:"template/URI.min.js"} 
    3 {combine_script id="createTextareaWithLines" load="footer" path=$URLUPLOADER_PATH|@cat:"template/createTextareaWithLines.js"} 
     3{combine_css path=$URLUPLOADER_PATH|@cat:"template/jquery.textarea-lines-numbers.css"} 
     4{combine_script id="createTextareaWithLines" load="footer" require="jquery.ui.resizable" path=$URLUPLOADER_PATH|@cat:"template/jquery.textarea-lines-numbers.js"} 
    45 
    56{if $upload_mode == 'multiple'} 
     
    229230}); 
    230231 
    231 createTextAreaWithLines('urls'); 
     232$("textarea#urls").textareaLinesNumbers({ 
     233  lines:999, 
     234  trailing:'.' 
     235}); 
    232236{/literal} 
    233237 
  • extensions/url_uploader/template/style.css

    r19804 r19805  
    4242 
    4343#urls { 
    44   width:630px; 
    45   height:140px; 
     44  width:100%; 
     45  height:168px; 
    4646  margin-bottom:5px; 
    4747  font-size:12px; 
    4848  line-height:14px; 
    4949} 
    50 .textAreaWithLines { 
    51   font-size:12px; 
    52   line-height:14px; 
     50.linesContainer { 
     51  background:none; 
    5352} 
Note: See TracChangeset for help on using the changeset viewer.