public static
renderProcessPage
(mixed $id, mixed $refreshUrl, mixed $countInfo = '', mixed $import = 0)
/*
* Used while pagination
*/
public static function renderProcessPage($id, $refreshUrl, $countInfo = '', $import = 0)
{
if ($import == 0) {
$stopText = Text::_('COM_PHOCAGALLERY_STOP_UPLOADING_FACEBOOK_IMAGES');
$dataText = Text::_('COM_PHOCAGALLERY_FB_UPLOADING_DATA');
} else {
$stopText = Text::_('COM_PHOCAGALLERY_STOP_IMPORTING_FACEBOOK_IMAGES');
$dataText = Text::_('COM_PHOCAGALLERY_FB_IMPORTING_DATA');
}
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' . "\n";
echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-en" lang="en-en" dir="ltr" >' . "\n";
echo '<head>' . "\n";
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />' . "\n\n";
echo '<title>' . $dataText . '</title>' . "\n";
echo '<link rel="stylesheet" href="' . Uri::root(true) . '/media/com_phocagallery/css/administrator/phocagallery.css" type="text/css" />';
echo '</head>' . "\n";
echo '<body>' . "\n";
echo '<div style="text-align:right;padding:10px"><a style="font-family: sans-serif, Arial;font-weight:bold;color:#fc0000;font-size:14px;" href="/apis/component/phocagallery/?task=phocagalleryc.edit&id='%20.%20(int)%20$id%20.%20'">' . $stopText . '</a></div>';
echo '<div id="loading-ext-img-processp" style="font-family: sans-serif, Arial;font-weight:normal;color:#666;font-size:14px;padding:10px"><div class="loading"><div class="ph-lds-ellipsis"><div></div><div></div><div></div><div></div></div><div> </div><div><center>' . $dataText . '</center></div>';
echo $countInfo;
echo '</div></div>';
echo '<meta http-equiv="refresh" content="2;url=' . $refreshUrl . '" />';
echo '</body></html>';
exit;
}