summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-03-27 15:55:42 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-03-27 15:55:42 -0700
commit0c1595d7e8c1b31e886ac712ce7e794cf3c33fdd (patch)
tree69cf71600bcdbc804157b4d0fe85ae08e25e55d0
parent67a8ef427798d37a9629c2f3d9672c03520b9987 (diff)
Clean up the organize_dialog file of some cruft and add the organize.swf file to the organize module.
-rw-r--r--modules/organize/lib/organize.swfbin0 -> 766983 bytes
-rw-r--r--modules/organize/views/organize_dialog.html.php17
2 files changed, 2 insertions, 15 deletions
diff --git a/modules/organize/lib/organize.swf b/modules/organize/lib/organize.swf
new file mode 100644
index 00000000..f2389f22
--- /dev/null
+++ b/modules/organize/lib/organize.swf
Binary files differ
diff --git a/modules/organize/views/organize_dialog.html.php b/modules/organize/views/organize_dialog.html.php
index c7dc967e..f31cf161 100644
--- a/modules/organize/views/organize_dialog.html.php
+++ b/modules/organize/views/organize_dialog.html.php
@@ -1,7 +1,5 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<script type="text/javascript" src="<?= url::file("lib/swfobject.js") ?>"></script>
-<script type="text/javascript" src="<?= url::file("modules/organize/lib/history/history.js") ?>"></script>
-<link rel="stylesheet" type="text/css" href="<?= url::file("modules/organize/lib/history/history.css") ?>" />
<style type="text/css" media="screen">
#flashContent {
display:none;
@@ -20,7 +18,6 @@
#g-dialog {
padding: 0;
}
-
</style>
<script type="text/javascript">
@@ -79,7 +76,7 @@
*/
var swfVersionStr = "0.0.0";
/* To use express install, set to playerProductInstall.swf, otherwise the empty string.*/
- var xiSwfUrlStr = "modules/organize/lib/playerProductInstall.swf";
+ var xiSwfUrlStr = "";
var flashvars = {
selectedAlbum: "<?= $album->id?>",
fileFilter: '<?= $file_filter ?>',
@@ -105,19 +102,9 @@
swfobject.embedSWF("<?= url::file("modules/organize/lib/organize.swf") ?>",
"flashContent", size.width() - 100, size.height() - 135,
swfVersionStr, xiSwfUrlStr, flashvars, params, attributes);
- /*
- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object.
- */
- swfobject.createCSS("#flashContent", "display:block;text-align:left;");
</script>
-<?
-/*
- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when
- enough JavaScript and Flash plug-in support is available. The div is initially hidden so that
- it doesn't show when JavaScript is disabled.
-*/
-?>
<div id="g-organize" class="g-dialog-panel">
+ <!-- The following spans are placeholders so we can load the hover and active styles for the flex component -->
<span id="g-organize-hover" /><span id="g-organize-active" />
<h1 style="display:none"><?= t("Organize %name", array("name" => html::purify($album->title))) ?></h1>
<div id="flashContent">&nbsp;</div>