diff options
Diffstat (limited to 'views/default/canvas')
-rw-r--r-- | views/default/canvas/layouts/administration.php | 18 | ||||
-rw-r--r-- | views/default/canvas/layouts/widgets.php | 18 |
2 files changed, 18 insertions, 18 deletions
diff --git a/views/default/canvas/layouts/administration.php b/views/default/canvas/layouts/administration.php index 6df6d5edd..335fb55e5 100644 --- a/views/default/canvas/layouts/administration.php +++ b/views/default/canvas/layouts/administration.php @@ -413,7 +413,7 @@ table.mceLayout { text-decoration:none; border: 1px solid #0054A7; background-color:#0054A7; - background-image: url(<?php echo $vars['url']; ?>_graphics/button_graduation.png); + background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png); background-repeat: repeat-x; background-position: left 10px; -webkit-border-radius: 5px; @@ -430,7 +430,7 @@ table.mceLayout { border-color: #333333; text-decoration:none; background-color:#333333; - background-image: url(<?php echo $vars['url']; ?>_graphics/button_graduation.png); + background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png); background-repeat: repeat-x; background-position: left 10px; } @@ -447,7 +447,7 @@ table.mceLayout { text-decoration:none; border: 1px solid #0054A7; background-color:#0054A7; - background-image: url(<?php echo $vars['url']; ?>_graphics/button_graduation.png); + background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png); background-repeat: repeat-x; background-position: left 10px; -webkit-border-radius: 5px; @@ -465,7 +465,7 @@ table.mceLayout { border-color: #333333; text-decoration:none; background-color:#333333; - background-image: url(<?php echo $vars['url']; ?>_graphics/button_graduation.png); + background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png); background-repeat: repeat-x; background-position: left 10px; } @@ -475,7 +475,7 @@ table.mceLayout { text-decoration:none; color: #333333; background-color:#dddddd; - background-image: url(<?php echo $vars['url']; ?>_graphics/button_graduation.png); + background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png); background-repeat: repeat-x; background-position: left 10px; border: 1px solid #999999; @@ -501,7 +501,7 @@ table.mceLayout { -webkit-border-radius: 5px; -moz-border-radius: 5px; background-color:#cccccc; - background-image: url(<?php echo $vars['url']; ?>_graphics/button_background.gif); + background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif); background-repeat: repeat-x; background-position: 0 0; border:1px solid #999999; @@ -520,7 +520,7 @@ table.mceLayout { .admin_area input.action_button:focus, .admin_area a.action_button:focus { background-position:0 -15px; - background-image: url(<?php echo $vars['url']; ?>_graphics/button_background.gif); + background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif); background-repeat: repeat-x; color:#111111; text-decoration: none; @@ -876,9 +876,9 @@ ul.admin_plugins { <div id="admin_header"> <span class="network_title"><h2> - <a href="<?php echo $vars['url']; ?>"> + <a href="<?php echo elgg_get_site_url(); ?>"> <?php echo $vars['config']->sitename; echo " ".elgg_echo('admin'); ?></a> - <a class="return_to_network" href="<?php echo $vars['url']; ?>"><< Return to network</a> + <a class="return_to_network" href="<?php echo elgg_get_site_url(); ?>"><< Return to network</a> </h2></span> </div> diff --git a/views/default/canvas/layouts/widgets.php b/views/default/canvas/layouts/widgets.php index 001755932..45eff55c6 100644 --- a/views/default/canvas/layouts/widgets.php +++ b/views/default/canvas/layouts/widgets.php @@ -61,8 +61,8 @@ </h3> </td> <td width="17px" align="right"></td> -<td width="17px" align="right"><a href="#"><img src="<?php echo $vars['url']; ?>_graphics/spacer.gif" width="14" height="14" class="more_info" /></a></td> -<td width="17px" align="right"><a href="#"><img src="<?php echo $vars['url']; ?>_graphics/spacer.gif" width="15" height="15" class="drag_handle" /></a></td> +<td width="17px" align="right"><a href="#"><img src="<?php echo elgg_get_site_url(); ?>_graphics/spacer.gif" width="14" height="14" class="more_info" /></a></td> +<td width="17px" align="right"><a href="#"><img src="<?php echo elgg_get_site_url(); ?>_graphics/spacer.gif" width="15" height="15" class="drag_handle" /></a></td> </tr></table> <?php @@ -130,8 +130,8 @@ if(get_context() != "profile"){ /* on groups */ </h3> </td> <td width="17px" align="right"></td> - <td width="17px" align="right"><a href="#"><img src="<?php echo $vars['url']; ?>_graphics/spacer.gif" width="14" height="14" class="more_info" /></a></td> - <td width="17px" align="right"><a href="#"><img src="<?php echo $vars['url']; ?>_graphics/spacer.gif" width="15" height="15" class="drag_handle" /></a></td> + <td width="17px" align="right"><a href="#"><img src="<?php echo elgg_get_site_url(); ?>_graphics/spacer.gif" width="14" height="14" class="more_info" /></a></td> + <td width="17px" align="right"><a href="#"><img src="<?php echo elgg_get_site_url(); ?>_graphics/spacer.gif" width="15" height="15" class="drag_handle" /></a></td> </tr></table> <?php @@ -175,8 +175,8 @@ if(get_context() != "profile"){ /* on groups */ </h3> </td> <td width="17px" align="right"></td> -<td width="17px" align="right"><a href="#"><img src="<?php echo $vars['url']; ?>_graphics/spacer.gif" width="14" height="14" class="more_info" /></a></td> -<td width="17px" align="right"><a href="#"><img src="<?php echo $vars['url']; ?>_graphics/spacer.gif" width="15" height="15" class="drag_handle" /></a></td> +<td width="17px" align="right"><a href="#"><img src="<?php echo elgg_get_site_url(); ?>_graphics/spacer.gif" width="14" height="14" class="more_info" /></a></td> +<td width="17px" align="right"><a href="#"><img src="<?php echo elgg_get_site_url(); ?>_graphics/spacer.gif" width="15" height="15" class="drag_handle" /></a></td> </tr></table> <?php @@ -216,8 +216,8 @@ if(get_context() != "profile"){ /* on groups */ </h3> </td> <td width="17px" align="right"></td> -<td width="17px" align="right"><a href="#"><img src="<?php echo $vars['url']; ?>_graphics/spacer.gif" width="14" height="14" class="more_info" /></a></td> -<td width="17px" align="right"><a href="#"><img src="<?php echo $vars['url']; ?>_graphics/spacer.gif" width="15" height="15" class="drag_handle" /></a></td> +<td width="17px" align="right"><a href="#"><img src="<?php echo elgg_get_site_url(); ?>_graphics/spacer.gif" width="14" height="14" class="more_info" /></a></td> +<td width="17px" align="right"><a href="#"><img src="<?php echo elgg_get_site_url(); ?>_graphics/spacer.gif" width="15" height="15" class="drag_handle" /></a></td> </tr></table> <?php @@ -239,7 +239,7 @@ if(get_context() != "profile"){ /* on groups */ </div><!-- /#customise_page_view --> -<form action="<?php echo $vars['url']; ?>action/widgets/reorder" method="post"> +<form action="<?php echo elgg_get_site_url(); ?>action/widgets/reorder" method="post"> <?php echo elgg_view('input/securitytoken'); ?> <textarea type="textarea" value="Left widgets" style="display:none" name="debugField1" id="debugField1" /><?php echo $leftcolumn_widgets; ?></textarea> <textarea type="textarea" value="Middle widgets" style="display:none" name="debugField2" id="debugField2" /><?php echo $middlecolumn_widgets; ?></textarea> |