PluginProbe
VikBooking Hotel Booking Engine & PMS / 1.8.11
VikBooking Hotel Booking Engine & PMS v1.8.11
1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 All 37 releases
vikbooking / admin / views / managecategory / tmpl / default.php

default.php in VikBooking Hotel Booking Engine & PMS 1.8.11, at admin/views/managecategory/tmpl/default.php

68 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @package VikBooking
4 * @subpackage com_vikbooking
5 * @author Alessio Gaggii - e4j - Extensionsforjoomla.com
6 * @copyright Copyright (C) 2018 e4j - Extensionsforjoomla.com. All rights reserved.
7 * @license GNU General Public License version 2 or later; see LICENSE
8 * @link https://vikwp.com
9 */
10
11 defined('ABSPATH') or die('No script kiddies please!');
12
13 $row = $this->row;
14
15 $editor = JEditor::getInstance(JFactory::getApplication()->get('editor'));
16 ?>
17 <form name="adminForm" id="adminForm" action="index.php" method="post">
18 <div class="vbo-admin-container">
19 <div class="vbo-config-maintab-left">
20 <fieldset class="adminform">
21 <div class="vbo-params-wrap">
22 <legend class="adminlegend"><?php echo JText::translate('VBOADMINLEGENDDETAILS'); ?></legend>
23 <div class="vbo-params-container">
24 <div class="vbo-param-container">
25 <div class="vbo-param-label"><?php echo JText::translate('VBNEWCATONE'); ?></div>
26 <div class="vbo-param-setting"><input type="text" name="catname" value="<?php echo count($row) ? htmlspecialchars($row['name']) : ''; ?>" size="40"/></div>
27 </div>
28 <div class="vbo-param-container vbo-param-container-full">
29 <div class="vbo-param-label"><?php echo JText::translate('VBNEWCATDESCR'); ?></div>
30 <div class="vbo-param-setting">
31 <?php
32 if (interface_exists('Throwable')) {
33 /**
34 * With PHP >= 7 supporting throwable exceptions for Fatal Errors
35 * we try to avoid issues with third party plugins that make use
36 * of the WP native function get_current_screen().
37 *
38 * @wponly
39 */
40 try {
41 echo $editor->display( "descr", (count($row) ? $row['descr'] : ""), '100%', 300, 70, 20 );
42 } catch (Throwable $t) {
43 echo $t->getMessage() . ' in ' . $t->getFile() . ':' . $t->getLine() . '<br/>';
44 }
45 } else {
46 // we cannot catch Fatal Errors in PHP 5.x
47 echo $editor->display( "descr", (count($row) ? $row['descr'] : ""), '100%', 300, 70, 20 );
48 }
49 ?>
50 </div>
51 </div>
52 </div>
53 </div>
54 </fieldset>
55 </div>
56 </div>
57 <input type="hidden" name="task" value="">
58 <?php
59 if (count($row)) {
60 ?>
61 <input type="hidden" name="whereup" value="<?php echo $row['id']; ?>">
62 <?php
63 }
64 ?>
65 <input type="hidden" name="option" value="com_vikbooking">
66 <?php echo JHtml::fetch('form.token'); ?>
67 </form>
68