function module_builder_export_form in Module Builder 6
1 string reference to 'module_builder_export_form'
File
- ./
module_builder.components.inc, line 307
Code
function module_builder_export_form() {
$form = array();
if (!module_builder_archive_tar_enabled()) {
$form['note'] = array(
'#type' => 'item',
'#value' => t('Several file downloads have started. Please put them all in a single directory, %dir.', array(
'%dir' => unserialize(db_result(db_query("SELECT data FROM {module_builder_data} WHERE mid = '%d' AND type = '%s'", menu_get_object('module_builder', 4)->mid, 'edit')))->machine,
)),
);
$form['info_file'] = array(
'#value' => '<iframe src="' . url('module_builder/export/' . arg(4) . '/info') . '" width="1"></iframe>',
'#prefix' => '<div style="display: none">',
);
$form['module_file'] = array(
'#value' => '<iframe src="' . url('module_builder/export/' . arg(4) . '/module') . '" width="1"></iframe>',
'#suffix' => '</div>',
);
$form['enhanced'] = array(
'#type' => 'item',
'#value' => t('<strong>Note:</strong> For enhanced export capabilities, please download the <a href="!archive_tar">archive tar package</a> and put it in the module_builder directory.', array(
'!archive_tar' => 'http://dmitrizone.com/files/archive_tar.tgz',
)),
);
}
else {
}
return $form;
}