当前位置: 首页>>代码示例>>PHP>>正文


PHP caFormSubmitButton函数代码示例

本文整理汇总了PHP中caFormSubmitButton函数的典型用法代码示例。如果您正苦于以下问题:PHP caFormSubmitButton函数的具体用法?PHP caFormSubmitButton怎么用?PHP caFormSubmitButton使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了caFormSubmitButton函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: caFormTag

        ?>
	<?php 
        print caFormTag($this->request, 'Index', 'AdvancedSearchForm', null, 'post', 'multipart/form-data', '_top', array('disableUnsavedChangesWarning' => true));
        ?>
		<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);
开发者ID:guaykuru,项目名称:pawtucket,代码行数:31,代码来源:search_advanced_form_html.php

示例2: caDeleteWarningBox

/**
 *
 */
function caDeleteWarningBox($po_request, $t_instance, $ps_item_name, $ps_module_path, $ps_controller, $ps_cancel_action, $pa_parameters)
{
    if ($vs_warning = isset($pa_parameters['warning']) ? $pa_parameters['warning'] : null) {
        $vs_warning = '<br/>' . $vs_warning;
    }
    $vs_remapping_controls = caDeleteRemapper($po_request, $t_instance);
    $vs_output = caFormTag($po_request, 'Delete', 'caDeleteForm', null, 'post', 'multipart/form-data', '_top', array('disableUnsavedChangesWarning' => true));
    $vs_output .= "<div class='delete-control-box'>" . caFormControlBox("<div class='delete_warning_box'>" . _t('Really delete "%1"?', $ps_item_name) . "</div>" . ($vs_remapping_controls ? "<div class='delete_remapping_controls'>{$vs_remapping_controls}</div>" : ''), $vs_warning, caFormSubmitButton($po_request, __CA_NAV_BUTTON_DELETE__, _t("Delete"), 'caDeleteForm', array()) . caNavButton($po_request, __CA_NAV_BUTTON_CANCEL__, _t("Cancel"), '', $ps_module_path, $ps_controller, $ps_cancel_action, $pa_parameters)) . "</div>\n";
    foreach (array_merge($pa_parameters, array('confirm' => 1)) as $vs_f => $vs_v) {
        $vs_output .= caHTMLHiddenInput($vs_f, array('value' => $vs_v));
    }
    $vs_output .= caHTMLHiddenInput($t_instance->primaryKey(), array('value' => $t_instance->getPrimaryKey()));
    $vs_output .= "</form>\n";
    return $vs_output;
}
开发者ID:kai-iak,项目名称:providence,代码行数:18,代码来源:displayHelpers.php

示例3: caFormControlBox

 * 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_object = $this->getVar('t_subject');
$vn_object_id = $this->getVar('subject_id');
$vn_above_id = $this->getVar('above_id');
$vb_can_edit = $t_object->isSaveable($this->request);
$vb_can_delete = $t_object->isDeletable($this->request);
if ($vb_can_edit) {
    print $vs_control_box = caFormControlBox(caFormSubmitButton($this->request, __CA_NAV_BUTTON_SAVE__, _t("Save"), 'ObjectEditorForm') . ' ' . caNavButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t("Cancel"), 'editor/objects', 'ObjectEditor', 'Edit/' . $this->request->getActionExtra(), array('object_id' => $vn_object_id)), '', intval($vn_object_id) > 0 && $vb_can_delete ? caNavButton($this->request, __CA_NAV_BUTTON_DELETE__, _t("Delete"), 'editor/objects', 'ObjectEditor', 'Delete/' . $this->request->getActionExtra(), array('object_id' => $vn_object_id)) : '');
}
?>
	<div class="sectionBox">
<?php 
print caFormTag($this->request, 'Save/' . $this->request->getActionExtra() . '/object_id/' . $vn_object_id, 'ObjectEditorForm', null, 'POST', 'multipart/form-data');
$va_bundle_list = array();
$va_form_elements = $t_object->getBundleFormHTMLForScreen($this->request->getActionExtra(), array('request' => $this->request, 'formName' => 'ObjectEditorForm', 'forceHidden' => array('lot_id')), $va_bundle_list);
print join("\n", $va_form_elements);
if ($vb_can_edit) {
    print $vs_control_box;
}
?>
			<input type='hidden' name='object_id' value='<?php 
print $vn_object_id;
?>
开发者ID:guaykuru,项目名称:pawtucket,代码行数:31,代码来源:screen_html.php

