Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed issue #7157: Some languages cannot be represented by flags

  • Loading branch information...
commit 749540a696af83e5668070e46953be275427f095 1 parent cac21ba
@c-schmitz c-schmitz authored
Showing with 18 additions and 7 deletions.
  1. +18 −7 application/views/admin/survey/surveySummary_view.php
  2. BIN  images/flags/af.png
  3. BIN  images/flags/ar.png
  4. BIN  images/flags/be.png
  5. BIN  images/flags/bg.png
  6. BIN  images/flags/bs.png
  7. BIN  images/flags/ca.png
  8. BIN  images/flags/cs.png
  9. BIN  images/flags/cy.png
  10. BIN  images/flags/da.png
  11. BIN  images/flags/de-informal.png
  12. BIN  images/flags/de.png
  13. BIN  images/flags/el.png
  14. BIN  images/flags/en.png
  15. BIN  images/flags/es-MX.png
  16. BIN  images/flags/es.png
  17. BIN  images/flags/et.png
  18. BIN  images/flags/eu.png
  19. BIN  images/flags/fa.png
  20. BIN  images/flags/fi.png
  21. BIN  images/flags/fr.png
  22. BIN  images/flags/gl.png
  23. BIN  images/flags/he.png
  24. BIN  images/flags/hi.png
  25. BIN  images/flags/hr.png
  26. BIN  images/flags/hu.png
  27. BIN  images/flags/id.png
  28. BIN  images/flags/ie.png
  29. 0  images/flags/index.html
  30. BIN  images/flags/is.png
  31. BIN  images/flags/it-formal.png
  32. BIN  images/flags/it.png
  33. BIN  images/flags/ja.png
  34. BIN  images/flags/ko.png
  35. BIN  images/flags/lt.png
  36. BIN  images/flags/lv.png
  37. BIN  images/flags/mk.png
  38. BIN  images/flags/ms.png
  39. BIN  images/flags/mt.png
  40. BIN  images/flags/nb.png
  41. BIN  images/flags/nl-informal.png
  42. BIN  images/flags/nl.png
  43. BIN  images/flags/nn.png
  44. BIN  images/flags/pa.png
  45. BIN  images/flags/pl.png
  46. BIN  images/flags/pt-BR.png
  47. BIN  images/flags/pt.png
  48. BIN  images/flags/ro.png
  49. BIN  images/flags/ru.png
  50. BIN  images/flags/si.png
  51. BIN  images/flags/sk.png
  52. BIN  images/flags/sl.png
  53. BIN  images/flags/sq.png
  54. BIN  images/flags/sr.png
  55. BIN  images/flags/sv.png
  56. BIN  images/flags/th.png
  57. BIN  images/flags/tr.png
  58. BIN  images/flags/vi.png
  59. BIN  images/flags/zh-Hans.png
  60. BIN  images/flags/zh-Hant-HK.png
  61. BIN  images/flags/zh-Hant-TW.png
  62. BIN  images/flags/zh-Hant.png
