title: href and span in dropdown menu
body: <p>In the current situation we have a languageselector on our website that allows people to choose between 2 languages by clicking the corresponding flag. 
  However, we want to change that into a dropdown due to new languages being added, preferably with the name of the language also in it.</p>
  
  <p>Here's the current code + my effort:</p>
  
  <pre><code>    echo "&lt;div id='languages-container'&gt;";
  // Show the language switcher
  foreach($translationController-&gt;getLanguages() as $language){
      $isSSL = (!empty($_SERVER['HTTPS']) &amp;&amp; $_SERVER['HTTPS'] !== 'off') || $_SERVER['SERVER_PORT'] == 443;
      $path = 'http'.(($isSSL) ? 's' : '').'://' . $_SERVER['HTTP_HOST'] . strip_tags($_SERVER['REQUEST_URI']);
      $path = (strpos("x".$path,'?') !== false) ? substr($path, 0, strpos($path, "?")) : $path;
      $path.= "?lang=" . $language;
      $selected = $_COOKIE['webba_translator_language'] == $language ? 'selected' : '';
      echo "&lt;a href='{$path}'&gt;&lt;span class='language {$language} {$selected}'&gt;&lt;/span&gt;&lt;/a&gt;";
  
     }
     //15-9 Test, not working
  echo "&lt;select&gt;
      &lt;option&gt;&lt;a href='{$path}'&gt;&lt;span class='language {$language} '&gt;&lt;/span&gt;English&lt;/option&gt;
      &lt;option&gt;&lt;a href='{$path}'&gt;&lt;span class='language {$language} '&gt;&lt;/span&gt;Nederlands&lt;/option&gt;
      &lt;/select&gt;"; 
  
  
  echo "&lt;/div&gt;";
  </code></pre>
  
  <p>And the css:</p>
  
  <pre><code>#languages-container .language {
      width: 20px;
      height: 20px;
      float: left;
      margin: 2.5px 5px;
      background-position: center center;
      background-size: cover;
  }
  #languages-container .language.selected {
      outline: 2px solid black;
      outline-offset: 3px;
  }
  
  .language.nl_NL {
      background-image: url('../img/lang/nl_NL.png');
  }
  .language.en_US {
      background-image: url('../img/lang/en_US.png');
  }
  </code></pre>
  
  <p>It is a WiP so formatting is on the todo list.. 
  My question is: How can i get it the flags into a dropdown list instead of just 2 clickable icons? </p>
  
  <p>Thanks!</p>