Whitespace fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@18144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0397b60c04
commit
45552f72d3
|
@ -240,22 +240,22 @@ if ( !empty($_REQUEST['ajax']) ) {
|
||||||
if(photostorage == false) {
|
if(photostorage == false) {
|
||||||
var my_src = eval(
|
var my_src = eval(
|
||||||
jQuery.ajax({
|
jQuery.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
url: "<?php echo esc_url($_SERVER['PHP_SELF']); ?>",
|
url: "<?php echo esc_url($_SERVER['PHP_SELF']); ?>",
|
||||||
cache : false,
|
cache : false,
|
||||||
async : false,
|
async : false,
|
||||||
data: "ajax=photo_images&u=<?php echo urlencode($url); ?>",
|
data: "ajax=photo_images&u=<?php echo urlencode($url); ?>",
|
||||||
dataType : "script"
|
dataType : "script"
|
||||||
}).responseText
|
}).responseText
|
||||||
);
|
);
|
||||||
if(my_src.length == 0) {
|
if(my_src.length == 0) {
|
||||||
var my_src = eval(
|
var my_src = eval(
|
||||||
jQuery.ajax({
|
jQuery.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
url: "<?php echo esc_url($_SERVER['PHP_SELF']); ?>",
|
url: "<?php echo esc_url($_SERVER['PHP_SELF']); ?>",
|
||||||
cache : false,
|
cache : false,
|
||||||
async : false,
|
async : false,
|
||||||
data: "ajax=photo_images&u=<?php echo urlencode($url); ?>",
|
data: "ajax=photo_images&u=<?php echo urlencode($url); ?>",
|
||||||
dataType : "script"
|
dataType : "script"
|
||||||
}).responseText
|
}).responseText
|
||||||
);
|
);
|
||||||
|
@ -447,7 +447,7 @@ var photostorage = false;
|
||||||
//resize screen
|
//resize screen
|
||||||
window.resizeTo(720,540);
|
window.resizeTo(720,540);
|
||||||
// set button actions
|
// set button actions
|
||||||
jQuery('#photo_button').click(function() { show('photo'); return false; });
|
jQuery('#photo_button').click(function() { show('photo'); return false; });
|
||||||
jQuery('#video_button').click(function() { show('video'); return false; });
|
jQuery('#video_button').click(function() { show('video'); return false; });
|
||||||
// auto select
|
// auto select
|
||||||
<?php if ( preg_match("/youtube\.com\/watch/i", $url) ) { ?>
|
<?php if ( preg_match("/youtube\.com\/watch/i", $url) ) { ?>
|
||||||
|
|
Loading…
Reference in New Issue