Changeset 898

Show
Ignore:
Timestamp:
09/06/08 12:49:51 (3 months ago)
Author:
ayunyan
Message:

plugin:fireeagle apply htmlspecialchars

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/fireeagle/trunk/templates/fireeagle.php

    r842 r898  
    22  <?php if (!empty($fireeagle_location)): ?> 
    33    <h2><?php echo _t('Location', 'fireeagle'); ?></h2> 
    4     <?php echo sprintf(_t('I\'m at %s.', 'fireeagle'), $fireeagle_location); ?> 
     4    <?php echo sprintf(_t('I\'m at %s.', 'fireeagle'), htmlspecialchars($fireeagle_location)); ?> 
    55 
    66    <?php if (Plugins::is_loaded('14c8414f-6cdf-11dd-b14a-001b210f913f')): ?> 
    7     <a href="http://maps.google.com/?ll=<?php echo $fireeagle_latitude . ',' . $fireeagle_longitude; ?>&amp;z=<?php echo $zoom; ?>&amp;_markers=<?php echo $fireeagle_latitude . ',' . $fireeagle_longitude; ?>&amp;_size=180x180&amp;_controls=none"><?php echo $fireeagle_location; ?></a> 
     7    <a href="http://maps.google.com/?ll=<?php echo $fireeagle_latitude . ',' . $fireeagle_longitude; ?>&amp;z=<?php echo $zoom; ?>&amp;_markers=<?php echo $fireeagle_latitude . ',' . $fireeagle_longitude; ?>&amp;_size=180x180&amp;_controls=none"><?php echo htmlspecialchars($fireeagle_location); ?></a> 
    88    <?php endif; ?> 
    99  <?php endif; ?>