dolibarr 24.0.0-beta
card-edit-actions-buttons.tpl.php
1<!-- file card-edit-actions-buttons.tpl.php -->
2<?php
3/* Copyright (C) 2025 Open-Dsi <support@open-dsi.fr>
4 */
5// Protection to avoid direct call of template
6if (empty($context) || !is_object($context)) {
7 print "Error, template page can't be called as URL";
8 exit(1);
9}
10'@phan-var-force Context $context';
11'@phan-var-force AbstractCardController $this';
12
21$formCard = $this->formCard;
22
23?>
24
25<div class="grid">
26 <div><input type="submit" name="save" role="button" value="<?php print dolPrintHTMLForAttribute($langs->trans('Save')) ?>" /></div>
27 <div><input type="submit" name="cancel" role="button" value="<?php print dolPrintHTMLForAttribute($langs->trans('Cancel')) ?>" /></div>
28</div>
$context
@method int call_trigger(string $triggerName, ?User $user)
Definition logout.php:42
if(preg_match('/(crypted|dolcrypt):/i', $dolibarr_main_db_pass)||!empty($dolibarr_main_db_encrypted_pass)) $conf db type
'integer', 'integer:ObjectClass:PathToClass[:AddCreateButtonOrNot[:Filter[:Sortfield]]]',...
Definition repair.php:130
$conf db name
Only used if Module[ID]Name translation string is not found.
Definition repair.php:133