summaryrefslogtreecommitdiff
path: root/modules/organize/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-07-20 07:03:43 -0700
committerBharat Mediratta <bharat@menalto.com>2010-07-20 07:03:43 -0700
commit96bcc8146cc64151551e4c7499829c1ede9b62cd (patch)
tree4326a4fb191fa405542b9a6fcf4a5b05bdd62c0b /modules/organize/views
parent9e9eed11872f995f899f7d00205377c3407af308 (diff)
Style and text cleanup. Parameterize the minimum flash value so that we can use it in the internationalized string. Fix capitalization.
Diffstat (limited to 'modules/organize/views')
-rw-r--r--modules/organize/views/organize_dialog.html.php18
1 files changed, 10 insertions, 8 deletions
diff --git a/modules/organize/views/organize_dialog.html.php b/modules/organize/views/organize_dialog.html.php
index 40cebfcf..df388a16 100644
--- a/modules/organize/views/organize_dialog.html.php
+++ b/modules/organize/views/organize_dialog.html.php
@@ -98,12 +98,12 @@
controllerUri: "<?= $controller_uri ?>"
};
};
- /*
- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0),
- for no version detection.
- */
- var swfVersionStr = "10.0.0";
- /* To use express install, set to playerProductInstall.swf, otherwise the empty string.*/
+
+ // For version detection, set to minimum required Flash Player version, or 0 (or 0.0.0),
+ // for no version detection.
+ var swfVersionStr = "<?= $flash_minimum_version = "10.0.0" ?>";
+
+ // To use express install, set to playerProductInstall.swf, otherwise the empty string.
var xiSwfUrlStr = "";
var flashvars = {};
@@ -129,12 +129,14 @@
<h1 style="display:none"><?= t("Organize :: %name", array("name" => html::purify($album->title))) ?></h1>
<div id="flashContent">
<p>
- <?= t("To view the organize dialog ensure that Adobe Flash Player version 10.0.0 or greater is installed.") ?>
+ <?= 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)) ?>
</p>
<script type="text/javascript">
var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
$("#flashContent").append("<a href='http://www.adobe.com/go/getflashplayer'><img src='" + pageHost +
- "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='<?= t("Get Adobe Flash player") ?>' /></a>" );
+ "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' " +
+ alt='<?= t("Get Adobe Flash Player") ?>' /></a>" );
</script>
</div>
</div>