Mplay

Only registered users again.
Post Reply
User avatar
Sniper_E
Site Admin
Site Admin
Posts: 212
Joined: Thu Jan 19, 2017 7:34 pm
Location: Shreveport, LA
Interests: Kb :drag:
  • unknown unknown
Contact:
Aug 2017
30
23:03

Mplay

Post by Sniper_E by Sniper_E Aug 2017 30 23:03

The changed codes closes the radio dropdown after making a selection. overall_header_navigation_prepend.html

Code: Select all

<!-- IF S_REGISTERED_USER -->
<li id="mplay-links" class="mplay-links dropdown-container"<!-- IF not S_DISPLAY_MPLAY_LINKS and not S_DISPLAY_MPLAY --> hidden<!-- ENDIF -->" data-skip-responsive="true">
	<a href="#" class="dropdo">
		<i class="icon fa fa-headphones fa-fw" aria-hidden="true"></i><span>{L_MPLAY_RADIO}</span>
	</a>
	<div class="dropdown">
		<div class="pointer"><div class="pointer-inner"></div></div>
		<ul class="dropdown-contents" role="menu">
		<!-- EVENT mplay_header_mplay_links_before -->
			<li class="mplay-title"><li class="mplay-title"><i class="icon fa fa-globe icon-green" aria-hidden="true"></i> <strong>{L_SE}</strong></li>
			<li class="mplay">
				<a href="" onclick="window.open('{L_MPLAY1_URL}','popup','width=20,height=10');return true;">
					<i class="icon fa fa-toggle-right" aria-hidden="true"></i> <i class="mplay">{L_MPLAY1}</i>
				</a>
			</li>
		    <li class="mplay">
			    <a href="" onclick="window.open('{L_MPLAY2_URL}','popup','width=20,height=10');return true;">
					<i class="icon fa fa-toggle-right" aria-hidden="true"></i> <i class="mplay">{L_MPLAY2}</i>
				</a>
			</li>
			<li class="mplay-title"><i class="icon fa fa-globe icon-green" aria-hidden="true"></i> <strong>{L_USA}</strong></li>
			<li class="mplay">
				<a href="" onclick="window.open('{L_MPLAY3_URL}','popup','width=20,height=10');return true;">
					<i class="icon fa fa-toggle-right" aria-hidden="true"></i> <i class="mplay">{L_MPLAY3}</i>
				</a>
			</li>
			<li class="mplay">
				<a href="" onclick="window.open('{L_MPLAY4_URL}','popup','width=20,height=10');return true;">
					<i class="icon fa fa-toggle-right" aria-hidden="true"></i> <i class="mplay">{L_MPLAY4}</i>
				</a>
			</li>
			<li class="mplay">
				<a href="" onclick="window.open('{L_MPLAY5_URL}','popup','width=20,height=10');return true;">
					<i class="icon fa fa-toggle-right" aria-hidden="true"></i> <i class="mplay">{L_MPLAY5}</i>
				</a>
			</li>
			<li class="mplay">
				<a href="" onclick="window.open('{L_MPLAY6_URL}','popup','width=20,height=10');return true;">
					<i class="icon fa fa-toggle-right" aria-hidden="true"></i> <i class="mplay">{L_MPLAY6}</i>
				</a>
			</li>
			<li class="mplay">
				<a href="" onclick="window.open('{L_MPLAY7_URL}','popup','width=20,height=10');return true;">
					<i class="icon fa fa-toggle-right" aria-hidden="true"></i> <i class="mplay">{L_MPLAY7}</i>
				</a>
			</li>
			<li class="mplay">
				<a href="" onclick="window.open('{L_MPLAY8_URL}','popup','width=20,height=10');return true;">
					<i class="icon fa fa-toggle-right" aria-hidden="true"></i> <i class="mplay">{L_MPLAY8}</i>
				</a>
			</li>
			<li class="mplay-title"><li class="mplay-title"><i class="icon fa fa-globe icon-green" aria-hidden="true"></i> <strong>{L_UK}</strong></li>
			<li class="mplay">
				<a href="" onclick="window.open('{L_MPLAY9_URL}','popup','width=20,height=10');return true;">
					<i class="icon fa fa-toggle-right" aria-hidden="true"></i> <i class="mplay">{L_MPLAY9}</i>
				</a>
			</li>
		<!-- EVENT mplay_header_mplay_links_after -->
		</ul>
	</div>
</li>
<!-- ENDIF -->
And my language changed here to match that template.

Code: Select all

$lang = array_merge($lang, array(
	'MPLAY_RADIO'	=> 'Radio',
	'SE'        	=> 'Swedish Stations',
	'MPLAY1'        => 'Guldkanalen 90-tal',
	'MPLAY1_URL'	=> 'http://webradio.dbmedia.se/flash/PlayerDBMediaV2.swf?fileName=http://stream.dbmedia.se/gk90tal96?type=.flv',
	'MPLAY2'        => 'Guldkanalen 80-tal',
	'MPLAY2_URL'	=> 'http://webradio.dbmedia.se/flash/PlayerDBMediaV2.swf?fileName=http://stream.dbmedia.se/gk80tal96?type=.flv',
	'USA'       	=> 'USA Stations',
	'MPLAY3'    	=> 'Magic 80s',
	'MPLAY3_URL'	=> 'http://www.internet-radio.com/servers/tools/playlistgenerator/?u=http://airspectrum.cdnstream1.com:8018/1606_192.m3u&t=.m3u',
	'MPLAY4'    	=> 'Magic 70s',		
	'MPLAY4_URL'	=> 'http://www.internet-radio.com/servers/tools/playlistgenerator/?u=http://airspectrum.cdnstream1.com:8012/1605_192.m3u&t=.m3u',		
	'MPLAY5'    	=> 'Magic 60s',		
	'MPLAY5_URL'	=> 'http://www.internet-radio.com/servers/tools/playlistgenerator/?u=http://airspectrum.cdnstream1.com:8008/1604_128.m3u&t=.m3u',		
	'MPLAY6'    	=> 'Magic Oldies',		
	'MPLAY6_URL'	=> 'http://www.internet-radio.com/servers/tools/playlistgenerator/?u=http://airspectrum.cdnstream1.com:8000/1261_192.m3u&t=.m3u',		
	'MPLAY7'    	=> 'Classic Rock',		
	'MPLAY7_URL'	=> 'http://www.internet-radio.com/servers/tools/playlistgenerator/?u=http://us2.internet-radio.com:8046/listen.pls&t=.m3u',		
	'MPLAY8'    	=> 'Smooth Jazz',		
	'MPLAY8_URL'	=> 'http://www.internet-radio.com/servers/tools/playlistgenerator/?u=http://us1.internet-radio.com:8094/listen.pls&t=.m3u',		
	'UK'        	=> 'UK Station',
	'MPLAY9'    	=> 'Wave 102 Fm',		
	'MPLAY9_URL'	=> 'http://webradio.radiomonitor.com/stream/Wave-Dundee/;stream.mp3',
));
Image

No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

Post Reply