<script> jQuery(\'#modal-symlink-'.$i.'\').on(\'show\', function () { document.getElementById(\'modal-symlink-container-'.$i.'\').innerHTML = \'<div class="modal-body"><iframe class="iframe" src="'.JUri::root().'administrator/index.php?option=com_joomdoc&view=documents&layout=modal&tmpl=component&addSymLink=source&symLinkSource='.$this->escape($access->relativePath).'" height="480" width="640"></iframe></div>\'; }); </script>';*/ echo '</div>'; $i++; } } echo '<input type="hidden" name="task" value="" />'; echo '<input type="hidden" name="boxchecked" value="" />'; echo '<input type="hidden" name="filter_order" value="' . $listOrder . '" />'; echo '<input type="hidden" name="filter_order_Dir" value="' . $listDirn . '" />'; echo '<input type="hidden" name="renamePath" value="" />'; echo '<input type="hidden" name="newName" value="" />'; echo '<input type="hidden" name="doccreate" value="0" />'; echo JHtml::_('form.token'); echo '</form>'; echo '</div>'; //css fix. if error messages container is before component code (see isis template), left .span2 have margin-left 15, because it is not first-child //so move mesages container inside right span10 if (JOOMDOC_ISJ3) { echo '<script type="text/javascript">if ($("system-message-container")) $("system-message-container").inject($("joomdoc"), "top")</script>'; } JoomDOCHelper::jsArray('joomDOCFiles', $files); JoomDOCHelper::jsArray('joomDOCFolders', $folders); if ($this->access->canWebDav) { JoomDOCWebDav::add(); }