Changeset 9780 for extensions/netinstall/trunk/piwigo-netinstall.php
- Timestamp:
- Mar 19, 2011, 9:46:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/netinstall/trunk/piwigo-netinstall.php
r8381 r9780 33 33 ); 34 34 35 $url_subdomain_for_language = array( 36 'fr_FR' => 'fr', 37 'es_ES' => 'es', 38 'it_IT' => 'it', 39 'de_DE' => 'de', 40 'pl_PL' => 'pl', 41 'zh_CN' => 'cn', 42 'hu_HU' => 'hu', 43 'ru_RU' => 'ru', 44 ); 45 35 46 // +-----------------------------------------------------------------------+ 36 47 … … 229 240 '</head>'."\n". 230 241 '<body>'."\n". 231 '<div id="headbranch"></div>'."\n".232 242 '<div id="theHeader"></div>'."\n". 233 243 '<div id="content">'."\n". … … 237 247 function closePage() 238 248 { 249 global $url_subdomain_for_language; 250 251 $prefix = ''; 252 if (isset($url_subdomain_for_language[DC_LOADER_LANG])) 253 { 254 $prefix = $url_subdomain_for_language[DC_LOADER_LANG].'.'; 255 } 256 239 257 echo 240 '</div>'."\n".241 '<div id="footer">'."\n".242 l10n('This loader was initialy coded for <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Thanks!')."\n".258 '<div style="text-align:center">'. 259 sprintf(l10n('Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'), 'http://'.$prefix.'piwigo.org/forum'). 260 "</div>\n". 243 261 '</div>'."\n". 244 262 '</body>'."\n". … … 334 352 } 335 353 336 echo 354 echo 337 355 '<div class="msg '.$level.'">'."\n". 338 356 '<h3>'.$title.'</h3>'."\n". … … 377 395 { 378 396 openPage(); 379 echo '< h3>'.l10n('Welcome to NetInstall!').'</h3>'."\n";397 echo '<fieldset><legend>'.l10n('Welcome to NetInstall!').'</legend>'."\n"; 380 398 381 399 // Show available languages … … 420 438 ); 421 439 } 440 echo '</fieldset>'; 422 441 closePage(); 423 442 break; … … 511 530 $redir = preg_replace('#/+#','/',str_replace('\\', '/', dirname($_SERVER['SCRIPT_NAME'])).'/'.$dest.'/install.php'); 512 531 513 $text = '< h3>'.l10n('Congratulations!').'</h3>'532 $text = '<fieldset><legend>'.l10n('Congratulations!').'</legend>' 514 533 .'<p>'.l10n('Everything went fine. You are now ready to start the installation procedure.').'</p>' 515 534 .'<form action="'.$redir.'" method="get"><p class="button">' … … 517 536 . '<input type="submit" value="'.l10n('Install Piwigo now').'" />' 518 537 . '</p></form>'; 538 539 $text.= '</fieldset>'; 519 540 } 520 541 }
Note: See TracChangeset
for help on using the changeset viewer.