本文整理汇总了PHP中caDeleteWarningBox函数的典型用法代码示例。如果您正苦于以下问题:PHP caDeleteWarningBox函数的具体用法?PHP caDeleteWarningBox怎么用?PHP caDeleteWarningBox使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了caDeleteWarningBox函数的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
* 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_lot = $this->getVar('t_subject');
$vn_lot_id = $this->getVar('subject_id');
?>
<div class="sectionBox">
<?php
if (!$this->getVar('confirmed')) {
$va_parameters = array('lot_id' => $vn_lot_id);
$vs_warning = '';
if ($vn_num_objects = $t_lot->numObjects()) {
if ($vn_num_objects == 1) {
$vs_warning = _t('There is 1 object linked to this lot. If you continue this object will no longer be associated with a lot.');
} else {
$vs_warning = _t('There are %1 objects linked to this lot. If you continue these objects will no longer be associated with a lot.', $vn_num_objects);
}
$va_parameters['warning'] = $vs_warning;
}
// show delete confirmation notice
print caDeleteWarningBox($this->request, $t_lot, $this->getVar('subject_name'), 'editor/object_lots', 'ObjectLotEditor', 'Edit/' . $this->request->getActionExtra(), $va_parameters);
}
?>
</div>
示例2: caDeleteWarningBox
*
* 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
*
* ----------------------------------------------------------------------
*/
$t_tour = $this->getVar('t_subject');
$vn_tour_id = $this->getVar('subject_id');
?>
<div class="sectionBox">
<?php
if (!$this->getVar('confirmed')) {
// show delete confirmation notice
print caDeleteWarningBox($this->request, $t_tour, $this->getVar('subject_name'), 'editor/tours', 'TourEditor', 'Edit/' . $this->request->getActionExtra(), array('tour_id' => $vn_tour_id));
}
?>
</div>
示例3: caDeleteWarningBox
*
* Software by Whirl-i-Gig (http://www.whirl-i-gig.com)
* Copyright 2008-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
*
* ----------------------------------------------------------------------
*/
$t_location = $this->getVar('t_subject');
$vn_location_id = $this->getVar('subject_id');
?>
<div class="sectionBox">
<?php
if (!$this->getVar('confirmed')) {
// show delete confirmation notice
print caDeleteWarningBox($this->request, $t_location, $this->getVar('subject_name'), 'editor/storage_locations', 'StorageLocationEditor', 'Edit/' . $this->request->getActionExtra(), array('location_id' => $vn_location_id));
}
?>
</div>
示例4: caDeleteWarningBox
*
* 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
*
* ----------------------------------------------------------------------
*/
$t_ui = $this->getVar('t_subject');
$vn_ui_id = $this->getVar('subject_id');
?>
<div class="sectionBox">
<?php
if (!$this->getVar('confirmed')) {
// show delete confirmation notice
print caDeleteWarningBox($this->request, $t_ui, $this->getVar('subject_name'), 'administrate/setup/interface_editor', 'InterfaceEditor', 'Edit/' . $this->request->getActionExtra(), array('ui_id' => $vn_ui_id));
}
?>
</div>
示例5: caDeleteWarningBox
* Copyright 2009-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
*
* ----------------------------------------------------------------------
*/
$t_set = $this->getVar('t_subject');
$vn_form_id = $this->getVar('subject_id');
?>
<div class="sectionBox">
<?php
if (!$this->getVar('confirmed')) {
// show delete confirmation notice
print caDeleteWarningBox($this->request, $t_set, $this->getVar('subject_name'), 'manage/search_forms', 'SearchFormEditor', 'Edit/' . $this->request->getActionExtra(), array('form_id' => $vn_form_id));
} else {
print "<div align='center'>" . caNavLink($this->request, _t('Back to search form list'), 'button', 'manage', 'SearchForm', 'ListForms') . "</div>";
}
?>
</div>
示例6: caDeleteWarningBox
* CollectiveAccess
* Open-source collections management software
* ----------------------------------------------------------------------
*
* Software by Whirl-i-Gig (http://www.whirl-i-gig.com)
* Copyright 2008-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
*
* ----------------------------------------------------------------------
*/
$t_locale = $this->getVar('t_locale');
$vn_locale_id = $this->getVar('locale_id');
?>
<div class="sectionBox">
<?php
print caDeleteWarningBox($this->request, $t_locale, $t_locale->getName(), 'administrate/setup', 'Locales', 'Listlocales', array('locale_id' => $vn_locale_id));
?>
</div>
示例7: caDeleteWarningBox
* CollectiveAccess
* Open-source collections management software
* ----------------------------------------------------------------------
*
* Software by Whirl-i-Gig (http://www.whirl-i-gig.com)
* Copyright 2008-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
*
* ----------------------------------------------------------------------
*/
$t_user = $this->getVar('t_user');
$vn_user_id = $this->getVar('user_id');
?>
<div class="sectionBox">
<?php
print caDeleteWarningBox($this->request, $t_user, $t_user->getName(), 'administrate/access', 'users', 'ListUsers', array('user_id' => $vn_user_id));
?>
</div>
示例8: caDeleteWarningBox
* CollectiveAccess
* Open-source collections management software
* ----------------------------------------------------------------------
*
* Software by Whirl-i-Gig (http://www.whirl-i-gig.com)
* Copyright 2009-2013 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
*
* ----------------------------------------------------------------------
*/
$t_element = $this->getVar('t_element');
$vn_element_id = $this->getVar('element_id');
?>
<div class="sectionBox">
<?php
print caDeleteWarningBox($this->request, $t_element, $t_element->getLabelForDisplay(false), 'administrate/setup', 'Elements', 'Index', array('element_id' => $vn_element_id));
?>
</div>
示例9: caDeleteWarningBox
* CollectiveAccess
* Open-source collections management software
* ----------------------------------------------------------------------
*
* Software by Whirl-i-Gig (http://www.whirl-i-gig.com)
* Copyright 2008-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
*
* ----------------------------------------------------------------------
*/
$t_group = $this->getVar('t_group');
$vn_group_id = $this->getVar('group_id');
?>
<div class="sectionBox">
<?php
print caDeleteWarningBox($this->request, $t_group, $t_group->getName(), 'administrate/access', 'groups', 'ListGroups', array('group_id' => $vn_group_id));
?>
</div>
示例10: caDeleteWarningBox
*
* Software by Whirl-i-Gig (http://www.whirl-i-gig.com)
* Copyright 2012 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
*
* ----------------------------------------------------------------------
*/
$t_order = $this->getVar('t_order');
$vn_order_id = $this->getVar('order_id');
?>
<div class="sectionBox">
<?php
if (!$this->getVar('confirmed')) {
// show delete confirmation notice
print caDeleteWarningBox($this->request, $t_order, _t('order'), 'client/library', 'OrderEditor', 'CustomerInfo', array('order_id' => $vn_order_id));
}
?>
</div>
示例11: caDeleteWarningBox
* CollectiveAccess
* Open-source collections management software
* ----------------------------------------------------------------------
*
* Software by Whirl-i-Gig (http://www.whirl-i-gig.com)
* Copyright 2013 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
*
* ----------------------------------------------------------------------
*/
$t_importer = $this->getVar('t_importer');
$vn_importer_id = $this->getVar('importer_id');
?>
<div class="sectionBox">
<?php
print caDeleteWarningBox($this->request, $t_importer, $t_importer->getLabelForDisplay(false), 'batch', 'MetadataImport', 'Index', array('importer_id' => $vn_importer_id));
?>
</div>
示例12: caDeleteWarningBox
* CollectiveAccess
* Open-source collections management software
* ----------------------------------------------------------------------
*
* Software by Whirl-i-Gig (http://www.whirl-i-gig.com)
* Copyright 2008-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
*
* ----------------------------------------------------------------------
*/
$t_role = $this->getVar('t_role');
$vn_role_id = $this->getVar('role_id');
?>
<div class="sectionBox">
<?php
print caDeleteWarningBox($this->request, $t_role, $t_role->getName(), 'administrate/access', 'roles', 'ListRoles', array('role_id' => $vn_role_id));
?>
</div>