fixed php syntax error, unexpected end of file in template.php: replaced <?php ?> pair with short open tag <? ?>

This commit is contained in:
Jinrong Xie 2016-01-18 13:47:13 -08:00
parent 472bc2bf62
commit f4bc97b6d5

View File

@ -40,7 +40,7 @@ function generateHeader($self)
<title><? echo $title ?></title>
</head>
<body>
<?
<?php
generateSideBar($self);
}
@ -49,7 +49,7 @@ function generateFooter()
?>
</body>
</html>
<?
<?php
}
function printMenuItem($item, $current_page)
@ -71,7 +71,7 @@ function generateSideBar($current_page)
<div class="navbar-left">
<span class="navbar-header"><a href="/"><img src="/images/freeglut_logo.png" alt="freeglut logo" style="border: 0;" /></a></span><br/>
<span class="navbar-smalltext">The Free OpenGL Utility Toolkit</span><br/><br/>
<?
<?php
# Print out each sidebar entry one by one...
reset($sidebarentries);
while (next($sidebarentries))
@ -101,7 +101,7 @@ function generateSideBar($current_page)
<? echo "\t<a href=\"$svn_location\">View PHP Source</a>"; ?>
</span>
</div>
<?
<?php
}
function setPageTitle($title_inc)