public function renderDropdownForSlugs( $slug ) {
		$select_name = 'slug';
		$select_id = $select_name;
		$redirect_url = get_admin_url( get_current_blog_id(), '/themes.php?page=' . $this::PAGE . '&slug=' );
		$html = '';

		$html .= "
	<script type='text/javascript'>
    // <![CDATA[
	jQuery.noConflict();
	jQuery(function ($) {
		$('#" . $select_id . "').change(function() {
		  window.location = '" . $redirect_url . "' + $(this).val();
		});
	});
	// ]]>
    </script>";

		$html .= '<select id="' . $select_id . '" name="' . $select_name . '">';
		foreach ( $this->supported as $key => $val ) {
			$html .= '<option value="' . $key . '"';
			if ( $key === $slug ) {
				$html .= ' selected="selected"';
			}
			if ( 'Web' === $val ) {
				$val = __( 'Web', 'pressbooks' );
			}
			$html .= '>' . $val . '</option>';
		}
		$html .= '</select>';

		return $html;
	}
public function renderDropdownForSlugs( $slug ) {
		$select_name = 'slug';
		$select_id = $select_name;
		$redirect_url = get_admin_url( get_current_blog_id(), '/themes.php?page=' . $this::PAGE . '&slug=' );
		$html = '';

		$html .= "
	<script type='text/javascript'>
    // <![CDATA[
	jQuery.noConflict();
	jQuery(function ($) {
		$('#" . $select_id . "').change(function() {
		  window.location = '" . $redirect_url . "' + $(this).val();
		});
	});
	// ]]>
    </script>";

		$html .= '<select id="' . $select_id . '" name="' . $select_name . '">';
		foreach ( $this->supported as $key => $val ) {
			$html .= '<option value="' . $key . '"';
			if ( $key === $slug ) {
				$html .= ' selected="selected"';
			}
			if ( 'Web' === $val ) {
				$val = __( 'Web', 'pressbooks' );
			}
			$html .= '>' . $val . '</option>';
		}
		$html .= '</select>';

		return $html;
	}
public function renderDropdownForSlugs ( $ slug ) { $ select_name = 'slug' ; $ select_id = $ select_name ; $ redirect_url = get_admin_url ( get_current_blog_id ( ) , '/themes.php?page=' . $ this :: PAGE . '&slug=' ) ; $ html = '' ; $ html .= "
	<script type='text/javascript'>
    // <![CDATA[
	jQuery.noConflict();
	jQuery(function ($) {
		$('#" . $ select_id . "').change(function() {
		  window.location = '" . $ redirect_url . "' + $(this).val();
		});
	});
	// ]]>
    </script>" ; $ html .= '<select id="' . $ select_id . '" name="' . $ select_name . '">' ; foreach ( $ this -> supported as $ key => $ val ) { $ html .= '<option value="' . $ key . '"' ; if ( $ key === $ slug ) { $ html .= ' selected="selected"' ; } if ( 'Web' === $ val ) { $ val = __ ( 'Web' , 'pressbooks' ) ; } $ html .= '>' . $ val . '</option>' ; } $ html .= '</select>' ; return $ html ; }
Render dropdown and JavaScript for slugs.

@param string $slug

@return string
Render dropdown and JavaScript for slugs .