diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2004-12-12 04:42:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2004-12-12 04:42:49 +0000 |
commit | 1a05a4ee81e1c19a69d86ce2b8ded287010a363e (patch) | |
tree | 1e29d058a425fe07bf46ae0ed18305c4a12088d8 /usr/local/www/pkg_mgr.php | |
parent | ee11cc6eaea213214d6f632dde3ff878edab55da (diff) | |
download | pfsense-1a05a4ee81e1c19a69d86ce2b8ded287010a363e.zip pfsense-1a05a4ee81e1c19a69d86ce2b8ded287010a363e.tar.gz |
* install menu item in /usr/local/etc/ext/$area
* add do you want to install this package and do you want to delete ...
* add needed text to system to run the package. ex: add text to /etc/crontab
Diffstat (limited to 'usr/local/www/pkg_mgr.php')
-rwxr-xr-x | usr/local/www/pkg_mgr.php | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php index 506907d..0451c13 100755 --- a/usr/local/www/pkg_mgr.php +++ b/usr/local/www/pkg_mgr.php @@ -129,7 +129,7 @@ if(!$pkg_config['packages']) { <?= $pkg['descr'] ?> </td> <td valign="middle" class="list" nowrap> - <a href="pkg_mgr_install.php?id=<?=$i;?>"><img src="plus.gif" width="17" height="17" border="0"></a> + <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> </td> </tr> @@ -148,12 +148,5 @@ if(!$pkg_config['packages']) { </body> </html> - - - - - - - - +<?php mwexec("rm /tmp/pkg_config.xml"); ?> |