<h2>Absent Libraries</h2>
<ul id="absent_libraries">
E_O_T;
- foreach($absent_libraries as $library)
- {
+ foreach ($absent_libraries as $library) {
echo '<li>';
- if(isset($library['url'])){
+ if (isset($library['url'])) {
- echo '<a href=">'.$library['url'].'">'.htmlentities($library['name']).'</a>';
+ echo '<a href="'.$library['url'].'">'.htmlentities($library['name']).'</a>';
- }else{
+ } else {
echo htmlentities($library['name']);
}
echo '<ul>';
<h2>Installed Libraries</h2>
<ul id="present_libraries">
E_O_T;
- foreach($present_libraries as $library)
- {
+ foreach ($present_libraries as $library) {
echo '<li>';
- if(isset($library['url'])){
+ if (isset($library['url'])) {
- echo '<a href=">'.$library['url'].'">'.htmlentities($library['name']).'</a>';
+ echo '<a href="'.$library['url'].'">'.htmlentities($library['name']).'</a>';
- }else{
+ } else {
echo htmlentities($library['name']);
}
echo '</li>';