File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -68,13 +68,13 @@ function output_menu(&$menu = null)
68
68
{
69
69
if (isset ($ item ['items ' ]))
70
70
{
71
- print ("<li> $ { item['text ' ]}</li> \n" );
71
+ print ("<li> { $ item ['text ' ]}</li> \n" );
72
72
output_menu ($ item ['items ' ]);
73
73
}
74
74
else
75
75
{
76
76
$ path = (strlen ($ item ['path ' ]) > 0 ) ? $ item ['path ' ] . '/ ' : '' ;
77
- print ("<li><a href= \"html/ $ { path}$ { item['id ' ]}.html \"> $ { item['text ' ]}</a></li> \n" );
77
+ print ("<li><a href= \"html/ { $ path }{ $ item ['id ' ]}.html \"> { $ item ['text ' ]}</a></li> \n" );
78
78
}
79
79
}
80
80
print "</ul> \n" ;
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ function plugin_header()
41
41
$ full_name = htmlspecialchars ("{$ PACKAGE ['short ' ]} {$ plugin ['description ' ]} ( {$ plugin ['acronym ' ]}) " );
42
42
$ author = htmlspecialchars ($ plugin ['author ' ]);
43
43
44
- echo "<img class= \"plugin \" src= \"$ { DOCROOT }img/plugins/ {$ plugin ['id ' ]}.png \" alt= \"{$ plugin ['name ' ]}\"> \n" ;
44
+ echo "<img class= \"plugin \" src= \"{ $ DOCROOT }img/plugins/ {$ plugin ['id ' ]}.png \" alt= \"{$ plugin ['name ' ]}\"> \n" ;
45
45
echo "<p><b>Detailed: </b> {$ full_name }</p> \n" ;
46
46
echo "<p><b>Formats: </b> " . implode (', ' , $ fmt ) . "</p> \n" ;
47
47
echo "<p><b>Categories: </b> " . implode (', ' , $ plugin ['groups ' ]) . "</p> \n" ;
@@ -54,7 +54,7 @@ function plugin_header()
54
54
function out_image ($ id , $ alt )
55
55
{
56
56
global $ DOCROOT ;
57
- echo "<img src= \"$ { DOCROOT }/img/ {$ id }.png \" alt= \"{$ alt }\"> \n" ;
57
+ echo "<img src= \"{ $ DOCROOT }/img/ {$ id }.png \" alt= \"{$ alt }\"> \n" ;
58
58
}
59
59
60
60
function plugin_ref ($ id )
@@ -65,7 +65,7 @@ function plugin_ref($id)
65
65
return ;
66
66
67
67
$ header = htmlspecialchars ("{$ PACKAGE ['short ' ]} {$ page ['text ' ]}" );
68
- print ("<b><a href= \"$ { DOCROOT }html/plugins/ $ {page['id ' ]}.html \"> {$ header }</a></b> " );
68
+ print ("<b><a href= \"{ $ DOCROOT }html/plugins/ $ {page['id ' ]}.html \"> {$ header }</a></b> " );
69
69
}
70
70
71
71
?>
Original file line number Diff line number Diff line change 61
61
<?php
62
62
if ($ MENUITEM ['parent ' ] != 'plugins ' )
63
63
echo '<h1> ' . htmlspecialchars ($ HEADER ) . '</h1> ' ;
64
- require ("./manuals/ $ { MENUITEM ['path ' ]}/ $ { FILENAME }.php " );
64
+ require ("./manuals/ { $ MENUITEM ['path ' ]}/ { $ FILENAME }.php " );
65
65
?>
66
66
</div>
67
67
You can’t perform that action at this time.
0 commit comments