文件操作 - progress-bar.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/give/src/Views/Form/Templates/Sequoia/sections/progress-bar.php
编辑文件内容
<?php /** * @since 4.16.3 Escaped the goal color when rendering the progress bar. * * @var int $formId */ if ($form->has_goal()) : ?> <?php $color = give_get_meta($formId, '_give_goal_color', true); $goalStats = give_goal_progress_stats($formId); $style = "width:{$goalStats['progress']}%;"; if ( ! empty($color)) { $style .= ";background: linear-gradient(180deg, {$color} 0%, {$color} 100%), linear-gradient(180deg, #fff 0%, #ccc 100%); background-blend-mode: multiply;"; } ?> <div class="progress-bar"> <div class="give-progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="<?php echo $goalStats['progress']; ?>"> <span style="<?php echo esc_attr($style); ?>"></span> </div><!-- /.give-progress-bar --> </div> <?php endif; ?>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件