print caHTMLRadioButtonInput('{fieldNamePrefix}upload_type{n}', array('id' => '{fieldNamePrefix}upload_type_url{n}', 'class' => '{fieldNamePrefix}upload_type{n}', 'value' => 'url'), array('checked' => $vs_default_upload_type == 'url' ? 1 : 0)) . ' ' . _t('from URL'); ?> </td> <td class='formLabel'><?php print caHTMLTextInput("{fieldNamePrefix}media_url_{n}", array('id' => '{fieldNamePrefix}media_url_{n}', 'class' => 'urlBg uploadInput'), array('width' => '235px')); ?> </td> </tr> <?php } ?> </table> <div class='caObjectRepresentationDetailEditorDoneButton'> <?php print caJSButton($this->request, __CA_NAV_BUTTON_SAVE__, _t('Done'), '{fieldNamePrefix}detail_editor_save_button{n}', array('onclick' => 'caCloseRepresentationDetailEditor("{n}"); return false;')); ?> </div> <script type="text/javascript"> jQuery(document).ready(function() { jQuery("#{fieldNamePrefix}upload_options{n} tr td .uploadInput").prop('disabled', true); jQuery("#{fieldNamePrefix}upload_type_upload{n}").click(function() { jQuery("#{fieldNamePrefix}media_{n}").prop('disabled', false); jQuery("#{fieldNamePrefix}media_url_{n}").prop('disabled', true); jQuery("#{fieldNamePrefix}autocomplete{n}").prop('disabled', true); }); jQuery("#{fieldNamePrefix}upload_type_url{n}").click(function() { jQuery("#{fieldNamePrefix}media_{n}").prop('disabled', true); jQuery("#{fieldNamePrefix}media_url_{n}").prop('disabled', false); jQuery("#{fieldNamePrefix}autocomplete{n}").prop('disabled', true);
<div class=""caLibraryUIContainer"> <div class="caLibraryFindAutocompleteContainer"> <form> <div class="caLibraryFindAutocompleteLabel"><?php print _t('Name of user checking out item'); ?> </div> <?php print caHTMLTextInput('user', array('id' => 'user_autocomplete'), array('width' => '500px', 'autocomplete' => 'off')); ?> </form> </div> <div class="caLibrarySubmitListContainer"> <?php print caJSButton($this->request, __CA_NAV_BUTTON_SAVE__, _t('Next'), 'nextButton', array(), array()); ?> </div> </div> <script type="text/javascript"> jQuery(document).ready(function() { jQuery('#nextButton').hide(); jQuery('#user_autocomplete').autocomplete( { source: '<?php print caNavUrl($this->request, 'lookup', 'User', 'Get', array('max' => 100, 'inlineCreate' => 0, 'quickadd' => 0)); ?> ', minLength: 3, delay: 800, html: true,
</tr> <tr> <td colspan="3"> <div class="formLabel"><?php print _t('Search') . "<br/>" . caHTMLTextInput('search', array('value' => $va_filter_options['search']), array('width' => '400px')); ?> </div> </td><td> <?php print $t_order->htmlFormElement('shipping_method', null, array('nullOption' => '-')); ?> </td> <td align="right" valign="bottom"> <?php print caFormSubmitButton($this->request, __CA_NAV_BUTTON_GO__, _t('Filter'), 'caViewOptions', array()); print caJSButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t('Reset'), 'caViewOptions', array('onclick' => 'jQuery("#searchToolsBox input").val("");')); ?> </td> </tr> </table> </form> </div> </div> <table id="caClientOrdersList" class="listtable" width="100%" border="0" cellpadding="0" cellspacing="1"> <thead> <tr> <th> <?php _p('Order #'); ?>
</div> <?php } else { // // Generate form // print "<div class='dashboardWidgetHeading'>" . unicode_ucfirst($o_dm->getTableProperty($t_form->get('table_num'), 'NAME_PLURAL')) . ": " . $t_form->getLabelForDisplay() . "</div>\n"; $va_form_element_list = $this->getVar('form_elements'); $va_flds = array(); foreach ($va_form_element_list as $vn_i => $va_element) { $va_flds[] = "'" . $va_element['name'] . "'"; } ?> <?php print caFormTag($this->request, 'Index', 'AdvancedSearchForm', "find/{$vs_controller_name}", 'post', 'multipart/form-data', '_top', array('disableUnsavedChangesWarning' => true)); print "<div style='float: right;'>" . caFormSubmitButton($this->request, __CA_NAV_BUTTON_SEARCH__, _t("Search"), 'AdvancedSearchForm') . '<br/>' . caJSButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t("Reset"), 'AdvancedSearchForm', array('onclick' => 'caAdvancedSearchFormReset()')) . "</div>\n"; print $this->render('search_form_table_html.php'); ?> <script type="text/javascript"> function caAdvancedSearchFormReset() { jQuery('#AdvancedSearchForm textarea').val(''); jQuery('#AdvancedSearchForm input[type=text]').val(''); jQuery('#AdvancedSearchForm input[type=hidden]').val(''); jQuery('#AdvancedSearchForm select').prop('selectedIndex', -1); jQuery('#AdvancedSearchForm input[type=checkbox]').attr('checked', 0); } </script> </form> <?php } }
print "caWidgetSettings_{$vs_widget_id}"; ?> " action="#" method="get"> <?php if ($vs_form = $this->getVar('form')) { ?> <h1><?php print _t('Settings'); ?> </h1> <?php print $vs_form; print caJSButton($po_request, __CA_NAV_BUTTON_SAVE__, _t('Save'), '', array('onclick' => 'jQuery("#caWidgetSettingForm_' . $vs_widget_id . '").load("' . caNavUrl($this->request, '', 'Dashboard', 'saveSettings', array()) . '", jQuery("#caWidgetSettings_' . $vs_widget_id . '").serializeArray());'), array()) . ' '; } else { ?> <h1><?php print _t('No settings available'); ?> </h1> <?php } print caJSButton($po_request, __CA_NAV_BUTTON_CANCEL__, _t('Cancel'), '', array('onclick' => 'jQuery("#caWidgetSettingForm_' . $vs_widget_id . '").load("' . caNavUrl($this->request, '', 'Dashboard', 'getWidget', array()) . '", jQuery("#caWidgetSettings_' . $vs_widget_id . '").serializeArray());', array())); ?> <?php print caHTMLHiddenInput('widget_id', array('value' => $vs_widget_id)); ?> </form> </div> <?php print TooltipManager::getLoadHTML();
print addslashes(caBusyIndicatorIcon($this->request)); ?> ' }); </script> <form action="#" class="quickAddSectionForm" name="<?php print $vs_form_name; ?> " method="POST" enctype="multipart/form-data" id="<?php print $vs_form_name . $vs_field_name_prefix . $vs_n; ?> "> <div class='quickAddDialogHeader'><?php print "<div class='quickAddTypeList'>" . _t('Quick Add %1', $t_subject->getTypeListAsHTMLFormElement('change_type_id', array('id' => "{$vs_form_name}TypeID{$vs_field_name_prefix}{$vs_n}", 'onchange' => "caQuickAddFormHandler.switchForm();"), array('value' => $t_subject->get('type_id'), 'restrictToTypes' => $va_restrict_to_types))) . "</div>"; if ($vb_can_edit) { print "<div class='quickAddControls'>" . caJSButton($this->request, __CA_NAV_BUTTON_ADD_LARGE__, _t("Add %1", $t_subject->getTypeName()), "{$vs_form_name}{$vs_field_name_prefix}{$vs_n}", array("onclick" => "caQuickAddFormHandler.save(event);")) . ' ' . caJSButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t("Cancel"), "{$vs_form_name}{$vs_field_name_prefix}{$vs_n}", array("onclick" => "jQuery(\"#{$vs_form_name}" . $vs_field_name_prefix . $vs_n . "\").parent().data(\"panel\").hidePanel();")) . "</div>\n"; } print "<div class='quickAddProgress'></div><br style='clear: both;'/>"; ?> </div> <div class="quickAddFormTopPadding"><!-- empty --></div> <div class="quickAddErrorContainer" id="<?php print $vs_form_name; ?> Errors<?php print $vs_field_name_prefix . $vs_n; ?> "> </div> <div class="quickAddSectionBox" id="{$vs_form_name}Container<?php print $vs_field_name_prefix . $vs_n;
* CollectiveAccess is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTIES whatsoever, including any implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * This source code is free and modifiable under the terms of * GNU General Public License. (http://www.gnu.org/copyleft/gpl.html). See * the "license.txt" file for details, or visit the CollectiveAccess web site at * http://www.CollectiveAccess.org * * ---------------------------------------------------------------------- */ $vo_result = $this->getVar('result'); $vn_items_per_page = $this->getVar('current_items_per_page'); if (!$this->request->isAjax()) { print caFormTag($this->request, 'Index', 'PlaceBasicSearchForm', null, 'post', 'multipart/form-data', '_top', array('disableUnsavedChangesWarning' => true)); print caFormControlBox('<div class="simple-search-box">' . _t('Search') . ': <input type="text" id="browseSearch" name="search" value="' . htmlspecialchars($this->getVar('search'), ENT_QUOTES, 'UTF-8') . '" size="40"/></div>' . caJSButton($this->request, __CA_NAV_BUTTON_SEARCH__, _t("Search"), 'submitSearch', array(), array('href' => '#', 'onclick' => 'caCloseBrowser(); jQuery("#resultBox").load("' . caNavUrl($this->request, 'find', 'SearchPlaces', 'Index', array('search' => '')) . '" + escape(jQuery("#browseSearch").attr("value"))); return false;')), '', '<a href="#" id="browseToggle" class="form-button"></a>'); ?> </form> <div id="browse"> <div class='subTitle' style='background-color: #eeeeee; padding:5px 0px 5px 5px;'><?php print _t("Place hierarchy"); ?> </div> <?php if ($this->getVar('num_types') > 0) { ?> <!--- BEGIN HIERARCHY BROWSER TYPE MENU ---> <div id='browseTypeMenu'> <form action='#'> <?php print "<div>";
<td> <div><?php print caJSButton($this->request, __CA_NAV_BUTTON_DOWNLOAD__, _t('Download'), 'file_download', array('id' => 'file_download', 'onclick' => 'caProcessDestination("file_download");')); ?> </div> <?php if (is_array($va_destinations)) { foreach ($va_destinations as $vs_code => $va_dest) { if (!isset($va_dest['type']) || $va_dest['type'] != 'github') { continue; } // we only support github atm if (!isset($va_dest['display']) || !$va_dest['display']) { $va_dest['display'] = "???"; } print "<div>" . caJSButton($this->request, __CA_NAV_BUTTON_UPDATE__, $va_dest['display'], $vs_code, array('onclick' => 'caProcessDestination("' . $vs_code . '"); return false;')) . "<div/>\n"; } } ?> </td> </tr> </table> <div id="caExporterDestinationFeedback" style="margin-top: 20px; text-align: center;"></div> <script type="text/javascript"> jQuery("#file_name").keyup(function(event){ if(event.keyCode == 13){ jQuery("#file_download").click(); } });
</form> </div> <form> <div class="caLibraryTransactionListContainer" id="transactionListContainer"> <div class="caLibraryTransactionListLabel"><?php print _t('Items to check in'); ?> </div> <ol class="transactionList"> </ol> </div> <div class="caLibrarySubmitListContainer" id="transactionSubmitContainer"> <?php print caJSButton($this->request, __CA_NAV_BUTTON_SAVE__, _t('Check in'), 'transactionSubmit', array(), array()); ?> </div> <div class="caLibraryTransactionResultsContainer" id="transactionResultsContainer"> <div class="caLibraryTransactionResultsLabel"><?php print _t('Results'); ?> </div> <ol class="transactionSuccesses"> </ol> <ol class="transactionErrors"> </ol> </div>
$vs_form_id = $this->getVar('form_id'); $va_last_settings = $this->getVar('last_settings'); ?> <h1><?php print $o_tool->getToolName(); ?> </h1> <div class="toolPluginHelpText"> <p><?php print $o_tool->getToolDescription(); ?> </p> </div> <?php print caFormTag($this->request, 'Run', $vs_form_id, null, 'POST', 'multipart/form-data', '_top', array('disableUnsavedChangesWarning' => true, 'noTimestamp' => true)); print $vs_control_box = caFormControlBox(caJSButton($this->request, __CA_NAV_BUTTON_SAVE__, _t("Run"), "caRunTool{$vs_tool_identifier}", array('onclick' => 'caShowConfirmToolExecutionPanel(); return false;')) . ' ' . caNavButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t("Cancel"), '', 'manage', 'Tools', 'Settings', array('tool' => $vs_tool_identifier)), '', ''); // Print command <select> ?> <div class='bundleLabel'> <span class="formLabelText"><?php print _t('Command'); ?> </span> <div class="bundleContainer"> <div class="caLabelList" > <p> <?php print caHTMLSelect('command', $o_tool->getCommands(), array('id' => 'caToolCommand')); ?> </p>
?> Errors<?php print $vs_field_name_prefix . $vs_n; ?> ").slideUp(500); clearInterval(quickAddClearErrorInterval); }, 3000); } }, "json"); } function caConfirmDeleteAnnotation(show) { if (show) { var content = '<div class="notification-info-box rounded"><ul class="notification-info-box">' + '<li class="notification-info-box"><?php print addslashes(_t("Really delete annotation? %1 %2", caJSButton($this->request, __CA_NAV_BUTTON_DELETE__, _t("Yes"), "{$vs_form_name}{$vs_field_name_prefix}{$vs_n}", array("onclick" => "caDeleteAnnotation(true);")), caJSButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t("No"), "{$vs_form_name}{$vs_field_name_prefix}{$vs_n}", array("onclick" => "caConfirmDeleteAnnotation(false); return false;")))); ?> </li>' + '</ul></div>'; jQuery('#<?php print $vs_form_name; ?> Errors<?php print $vs_field_name_prefix . $vs_n; ?> ').html(content).slideDown(200); } else { jQuery('#<?php print $vs_form_name; ?> Errors<?php
* http://www.CollectiveAccess.org * * ---------------------------------------------------------------------- */ $t_form = $this->getVar('t_form'); $vn_form_id = $t_form->getPrimaryKey(); $vn_group_code = $this->getVar('group_code'); $vs_element_code = $this->getVar('element_code'); $va_element_info = $t_form->getInfoForElementInFormGroup($vn_group_code, $vs_element_code); $va_settings = $t_form->getAvailableElementSettings(); ?> <div id="caSearchFormSettingsMessage" class="searchFormElementSettingsMessage notification-info-box rounded" style="display: none;"><!-- empty --></div> <h3><?php print _t('Settings for Group #%1/%2', $vn_group_code + 1, $va_element_info['name']); ?> <h3> <?php print caFormTag($this->request, 'setSettingsForElement', 'searchFormElementSettingsForm', null, 'post', 'multipart/form-data', '_top', array('disableUnsavedChangesWarning' => true)); foreach ($va_settings as $vs_setting => $va_setting_info) { print $t_form->elementSettingHTMLFormElement($vn_group_code, $vs_element_code, $vs_setting); } print caHTMLHiddenInput('form_id', array('value' => $vn_form_id)); print caHTMLHiddenInput('group', array('value' => $vn_group_code)); print caHTMLHiddenInput('element', array('value' => $vs_element_code)); print caJSButton($this->request, __CA_NAV_BUTTON_SAVE__, _t("Save settings"), 'searchFormElementSettingsForm', array(), array('onclick' => 'jQuery.getJSON("' . caNavUrl($this->request, $this->request->getModulePath(), $this->request->getController(), "setSettingsForElement") . '", jQuery("#searchFormElementSettingsForm").serialize(), function(data, status) { jQuery("#caSearchFormSettingsMessage").show().html("<ul class=\\"notification-info-box\\"><li class=\\"notification-info-box\\">" + data.message + "</li></ul>"); });')); ?> </form> <?php print TooltipManager::getLoadHTML();
?> <div class="control-box rounded"> <div class="simple-search-box"> <?php print $this->render('Search/search_forms/search_form_table_html.php') . $vs_type_id_form_element; ?> </div> <br style="clear: both;"/> <div style="float:left; "> <?php print caFormSubmitButton($this->request, __CA_NAV_BUTTON_SEARCH__, _t("Search"), 'AdvancedSearchForm'); ?> <?php print caJSButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t("Reset"), 'AdvancedSearchForm', array('onclick' => 'caAdvancedSearchFormReset()'), array()); ?> </div> <div style="float: right;"> <?php print _t("Save as"); ?> : <?php print caHTMLTextInput('_label', array('size' => 10, 'id' => 'caAdvancedSearchSaveLabelInput')); ?> <a href="#" onclick="caSaveSearch('AdvancedSearchForm', jQuery('#caAdvancedSearchSaveLabelInput').val(), [<?php print join(',', $va_flds); ?> ]); return false;" class="button"><?php print _t('Go') . ' ›';
* * CollectiveAccess is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTIES whatsoever, including any implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * This source code is free and modifiable under the terms of * GNU General Public License. (http://www.gnu.org/copyleft/gpl.html). See * the "license.txt" file for details, or visit the CollectiveAccess web site at * http://www.CollectiveAccess.org * * ---------------------------------------------------------------------- */ $t_subject = $this->getVar('t_subject'); $t_set = $this->getVar('t_set'); $vn_set_id = $this->getVar('set_id'); print $vs_control_box = caFormControlBox(caJSButton($this->request, __CA_NAV_BUTTON_SAVE__, _t("Execute batch edit"), 'caBatchEditorFormButton', array('onclick' => 'caConfirmBatchExecutionPanel.showPanel(); return false;')) . ' ' . caNavButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t("Cancel"), '', 'batch', 'Editor', 'Edit/' . $this->request->getActionExtra(), array('set_id' => $vn_set_id)), '', ''); ?> <div class="sectionBox"> <?php print caFormTag($this->request, 'Save/' . $this->request->getActionExtra(), 'caBatchEditorForm', null, 'POST', 'multipart/form-data', '_top', array('noTimestamp' => true)); $va_bundle_list = array(); $va_form_elements = $t_subject->getBundleFormHTMLForScreen($this->request->getActionExtra(), array('request' => $this->request, 'formName' => 'caBatchEditorForm', 'batch' => true, 'restrictToTypes' => array_keys($t_set->getTypesForItems(array('includeParents' => true))), 'ui_instance' => $this->getVar('t_ui')), $va_bundle_list); print join("\n", $va_form_elements); print $vs_control_box; ?> <input type='hidden' name='set_id' value='<?php print $vn_set_id; ?> '/> <?php print $this->render("editor/confirm_html.php");
print $this->getVar('player'); ?> <div class="caAnnoMediaPlayerControlsLeft"> <?php print caJSButton($this->request, __CA_NAV_BUTTON_ADD__, _t("New clip"), "caAnnoEditorAddAtButton", array("id" => "caAnnoEditorNewInButton", "onclick" => "caAnnoEditorEdit(0, caAnnoEditorGetPlayerTime(), caAnnoEditorGetPlayerTime() + 10, \"PLAY\")")); ?> <?php print "<span id='caAnnoEditorInOutButtonLabel'>" . _t('Set') . ': </span>' . caJSButton($this->request, __CA_NAV_BUTTON_ADD__, _t("start"), "caAnnoEditorAddAtButton", array("id" => "caAnnoEditorInButton", "onclick" => "caAnnoEditorSetInTime(caAnnoEditorGetPlayerTime(), \"PLAY\")")); ?> <?php print caJSButton($this->request, __CA_NAV_BUTTON_ADD__, _t("end"), "caAnnoEditorAddAtButton", array("id" => "caAnnoEditorOutPauseButton", "onclick" => "caAnnoEditorSetOutTime(caAnnoEditorGetPlayerTime(), \"PAUSE\")")); ?> </div> <div class="caAnnoMediaPlayerControlsRight"> <?php print caJSButton($this->request, __CA_NAV_BUTTON_ADD__, _t("Set end & Save"), "caAnnoEditorAddAtButton", array("id" => "caAnnoEditorOutAndSavePauseButton", "onclick" => "caAnnoEditorSetOutTime(caAnnoEditorGetPlayerTime(), null, true)")); ?> </div> </div> <div class="caAnnoEditorEditorScreen" id="caAnnoEditorEditorScreen"> </div> </div> <script type="text/javascript"> jQuery(document).ready(function() { var initIndex = 0; jQuery('#caAnnoEditorTlCarousel').jcarousel();
* the "license.txt" file for details, or visit the CollectiveAccess web site at * http://www.CollectiveAccess.org * * ---------------------------------------------------------------------- */ $va_importer_list = $this->getVar('importer_list'); if (!$this->request->isAjax()) { ?> <script language="JavaScript" type="text/javascript"> jQuery(document).ready(function(){ jQuery('#caImporterList').caFormatListTable(); }); </script> <div class="sectionBox"> <?php print caFormControlBox('<div class="list-filter">' . _t('Filter') . ': <input type="text" name="filter" value="" onkeyup="jQuery(\'#caImporterList\').caFilterTable(this.value); return false;" size="20"/></div>', '', caJSButton($this->request, __CA_NAV_BUTTON_ADD_LARGE__, _t("Add importers"), 'caAddImportersButton', array('onclick' => 'caOpenImporterUploadArea(true, true); return false;', 'id' => 'caAddImportersButton')) . caJSButton($this->request, __CA_NAV_BUTTON_ADD_LARGE__, _t("Close"), 'caCloseImportersButton', array('onclick' => 'caOpenImporterUploadArea(false, true); return false;', 'id' => 'caCloseImportersButton'))); ?> <div id="batchProcessingTableProgressGroup" style="display: none;"> <div class="batchProcessingStatus"><span id="batchProcessingTableStatus" > </span></div> <div id="progressbar"></div> </div> <div id="importerUploadArea" style="border: 2px dashed #999999; text-align: center; padding: 20px; display: none;"> <span style="font-size: 20px; color: #aaaaaa; font-weight: bold;"><?php print _t("Drag importer worksheets here to add or update"); ?> </span> </div> <?php
<td class="caConfirmBatchExecutionPanelAlertControl"> <?php print _t('Send SMS to <strong>%1</strong> when done', $vs_sms); ?> </td> <?php } ?> <div id="caTypeChangePanelControlButtons"> <table> <tr> <td align="right"><?php print caFormSubmitButton($this->request, __CA_NAV_BUTTON_SAVE__, _t('Save'), 'caChangeTypeForm'); ?> </td> <td align="left"><?php print caJSButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t('Cancel'), 'caChangeTypeFormCancelButton', array('onclick' => 'caTypeChangePanel.hidePanel(); return false;'), array()); ?> </td> </tr> </table> </div> <?php print caHTMLHiddenInput('set_id', array('value' => $this->getVar('set_id'))); ?> </form> </div> </div>
* the terms of the provided license as published by Whirl-i-Gig * * CollectiveAccess is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTIES whatsoever, including any implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * This source code is free and modifiable under the terms of * GNU General Public License. (http://www.gnu.org/copyleft/gpl.html). See * the "license.txt" file for details, or visit the CollectiveAccess web site at * http://www.CollectiveAccess.org * * ---------------------------------------------------------------------- */ $t_importer = $this->getVar('t_importer'); $va_last_settings = $this->getVar('last_settings'); print $vs_control_box = caFormControlBox(caJSButton($this->request, __CA_NAV_BUTTON_SAVE__, _t("Execute data import"), 'caBatchMetadataImportFormButton', array('onclick' => 'caShowConfirmBatchExecutionPanel(); return false;')) . ' ' . caNavButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t("Cancel"), '', 'batch', 'MetadataImport', 'Index', array()), '', ''); ?> <div class="sectionBox"> <?php print caFormTag($this->request, 'ImportData/' . $this->request->getActionExtra(), 'caBatchMetadataImportForm', null, 'POST', 'multipart/form-data', '_top', array('disableUnsavedChangesWarning' => true, 'noTimestamp' => true)); ?> <div class='bundleLabel'> <span class="formLabelText"><?php print _t('Importer'); ?> </span> <div class="bundleContainer"> <div class="caLabelList" > <p> <?php print ca_data_importers::getImporterListAsHTMLFormElement('importer_id', null, array('id' => 'caImporterList', 'onchange' => 'caSetBatchMetadataImportFormState(true);'), array('value' => $t_importer->getPrimaryKey()));
</td> <td class="caConfirmBatchExecutionPanelAlertControl"> <?php print _t('Send SMS to <strong>%1</strong> when done', $vs_sms); ?> </td> <?php } ?> </tr> </table> </div> <br class="clear"/> <div id="caConfirmBatchExecutionPanelControlButtons"> <table> <tr> <td align="right"><?php print caJSButton($this->request, __CA_NAV_BUTTON_SAVE__, _t('Execute data import'), 'caConfirmBatchExecutionFormExecuteButton', array('onclick' => 'caExecuteBatch(); return false;'), array()); ?> </td> <td align="left"><?php print caJSButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t('Cancel'), 'caConfirmBatchExecutionFormCancelButton', array('onclick' => 'caConfirmBatchExecutionPanel.hidePanel(); return false;'), array()); ?> </td> </tr> </table> </div> </div> </div>
*/ $va_exporter_list = $this->getVar('exporter_list'); if (!$this->request->isAjax()) { if (sizeof($va_exporter_list) > 0) { ?> <script language="JavaScript" type="text/javascript"> jQuery(document).ready(function(){ jQuery('#caExporterList').caFormatListTable(); }); </script> <?php } ?> <div class="sectionBox"> <?php print caFormControlBox('<div class="list-filter">' . _t('Filter') . ': <input type="text" name="filter" value="" onkeyup="jQuery(\'#caExporterList\').caFilterTable(this.value); return false;" size="20"/></div>', '', caJSButton($this->request, __CA_NAV_BUTTON_ADD_LARGE__, _t("Add exporters"), 'caAddExportersButton', array('onclick' => 'jQuery("#exporterUploadArea").slideToggle(150); return false;'))); ?> <div id="batchProcessingTableProgressGroup" style="display: none;"> <div class="batchProcessingStatus"><span id="batchProcessingTableStatus" > </span></div> <div id="progressbar"></div> </div> <div id="exporterUploadArea" > <span class="exporterUploadText"><?php print _t("Drag exporter worksheets here to add or update"); ?> </span> </div> <?php
$vs_q = caUcFirstUTF8Safe($this->getVar('q'), true); $vb_can_edit = $t_subject->isSaveable($this->request); $vs_form_name = "StorageLocationQuickAddForm"; ?> <form action="#" name="<?php print $vs_form_name; ?> " method="POST" enctype="multipart/form-data" id="<?php print $vs_form_name . $vs_field_name_prefix . $vs_n; ?> "> <div class='dialogHeader quickAddDialogHeader'><?php print "<div class='quickAddTypeList'>" . _t('Quick Add %1', $t_subject->getTypeListAsHTMLFormElement('change_type_id', array('id' => "{$vs_form_name}TypeID{$vs_field_name_prefix}{$vs_n}", 'onchange' => "caSwitchTypeQuickAddForm{$vs_field_name_prefix}{$vs_n}();"), array('value' => $t_subject->get('type_id'), 'restrictToTypes' => $va_restrict_to_types))) . "</div>"; if ($vb_can_edit) { print "<div style='float: right;'>" . caJSButton($this->request, __CA_NAV_BUTTON_ADD__, _t("Add %1", $t_subject->getProperty('NAME_SINGULAR')), "{$vs_form_name}{$vs_field_name_prefix}{$vs_n}", array("onclick" => "caSave{$vs_form_name}{$vs_field_name_prefix}{$vs_n}(event);")) . ' ' . caJSButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t("Cancel"), "{$vs_form_name}{$vs_field_name_prefix}{$vs_n}", array("onclick" => "jQuery(\"#{$vs_form_name}{$vs_field_name_prefix}{$vs_n}\").parent().data(\"panel\").hidePanel();")) . "</div><br style='clear: both;'/>\n"; } ?> </div> <div class="quickAddSectionBox" id="{$vs_form_name}Container<?php print $vs_field_name_prefix . $vs_n; ?> "> <div class="quickAddFormTopPadding"><!-- empty --></div> <div class="quickAddErrorContainer" id="<?php print $vs_form_name; ?> Errors<?php print $vs_field_name_prefix . $vs_n; ?> "> </div>
$t_left = $t_subject->getLeftTableInstance(); $t_right = $t_subject->getRightTableInstance(); $vs_rel_name = "<em>" . $t_left->getTypeName() . "</em> ⇔ <em>" . $t_right->getTypeName() . "</em>"; ?> <form action="#" name="<?php print $vs_form_name; ?> " method="POST" enctype="multipart/form-data" id="<?php print $vs_form_name . $vs_field_name_prefix . $vs_n; ?> "> <div class='dialogHeader quickAddDialogHeader'><?php print "<div class='quickAddTypeList'>" . _t('Edit %1 relationship', $vs_rel_name) . "</div>"; if ($vb_can_edit) { print "<div style='float: right;'>" . caJSButton($this->request, __CA_NAV_BUTTON_SAVE__, _t("Save"), "{$vs_form_name}{$vs_field_name_prefix}{$vs_n}", array("onclick" => "caSave{$vs_form_name}{$vs_field_name_prefix}{$vs_n}(event);")) . ' ' . caJSButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t("Cancel"), "{$vs_form_name}{$vs_field_name_prefix}{$vs_n}", array("onclick" => "jQuery(\"#{$vs_form_name}" . $vs_field_name_prefix . $vs_n . "\").parent().data(\"panel\").hidePanel();")) . "</div><br style='clear: both;'/>\n"; } ?> </div> <div class="quickAddErrorContainer" id="<?php print $vs_form_name; ?> Errors<?php print $vs_field_name_prefix . $vs_n; ?> "> </div> <div class="quickAddSectionBox" id="{$vs_form_name}Container<?php print $vs_field_name_prefix . $vs_n; ?>