Ignore:
Timestamp:
Feb 8, 2014, 1:37:59 PM (10 years ago)
Author:
flop25
Message:

all foreach reworked properly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/music_player/template/lecteur_v4_5.tpl

    r3507 r27267  
    7171  <a href="javascript:void(0)" onclick="document.getElementById('montre').style.display ='block';document.getElementById('cache').style.display ='none'">{'mp_cache'|@translate}</a><br />
    7272  <ul>
    73   {foreach from=$playlist item=playlist}<!-- BEGIN playlist -->
    74     <li><a href="javascript:void(0)" onclick="javascript:createPlayer('wrapper1', 'placeholder1', 'player1', '{$playlist.URL}')" >{$playlist.TEXTE}</a></li>
     73  {foreach from=$playlist item=playlist_item}<!-- BEGIN playlist -->
     74    <li><a href="javascript:void(0)" onclick="javascript:createPlayer('wrapper1', 'placeholder1', 'player1', '{$playlist_item.URL}')" >{$playlist_item.TEXTE}</a></li>
    7575  {/foreach}<!-- END playlist -->
    7676  </ul>
Note: See TracChangeset for help on using the changeset viewer.