', $txt['package_install_readme'], ' |
', $context['package_readme'], ' |
', $context['uninstalling'] ? $txt['smf198b'] : $txt['package37'], ' |
', $txt['package_installed_extract'], ' |
', $txt['package_installed_redirecting'], ' |
';
// If we are going to redirect we have a slightly different agenda.
if (!empty($context['redirect_url']))
{
echo '
', $context['redirect_text'], ' |
', $txt['package_installed_redirect_go_now'], ' | ', $txt['package_installed_redirect_cancel'], ''; } elseif ($context['uninstalling']) echo ' ', $txt['package_uninstall_done']; elseif ($context['install_finished']) { if ($context['extract_type'] == 'avatar') echo ' ', $txt['package39']; elseif ($context['extract_type'] == 'language') echo ' ', $txt['package41']; else echo ' ', $txt['package_installed_done']; } else echo ' ', $txt['package45']; echo ' |
', $txt['smf180'], ' |
', $txt['smf181'], ' ', $context['filename'], ': |
|
', $txt['package_examine_file'], ' |
', $txt['package_file_contents'], ' ', $context['filename'], ': |
', $context['filedata'], '[ ', $txt['package14'], ' ] |
' . $txt['package6'] . ' | |||||||||
';
if (empty($context['installed_mods']))
{
echo '
[ ', $txt['smf198d'], ' ]'; } echo ' |
', $txt['packages_latest'], ' |
', $txt['packages_latest_fetch'], ' |
', $txt['package3'], ' | ||||||||
', $txt['package7'], ' | ||||||||
|
||||||||
', $txt['package8'], ' | ||||||||
|
||||||||
' . $txt['package9'] . ' | ||||||||
|
||||||||
' . $txt['package10'] . ' | ||||||||
|
||||||||
', $txt['smf189'], ' |
', $txt['package_installed_key'], ' ', $txt['package_installed_current'], ' ', $txt['package_installed_old'], ' |
', $txt['package5'], ' | |||
', $txt['package_ftp_necessary'], ' | |||
', $txt['package_ftp_why_download'];
if (!empty($context['package_ftp']['error']))
echo '
', $context['package_ftp']['error'], '
|
|||
' . $txt['smf183'] . ' | |||
|
|||
' . $txt['smf185'] . ' | |||
' . $txt['package_upload_title'] . ' |
' . $context['page_title'] . ' |
', $context['confirm_message'], ' [ ', $txt['package_confirm_proceed'], ' ] [ ', $txt['package_confirm_go_back'], ' ] |
' . $context['page_title'] . ' |
';
// No packages, as yet.
if (empty($context['package_list']))
echo '
'; // A heading. elseif ($package['is_heading']) echo ' ', $package['name'], ' '; // Textual message. Could be empty just for a blank line... elseif ($package['is_text']) echo ' ', $package['name'], ' '; // This is supposed to be a rule.. elseif ($package['is_line']) echo ' '; // A remote link. elseif ($package['is_remote']) echo ' ', $package['link'], ' '; // Otherwise, it's a package. else { // 1. Some mod [ Download ]. echo ' ', $package['count'], '. ', $package['can_install'] ? '' . $package['name'] . ' [ ' . $txt['smf190'] . ' ]': $package['name']; // Mark as installed and current? if ($package['is_installed'] && !$package['is_newer']) echo ''; echo ' ';
// Show the mod type?
if ($package['type'] != '')
echo '
', $txt['package24'], ': ', $func['ucwords']($func['strtolower']($package['type'])), '
'; // Show the version number? if ($package['version'] != '') echo ' ', $txt['pacman3'], ': ', $package['version'], ' '; // How 'bout the author? if (!empty($package['author']) && $package['author']['name'] != '' && isset($package['author']['link'])) echo ' ', $txt['pacman4'], ': ', $package['author']['link'], ' '; // The homepage.... if ($package['author']['website']['link'] != '') echo ' ', $txt['pacman6'], ': ', $package['author']['website']['link'], ' '; // Desciption: bleh bleh! // Location of file: http://someplace/. echo ' ', $txt['pacman10'], ': ', $package['href'], ' ', $txt['pacman9'], ': ', $package['description'], '
'; } } echo ' '; } echo ' |
', $txt['package_installed_key'], ' ', $txt['package_installed_current'], ' ', $txt['package_installed_old'], ' |
' . $context['page_title'] . ' | ||
' . (!isset($context['package_server']) ? $txt['package_uploaded_successfully'] : $txt['smf193']) . '
[ ' . $txt[193] . ' ] |