Commit 9527f9f4 authored by haemmer's avatar haemmer

First entry of drop down list is now replaced depending on Javascript support

parent eaa20d5f
......@@ -78,6 +78,10 @@
setFocus();
if (<?php echo ($userImprovedDropDownList) ? 'true' : 'false' ?>){
var searchText = '<?php echo getLocalString('search_idp', 'js') ?>';
$("#userIdPSelection:enabled option[value='-']").text(searchText);
// Convert select element into improved drop down list
$("#userIdPSelection:enabled").improveDropDown({
iconPath:'<?php echo $imageURL ?>/drop_icon.png',
......
......@@ -28,6 +28,7 @@ $langStrings['en'] = array (
'save_button' => 'Save',
'access_host' => 'In order to access a service on host <tt>\'%s\'</tt> please select or search the organisation you are affiliated with.',
'select_idp' => 'Select the organisation you are affiliated with',
'search_idp' => 'Type the name of the organisation you are affiliated with',
'remember_selection' => 'Remember selection for this web browser session.',
'additional_info' => '<a href="http://www.switch.ch/" target="_blank">SWITCH</a> provides innovative, unique internet services for the Swiss universities and internet users.',
'invalid_user_idp' => 'There may be an error in the data you just submitted.<br>The value of your input <tt>\'%s\'</tt> is invalid.<br>Only the following values are allowed:',
......@@ -74,6 +75,7 @@ $langStrings['de'] = array (
'save_button' => 'Speichern',
'access_host' => 'Um auf einen Dienst auf dem Server <tt>\'%s\'</tt> zuzugreifen, w&auml;hlen oder suchen Sie bitte die Organisation, der Sie angeh&ouml;ren.',
'select_idp' => 'W&auml;hlen Sie die Organisation aus, der Sie angeh&ouml;ren',
'search_idp' => 'Tippen Sie den Namen der Organisation, der Sie angeh&ouml;ren',
'remember_selection' => 'Auswahl f&uuml;r die laufende Webbrowser Sitzung speichern.',
'additional_info' => '<a href="http://www.switch.ch/" target="_blank">SWITCH</a> erbringt innovative, einzigartige Internet-Dienstleistungen f&uuml;r die Schweizer Hochschulen und Internetbenutzer.',
'invalid_user_idp' => 'M&ouml;glicherweise sind die &uuml;bermittelten Daten fehlerhaft.<br>Der Wert der Eingabe <tt>\'%s\'</tt> ist ung&uuml;ltig.<br>Es sind ausschliesslich die folgenden Wert erlaubt:',
......@@ -119,6 +121,7 @@ $langStrings['fr'] = array (
'save_button' => 'Sauver',
'access_host' => 'Pour acc&eacute;der &agrave; la ressource <tt>\'%s\'</tt> veuillez s&eacute;lectionner ou chercher l\'organisation &agrave; laquelle vous appartenez.',
'select_idp' => 'Veuillez s&eacute;lectionner l\'organisation &agrave; laquelle vous appartenez.',
'search_idp' => 'Veuillez tapper le nom de l\'organisation &agrave; laquelle vous appartenez.',
'remember_selection' => 'Se souvenir de mon choix pour cette session.',
'additional_info' => '<a href="http://www.switch.ch/" target="_blank">SWITCH</a> fournit des prestations innovantes et uniques pour les hautes &eacute;coles suisses et les utilisateurs d\'Internet.',
'invalid_user_idp' => 'Une erreur s\'est produite.<br>La valeur de votre donn&eacute;e <tt>\'%s\'</tt> n\'est pas valide.<br>Seules ces valeurs sont admises :',
......@@ -159,6 +162,7 @@ $langStrings['it'] = array (
'save_button' => 'Salva',
'access_host' => 'Per poter accedere alla risorsa sull\' host <tt>\'%s\'</tt> per favore selezioni o cerchi l\'organizzazione con la quale &egrave; affiliato.',
'select_idp' => 'Selezioni l\'organizzazione con la quale &egrave; affiliato.',
'search_idp' => 'Digitare il nome dell\'organizzazione con cui e\' affiliato.',
'remember_selection' => 'Ricorda la selezione per questa sessione.',
'additional_info' => '<a href="http://www.switch.ch/" target="_blank">SWITCH</a> eroga servizi Internet innovativi e unici per le scuole universitarie svizzere e per gli utenti di Internet.',
'invalid_user_idp' => 'Errore nei parametri pervenuti.<br>Il valore del parametro <tt>\'%s\'</tt> non &#143; valido.<br>Solo i seguenti valori sono ammessi:',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment