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

(cherry picked from commit f4bc97b6d5)

(cherry picked from commit f4bc97b6d5)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1785 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
dcnieho 2016-01-20 19:48:18 +00:00
parent 09c97585c9
commit 2e7a973056

View File

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