diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 22:23:45 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 22:23:45 +0000 |
commit | bb1f45eb02bac603d67ac08cb674c4050a245c28 (patch) | |
tree | 239c6afba40d3160be53c22984e3b7ba1b7442ec /mod/ecml | |
parent | b5c5261077640d2390f4e3c44cc51bfe4bed2e4c (diff) | |
download | elgg-bb1f45eb02bac603d67ac08cb674c4050a245c28.tar.gz elgg-bb1f45eb02bac603d67ac08cb674c4050a245c28.tar.bz2 |
Refs #2598: Converted most $vars['url'] to elgg_get_site_url()
git-svn-id: http://code.elgg.org/elgg/trunk@7149 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/ecml')
-rw-r--r-- | mod/ecml/views/default/ecml/admin/css.php | 22 | ||||
-rw-r--r-- | mod/ecml/views/default/ecml/help/blip.tv.php | 2 | ||||
-rw-r--r-- | mod/ecml/views/default/ecml/help/dailymotion.php | 2 | ||||
-rw-r--r-- | mod/ecml/views/default/ecml/help/googlemaps.php | 2 | ||||
-rw-r--r-- | mod/ecml/views/default/ecml/help/livevideo.php | 2 | ||||
-rw-r--r-- | mod/ecml/views/default/ecml/help/redlasso.php | 4 | ||||
-rw-r--r-- | mod/ecml/views/default/ecml/help/slideshare.php | 2 | ||||
-rw-r--r-- | mod/ecml/views/default/ecml/help/vimeo.php | 2 | ||||
-rw-r--r-- | mod/ecml/views/default/ecml/help/youtube.php | 2 | ||||
-rw-r--r-- | mod/ecml/views/default/embed/web_services/content.php | 4 |
10 files changed, 22 insertions, 22 deletions
diff --git a/mod/ecml/views/default/ecml/admin/css.php b/mod/ecml/views/default/ecml/admin/css.php index b83d0566f..0b018733a 100644 --- a/mod/ecml/views/default/ecml/admin/css.php +++ b/mod/ecml/views/default/ecml/admin/css.php @@ -55,32 +55,32 @@ -moz-border-radius: 5px; } .ecml_web_service_list li a.youtube { - background-image: url(<?php echo $vars['url']; ?>mod/ecml/graphics/logo_youtube.gif); + background-image: url(<?php echo elgg_get_site_url(); ?>mod/ecml/graphics/logo_youtube.gif); width:102px; } .ecml_web_service_list li a.slideshare { - background-image: url(<?php echo $vars['url']; ?>mod/ecml/graphics/logo_slideshare.gif); + background-image: url(<?php echo elgg_get_site_url(); ?>mod/ecml/graphics/logo_slideshare.gif); } .ecml_web_service_list li a.vimeo { - background-image: url(<?php echo $vars['url']; ?>mod/ecml/graphics/logo_vimeo.gif); + background-image: url(<?php echo elgg_get_site_url(); ?>mod/ecml/graphics/logo_vimeo.gif); width:130px; } .ecml_web_service_list li a.googlemaps { - background-image: url(<?php echo $vars['url']; ?>mod/ecml/graphics/logo_googlemaps.gif); + background-image: url(<?php echo elgg_get_site_url(); ?>mod/ecml/graphics/logo_googlemaps.gif); } .ecml_web_service_list li a.blip_tv { - background-image: url(<?php echo $vars['url']; ?>mod/ecml/graphics/logo_bliptv.gif); + background-image: url(<?php echo elgg_get_site_url(); ?>mod/ecml/graphics/logo_bliptv.gif); width:102px; } .ecml_web_service_list li a.dailymotion { - background-image: url(<?php echo $vars['url']; ?>mod/ecml/graphics/logo_dailymotion.gif); + background-image: url(<?php echo elgg_get_site_url(); ?>mod/ecml/graphics/logo_dailymotion.gif); } .ecml_web_service_list li a.livevideo { - background-image: url(<?php echo $vars['url']; ?>mod/ecml/graphics/logo_livevideo.gif); + background-image: url(<?php echo elgg_get_site_url(); ?>mod/ecml/graphics/logo_livevideo.gif); width:166px; } .ecml_web_service_list li a.redlasso { - background-image: url(<?php echo $vars['url']; ?>mod/ecml/graphics/logo_redlasso.gif); + background-image: url(<?php echo elgg_get_site_url(); ?>mod/ecml/graphics/logo_redlasso.gif); background-position:center 4px; width:130px; } @@ -103,7 +103,7 @@ } .ecml_embed_instructions, .ecml_embed_preview { - background-image: url(<?php echo $vars['url']; ?>_graphics/elgg_sprites.png); + background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png); background-repeat: no-repeat; background-position: 0px -367px; padding-left: 12px; @@ -129,12 +129,12 @@ float:right; } #url_status.success { - background-image: url(<?php echo $vars['url']; ?>mod/ecml/graphics/url_status.png); + background-image: url(<?php echo elgg_get_site_url(); ?>mod/ecml/graphics/url_status.png); background-repeat: no-repeat; background-position: left top; } #url_status.failure { - background-image: url(<?php echo $vars['url']; ?>mod/ecml/graphics/url_status.png); + background-image: url(<?php echo elgg_get_site_url(); ?>mod/ecml/graphics/url_status.png); background-repeat: no-repeat; background-position: left bottom; } diff --git a/mod/ecml/views/default/ecml/help/blip.tv.php b/mod/ecml/views/default/ecml/help/blip.tv.php index f462ab1e0..bac4c99c3 100644 --- a/mod/ecml/views/default/ecml/help/blip.tv.php +++ b/mod/ecml/views/default/ecml/help/blip.tv.php @@ -9,4 +9,4 @@ echo '<p>' . elgg_echo('ecml:keywords:blip.tv:usage') . '</p>'; ?> -<img src="<?php echo $vars['url']?>mod/ecml/graphics/blip.tv.png" />
\ No newline at end of file +<img src="<?php echo elgg_get_site_url()?>mod/ecml/graphics/blip.tv.png" />
\ No newline at end of file diff --git a/mod/ecml/views/default/ecml/help/dailymotion.php b/mod/ecml/views/default/ecml/help/dailymotion.php index de4add4ff..80efa91e7 100644 --- a/mod/ecml/views/default/ecml/help/dailymotion.php +++ b/mod/ecml/views/default/ecml/help/dailymotion.php @@ -9,4 +9,4 @@ echo '<p>' . elgg_echo('ecml:keywords:dailymotion:usage') . '</p>'; ?> -<img src="<?php echo $vars['url']?>mod/ecml/graphics/dailymotion.png" />
\ No newline at end of file +<img src="<?php echo elgg_get_site_url()?>mod/ecml/graphics/dailymotion.png" />
\ No newline at end of file diff --git a/mod/ecml/views/default/ecml/help/googlemaps.php b/mod/ecml/views/default/ecml/help/googlemaps.php index 4e99b4c73..d55c351fb 100644 --- a/mod/ecml/views/default/ecml/help/googlemaps.php +++ b/mod/ecml/views/default/ecml/help/googlemaps.php @@ -9,4 +9,4 @@ echo '<p>' . elgg_echo('ecml:keywords:googlemaps:usage') . '</p>'; ?> -<img src="<?php echo $vars['url']?>mod/ecml/graphics/googlemaps.png" />
\ No newline at end of file +<img src="<?php echo elgg_get_site_url()?>mod/ecml/graphics/googlemaps.png" />
\ No newline at end of file diff --git a/mod/ecml/views/default/ecml/help/livevideo.php b/mod/ecml/views/default/ecml/help/livevideo.php index 6f3244c45..1343a34da 100644 --- a/mod/ecml/views/default/ecml/help/livevideo.php +++ b/mod/ecml/views/default/ecml/help/livevideo.php @@ -9,4 +9,4 @@ echo '<p>' . elgg_echo('ecml:keywords:livevideo:usage') . '</p>'; ?> -<img src="<?php echo $vars['url']?>mod/ecml/graphics/livevideo.png" />
\ No newline at end of file +<img src="<?php echo elgg_get_site_url()?>mod/ecml/graphics/livevideo.png" />
\ No newline at end of file diff --git a/mod/ecml/views/default/ecml/help/redlasso.php b/mod/ecml/views/default/ecml/help/redlasso.php index ec51cbcd2..07b497913 100644 --- a/mod/ecml/views/default/ecml/help/redlasso.php +++ b/mod/ecml/views/default/ecml/help/redlasso.php @@ -9,5 +9,5 @@ echo '<p>' . elgg_echo('ecml:keywords:redlasso:usage') . '</p>'; ?> -<img src="<?php echo $vars['url']?>mod/ecml/graphics/redlasso_1.png" /> -<img src="<?php echo $vars['url']?>mod/ecml/graphics/redlasso_2.png" /> +<img src="<?php echo elgg_get_site_url()?>mod/ecml/graphics/redlasso_1.png" /> +<img src="<?php echo elgg_get_site_url()?>mod/ecml/graphics/redlasso_2.png" /> diff --git a/mod/ecml/views/default/ecml/help/slideshare.php b/mod/ecml/views/default/ecml/help/slideshare.php index 860c70cfc..45ada4b54 100644 --- a/mod/ecml/views/default/ecml/help/slideshare.php +++ b/mod/ecml/views/default/ecml/help/slideshare.php @@ -9,4 +9,4 @@ echo '<p>' . elgg_echo('ecml:keywords:slideshare:usage') . '</p>'; ?> -<img src="<?php echo $vars['url']?>mod/ecml/graphics/slideshare.png" />
\ No newline at end of file +<img src="<?php echo elgg_get_site_url()?>mod/ecml/graphics/slideshare.png" />
\ No newline at end of file diff --git a/mod/ecml/views/default/ecml/help/vimeo.php b/mod/ecml/views/default/ecml/help/vimeo.php index 24fd35e31..e5f6ae28a 100644 --- a/mod/ecml/views/default/ecml/help/vimeo.php +++ b/mod/ecml/views/default/ecml/help/vimeo.php @@ -9,4 +9,4 @@ echo '<p>' . elgg_echo('ecml:keywords:vimeo:usage') . '</p>'; ?> -<img src="<?php echo $vars['url']?>mod/ecml/graphics/vimeo.png" />
\ No newline at end of file +<img src="<?php echo elgg_get_site_url()?>mod/ecml/graphics/vimeo.png" />
\ No newline at end of file diff --git a/mod/ecml/views/default/ecml/help/youtube.php b/mod/ecml/views/default/ecml/help/youtube.php index 42febde2c..53be4a3c0 100644 --- a/mod/ecml/views/default/ecml/help/youtube.php +++ b/mod/ecml/views/default/ecml/help/youtube.php @@ -9,4 +9,4 @@ echo '<p>' . elgg_echo('ecml:keywords:youtube:usage') . '</p>'; ?> -<img src="<?php echo $vars['url']?>mod/ecml/graphics/youtube.png" />
\ No newline at end of file +<img src="<?php echo elgg_get_site_url()?>mod/ecml/graphics/youtube.png" />
\ No newline at end of file diff --git a/mod/ecml/views/default/embed/web_services/content.php b/mod/ecml/views/default/embed/web_services/content.php index 125da80a2..cfe9fccf5 100644 --- a/mod/ecml/views/default/embed/web_services/content.php +++ b/mod/ecml/views/default/embed/web_services/content.php @@ -92,8 +92,8 @@ $(function() { // counter for paused input to try to validate/generate a preview. var rest_timeout_id = null; var rest_min_time = 750; - var embed_generate_ecml_url = '<?php echo $vars['url']; ?>pg/ecml_generate'; - var embed_ecml_keyword_help_url = '<?php echo $vars['url']; ?>pg/ecml/'; + var embed_generate_ecml_url = '<?php echo elgg_get_site_url(); ?>pg/ecml_generate'; + var embed_ecml_keyword_help_url = '<?php echo elgg_get_site_url(); ?>pg/ecml/'; var internal_name = '<?php echo addslashes($internal_name); ?>'; var web_services_ecml_update = function() { |