Skip to content

Commit

Permalink
Normalize the "flash missing" message string with the one in the
Browse files Browse the repository at this point in the history
uploader for convenient localization.
  • Loading branch information
bharat committed Aug 31, 2010
1 parent c85b20d commit 5568ab2
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions modules/organize/views/organize_dialog.html.php
@@ -1,10 +1,6 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<script type="text/javascript" src="<?= url::file("lib/swfobject.js") ?>"></script>
<style type="text/css" media="screen">
#flashContent {
//display:none;
}

.g-organize {
padding: 0;
margins: 0;
Expand All @@ -21,10 +17,10 @@
</style>

<script type="text/javascript">
$("#g-dialog").bind("dialogclose", function(event, ui) {
// @todo do a call to organize/closing to end the batch
window.location.reload();
});
$("#g-dialog").bind("dialogclose", function(event, ui) {
// @todo do a call to organize/closing to end the batch
window.location.reload();
});

function closeOrganizeDialog() {
$("#g-dialog").dialog("close");
Expand Down Expand Up @@ -130,7 +126,7 @@ function getGalleryParameters() {
<h1 style="display:none"><?= t("Organize :: %name", array("name" => html::purify($album->title))) ?></h1>
<div id="flashContent">
<p>
<?= t("To use the Organize feature, please ensure that Adobe Flash Player version %flash_minimum_version or greater is installed.", array("flash_minimum_version" => $flash_minimum_version)) ?>
<?= t("Your browser must have Adobe Flash Player version %flash_minimum_version or greater installed to use this feature.", array("flash_minimum_version" => $flash_minimum_version)) ?>
</p>
<a href="http://www.adobe.com/go/getflashplayer">
<img src="<?= request::protocol() ?>://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"
Expand Down

0 comments on commit 5568ab2

Please sign in to comment.