PluginProbe ʕ •ᴥ•ʔ
VikAppointments Services Booking Calendar / 1.2.21
VikAppointments Services Booking Calendar v1.2.21
1.2.21 1.2.20 trunk 1.2.17 1.2.18 1.2.19
vikappointments / libraries / mvc / admin / views / overrides / tmpl / default_file.php
vikappointments / libraries / mvc / admin / views / overrides / tmpl Last commit date
default.php 6 days ago default_diff.php 6 days ago default_editor.php 6 days ago default_file.php 6 days ago default_folder.php 6 days ago default_guide.php 6 days ago
default_file.php
41 lines
1 <?php
2 /**
3 * @package VikAppointments
4 * @subpackage core
5 * @author E4J s.r.l.
6 * @copyright Copyright (C) 2024 E4J s.r.l. All Rights Reserved.
7 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
8 * @link https://vikwp.com
9 */
10
11 // No direct access
12 defined('ABSPATH') or die('No script kiddies please!');
13
14 $node = $this->currentNode;
15
16 if ($node['has'])
17 {
18 $class = ' has-override';
19
20 if (!$node['published'])
21 {
22 $class .= ' unpublished';
23 }
24 }
25 else
26 {
27 $class = '';
28 }
29
30 ?>
31
32 <a
33 href="javascript:void(0)"
34 class="file"
35 data-path="<?php echo base64_encode($node['path']); ?>"
36 data-override="<?php echo base64_encode($node['override']); ?>"
37 >
38 <i class="far fa-file-code<?php echo $class; ?>"></i>
39 <?php echo $node['name']; ?>
40 </a>
41