public static
renderCreateFolder
(mixed $sessName, mixed $sessId, mixed $currentFolder, mixed $viewBack, mixed $attribs = '')
public static function renderCreateFolder($sessName, $sessId, $currentFolder, $viewBack, $attribs = '')
{
if ($attribs != '') {
$attribs = '&' . $attribs;
}
$folderOutput = '<form action="' . Uri::base() . 'index.php?option=com_phocagallery&task=phocagalleryu.createfolder&' . $sessName . '=' . $sessId . '&' . Session::getFormToken() . '=1&viewback=' . $viewBack . '&' . 'folder=' . PhocaGalleryText::filterValue($currentFolder, 'folderpath') . $attribs . '" name="folderForm" id="folderForm" method="post">' . '<div class="ph-in"><div class="ph-head-form">' . Text::_('COM_PHOCAGALLERY_CREATE_FOLDER') . '</div>' . '<dl class="dl-horizontal ph-input">' . '<dt><input class="form-control" type="text" id="foldername" name="foldername" /></dt>' . '<input class="update-folder" type="hidden" name="folderbase" id="folderbase" value="' . PhocaGalleryText::filterValue($currentFolder, 'folderpath') . '" />' . '<dd><button class="btn btn-success" type="submit">' . Text::_('COM_PHOCAGALLERY_CREATE_FOLDER') . '</button></dd>' . '</dl></div>' . HTMLHelper::_('form.token') . '</form>';
return $folderOutput;
}