fixed php syntax error, unexpected end of file in template.php: replaced <?php ?> pair with short open tag <? ?>
This commit is contained in:
parent
472bc2bf62
commit
f4bc97b6d5
@ -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)
|
||||||
|
Reference in New Issue
Block a user