示例4: array

 *
 * ----------------------------------------------------------------------
 */
AssetLoadManager::register('datePickerUI');
$t_order = $this->getVar('t_order');
$o_client_services_config = $this->getVar('client_services_config');
$va_credit_card_types = $o_client_services_config->getAssoc('credit_card_types');
if (!is_array($va_payment_info = $t_order->getPaymentInfo())) {
    $va_payment_info = array();
}
$vn_order_id = (int) $t_order->getPrimaryKey();
$vn_transaction_id = $this->getVar('transaction_id');
$va_errors = $this->getVar('errors');
$vs_currency_symbol = $this->getVar('currency_symbol');
$vs_currency_input_format = "<div class='formLabel'>^LABEL<br/>{$vs_currency_symbol}^ELEMENT</div>";
print $vs_control_box = caFormControlBox(caFormSubmitButton($this->request, __CA_NAV_BUTTON_SAVE__, _t("Save"), 'caClientOrderPaymentForm', array('preventDuplicateSubmits' => true)) . ' ' . caNavButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t("Cancel"), '', 'client/orders', 'OrderEditor', 'Payment', array('order_id' => $vn_order_id)), '', caNavButton($this->request, __CA_NAV_BUTTON_DELETE__, _t("Delete"), '', 'client/orders', 'OrderEditor', 'Delete', array('order_id' => $vn_order_id)));
print caFormTag($this->request, 'SavePayment', 'caClientOrderPaymentForm', null, 'post', 'multipart/form-data', '_top', array());
?>
	<h1><?php 
