default.php
20.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
<?php
/**
* @package Joomla.Administrator
* @subpackage com_templates
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
// Include the component HTML helpers.
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
JHtml::_('bootstrap.tooltip');
$input = JFactory::getApplication()->input;
if ($this->type == 'image')
{
JHtml::_('script', 'system/jquery.Jcrop.min.js', array('version' => 'auto', 'relative' => true));
JHtml::_('stylesheet', 'system/jquery.Jcrop.min.css', array('version' => 'auto', 'relative' => true));
}
JFactory::getDocument()->addScriptDeclaration("
jQuery(document).ready(function($){
// Hide all the folder when the page loads
$('.folder ul, .component-folder ul').hide();
// Display the tree after loading
$('.directory-tree').removeClass('directory-tree');
// Show all the lists in the path of an open file
$('.show > ul').show();
// Stop the default action of anchor tag on a click event
$('.folder-url, .component-folder-url').click(function(event){
event.preventDefault();
});
// Prevent the click event from proliferating
$('.file, .component-file-url').bind('click',function(e){
e.stopPropagation();
});
// Toggle the child indented list on a click event
$('.folder, .component-folder').bind('click',function(e){
$(this).children('ul').toggle();
e.stopPropagation();
});
// New file tree
$('#fileModal .folder-url').bind('click',function(e){
$('.folder-url').removeClass('selected');
e.stopPropagation();
$('#fileModal input.address').val($(this).attr('data-id'));
$(this).addClass('selected');
});
// Folder manager tree
$('#folderModal .folder-url').bind('click',function(e){
$('.folder-url').removeClass('selected');
e.stopPropagation();
$('#folderModal input.address').val($(this).attr('data-id'));
$(this).addClass('selected');
});
});");
if ($this->type == 'image')
{
JFactory::getDocument()->addScriptDeclaration("
jQuery(document).ready(function() {
var jcrop_api;
// Configuration for image cropping
$('#image-crop').Jcrop({
onChange: showCoords,
onSelect: showCoords,
onRelease: clearCoords,
trueSize: " . $this->image['width'] . "," . $this->image['height'] . "]
},function(){
jcrop_api = this;
});
// Function for calculating the crop coordinates
function showCoords(c)
{
$('#x').val(c.x);
$('#y').val(c.y);
$('#w').val(c.w);
$('#h').val(c.h);
};
// Function for clearing the coordinates
function clearCoords()
{
$('#adminForm input').val('');
};
});");
}
JFactory::getDocument()->addStyleDeclaration('
/* Styles for modals */
.selected{
background: #08c;
color: #fff;
}
.selected:hover{
background: #08c !important;
color: #fff;
}
.modal-body .column {
width: 50%; float: left;
}
#deleteFolder{
margin: 0;
}
#image-crop{
max-width: 100% !important;
width: auto;
height: auto;
}
.directory-tree{
display: none;
}
.tree-holder{
overflow-x: auto;
}
');
if ($this->type == 'font')
{
JFactory::getDocument()->addStyleDeclaration(
"/* Styles for font preview */
@font-face
{
font-family: previewFont;
src: url('" . $this->font['address'] . "')
}
.font-preview{
font-family: previewFont !important;
}"
);
}
?>
<div class="width-60 fltlft">
<?php if ($this->type != 'home'): ?>
<div id="deleteModal" class="modal hide fade">
<fieldset>
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="<?php echo JText::_('JLIB_HTML_BEHAVIOR_CLOSE'); ?>">
<span aria-hidden="true">×</span>
</button>
<h3><?php echo JText::_('COM_TEMPLATES_ARE_YOU_SURE');?></h3>
</div>
<div class="modal-body">
<p><?php echo JText::sprintf('COM_TEMPLATES_MODAL_FILE_DELETE', $this->fileName); ?></p>
</div>
<div class="modal-footer">
<form method="post" action="">
<input type="hidden" name="option" value="com_templates" />
<input type="hidden" name="task" value="template.delete" />
<input type="hidden" name="id" value="<?php echo $input->getInt('id'); ?>" />
<input type="hidden" name="file" value="<?php echo $this->file; ?>" />
<?php echo JHtml::_('form.token'); ?>
<button type="button" class="btn" data-dismiss="modal"><?php echo JText::_('COM_TEMPLATES_TEMPLATE_CLOSE'); ?></button>
<button type="submit"><?php echo JText::_('COM_TEMPLATES_BUTTON_DELETE');?></button>
</form>
</div>
</fieldset>
</div>
<?php endif; ?>
<div id="folderModal" class="modal hide fade">
<fieldset>
<legend><?php echo JText::_('COM_TEMPLATES_MANAGE_FOLDERS');?></legend>
<div class="modal-body">
<div class="width-50 fltlft">
<form method="post" action="<?php echo JRoute::_('index.php?option=com_templates&task=template.createFolder&id=' . $input->getInt('id') . '&file=' . $this->file); ?>">
<fieldset>
<label><?php echo JText::_('COM_TEMPLATES_FOLDER_NAME');?></label>
<input type="text" name="name" required />
<input type="hidden" class="address" name="address" />
<input type="submit" value="<?php echo JText::_('COM_TEMPLATES_BUTTON_CREATE');?>" class="btn btn-primary" />
</fieldset>
</form>
</div>
<div class="width-50 fltlft">
<?php echo $this->loadTemplate('folders');?>
</div>
</div>
<div class="modal-footer">
<form id="deleteFolder" method="post" action="<?php echo JRoute::_('index.php?option=com_templates&task=template.deleteFolder&id=' . $input->getInt('id') . '&file=' . $this->file); ?>">
<fieldset>
<button type="button" class="btn" data-dismiss="modal"><?php echo JText::_('COM_TEMPLATES_TEMPLATE_CLOSE'); ?></button>
<input type="hidden" class="address" name="address" />
<input type="submit" value="<?php echo JText::_('COM_TEMPLATES_BUTTON_DELETE');?>" class="btn btn-danger" />
</fieldset>
</form>
</div>
</fieldset>
</div>
<div id="fileModal" class="modal hide fade">
<fieldset>
<legend><?php echo JText::_('COM_TEMPLATES_BUTTON_FILE');?></legend>
<div class="modal-body">
<div class="width-50 fltlft">
<form method="post" action="<?php echo JRoute::_('index.php?option=com_templates&task=template.createFile&id=' . $input->getInt('id') . '&file=' . $this->file); ?>">
<fieldset>
<label><?php echo JText::_('COM_TEMPLATES_NEW_FILE_TYPE');?></label>
<select name="type" required >
<option value="null">- <?php echo JText::_('COM_TEMPLATES_NEW_FILE_SELECT');?> -</option>
<option value="css">css</option>
<option value="php">php</option>
<option value="js">js</option>
<option value="xml">xml</option>
<option value="ini">ini</option>
<option value="less">less</option>
<option value="txt">txt</option>
</select>
<br />
<label><?php echo JText::_('COM_TEMPLATES_FILE_NAME');?></label>
<input type="text" name="name" required />
<input type="hidden" class="address" name="address" />
<input type="submit" value="<?php echo JText::_('COM_TEMPLATES_BUTTON_CREATE');?>" class="btn btn-primary" />
</fieldset>
</form>
<br />
<form method="post" action="<?php echo JRoute::_('index.php?option=com_templates&task=template.uploadFile&id=' . $input->getInt('id') . '&file=' . $this->file); ?>"
enctype="multipart/form-data" >
<fieldset>
<input type="hidden" class="address" name="address" />
<input type="file" name="files" required />
<input type="submit" value="<?php echo JText::_('COM_TEMPLATES_BUTTON_UPLOAD');?>" class="btn btn-primary" /><br>
<?php $cMax = $this->state->get('params')->get('upload_limit'); ?>
<?php $maxSize = JHtml::_('number.bytes', JUtility::getMaxUploadSize($cMax . 'MB')); ?>
<?php echo JText::sprintf('JGLOBAL_MAXIMUM_UPLOAD_SIZE_LIMIT', $maxSize); ?>
</fieldset>
</form>
<br />
<?php if ($this->type != 'home'): ?>
<form method="post" action="<?php echo JRoute::_('index.php?option=com_templates&task=template.copyFile&id=' . $input->getInt('id') . '&file=' . $this->file); ?>"
enctype="multipart/form-data" >
<fieldset>
<input type="hidden" class="address" name="address" />
<div class="control-group">
<label for="new_name" class="control-label hasTooltip" title="<?php echo JHtml::_('tooltipText', 'COM_TEMPLATES_FILE_NEW_NAME_DESC'); ?>"><?php echo JText::_('COM_TEMPLATES_FILE_NEW_NAME_LABEL')?></label>
<div class="controls">
<input type="text" id="new_name" name="new_name" required />
</div>
</div>
<input type="submit" value="<?php echo JText::_('COM_TEMPLATES_BUTTON_COPY_FILE');?>" class="btn btn-primary" />
</fieldset>
</form>
<?php endif; ?>
</div>
<div class="width-50 fltlft">
<?php echo $this->loadTemplate('folders');?>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn" data-dismiss="modal"><?php echo JText::_('COM_TEMPLATES_TEMPLATE_CLOSE'); ?></button>
</div>
</fieldset>
</div>
<?php if ($this->type != 'home'): ?>
<form action="<?php echo JRoute::_('index.php?option=com_templates&task=template.resizeImage&id=' . $input->getInt('id') . '&file=' . $this->file); ?>"
method="post" >
<div id="resizeModal" class="modal hide fade">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="<?php echo JText::_('JLIB_HTML_BEHAVIOR_CLOSE'); ?>">
<span aria-hidden="true">×</span>
</button>
<h3><?php echo JText::_('COM_TEMPLATES_RESIZE_IMAGE'); ?></h3>
</div>
<div class="modal-body">
<div id="template-manager-css" class="form-horizontal">
<div class="control-group">
<label for="height" class="control-label hasTooltip" title="<?php echo JHtml::_('tooltipText', 'COM_TEMPLATES_IMAGE_HEIGHT'); ?>"><?php echo JText::_('COM_TEMPLATES_IMAGE_HEIGHT')?></label>
<div class="controls">
<input class="input-xlarge" type="number" name="height" placeholder="<?php echo $this->image['height']; ?> px" required />
</div>
<br />
<label for="width" class="control-label hasTooltip" title="<?php echo JHtml::_('tooltipText', 'COM_TEMPLATES_IMAGE_WIDTH'); ?>"><?php echo JText::_('COM_TEMPLATES_IMAGE_WIDTH')?></label>
<div class="controls">
<input class="input-xlarge" type="number" name="width" placeholder="<?php echo $this->image['width']; ?> px" required />
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn" data-dismiss="modal"><?php echo JText::_('COM_TEMPLATES_TEMPLATE_CLOSE'); ?></button>
<button type="submit" class="btn btn-primary"><?php echo JText::_('COM_TEMPLATES_BUTTON_RESIZE'); ?></button>
</div>
</div>
<?php echo JHtml::_('form.token'); ?>
</form>
<?php endif; ?>
<?php if ($this->type == 'home'): ?>
<form action="<?php echo JRoute::_('index.php?option=com_templates&view=template&id=' . $input->getInt('id') . '&file=' . $this->file); ?>" method="post" name="adminForm" id="adminForm" class="form-horizontal">
<input type="hidden" name="task" value="" />
<?php echo JHtml::_('form.token'); ?>
<div id="home-box" style="text-align: justify;">
<h1><p><?php echo JText::_('COM_TEMPLATES_HOME_HEADING'); ?></p></h1>
<p><?php echo JText::_('COM_TEMPLATES_HOME_TEXT'); ?></p>
<p>
<a href="https://docs.joomla.org/Special:MyLanguage/J3.x:How_to_use_the_Template_Manager" target="_blank">
<?php echo JText::_('COM_TEMPLATES_HOME_BUTTON'); ?>
</a>
</p>
</div>
</form>
<?php endif; ?>
<?php if ($this->type == 'file'): ?>
<form action="<?php echo JRoute::_('index.php?option=com_templates&view=template&id=' . $input->getInt('id') . '&file=' . $this->file); ?>" method="post" name="adminForm" id="adminForm" class="form-horizontal">
<fieldset class="adminform">
<legend><?php echo JText::_('COM_TEMPLATES_SOURCE_CODE');?></legend>
<p class="label"><?php echo JText::_('COM_TEMPLATES_TOGGLE_FULL_SCREEN'); ?></p>
<div class="clr"></div>
<div class="editor-border">
<?php echo $this->form->getInput('source'); ?>
</div>
<input type="hidden" name="task" value="" />
<?php echo JHtml::_('form.token'); ?>
<?php echo $this->form->getInput('extension_id'); ?>
<?php echo $this->form->getInput('filename'); ?>
</fieldset>
</form>
<?php endif; ?>
<?php if ($this->type == 'image'): ?>
<div id="image-box"><img id="image-crop" src="<?php echo $this->image['address'] . '?' . time(); ?>" /></div>
<form action="<?php echo JRoute::_('index.php?option=com_templates&view=template&id=' . $input->getInt('id') . '&file=' . $this->file); ?>" method="post" name="adminForm" id="adminForm">
<input type ="hidden" id="x" name="x" />
<input type ="hidden" id="y" name="y" />
<input type ="hidden" id="h" name="h" />
<input type ="hidden" id="w" name="w" />
<input type="hidden" name="task" value="" />
<?php echo JHtml::_('form.token'); ?>
</form>
<?php endif; ?>
<?php if ($this->type == 'archive'): ?>
<legend><?php echo JText::_('COM_TEMPLATES_FILE_CONTENT_PREVIEW'); ?></legend>
<form action="<?php echo JRoute::_('index.php?option=com_templates&view=template&id=' . $input->getInt('id') . '&file=' . $this->file); ?>" method="post" name="adminForm" id="adminForm" class="form-horizontal">
<fieldset>
<ul class="nav nav-list">
<?php foreach ($this->archive as $file): ?>
<li>
<?php if (substr($file, -1) === DIRECTORY_SEPARATOR): ?>
<span class="icon-folder" aria-hidden="true"></span> <?php echo $file; ?>
<?php endif; ?>
<?php if (substr($file, -1) != DIRECTORY_SEPARATOR): ?>
<span class="icon-file" aria-hidden="true"></span> <?php echo $file; ?>
<?php endif; ?>
</li>
<?php endforeach; ?>
</ul>
</fieldset>
<input type="hidden" name="task" value="" />
<?php echo JHtml::_('form.token'); ?>
</form>
<?php endif; ?>
<?php if ($this->type == 'font'): ?>
<div class="font-preview">
<form action="<?php echo JRoute::_('index.php?option=com_templates&view=template&id=' . $input->getInt('id') . '&file=' . $this->file); ?>" method="post" name="adminForm" id="adminForm" class="form-horizontal">
<fieldset class="adminform">
<legend><?php echo JText::_('COM_TEMPLATES_SOURCE_CODE');?></legend>
<p class="lead">H1</p><h1>Quickly gaze at Joomla! views from HTML, CSS, JavaScript and XML </h1>
<p class="lead">H2</p><h2>Quickly gaze at Joomla! views from HTML, CSS, JavaScript and XML </h2>
<p class="lead">H3</p><h3>Quickly gaze at Joomla! views from HTML, CSS, JavaScript and XML </h3>
<p class="lead">H4</p><h4>Quickly gaze at Joomla! views from HTML, CSS, JavaScript and XML </h4>
<p class="lead">H5</p><h5>Quickly gaze at Joomla! views from HTML, CSS, JavaScript and XML </h5>
<p class="lead">H6</p> <h6>Quickly gaze at Joomla! views from HTML, CSS, JavaScript and XML </h6>
<p class="lead">Bold</p><b>Quickly gaze at Joomla! views from HTML, CSS, JavaScript and XML </b>
<p class="lead">Italics</p><i>Quickly gaze at Joomla! views from HTML, CSS, JavaScript and XML </i>
<p class="lead">Unordered List</p>
<ul>
<li>Item</li>
<li>Item</li>
<li>Item<br />
<ul>
<li>Item</li>
<li>Item</li>
<li>Item<br />
<ul>
<li>Item</li>
<li>Item</li>
<li>Item</li>
</ul>
</li>
</ul>
</li>
</ul>
<p class="lead">Ordered List</p>
<ol>
<li>Item</li>
<li>Item</li>
<li>Item<br />
<ul>
<li>Item</li>
<li>Item</li>
<li>Item<br />
<ul>
<li>Item</li>
<li>Item</li>
<li>Item</li>
</ul>
</li>
</ul>
</li>
</ol>
<input type="hidden" name="task" value="" />
<?php echo JHtml::_('form.token'); ?>
</fieldset>
</form>
</div>
<?php endif; ?>
<fieldset class="adminform">
<legend><?php echo JText::_('COM_TEMPLATES_TEMPLATE_DESCRIPTION');?></legend>
<?php echo $this->loadTemplate('description');?>
</fieldset>
<div class="clr"></div>
</div>
<div class="width-40 fltrt">
<?php if ($this->type != 'home'): ?>
<fieldset class="adminform">
<legend><?php echo JText::_('COM_TEMPLATES_FILE_INFO');?></legend>
<?php if ($this->type == 'file'): ?>
<p><?php echo JText::sprintf('COM_TEMPLATES_TEMPLATE_FILENAME', $this->source->filename, $this->template->element); ?></p>
<?php endif; ?>
<?php if ($this->type == 'image'): ?>
<p><?php echo JText::sprintf('COM_TEMPLATES_TEMPLATE_FILENAME', $this->image['path'], $this->template->element); ?></p>
<?php endif; ?>
<?php if ($this->type == 'font'): ?>
<p><?php echo JText::sprintf('COM_TEMPLATES_TEMPLATE_FILENAME', $this->font['rel_path'], $this->template->element); ?></p>
<?php endif; ?>
</fieldset>
<?php endif; ?>
<fieldset class="adminform">
<legend><?php echo JText::_('COM_TEMPLATES_TEMPLATE_FILES');?></legend>
<?php echo $this->loadTemplate('tree');?>
</fieldset>
<?php echo JHtml::_('sliders.start', 'content-sliders', array('useCookie' => 1)); ?>
<?php echo JHtml::_('sliders.panel', JText::_('COM_TEMPLATES_TEMPLATE_COPY'), 'template-copy'); ?>
<form action="<?php echo JRoute::_('index.php?option=com_templates&task=template.copy&id=' . $input->getInt('id') . '&file=' . $this->file); ?>"
method="post" name="adminForm" id="adminForm">
<fieldset class="panelform">
<label id="new_name" class="hasTooltip" title="<?php echo JHtml::_('tooltipText', 'COM_TEMPLATES_TEMPLATE_NEW_NAME_DESC'); ?>"><?php echo JText::_('COM_TEMPLATES_TEMPLATE_NEW_NAME_LABEL')?></label>
<input type="text" id="new_name" name="new_name" />
<button type="submit"><?php echo JText::_('COM_TEMPLATES_TEMPLATE_COPY'); ?></button>
</fieldset>
<?php echo JHtml::_('form.token'); ?>
</form>
<?php if ($this->type != 'home'): ?>
<?php echo JHtml::_('sliders.panel', JText::_('COM_TEMPLATES_BUTTON_RENAME'), 'file-rename'); ?>
<form action="<?php echo JRoute::_('index.php?option=com_templates&task=template.renameFile&id=' . $input->getInt('id') . '&file=' . $this->file); ?>"
method="post" name="adminForm" id="adminForm">
<fieldset class="panelform">
<label id="new_name" class="hasTooltip" title="<?php echo JHtml::_('tooltipText', JText::_('COM_TEMPLATES_NEW_FILE_NAME')); ?>"><?php echo JText::_('COM_TEMPLATES_NEW_FILE_NAME')?></label>
<input type="text" name="new_name" />
<button type="submit"><?php echo JText::_('COM_TEMPLATES_BUTTON_RENAME'); ?></button>
</fieldset>
<?php echo JHtml::_('form.token'); ?>
</form>
<?php endif; ?>
<?php echo JHtml::_('sliders.panel', JText::_('COM_TEMPLATES_OVERRIDES_MODULES'), 'override-module'); ?>
<fieldset class="panelform">
<ul class="adminformlist">
<?php foreach ($this->overridesList['modules'] as $module): ?>
<li>
<a href="<?php echo JRoute::_('index.php?option=com_templates&view=template&task=template.overrides&folder=' . $module->path . '&id=' . $input->getInt('id') . '&file=' . $this->file); ?>">
<span class="icon-copy"></span> <?php echo $module->name; ?>
</a>
</li>
<?php endforeach; ?>
</ul>
</fieldset>
<?php echo JHtml::_('sliders.panel', JText::_('COM_TEMPLATES_OVERRIDES_COMPONENTS'), 'override-component'); ?>
<fieldset class="panelform">
<ul class="adminformlist">
<?php foreach ($this->overridesList['components'] as $key => $value): ?>
<li class="component-folder">
<a href="#" class="component-folder-url">
<span class="icon-folder"></span> <?php echo $key; ?>
</a>
<ul class="adminformList">
<?php foreach ($value as $view): ?>
<li>
<a class="component-file-url" href="<?php echo JRoute::_('index.php?option=com_templates&view=template&task=template.overrides&folder=' . $view->path . '&id=' . $input->getInt('id') . '&file=' . $this->file); ?>">
<span class="icon-copy"></span> <?php echo $view->name; ?>
</a>
</li>
<?php endforeach; ?>
</ul>
</li>
<?php endforeach; ?>
</ul>
</fieldset>
<?php echo JHtml::_('sliders.panel', JText::_('COM_TEMPLATES_OVERRIDES_LAYOUTS'), 'override-layout'); ?>
<fieldset class="panelform">
<ul class="adminformlist">
<?php foreach ($this->overridesList['layouts'] as $layout): ?>
<li>
<a href="<?php echo JRoute::_('index.php?option=com_templates&view=template&task=template.overrides&folder=' . $layout->path . '&id=' . $input->getInt('id') . '&file=' . $this->file); ?>">
<span class="icon-copy"></span> <?php echo $layout->name; ?>
</a>
</li>
<?php endforeach; ?>
</ul>
</fieldset>
<?php echo JHtml::_('sliders.end'); ?>
</div>