Ignore:
Timestamp:
Jul 5, 2013, 10:24:32 PM (11 years ago)
Author:
mistic100
Message:

add four functions in filename_pattern : escape, upper, lower, strpad

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/BatchDownloader/language/en_UK/advanced.html

    r23589 r23804  
    1212
    1313<dt><span>$conf['batch_download_file_pattern']</span></dt>
    14 <dd>Pattern for filenames in the archive. Available fields are <code>'%id%', '%filename%', '%author%', '%dimensions%'</code>.<br>
    15 <i>Default value id <span>%id%_%filename%_%dimensions%</span>.</i></dd>
     14<dd>Pattern for filenames in the archive.<br>
     15Available fields are <span>%id%, %filename%, %author%, %dimensions%</span>.<br>
     16Available functions are <span>$escape(xxx), $upper(xxx), $lower(xxx), $strpad(xxx, z, c)</span>.<br>
     17<i>Default value is <span>%id%_%filename%_%dimensions%</span>.</i><br>
     18<i>Example: <span>$strpad(%id%,4,0)_$escape(%filename%)_$lower(%author%)_%dimensions%</span>.</i></dd>
Note: See TracChangeset for help on using the changeset viewer.