print _t('Payment information');
?>
</h1>
<?php 
if ($t_order->paymentIsAllowed()) {
    print $t_order->htmlFormElement('payment_method', $vs_form_element_format, array('width' => $vn_width, 'field_errors' => $va_errors[$vs_f], 'choiceList' => $va_payment_types, 'id' => 'caPaymentMethod'));
    ?>
		<div style="margin-left: 20px; margin-bottom: 10px;">
<?php 
    if (is_array($va_errors['payment_info']) && sizeof($va_errors['payment_info'])) {
        ?>
	<div class='formLabelError'><?php 
开发者ID:idiscussforum,项目名称:providence,代码行数:31,代码来源:order_payment_html.php

示例5: caFormControlBox

 * For more information visit http://www.CollectiveAccess.org
 *
 * This program is free software; you may redistribute it and/or modify it under
 * 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_locale = $this->getVar('t_locale');
$vn_locale_id = $this->getVar('locale_id');
?>
<div class="sectionBox">
<?php 
print $vs_control_box = caFormControlBox(caFormSubmitButton($this->request, __CA_NAV_BUTTON_SAVE__, _t("Save"), 'LocalesForm') . ' ' . caNavButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t("Cancel"), 'administrate/setup', 'Locales', 'ListLocales', array('locale_id' => 0)), '', caNavButton($this->request, __CA_NAV_BUTTON_DELETE__, _t("Delete"), 'administrate/setup', 'Locales', 'Delete', array('locale_id' => $vn_locale_id)));
print caFormTag($this->request, 'Save', 'LocalesForm');
foreach ($t_locale->getFormFields() as $vs_f => $va_locale_info) {
    print $t_locale->htmlFormElement($vs_f, null, array('field_errors' => $this->request->getActionErrors('field_' . $vs_f)));
}
?>
	</form>
</div>

<div class="editorBottomPadding"><!-- empty --></div>
开发者ID:guaykuru,项目名称:pawtucket,代码行数:31,代码来源:locale_edit_html.php

示例6: _t

				</td>
				<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>
开发者ID:idiscussforum,项目名称:providence,代码行数:31,代码来源:batch_change_type_html.php

示例7: caFormTag

$va_items = $t_order->getItems();
$va_order_totals = $t_order->getOrderTotals();
$va_item_counts_by_fulfillment_method = $t_order->getFulfillmentItemCounts();
print caFormTag($this->request, 'SaveOrderOverview', 'caClientOrderOverviewForm', null, 'post', 'multipart/form-data', '_top', array());
$vs_item_url = caNavUrl($this->request, 'client', 'OrderEditor', 'ItemList', array('order_id' => $vn_order_id));
?>
<div id="caClientOrderOverview">
	<div class="overrideButton"><a href="#" class="button" onclick="jQuery('#caCommerceOrderStatusOverride').toggle(150);"><?php 
print _t('Override current order status');
?>
 &rsaquo;</a></div>
	<div class="formContainerBg" id="caCommerceOrderStatusOverride" style="display: none;">
	<?php 
print "<div class='formLabel'>";
print $t_order->htmlFormElement('order_status', "^LABEL ^ELEMENT", array('width' => $vn_width));
print caFormSubmitButton($this->request, __CA_NAV_BUTTON_SAVE__, _t("Save"), 'caClientOrderOverviewForm');
print "</div>\n";
?>
	</div><!-- end formContainerBg -->
	
	<div class="orderStatus">
<?php 
// status
$vs_order_status = $t_order->get('order_status');
$vs_order_status_display = "<em>" . $t_order->getChoiceListValue('order_status', $vs_order_status) . "</em>";
$vs_order_status_description = '';
$vs_next_step = '';
switch ($vs_order_status) {
    case 'OPEN':
        $vs_status_message = _t('Order status: %1', $vs_order_status_display);
        TooltipManager::add("#commerceOrderStatusMessage", $vs_order_status_description = _t('Order is being entered by the client and not yet submitted for processing.'));
开发者ID:guaykuru,项目名称:pawtucket,代码行数:31,代码来源:order_overview_html.php

示例8: caFormTag

 *
 * 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_set = $this->getVar('t_set');
?>
<div class="sectionBox">
<?php 
if (!$this->getVar('confirmed')) {
    // show delete confirmation notice
    print caFormTag($this->request, 'Delete', 'caDeleteForm', null, 'post', 'multipart/form-data', '_top', array('disableUnsavedChangesWarning' => true));
    print "<div class='delete-control-box'>" . caFormControlBox("<div class='delete_warning_box'>" . _t('Really delete ALL records in "%1"?', $t_set->getLabelForDisplay()) . "</div>", "", caFormSubmitButton($this->request, __CA_NAV_BUTTON_DELETE__, _t("Delete"), 'caDeleteForm', array()) . caNavButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t("Cancel"), '', "batch", "Editor", "Edit", array('set_id' => $this->getVar('set_id')))) . "</div>\n";
    print caHTMLHiddenInput('confirm', array('value' => 1));
    print caHTMLHiddenInput($t_set->primaryKey(), array('value' => $t_set->getPrimaryKey()));
    print "</form>\n";
} else {
    AssetLoadManager::register("sortableUI");
    ?>
<h1><?php 
    print _t('Batch processing status');
    ?>
</h1>


<div class="batchProcessingTableProgressGroup">
	<div id="batchProcessingTableStatus" class="batchProcessingStatus"> </div>
	<div id="progressbar"></div>
开发者ID:idiscussforum,项目名称:providence,代码行数:31,代码来源:delete_html.php

示例9: caFormControlBox

 * 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_order = $this->getVar('t_order');
$vn_order_id = (int) $t_order->getPrimaryKey();
$vn_transaction_id = $this->getVar('transaction_id');
$va_errors = $this->getVar('errors');
$vn_max_field_width = 50;
print $vs_control_box = caFormControlBox(caFormSubmitButton($this->request, __CA_NAV_BUTTON_SAVE__, _t("Save"), 'caClientOrderCustomerForm') . ' ' . caNavButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t("Cancel"), 'client/library', 'OrderEditor', 'CustomerInfo', array('order_id' => $vn_order_id)), '', caNavButton($this->request, __CA_NAV_BUTTON_DELETE__, _t("Delete"), 'client/library', 'OrderEditor', 'Delete', array('order_id' => $vn_order_id)));
print caFormTag($this->request, 'SaveCustomerInfo', 'caClientOrderCustomerForm', null, 'post', 'multipart/form-data', '_top', array());
if (!$vn_transaction_id) {
    ?>
	<h1><?php 
    print _t('User account to associate loan with');
    ?>
</h1>
	<div class="formLabel">
		<?php 
    print _t('User account');
    ?>
:
		<input type="text" size="60" name="client_autocomplete" value="" id="client_autocomplete" class="lookupBg"/>
		<input type="hidden" name="transaction_user_id" id="transaction_user_id" value=""/>
	</div>
开发者ID:guaykuru,项目名称:pawtucket,代码行数:31,代码来源:order_customer_info_html.php

示例10: _t

 * ----------------------------------------------------------------------
 * CollectiveAccess
 * Open-source collections management software
 * ----------------------------------------------------------------------
 *
 * Software by Whirl-i-Gig (http://www.whirl-i-gig.com)
 * Copyright 2011 Whirl-i-Gig
 *
 * For more information visit http://www.CollectiveAccess.org
 *
 * This program is free software; you may redistribute it and/or modify it under
 * 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
 *
 * ----------------------------------------------------------------------
 */
print "<h1>" . _t("Rebuild search indices") . "</h1>\n";
print "<div class='searchReindexHelpText'>";
print _t("<p>CollectiveAccess relies upon <em>indices</em> when searching your data.  Indices are simply summaries of your data designed to speed query processing. The precise form and characteristics of the indices used will vary with the type of search engine you  are using. They may be stored on disk, in a database or on another server, but their purpose is always the same: to make searches execute faster.</p>\n<p>For search results to be accurate the database and indices must be in sync. CollectiveAccess simultaneously updates both the database and indicies as you add, edit and delete data, keeping database and indices in agreement. Occasionally things get out of sync, however. If the basic and advanced searches are consistently returning unexpected results you can use this tool to rebuild the indices from the database and bring things back into alignment.</p> \n<p>Note that depending upon the size of your database rebuilding can take from a few minutes to several hours. During the rebuilding process the system will remain usable but search functions may return incomplete results. Browse functions, which do not rely upon indices, will not be affected.</p>\n\t");
print caFormTag($this->request, 'reindex', 'caSearchReindexForm', null, 'post', 'multipart/form-data', '_top', array('disableUnsavedChangesWarning' => true, 'noTimestamp' => true));
print "<div style='text-align: center'>" . caFormSubmitButton($this->request, __CA_NAV_BUTTON_GO__, _t("Rebuild search indices"), 'caSearchReindexForm', array()) . "</div>";
print "</form>";
print "</div>\n";
开发者ID:idiscussforum,项目名称:providence,代码行数:31,代码来源:search_reindex_landing_html.php

示例11: caFormControlBox

 * 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_group = $this->getVar('t_group');
$vn_group_id = $this->getVar('group_id');
?>
<div class="sectionBox">
<?php 
print $vs_control_box = caFormControlBox(caFormSubmitButton($this->request, __CA_NAV_BUTTON_SAVE__, _t("Save"), 'GroupsForm') . ' ' . caNavButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t("Cancel"), '', 'manage', 'groups', 'ListGroups', array('group_id' => 0)), '', caNavButton($this->request, __CA_NAV_BUTTON_DELETE__, _t("Delete"), '', 'manage', 'groups', 'Delete', array('group_id' => $vn_group_id)));
print caFormTag($this->request, 'Save', 'GroupsForm');
foreach ($t_group->getFormFields() as $vs_f => $va_group_info) {
    if ($vs_f == 'code') {
        continue;
    }
    print $t_group->htmlFormElement($vs_f, null, array('field_errors' => $this->request->getActionErrors('field_' . $vs_f)));
}
// users
if (!is_array($va_group_users = $t_group->getGroupUsers())) {
    $va_group_users = array();
}
print $this->request->user->userListAsHTMLFormElement(array('userclass' => array(0, 1), 'sort' => 'lname', 'sort_direction' => 'asc', 'name' => 'group_users', 'label' => 'Members', 'selected' => array_keys($va_group_users)));
?>
	
	</form>
开发者ID:idiscussforum,项目名称:providence,代码行数:31,代码来源:group_edit_html.php

示例12: intval

 * 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');
$vn_subject_id = $this->getVar('subject_id');
$t_ui = $this->getVar('t_ui');
$vs_theme = $this->getVar('theme');
$vs_message = $this->getVar('notification_message');
$vb_print_buttons = intval($vn_subject_id) > 0 ? $vb_can_edit : $vb_can_create;
$vs_control_box = caFormControlBox(caFormSubmitButton($this->request, __CA_NAV_BUTTON_SAVE__, _t("Save"), 'CatalogingForm', array('graphicsPath' => $this->getVar('graphicsPath'))) . ' ' . caNavButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t("Cancel"), 'Detail', 'Object', 'Show', array($t_subject->primaryKey() => $vn_subject_id), '', array('graphicsPath' => $this->getVar('graphicsPath'))), '', '');
?>
	<script type="text/javascript">
		jQuery(document).ready(function() {
			// initialize CA Utils
			caUI.initUtils({unsavedChangesWarningMessage: '<?php 
_p('You have made changes in this form that you have not yet saved. If you navigate away from this form you will lose your unsaved changes.');
?>
'});
		});
	</script>
	<div class="sectionBox">
	<div class='textContent'>
		<p><?php 
print _t("Use the following form to make cataloging adjustments to this record.");
?>
开发者ID:guaykuru,项目名称:pawtucket,代码行数:31,代码来源:screen_html.php

示例13: _t

 * ----------------------------------------------------------------------
 * CollectiveAccess
 * Open-source collections management software
 * ----------------------------------------------------------------------
 *
 * Software by Whirl-i-Gig (http://www.whirl-i-gig.com)
 * Copyright 2011 Whirl-i-Gig
 *
 * For more information visit http://www.CollectiveAccess.org
 *
 * This program is free software; you may redistribute it and/or modify it under
 * 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
 *
 * ----------------------------------------------------------------------
 */
print "<h1>" . _t("Reload sort values") . "</h1>\n";
print "<div class='searchReindexHelpText'>";
print _t("<p>CollectiveAccess relies upon <em>sort values</em> when sorting values that should not sort alphabetically, such as titles with articles (eg. <em>The Man Who Fell to Earth</em> should sort as <em>Man Who Fell to Earth, The</em>) and alphanumeric identifiers (eg. <em>2011.001</em> and <em>2011.2</em> should sort next to each other with leading zeros in the first ignored).</p>\n<p>Sort values are derived from corresponding values in your database. The internal format of sort values can vary between versions of CollectiveAccess causing erroneous sorting behavior after an upgrade. If you notice values such as titles and identifiers are sorting incorrectly, you may need to reload sort values from your data.</p> \n<p>Note that depending upon the size of your database reloading sort values can take from a few minutes to an hour or more. During the reloading process the system will remain usable but search and browse functions may return incorrectly sorted results. </p>\n\t");
print caFormTag($this->request, 'reload', 'caSortValuesReloadForm', null, 'post', 'multipart/form-data', '_top', array('disableUnsavedChangesWarning' => true, 'noTimestamp' => true));
print "<div style='text-align: center'>" . caFormSubmitButton($this->request, __CA_NAV_BUTTON_GO__, _t("Reload sort values"), 'caSortValuesReloadForm', array()) . "</div>";
print "</form>";
print "</div>\n";
开发者ID:idiscussforum,项目名称:providence,代码行数:31,代码来源:sort_values_reload_landing_html.php

示例14: _t

			</td>
		</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 #');
开发者ID:guaykuru,项目名称:pawtucket,代码行数:31,代码来源:list_orders_html.php

示例15: intval

 * 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');
$vn_subject_id = $this->getVar('subject_id');
$t_ui = $this->getVar('t_ui');
$vs_theme = $this->getVar('theme');
$vb_print_buttons = intval($vn_subject_id) > 0 ? $vb_can_edit : $vb_can_create;
$vs_control_box = caFormControlBox(caFormSubmitButton($this->request, __CA_NAV_BUTTON_SAVE__, _t("Save"), 'ContributeForm', array('graphicsPath' => $this->getVar('graphicsPath'))) . ' ' . caNavButton($this->request, __CA_NAV_BUTTON_CANCEL__, _t("Cancel"), $this->request->getModulePath(), $this->request->getController(), $this->request->getAction() . '/' . $this->request->getActionExtra(), array($t_subject->primaryKey() => $vn_subject_id), '', array('graphicsPath' => $this->getVar('graphicsPath'))), '', '');
?>
	<div class='textContent'>
		<p>Please provide the following information to contribute your media to the Metabolic Studio archive.  Required fields are marked with an *.<br/>When you have finished your submission, place the hard copy in the designated physical archive space.  If you need further assistance, please contact the <a href="mailto:archive@metabolicstudio.org">studio archivists</a>.</p>
	</div>
	<script type="text/javascript">
		jQuery(document).ready(function() {
			// initialize CA Utils
			caUI.initUtils({unsavedChangesWarningMessage: '<?php 
_p('You have made changes in this form that you have not yet saved. If you navigate away from this form you will lose your unsaved changes.');
?>
'});
		});
	</script>
	<div class="sectionBox">
<?php 
开发者ID:guaykuru,项目名称:pawtucket,代码行数:31,代码来源:screen_html.php


注:本文中的caFormSubmitButton函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。