diff --git a/bin/monitor.php b/bin/monitor.php index cacb18207..e53ec6171 100644 --- a/bin/monitor.php +++ b/bin/monitor.php @@ -1131,6 +1131,7 @@ $_sleep = "$_phpn ${DIR}/../test/showsleep.php"; } else if ($binaries == 3) { $log = writelog($panes0[2]); $_update_cmd = "$_python ${DIR}/../test/binaries_safe_threaded.py 2>&1 $log"; + } if ($releases_run != 0) { $run_releases = "$_python ${DIR}/../test/releases_threaded.py"; diff --git a/test/copy_this/www/templates/default/scripts/utils.js b/test/copy_this/www/templates/default/scripts/utils.js index 6d8ecb5a8..8ff7001a8 100644 --- a/test/copy_this/www/templates/default/scripts/utils.js +++ b/test/copy_this/www/templates/default/scripts/utils.js @@ -225,6 +225,15 @@ jQuery(function($){ $('#colorbox').removeClass().addClass('cboxMovie'); }); + $("a.modal_imdbtrailer").colorbox({ // IMDB trailer modal + href: function(){ return SERVERROOT + "movietrailer/"+$(this).attr('name').substring(4)+'&modal'; }, + title: function(){ return $(this).parent().parent().children('a.title').text(); }, + innerWidth:"800px", innerHeight:"450px", initialWidth:"800px", initialHeight:"450px", speed:0, opacity:0.7 + }).click(function(){ + $('#colorbox').removeClass().addClass('cboxMovie'); + }); + + $("table.data a.modal_music").colorbox({ // Music modal href: function(){ return SERVERROOT + "musicmodal/"+$(this).attr('name').substring(4)+'&modal'; }, title: function(){ return $(this).parent().parent().children('a.title').text(); },