Skip to content

Commit

Permalink
Updated feature: when adding a label set in the languages listbox app…
Browse files Browse the repository at this point in the history
…ears the session language by defect instead of English

Dev On labels.php line 134 changed $langids='es' to $langids=$_SESSION['adminlang']

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@7451 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Patricia Araya Obando committed Aug 12, 2009
1 parent 2e29f11 commit d7fc37d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/labels.php
Expand Up @@ -131,7 +131,7 @@
."<th>\n"
."<input type='image' src='$imagefiles/close.gif' align='right' "
."onclick=\"window.open('admin.php?action=labels&amp;lid=$lid', '_top')\" />\n";
if ($action == "newlabelset") {$labelsoutput.= $clang->gT("Create or Import New Label Set"); $langids="en"; $tabitem=$clang->gT("Create New Label Set");}
if ($action == "newlabelset") {$labelsoutput.= $clang->gT("Create or Import New Label Set"); $langids=$_SESSION['adminlang']; $tabitem=$clang->gT("Create New Label Set");}
else {$labelsoutput.= $clang->gT("Edit Label Set"); $tabitem=$clang->gT("Edit Label Set");}
$langidsarray=explode(" ",trim($langids)); //Make an array of it
$labelsoutput.= "\n\t</th></tr></table>\n";
Expand Down

0 comments on commit d7fc37d

Please sign in to comment.