bluemoon
28.04.2006, 18:14
Habe in einem neuen Modul eine Speichern ud Abbrechen Funktion ...
das Abbrechen funktioniert, aber dem Speichern Button kann ich keine Reaktion entlocken
******case 'new_folder':
********$heading[] = array('text' => '' . TEXT_NEW_FOLDER . '');
********$contents = array('form' => xtc_draw_form('folder', FILENAME_MANAGER, 'action=insert'));
********$contents[] = array('text' => TEXT_NEW_FOLDER_INTRO);
********$contents[] = array('text' => '
' . TEXT_FILE_NAME . '
' . xtc_draw_input_field('folder_name'));
// ab hier komme ich nicht weiter
$contents[] = array('align' => 'center', 'text' => '
' . (($directory_writeable == true) ? BUTTON_SAVE : '') . ' ' . BUTTON_CANCEL . ' (' . xtc_href_link(FILENAME_MANAGER, (isset($HTTP_GET_VARS['info']) ? 'info=' . urlencode($HTTP_GET_VARS['info']) : '')) . ')');**
//
break;
das Abbrechen funktioniert, aber dem Speichern Button kann ich keine Reaktion entlocken
******case 'new_folder':
********$heading[] = array('text' => '' . TEXT_NEW_FOLDER . '');
********$contents = array('form' => xtc_draw_form('folder', FILENAME_MANAGER, 'action=insert'));
********$contents[] = array('text' => TEXT_NEW_FOLDER_INTRO);
********$contents[] = array('text' => '
' . TEXT_FILE_NAME . '
' . xtc_draw_input_field('folder_name'));
// ab hier komme ich nicht weiter
$contents[] = array('align' => 'center', 'text' => '
' . (($directory_writeable == true) ? BUTTON_SAVE : '') . ' ' . BUTTON_CANCEL . ' (' . xtc_href_link(FILENAME_MANAGER, (isset($HTTP_GET_VARS['info']) ? 'info=' . urlencode($HTTP_GET_VARS['info']) : '')) . ')');**
//
break;