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


PHP caDeleteWarningBox函数代码示例

本文整理汇总了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>
开发者ID:idiscussforum,项目名称:providence,代码行数:31,代码来源:delete_html.php

示例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>
开发者ID:guaykuru,项目名称:pawtucket,代码行数:31,代码来源:delete_html.php

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

示例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>
开发者ID:guaykuru,项目名称:pawtucket,代码行数:31,代码来源:delete_html.php

示例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>
开发者ID:guaykuru,项目名称:pawtucket,代码行数:31,代码来源:delete_html.php

示例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>
开发者ID:guaykuru,项目名称:pawtucket,代码行数:31,代码来源:locale_delete_html.php

示例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>
开发者ID:guaykuru,项目名称:pawtucket,代码行数:31,代码来源:user_delete_html.php

示例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>
开发者ID:guaykuru,项目名称:pawtucket,代码行数:31,代码来源:elements_delete_html.php

示例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>
开发者ID:guaykuru,项目名称:pawtucket,代码行数:31,代码来源:group_delete_html.php

示例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>
开发者ID:guaykuru,项目名称:pawtucket,代码行数:31,代码来源:order_delete_html.php

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

示例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>
开发者ID:guaykuru,项目名称:pawtucket,代码行数:31,代码来源:role_delete_html.php


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