public_html/wp-content/plugins/media-file-manager/media-selector.php
/**
	 *  This function is called when showing contents in the dialog opened by pressing a media button.
	 */
This function is called when showing contents in the dialog opened by pressing a media button.
This function is called when showing contents in the dialog opened by pressing a media button .
public function onMediaButtonPage()
	{
		global $mrelocator_uploaddir;
		global $mrelocator_uploadurl;
		global $mrelocator_plugin_URL;
		echo "<script type=\"text/javascript\"> var uploaddir = '".$mrelocator_uploaddir."' </script>\n";
		echo "<script type=\"text/javascript\"> var uploadurl = '".$mrelocator_uploadurl."' </script>\n";
		echo "<script type=\"text/javascript\"> var pluginurl = '".$mrelocator_plugin_URL."' </script>\n";
		echo '<p></p>';
		echo '<div id="mrl_control"> </div>';
		echo '<div id="mrl_selector"> </div>';
		echo '<div id="mrl_edit"> </div>';
	}
public function onMediaButtonPage ( ) { global $ mrelocator_uploaddir ; global $ mrelocator_uploadurl ; global $ mrelocator_plugin_URL ; echo " <script type= \" text/javascript \" > var uploaddir = ' " . $ mrelocator_uploaddir . " ' </script> \n " ; echo " <script type= \" text/javascript \" > var uploadurl = ' " . $ mrelocator_uploadurl . " ' </script> \n " ; echo " <script type= \" text/javascript \" > var pluginurl = ' " . $ mrelocator_plugin_URL . " ' </script> \n " ; echo '<p></p>' ; echo '<div id="mrl_control"> </div>' ; echo '<div id="mrl_selector"> </div>' ; echo '<div id="mrl_edit"> </div>' ; }
This function is called when showing contents in the dialog opened by pressing a media button.
This function is called when showing contents in the dialog opened by pressing a media button .