ConstruccionesCNJ_Web/Source/gallery2/install/templates/Welcome.html
2007-10-31 12:30:19 +00:00

33 lines
1.7 KiB
HTML

<h1><?php print _("Welcome") ?></h1>
<p>
<?php printf(_("Getting Gallery 2 installed on your webserver requires %d steps. This installer will guide you through these steps and provide assistance along the way if additional steps are required to get your Gallery up and running. Once a step has been completed, you can go back and make changes at any time. Please read the %sInstaller Help File%s before proceeding."),
$templateData['totalSteps'],
'<a href="../README.html" target="_blank">', '</a>') ?>
</p>
<?php global $translator; if (isset($translator)): ?>
<form method="post" action="<?php generateUrl(sprintf('%s?step=%s', INDEX_PHP, $stepNumber)) ?>"><p>
<input type="hidden" name="step" value="<?php print $stepNumber ?>"/>
<?php print _("Select Language:") ?>
<select name="language" onchange="this.form.submit()" style="direction:ltr">
<?php
/* Don't use $language here as it conflicts with $_SESSION if register_globals is on */
foreach ($translator->getSupportedLanguages() as $lang => $list) {
foreach ($list as $country => $data) {
$code = $lang . '_' . $country;
print '<option value="' . $code . '"';
if ($code == $_SESSION['language']) print ' selected="selected"';
print '>' . $data['description'] . "</option>\n";
}
}
?>
</select>
<noscript><input type="submit" value="<?php print _("Go") ?>"/></noscript>
</p></form>
<?php endif; ?>
<div class="go">
<div class="btn btn-continue"><div><div><div><div><div><div><div><div>
<a href="<?php generateUrl(sprintf('%s?step=%s', INDEX_PHP, $stepNumber + 1)) ?>"><?php print _('Begin Installation&raquo;') ?></a>
</div></div></div></div></div></div></div></div></div>
</div>