2009-08-05 10:26:11 -07:00
|
|
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
2011-01-06 23:43:26 -08:00
|
|
|
<link rel="stylesheet" type="text/css" href="<?= url::file("modules/organize/css/organize_dialog.css") ?>" />
|
2009-08-13 21:31:20 -07:00
|
|
|
<script type="text/javascript">
|
2011-01-05 22:19:33 -08:00
|
|
|
var ORGANIZE_TITLE =
|
|
|
|
|
<?= t("Organize :: %album_title", array("album_title" => "__TITLE__"))->for_js() ?>;
|
|
|
|
|
var done_organizing = function(album_id) {
|
|
|
|
|
$("#g-dialog").dialog("close");
|
|
|
|
|
window.location = '<?= url::site("items/__ID__") ?>'.replace("__ID__", album_id);
|
|
|
|
|
}
|
2011-01-03 20:24:21 -08:00
|
|
|
|
2011-01-05 22:19:33 -08:00
|
|
|
var set_title = function(title) {
|
|
|
|
|
$("#g-dialog").dialog("option", "title", ORGANIZE_TITLE.replace("__TITLE__", title));
|
|
|
|
|
}
|
2012-05-05 19:38:31 -07:00
|
|
|
set_title("<?= html::clean($album->title) ?>");
|
2011-01-06 23:43:26 -08:00
|
|
|
|
|
|
|
|
var done_loading = function() {
|
|
|
|
|
$("#g-organize-app-loading").hide();
|
|
|
|
|
}
|
2009-08-13 21:31:20 -07:00
|
|
|
</script>
|
2011-01-06 23:43:26 -08:00
|
|
|
<div id="g-organize-app-loading"> </div>
|
2011-01-05 22:19:33 -08:00
|
|
|
<iframe id="g-organize-frame" src="<?= url::site("organize/frame/{$album->id}") ?>">
|
|
|
|
|
</iframe>
|
2011-01-06 23:43:26 -08:00
|
|
|
|