Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
updated language icons and added italian, so this activates italian l…
…anguage, too
  • Loading branch information
jakoch committed Aug 14, 2012
1 parent f91b76c commit bcaaebb
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 2 deletions.
Binary file removed Installation/Languages/english.gif
Binary file not shown.
Binary file added Installation/Languages/english.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Installation/Languages/german.gif
Binary file not shown.
Binary file added Installation/Languages/german.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Installation/Languages/italian.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Installation/view/footer.php
Expand Up @@ -53,7 +53,7 @@
foreach (new DirectoryIterator('./Languages/') as $file) {
// get each file not starting with dots ('.','..')
// or containing ".install.php"
if ((!$file->isDot()) && preg_match("/.gif$/",$file->getFilename())) {
if ((!$file->isDot()) && preg_match("/.png$/",$file->getFilename())) {
echo '<option style="padding-left: 30px; background-image: url(./Languages/' . $file .'); background-position:5px 100%; background-repeat: no-repeat;"';
$file = substr($file->getFilename(), 0, -4);
if ($_SESSION['lang'] == $file) { echo ' selected="selected"'; }
Expand Down
2 changes: 1 addition & 1 deletion Installation/view/step1.php
Expand Up @@ -22,7 +22,7 @@
foreach (new DirectoryIterator('./languages/') as $file) {
// get each file not starting with dots ('.','..')
// or containing ".install.php"
if ((!$file->isDot()) && preg_match("/.gif$/",$file->getFilename())) {
if ((!$file->isDot()) && preg_match("/.png$/",$file->getFilename())) {
echo '<option style="padding-left: 40px; background-image: url(./languages/' . $file .'); background-position:5px 100%; background-repeat: no-repeat;"';
$file = substr($file->getFilename(), 0, -4);
if ($_SESSION['lang'] == $file) { echo ' selected="selected"'; }
Expand Down

0 comments on commit bcaaebb

Please sign in to comment.