3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
15 * @author Andrew Hunt, AGH Strategies
21 * Display a copy icon that copies the first row's values down.
24 * - name: the field name
25 * - title: the field title
31 function smarty_function_copyIcon($params, &$smarty) {
32 $text = ts('Click to copy %1 from row one to all rows.', [1 => $params['title']]);
34 <i class="crm-i fa-clone action-icon" fname="{$params['name']}" title="$text"><span class="sr-only">$text</span></i>