Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ae864d9

Browse files
committed
Updated to not use PHP short tags.
1 parent 28220b2 commit ae864d9

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

‎footer.php‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@
2020

2121
<!-- Grab Google CDN's jQuery. fall back to local if necessary -->
2222
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
23-
<script>!window.jQuery && document.write('<script src="<?= $GLOBALS["TEMPLATE_RELATIVE_URL"] ?>html5-boilerplate/js/jquery-1.4.2.min.js"><\/script>')</script>
23+
<script>!window.jQuery && document.write('<script src="<?phpecho $GLOBALS["TEMPLATE_RELATIVE_URL"] ?>html5-boilerplate/js/jquery-1.4.2.min.js"><\/script>')</script>
2424

2525

26-
<?= versioned_javascript($GLOBALS["TEMPLATE_RELATIVE_URL"]."html5-boilerplate/js/plugins.js") ?>
27-
<?= versioned_javascript($GLOBALS["TEMPLATE_RELATIVE_URL"]."html5-boilerplate/js/script.js") ?>
26+
<?php versioned_javascript($GLOBALS["TEMPLATE_RELATIVE_URL"]."html5-boilerplate/js/plugins.js") ?>
27+
<?php versioned_javascript($GLOBALS["TEMPLATE_RELATIVE_URL"]."html5-boilerplate/js/script.js") ?>
2828

2929

3030
<!--[if lt IE 7 ]>
31-
<?= versioned_javascript($GLOBALS["TEMPLATE_RELATIVE_URL"]."html5-boilerplate/js/dd_belatedpng.js") ?>
31+
<?php versioned_javascript($GLOBALS["TEMPLATE_RELATIVE_URL"]."html5-boilerplate/js/dd_belatedpng.js") ?>
3232
<![endif]-->
3333

3434

3535
<!-- yui profiler and profileviewer - remove for production -->
36-
<!-- <?= versioned_javascript($GLOBALS["TEMPLATE_RELATIVE_URL"]."html5-boilerplate/js/profiling/yahoo-profiling.min.js") ?>
37-
<?= versioned_javascript($GLOBALS["TEMPLATE_RELATIVE_URL"]."html5-boilerplate/js/profiling/config.js") ?> -->
36+
<!-- <?php versioned_javascript($GLOBALS["TEMPLATE_RELATIVE_URL"]."html5-boilerplate/js/profiling/yahoo-profiling.min.js") ?>
37+
<?php versioned_javascript($GLOBALS["TEMPLATE_RELATIVE_URL"]."html5-boilerplate/js/profiling/config.js") ?> -->
3838
<!-- end profiling code -->
3939

4040

‎functions.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ function mytheme_comment($comment, $args, $depth) {
4848

4949
// Add ?v=[last modified time] to style sheets
5050
function versioned_stylesheet($relative_url, $add_attributes=""){
51-
return '<link rel="stylesheet" href="'.versioned_resource($relative_url).'" '.$add_attributes.'>'."\n";
51+
echo '<link rel="stylesheet" href="'.versioned_resource($relative_url).'" '.$add_attributes.'>'."\n";
5252
}
5353

5454
// Add ?v=[last modified time] to javascripts
5555
function versioned_javascript($relative_url, $add_attributes=""){
56-
return '<script src="'.versioned_resource($relative_url).'" '.$add_attributes.'></script>'."\n";
56+
echo '<script src="'.versioned_resource($relative_url).'" '.$add_attributes.'></script>'."\n";
5757
}
5858

5959
// Add ?v=[last modified time] to a file url

‎header.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@
3434
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
3535

3636
<!-- CSS : implied media="all" -->
37-
<?= versioned_stylesheet($GLOBALS["TEMPLATE_RELATIVE_URL"]."html5-boilerplate/css/style.css") ?>
37+
<?php versioned_stylesheet($GLOBALS["TEMPLATE_RELATIVE_URL"]."html5-boilerplate/css/style.css") ?>
3838

3939
<!-- For the less-enabled mobile browsers like Opera Mini -->
40-
<?= versioned_stylesheet($GLOBALS["TEMPLATE_RELATIVE_URL"]."html5-boilerplate/css/handheld.css", 'media="handheld"') ?>
40+
<?php versioned_stylesheet($GLOBALS["TEMPLATE_RELATIVE_URL"]."html5-boilerplate/css/handheld.css", 'media="handheld"') ?>
4141

4242
<!-- All JavaScript at the bottom, except for Modernizr which enables HTML5 elements & feature detects -->
43-
<?= versioned_javascript($GLOBALS["TEMPLATE_RELATIVE_URL"]."html5-boilerplate/js/modernizr-1.5.min.js") ?>
43+
<?php versioned_javascript($GLOBALS["TEMPLATE_RELATIVE_URL"]."html5-boilerplate/js/modernizr-1.5.min.js") ?>
4444

4545
<!-- Wordpress Head Items -->
4646
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /