Changeset 941

Show
Ignore:
Timestamp:
12/18/06 23:22:28 (2 years ago)
Author:
lknowland
Message:

Conditionalized the display copy to change from "Upload" to "Insert" depending upon which the user is doing.
Conditionalized the display copy to change from "Image" to "File" depending upon which has been uploaded / is being inserted. BugID: 45946

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/wheeljack/tmpl/cms/upload_complete.tmpl

    r937 r941  
    3636</TMPL_UNLESS> 
    3737 
    38 <h2><span class="weblog-title-highlight"><TMPL_VAR NAME=BLOG_NAME ESCAPE=HTML>:</span> <MT_TRANS phrase="Upload File"></h2> 
     38<h2><span class="weblog-title-highlight"><TMPL_VAR NAME=BLOG_NAME ESCAPE=HTML>:</span> <MT_TRANS phrase="[_1] [_2]" params="<TMPL_IF NAME=ENTRY_INSERT>Insert<TMPL_ELSE>Upload</TMPL_IF>%%<TMPL_IF NAME=IS_IMAGE>Image<TMPL_ELSE>File</TMPL_IF>"></h2> 
    3939 
     40<div class="items-wrapper"> 
     41<span class="modal_added"> 
    4042<TMPL_UNLESS NAME=DIRECT_ASSET_INSERT> 
    41 <div class="items-wrapper"> 
    42     <span class="modal_added"><MT_TRANS phrase="The file named '[_1]' has been uploaded. Size: [quant,_2,byte]." params="<TMPL_VAR NAME=FNAME ESCAPE=HTML>%%<TMPL_VAR NAME=BYTES>"></span> 
     43<MT_TRANS phrase="The file named '[_1]' has been uploaded. Size: [quant,_2,byte]." params="<TMPL_VAR NAME=FNAME ESCAPE=HTML>%%<TMPL_VAR NAME=BYTES>"> 
     44</TMPL_UNLESS> 
     45&nbsp;</span> 
    4346</div> 
    44 </TMPL_UNLESS> 
    4547 
    4648<p class="page-desc"><img border="0" src="<TMPL_VAR NAME=STATIC_URI>images/spacer.gif" width="17" height="5"></p> 
     
    4850<div class="selector list"> 
    4951    <div class="upload-data-wrapper"> 
     52    <TMPL_UNLESS NAME=ENTRY_INSERT> 
    5053    <strong><MT_TRANS phrase="Asset Options"></strong> 
    51  
     54    </TMPL_UNLESS> 
    5255    <div class="upload_indent_choices"> 
    5356        <TMPL_UNLESS NAME=ENTRY_INSERT>