PluginProbe
CSS & JavaScript Toolbox / 8.0.2
CSS & JavaScript Toolbox v8.0.2
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
css-javascript-toolbox / views / blocks / block / tmpl / edit.html.tmpl

edit.html.tmpl in CSS & JavaScript Toolbox 8.0.2, at views/blocks/block/tmpl/edit.html.tmpl

29 lines 976 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 *
4 */
5
6 // Disallow direct access.
7 defined('ABSPATH') or die("Access denied");
8 ?>
9 <div class="cjt-toolbox edit-block-name">
10 <input type="text" class="block-name" value="" maxlength="50">
11 <div class="icons-group">
12 <a class="cjt-tb-link cancel" title="<?php echo cssJSToolbox::getText('Cancel editing code block title') ?>"></a>
13 <a class="cjt-tb-link save" title="<?php echo cssJSToolbox::getText('Save code block title') ?>"></a>
14 </div>
15 </div>
16 <?php echo $this->getTemplate('toolbox', array(), 'tmpl/templates') ?>
17 <input type="hidden" name="blocks[]" value="<?php echo $this->block->id ?>" />
18 <?php
19 // Hidden fields.
20 $fields = array('name', 'state', 'location');
21 foreach ($fields as $field) :
22 ?>
23 <input type="hidden" name="cjtoolbox[<?php echo $this->block->id; ?>][<?php echo $field ?>]" value="<?php echo $this->block->$field ?>" />
24 <?php endforeach; ?>
25 <?php
26 if (!$this->isClosed) {
27 echo $this->getTemplate('content');
28 }
29 ?>