mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
2009-08-26 Miguel de Dios <miguel.dedios@artica.es>
* operation/extensions.php, godmode/extensions.php: fix hidden bug that show a warning when try to show the extension that not is of operation or the other. And add feature can load invible (in menu) extensions. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1884 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
5a100534e0
commit
0301dc6463
@ -1,3 +1,9 @@
|
|||||||
|
2009-08-26 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* operation/extensions.php, godmode/extensions.php: fix hidden bug that show
|
||||||
|
a warning when try to show the extension that not is of operation or the
|
||||||
|
other. And add feature can load invible (in menu) extensions.
|
||||||
|
|
||||||
2009-08-26 Miguel de Dios <miguel.dedios@artica.es>
|
2009-08-26 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* include/functions_extensions.php: add the small description in the
|
* include/functions_extensions.php: add the small description in the
|
||||||
|
@ -37,6 +37,8 @@ $table->data = array ();
|
|||||||
foreach ($config['extensions'] as $extension) {
|
foreach ($config['extensions'] as $extension) {
|
||||||
if ($extension['godmode_function'] == '')
|
if ($extension['godmode_function'] == '')
|
||||||
continue;
|
continue;
|
||||||
|
if ($extension['godmode_menu'] == null)
|
||||||
|
continue;
|
||||||
|
|
||||||
$data = array ();
|
$data = array ();
|
||||||
$data[0] = '<a href="index.php?sec=gextensions&sec2='.$extension['godmode_menu']['sec2'].'" class="mn">'.$extension['godmode_menu']['name'].'</a>';
|
$data[0] = '<a href="index.php?sec=gextensions&sec2='.$extension['godmode_menu']['sec2'].'" class="mn">'.$extension['godmode_menu']['name'].'</a>';
|
||||||
|
@ -36,6 +36,9 @@ $table->data = array ();
|
|||||||
foreach ($config['extensions'] as $extension) {
|
foreach ($config['extensions'] as $extension) {
|
||||||
if ($extension['main_function'] == '')
|
if ($extension['main_function'] == '')
|
||||||
continue;
|
continue;
|
||||||
|
if ($extension['operation_menu'] == null)
|
||||||
|
continue;
|
||||||
|
|
||||||
$data = array ();
|
$data = array ();
|
||||||
$data[0] = '<a href="index.php?sec=extensions&sec2='.$extension['operation_menu']['sec2'].'" class="mn">'.$extension['operation_menu']['name'];
|
$data[0] = '<a href="index.php?sec=extensions&sec2='.$extension['operation_menu']['sec2'].'" class="mn">'.$extension['operation_menu']['name'];
|
||||||
array_push ($table->data, $data);
|
array_push ($table->data, $data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user