diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index a07d8a7d5d..60ff1df460 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2008-08-04 Esteban Sánchez + + * godmode/extensions.php, operation/extensions.php: Added to + repository. Extensions interface to operation and godmode modes. + + * images/extensions.png: Added to repository. Extensions icon for the + menu. + 2008-08-04 Esteban Sánchez * AUTHORS: Added myself. diff --git a/pandora_console/godmode/extensions.php b/pandora_console/godmode/extensions.php new file mode 100644 index 0000000000..37c65640ee --- /dev/null +++ b/pandora_console/godmode/extensions.php @@ -0,0 +1,46 @@ +'.lang_string ('There are no extensions defined').''; + return; +} + +echo '

'.lang_string ('Defined extensions')."

"; +$table->width = '95%'; +$table->head = array (); +$table->head[0] = lang_string ('Name'); +$table->data = array (); + +foreach ($config['extensions'] as $extension) { + if ($extension['main_function'] == '') + continue; + $data = array (); + $data[0] = ''.$menu['name']; + array_push ($table->data, $data); +} + +print_table ($table); +?> diff --git a/pandora_console/images/extensions.png b/pandora_console/images/extensions.png new file mode 100644 index 0000000000..f1e4c95bf8 Binary files /dev/null and b/pandora_console/images/extensions.png differ diff --git a/pandora_console/operation/extensions.php b/pandora_console/operation/extensions.php new file mode 100644 index 0000000000..4a357f6346 --- /dev/null +++ b/pandora_console/operation/extensions.php @@ -0,0 +1,46 @@ +'.lang_string ('There are no extensions defined').''; + return; +} + +echo '

'.lang_string ('Defined extensions')."

"; +$table->width = '95%'; +$table->head = array (); +$table->head[0] = lang_string ('Name'); +$table->data = array (); + +foreach ($config['extensions'] as $extension) { + if ($extension['main_function'] == '') + continue; + $data = array (); + $data[0] = '
'.$extension['operation_menu']['name']; + array_push ($table->data, $data); +} + +print_table ($table); +?>