Changeset 9780


Ignore:
Timestamp:
Mar 19, 2011, 9:46:37 PM (13 years ago)
Author:
plg
Message:

new color scheme (clear background) and new logo for NetInstall, just like install.php in Piwigo 2.2

Location:
extensions/netinstall/trunk
Files:
3 added
4 deleted
14 edited

Legend:

Unmodified
Added
Removed
  • extensions/netinstall/trunk/language/cs_CZ/loader.lang.txt

    r7319 r9780  
    6161
    6262$lang['This loader was initialy coded for <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Thanks!'] = 'This loader was initialy coded for <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Thanks!';
     63
     64$lang['Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'] = 'Potřebujete pomoc ? Zeptejte se na <a href="%s">Piwigo fóru</a>.';
  • extensions/netinstall/trunk/language/de_DE/loader.lang.txt

    r4788 r9780  
    6060
    6161$lang['This loader was initialy coded for <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Thanks!'] = 'Diese Loader wurde zum ersten mal kodiert für <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Danke!';
     62
     63$lang['Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'] = 'Brauchen Sie Hilfe? Stellen Sie Ihre Frage auf der <a href="%s"> Forum Piwigo </ a>.';
  • extensions/netinstall/trunk/language/en_UK/loader.lang.txt

    r2869 r9780  
    6060
    6161$lang['This loader was initialy coded for <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Thanks!'] = 'This loader was initialy coded for <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Thanks!';
     62
     63$lang['Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'] = "Need help? Ask your question on <a href=\"%s\">Piwigo message board</a>.";
  • extensions/netinstall/trunk/language/es_ES/loader.lang.txt

    r6031 r9780  
    6060
    6161$lang['This loader was initialy coded for <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Thanks!'] = 'Este instalador inicialmente ha sido codificado para <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. ¡Gracias!';
     62
     63$lang['Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'] = '¿ Necesidad de ayuda? Plantee su pregunta sobre él <a href="%s">foro de Piwigo</a>.';
  • extensions/netinstall/trunk/language/fr_FR/loader.lang.txt

    r2870 r9780  
    6060
    6161$lang['This loader was initialy coded for <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Thanks!'] = 'Cet installeur a initialement été codé pour <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Merci!';
     62
     63$lang['Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'] = "Besoin d'aide ? Posez votre question sur le <a href=\"%s\">forum de Piwigo</a>.";
  • extensions/netinstall/trunk/language/hu_HU/loader.lang.txt

    r5669 r9780  
    6060
    6161$lang['This loader was initialy coded for <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Thanks!'] = 'Ez a betöltő eredetileg a <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a> számára lett kódolva. Köszönjük!';
     62
     63$lang['Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'] = 'Segítségre van szüksége ? Kérdéseit itt teheti fel: <a href="%s">Piwigo üzenőfal</a>.';
  • extensions/netinstall/trunk/language/it_IT/loader.lang.txt

    r5280 r9780  
    6060
    6161$lang['This loader was initialy coded for <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Thanks!'] = 'Questo installatore automatico è stato inizialmente creato per <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Grazie!';
     62
     63$lang['Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'] = 'Avete bisogno di aiuto? Visitate il <a href=\"%s\">forum di Piwigo</a>.';
  • extensions/netinstall/trunk/language/lv_LV/loader.lang.txt

    r8381 r9780  
    6060
    6161$lang['This loader was initialy coded for <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Thanks!'] = 'Šī platforma sākotnēji bija kodēta priekš <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Paldies!';
     62
     63$lang['Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'] = "Vajag palidzibu? Uzdodiet savu jautajumu <a href=\"%s\">Piwigo sludinajumos</a>.";
  • extensions/netinstall/trunk/language/pl_PL/loader.lang.txt

    r3151 r9780  
    6060
    6161$lang['This loader was initialy coded for <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Thanks!'] = 'Oryginalnie instalator został przygotowany dla <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Dziekujemy!';
     62
     63$lang['Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'] = 'Potrzebujesz pomocy ? Zadaj pytanie na <a href="%s">Forum Piwigo</a>.';
  • extensions/netinstall/trunk/language/ru_RU/loader.lang.txt

    r7427 r9780  
    6060
    6161$lang['This loader was initialy coded for <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Thanks!'] = 'Этот загрузчик был разработан на основе <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Спасибо!';
     62
     63$lang['Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'] = 'Нужна помощь? Задайте свои вопросы на <a href="%s">Форуме Piwigo</a>.';
  • extensions/netinstall/trunk/language/tr_TR/loader.lang.txt

    r7389 r9780  
    6060
    6161$lang['This loader was initialy coded for Dotclear. Thanks!'] = 'Bu yükleyicinin ilk geliştiricisi Dotclear. Teşekkürler!';
     62
     63$lang['Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'] = 'Yardım ihtiyacınız var? Sorularınızı <a href="%s">Piwigo forumda sorabilirsiniz</a>.';
  • extensions/netinstall/trunk/language/zh_CN/loader.lang.txt

    r3422 r9780  
    5959
    6060$lang['This loader was initialy coded for <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>. Thanks!'] = '这种安装方式的最初原码是在 <a href="http://www.dotclear.net" title="Dotclear">Dotclear</a>。 感谢!';
     61
     62$lang['Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'] = '需要帮助? 请到<a href="%s">Piwigo论坛</a>提出你的问题.';
  • extensions/netinstall/trunk/loader.css

    r3033 r9780  
    1616
    1717body {
    18   background: #111111 url(images/bottom-left-bg.jpg) no-repeat fixed left bottom;
    19   color: #666666;
     18  background-color: #F9F9F9;
     19  color: #777777;
    2020  margin: 0;
    2121  padding: 0;
    2222  min-width: 60em;
    23   font-family: Univers,Helvetica,Optima,"Bitstream Vera Sans",sans-serif;
    24   font-size: 0.8em;
    25   text-align: center;
    26 }
    27 
    28 #headbranch {
    29   background: transparent url(images/top-left-bg.jpg) no-repeat scroll left top;
    30   height: 240px;
    31   left: 0;
    32   margin: 0;
    33   padding: 0;
    34   position: absolute;
    35   top: 0;
    36   width: 233px;
    37   z-index: -1;
     23  font-family: "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;
     24  font-size: 12px;
    3825}
    3926
    4027#theHeader {
    41   background: transparent url(images/piwigo_logo_sombre_214x100.png) no-repeat scroll 245px top;
    42   margin: 0;
    43   min-height: 105px;
     28  background: url("images/piwigo_logo_big.png") no-repeat scroll center 20px transparent;
     29  display: block;
     30  height: 100px;
     31}
     32
     33#content {
     34  margin: auto;
     35  margin-top: 9px;
     36  width: 800px;
    4437  padding: 0;
    4538}
    4639
    47 #content {
    48   background: #222222 url(images/fillet.png) repeat-x scroll left top;
    49   margin: auto;
    50   margin-top: 9px;
    51   text-align: left;
    52   width: 800px;
    53   padding: 25px;
    54   z-index: 99;
    55   color: #666666;
     40fieldset {
     41  margin-top:20px;
     42  background-color:#f1f1f1;
     43  border:2px solid #dddddd;
     44}
     45
     46legend {
     47    font-weight: bold;
     48    letter-spacing: 2px;
    5649}
    5750
     
    6356}
    6457
    65 h2 {
    66   color: #666666;
    67   font-weight: bold;
    68   letter-spacing: 2px;
    69   text-align: right;
    70   text-transform: none;
    71   width: 54%;
    72   display: block;
    73   font-size: 28px;
    74   height: 104px;
    75   margin: 0 20px;
    76   overflow: hidden;
    77   padding: 0;
    78   position: absolute;
    79   right: 0;
    80   top: 0;
     58#content h2 {
     59  display:block;
     60  font-size:20px;
     61  text-align:center;
     62  /* margin-top:5px; */
    8163}
    8264
     
    8466  font-size: 15px;
    8567  font-weight: bold;
     68  margin:0;
    8669}
    8770
    88 select, input {
    89   border: 1px solid #666666;
    90   background-color: #444444;
    91   color: #999999;
    92   font-size: 1em;
    93   margin: 0;
     71input[type="submit"], input[type="button"], a.bigButton {
     72  font-size:14px;
     73  font-weight:bold;
     74  letter-spacing:2px;
     75  border:none;
     76  background-color:#666666;
     77  color:#fff;
     78  padding:5px;
     79  -moz-border-radius:5px;
    9480}
    9581
    96 input[type="submit"] {
    97   text-align: center;
    98   background-color: #222222;
    99   border-color: #FF3363;
    100   color: #FF3363;
     82input[type="submit"]:hover, input[type="button"]:hover, a.bigButton:hover {
     83  background-color:#ff7700;
     84  color:white;
    10185}
    10286
    103 input[type="submit"]:hover {
    104   cursor: pointer;
    105   color: #999;
    106   border-color: #666;
     87input[type="text"], input[type="password"], select {
     88  background-color:#ddd;
     89  border:2px solid #ccc;
     90  -moz-border-radius:5px;
     91  padding:2px;
    10792}
    10893
    109 label {
    110   color: #ff3363
     94input[type="text"]:focus, input[type="password"]:focus, select:focus {
     95  background-color:#fff;
     96  border:2px solid #ff7700;
    11197}
    11298
     
    128114
    129115.msg {
    130   padding: 3px 35px;
     116  margin:20px 20px 10px 20px;
     117  padding: 5px 10px 5px 60px;
     118  background-position:5px 5px;
     119  background-repeat:no-repeat;
     120  -moz-border-radius:5px;
     121  -webkit-border-radius:5px;
     122  -border-radius:5px;
    131123}
    132124
    133125.notice {
    134   color: #f70;
     126  color: #ee8800;
     127  background-image:url("images/notice.png");
     128  background-color:#ffdd99;
    135129}
    136130
    137131.warning {
    138   color: #f30;
     132  color: #ff2222;
     133  background-image:url("images/warning.png");
     134  background-color:#ffd5dc;
    139135}
  • extensions/netinstall/trunk/piwigo-netinstall.php

    r8381 r9780  
    3333);
    3434
     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
    3546// +-----------------------------------------------------------------------+
    3647
     
    229240        '</head>'."\n".
    230241        '<body>'."\n".
    231         '<div id="headbranch"></div>'."\n".
    232242        '<div id="theHeader"></div>'."\n".
    233243        '<div id="content">'."\n".
     
    237247function closePage()
    238248{
     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 
    239257        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".
    243261        '</div>'."\n".
    244262        '</body>'."\n".
     
    334352        }
    335353
    336         echo
     354        echo 
    337355        '<div class="msg '.$level.'">'."\n".
    338356        '<h3>'.$title.'</h3>'."\n".
     
    377395        {
    378396                openPage();
    379                 echo '<h3>'.l10n('Welcome to NetInstall!').'</h3>'."\n";
     397                echo '<fieldset><legend>'.l10n('Welcome to NetInstall!').'</legend>'."\n";
    380398
    381399                // Show available languages
     
    420438                        );
    421439                }
     440                echo '</fieldset>';
    422441                closePage();
    423442                break;
     
    511530                                        $redir = preg_replace('#/+#','/',str_replace('\\', '/', dirname($_SERVER['SCRIPT_NAME'])).'/'.$dest.'/install.php');
    512531
    513                                         $text = '<h3>'.l10n('Congratulations!').'</h3>'
     532                                        $text = '<fieldset><legend>'.l10n('Congratulations!').'</legend>'
    514533                                        .'<p>'.l10n('Everything went fine. You are now ready to start the installation procedure.').'</p>'
    515534                                        .'<form action="'.$redir.'" method="get"><p class="button">'
     
    517536                                        . '<input type="submit" value="'.l10n('Install Piwigo now').'" />'
    518537                                        . '</p></form>';
     538
     539                                        $text.= '</fieldset>';
    519540                                }
    520541                        }
Note: See TracChangeset for help on using the changeset viewer.