~lss-team/lilsoftstats/trunk

« back to all changes in this revision

Viewing changes to index.php

  • Committer: ub3rst4r
  • Date: 2013-12-07 06:17:30 UTC
  • Revision ID: ub3rst4r@users.sourceforge.net-20131207061730-2osecexr2gvzh2xk
uses global to declare global variables instead of $GLOBAL

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
 
68
68
                <!-- start logo -->
69
69
                <div id="logo">
70
 
                    <a href="<?php echo $GLOBALS['site_url'] ?>"><img src="<?php file_url( '/images/shared/logo.png' ) ?>" width="261" height="40" alt="<?php _e( 'Little Software Stats' ); ?>" /></a>
 
70
                    <a href="<?php echo $site_url ?>"><img src="<?php file_url( '/images/shared/logo.png' ) ?>" width="261" height="40" alt="<?php _e( 'Little Software Stats' ); ?>" /></a>
71
71
                </div>
72
72
                <!-- end logo -->
73
73
 
289
289
?>
290
290
        <script type="text/javascript">
291
291
            // variables for custom jquery
292
 
            var baseUrl = '<?php echo $GLOBALS['site_url']; ?>';
 
292
            var baseUrl = '<?php echo $site_url; ?>';
293
293
            var rewriteEnabled = <?php echo get_option( 'site_rewrite' ); ?>;
294
294
            var appExists = <?php echo ( ( $app_exists ) ? ( 'true' ) : ( 'false' ) ); ?>;
295
295
            var page = '<?php echo $sanitized_input['page']; ?>';