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 / html / managetos / modal.php
vikappointments / libraries / html / managetos Last commit date
modal.php 3 days ago script.php 3 days ago
modal.php
47 lines
1 <?php
2 /**
3 * @package VikAppointments - Libraries
4 * @subpackage html.managetos
5 * @author E4J s.r.l.
6 * @copyright Copyright (C) 2021 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 $field = $displayData['field'];
15
16 $vik = VAPApplication::getInstance();
17
18 ?>
19
20 <div class="inspector-form" id="inspector-option-form">
21
22 <div class="inspector-fieldset">
23
24 <form id="tos-form-<?php echo (int) $field['id']; ?>">
25
26 <!-- TOS NAME - Textarea -->
27
28 <?php echo $vik->openControl(JText::translate('VAPMANAGECUSTOMF1')); ?>
29 <textarea name="name" style="resize: vertical;height: 80px;"><?php echo JText::translate($field['name']); ?></textarea>
30 <?php echo $vik->closeControl(); ?>
31
32 <!-- TOS LINK - Textarea -->
33
34 <?php echo $vik->openControl(JText::translate('VAPMANAGECUSTOMF5')); ?>
35 <textarea name="poplink" style="resize: vertical;height: 80px;"><?php echo JText::translate($field['poplink']); ?></textarea>
36 <?php echo $vik->closeControl(); ?>
37
38 <!-- TOS ID - Hidden -->
39
40 <input type="hidden" name="id" value="<?php echo (int) $field['id']; ?>" />
41
42 </form>
43
44 </div>
45
46 </div>
47