Revision a7f908db
Added by Scott Ullrich over 20 years ago
- Add pkg.php which will parse the package xml file and present an interface (see http://www.pfsense.com/screens/pkg.JPG )
- Correct behavior of pkg_mgr.php when multiple packages are included
- Other minor cleanups
usr/local/www/pkg_mgr.php | ||
---|---|---|
5 | 5 |
Copyright (C) 2004 Scott Ullrich |
6 | 6 |
All rights reserved. |
7 | 7 |
|
8 |
originally part of m0n0wall (http://m0n0.ch/wall) |
|
9 |
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>. |
|
10 |
All rights reserved. |
|
11 |
|
|
12 | 8 |
Redistribution and use in source and binary forms, with or without |
13 | 9 |
modification, are permitted provided that the following conditions are met: |
14 | 10 |
|
... | ... | |
130 | 126 |
</td> |
131 | 127 |
<td valign="middle" class="list" nowrap> |
132 | 128 |
<a onclick="return confirm('Do you really want to install this package?')" href="pkg_mgr_install.php?id=<?=$i;?>"><img src="plus.gif" width="17" height="17" border="0"></a> |
133 |
|
|
134 | 129 |
</td> |
135 | 130 |
</tr> |
136 |
|
|
137 | 131 |
<?php |
138 | 132 |
$i++; |
139 | 133 |
} |
... | ... | |
151 | 145 |
</body> |
152 | 146 |
</html> |
153 | 147 |
|
154 |
<?php mwexec("rm /tmp/pkg_config.xml"); ?> |
|
148 |
|
|
155 | 149 |
|
Also available in: Unified diff