Plugin Directory

Changeset 2156192

Timestamp:
09/13/2019 03:03:41 PM (5 years ago)
Author:
grosbouff
Message:

3.1.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-soundsystem/trunk/templates/importers-list.php

    r2156185 r2156192  
    66
    77if (!$importers || is_wp_error($importers) ) return;
     8
     9
     10
     11
     12
     13
     14
     15
     16
     17
     18
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
    832
    933/*
     
    2852//supported URL shortcut
    2953$urls_el = sprintf('<a id="wpsstm-list-urls-bt" href="#">%s</a>',__('supported URL','wpsstm'));
    30 $list_bangs[] = sprintf('<li>%s</li>',sprintf(__('...Or type any %s!','wpsstm'),$urls_el));
     54$list_bangs[] = sprintf('<li>%s);
    3155
    3256
    33 /*
    34 URLs
    35 */
    3657
    37 $url_importers = array_filter($importers, function($importer) {return $importer['type']==='url'; }); //only URLs
    38 
    39 foreach((array)$url_importers as $importer){
    40     $url_items[] = sprintf('<span>%s</span> <small>%s: %s</small>',$importer['name'],__('eg.','wpsstm'),$importer['label']);
    41 }
    42 //wrap
    43 $list_urls = array_map(
    44    function ($el) {
    45       return "<li>{$el}</li>";
    46    },
    47    $url_items
    48 );
    4958
    5059/*
     
    8392        <?php
    8493    }
    85     if ($list_urls){
    86         ?>
    87         <div id="wpsstm-importer-urls">
    88             <h4><?php _e('Supported URLs','wpsstm');?></h4>
    89             <ul>
    90                 <?php echo implode("\n",$list_urls); ?>
    91             </ul>
    92         </div>
    93         <?php
    94     }
    9594    if ($list_services){
    9695        ?>
Note: See TracChangeset for help on using the changeset viewer.