View
25 application/views/admin/survey/surveySummary_view.php
@@ -9,17 +9,28 @@
</tr>
<tr>
<td>
- <strong><?php echo $clang->gT("Survey URL") ." (".getLanguageNameFromCode($surveyinfo['language'],false)."):";?></strong>
+ <strong><?php echo $clang->gT("Survey URL") ." - ".getLanguageNameFromCode($surveyinfo['language'],false).":";?></strong>
</td>
<td>
- <?php $tmp_url = $this->createAbsoluteUrl("/survey/index/sid/{$surveyinfo['sid']}");
- echo "<a href='{$tmp_url}/lang/{$surveyinfo['language']}' target='_blank'>{$tmp_url}/lang/{$surveyinfo['language']}</a>";
+ <?php $tmp_url = $this->createAbsoluteUrl("/survey/index/sid/{$surveyinfo['sid']}/lang/{$surveyinfo['language']}"); ?>
+ <a href='<?php echo $tmp_url?>/lang/<?php echo $surveyinfo['language']; ?>' target='_blank'><?php echo $tmp_url; ?></a>
+ </td>
+ </tr>
+ <?php
foreach ($aAdditionalLanguages as $langname)
- {
- echo "&nbsp;<a href='{$tmp_url}/lang/$langname' target='_blank'><img title='".$clang->gT("Survey URL for language:")." ".getLanguageNameFromCode($langname,false)
- ."' alt='".getLanguageNameFromCode($langname,false)." ".$clang->gT("Flag")."' src='".Yii::app()->getConfig("imageurl")."/flags/{$langname}.png' /></a>";
+ {?>
+ <tr>
+ <td>
+ <strong><?php echo getLanguageNameFromCode($langname,false).":";?></strong>
+ </td>
+ <td>
+ <?php $tmp_url = $this->createAbsoluteUrl("/survey/index/sid/{$surveyinfo['sid']}/lang/{$langname}"); ?>
+ <a href='<?php echo $tmp_url?>/lang/<?php echo $langname; ?>' target='_blank'><?php echo $tmp_url; ?></a>
+ </td>
+ </tr>
+
+ <?php
} ?>
- </td>
</tr>
<tr>
<td>
View
BIN  images/flags/af.png
Deleted file not rendered
View
BIN  images/flags/ar.png
Deleted file not rendered
View
BIN  images/flags/be.png
Deleted file not rendered
View
BIN  images/flags/bg.png
Deleted file not rendered
View
BIN  images/flags/bs.png
Deleted file not rendered
View
BIN  images/flags/ca.png
Deleted file not rendered
View
BIN  images/flags/cs.png
Deleted file not rendered
View
BIN  images/flags/cy.png
Deleted file not rendered
View
BIN  images/flags/da.png
Deleted file not rendered
View
BIN  images/flags/de-informal.png
Deleted file not rendered
View
BIN  images/flags/de.png
Deleted file not rendered
View
BIN  images/flags/el.png
Deleted file not rendered
View
BIN  images/flags/en.png
Deleted file not rendered
View
BIN  images/flags/es-MX.png
Deleted file not rendered
View
BIN  images/flags/es.png
Deleted file not rendered
View
BIN  images/flags/et.png
Deleted file not rendered
View
BIN  images/flags/eu.png
Deleted file not rendered
View
BIN  images/flags/fa.png
Deleted file not rendered
View
BIN  images/flags/fi.png
Deleted file not rendered
View
BIN  images/flags/fr.png
Deleted file not rendered
View
BIN  images/flags/gl.png
Deleted file not rendered
View
BIN  images/flags/he.png
Deleted file not rendered
View
BIN  images/flags/hi.png
Deleted file not rendered
View
BIN  images/flags/hr.png
Deleted file not rendered
View
BIN  images/flags/hu.png
Deleted file not rendered
View
BIN  images/flags/id.png
Diff not rendered
View
BIN  images/flags/ie.png
Diff not rendered
View
0  images/flags/index.html
No changes.
View
BIN  images/flags/is.png
Diff not rendered
View
BIN  images/flags/it-formal.png
Diff not rendered
View
BIN  images/flags/it.png
Diff not rendered
View
BIN  images/flags/ja.png
Diff not rendered
View
BIN  images/flags/ko.png
Diff not rendered
View
BIN  images/flags/lt.png
Diff not rendered
View
BIN  images/flags/lv.png
Diff not rendered
View
BIN  images/flags/mk.png
Diff not rendered
View
BIN  images/flags/ms.png
Diff not rendered
View
BIN  images/flags/mt.png
Diff not rendered
View
BIN  images/flags/nb.png
Diff not rendered
View
BIN  images/flags/nl-informal.png
Diff not rendered
View
BIN  images/flags/nl.png
Diff not rendered
View
BIN  images/flags/nn.png
Diff not rendered
View
BIN  images/flags/pa.png
Diff not rendered
View
BIN  images/flags/pl.png
Diff not rendered
View
BIN  images/flags/pt-BR.png
Diff not rendered
View
BIN  images/flags/pt.png
Diff not rendered
View
BIN  images/flags/ro.png
Diff not rendered
View
BIN  images/flags/ru.png
Diff not rendered
View
BIN  images/flags/si.png
Diff not rendered
View
BIN  images/flags/sk.png
Diff not rendered
View
BIN  images/flags/sl.png
Diff not rendered
View
BIN  images/flags/sq.png
Diff not rendered
View
BIN  images/flags/sr.png
Diff not rendered
View
BIN  images/flags/sv.png
Diff not rendered
View
BIN  images/flags/th.png
Diff not rendered
View
BIN  images/flags/tr.png
Diff not rendered
View
BIN  images/flags/vi.png
Diff not rendered
View
BIN  images/flags/zh-Hans.png
Diff not rendered
View
BIN  images/flags/zh-Hant-HK.png
Diff not rendered
View
BIN  images/flags/zh-Hant-TW.png
Diff not rendered
View
BIN  images/flags/zh-Hant.png
Diff not rendered
Please sign in to comment.
Something went wrong with that request. Please try again.