Changeset 1661 in ExiteCMS for trunk/includes/templates/main.setup.tpl


Ignore:
Timestamp:
08/21/08 18:31:24 (4 years ago)
Author:
hverton
Message:

further setup updates
new dbsetup_include file
added an option to locale_load() to override the system locale

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/templates/main.setup.tpl

    r1660 r1661  
    2828td          { font-family:Verdana,Tahoma,Arial,Sans-Serif; font-size:11px; } 
    2929.tbl-border { background-color:#D1D8DD; } 
    30 .tbl        { font-size:11px; color:#000; background-color:#E1E1E1; } 
     30.tbl        { font-size:11px; color:#000; background-color:#C1C1C1; } 
    3131.tbl1       { font-size:11px; color:#000; background-color:#F1F1F1; padding:4px; } 
    3232.tbl2       { font-size:11px; color:#000; background-color:#E6E6E6; padding:4px; } 
    3333.tbl3       { font-size:11px; color:#000; background-color:#E65656; padding:4px; } 
    3434.tbl4       { font-size:11px; color:#000; background-color:#56E656; padding:4px; } 
     35.small      { font-size:10px; color:#666; } 
    3536--> 
    3637</style>{/literal} 
     
    5354            <tr> 
    5455                <td align='center'> 
    55                     <img width='450' src='images/cms-logo-big.png'> 
     56                    <img width='598' src='images/cms-logo-big.png'> 
    5657                </td> 
    5758            </tr> 
     
    9293                            <b>{$loc}</b> 
    9394                        {else} 
    94                             <a href='{$smarty.const.FUSION_SELF}?step=0&localeset={$loc}'>{$loc}</a> 
     95                            <a href='{$smarty.const.FUSION_SELF}?localeset={$loc}'>{$loc}</a> 
    9596                        {/if} 
    9697                    </td> 
     
    119120                </table> 
    120121                <br> 
    121                 <form name='setup' method='post' action='{$smarty.const.FUSION_SELF}?step=1&localeset={$localeset}'> 
     122                <form name='setup' method='post' action='{$smarty.const.FUSION_SELF}?localeset={$localeset}'> 
    122123                    <table align='center' width='600' cellpadding='0' cellspacing='1' class='tbl-border'> 
    123124                        <tr> 
     
    139140                            </td> 
    140141                            <td class='tbl1'> 
    141                                 <input type='text' value='' name='{$db_user}' class='textbox' /> 
     142                                <input type='text' value='{$db_user}' name='db_user' class='textbox' /> 
    142143                            </td> 
    143144                        </tr> 
     
    147148                            </td> 
    148149                            <td class='tbl1'> 
    149                                 <input type='password' value='' name='{$db_pass}' class='textbox'> 
     150                                <input type='password' value='{$db_pass}' name='db_pass' class='textbox'> 
    150151                            </td> 
    151152                        </tr> 
     
    155156                            </td> 
    156157                            <td class='tbl1'> 
    157                                 <input type='text' value='' name='{$db_name}' class='textbox' /> 
     158                                <input type='text' value='{$db_name}' name='db_name' class='textbox' /> 
    158159                            </td> 
    159160                        </tr> 
     
    163164                            </td> 
    164165                            <td class='tbl1'> 
    165                                 <input type='text' value='{$db_prefix|default:"exitecms_"}' name='db_prefix' class='textbox' /> 
     166                                <input type='text' value='{$db_prefix|default:"exitecms_"}' name='db_prefix' class='textbox' /> <span class='small'>{$locale.436}</span> 
    166167                            </td> 
    167168                        </tr> 
    168169                        <tr> 
    169170                            <td align='center' colspan='2' class='tbl1'> 
     171                                <input type='hidden' name='step' value='1' /> 
    170172                                <input type='submit' name='next' value='{$locale.426}' class='button' /> 
    171173                            </td> 
     
    185187            </table> 
    186188            <br /> 
    187             <form name='setup' method='post' action='{$smarty.const.FUSION_SELF}?step=2&localeset={$localeset}'> 
     189            <form name='setup' method='post' action='{$smarty.const.FUSION_SELF}?localeset={$localeset}'> 
    188190                <table align='center' cellpadding='0' cellspacing='1' width='600' class='tbl-border'> 
    189191                    <tr> 
     
    197199                        </td> 
    198200                        <td class='tbl1'> 
    199                             <input type='text' name='username' maxlength='30' class='textbox' /> 
     201                            <input type='text' value='{$username}' name='username' maxlength='30' class='textbox' /> 
    200202                        </td> 
    201203                    </tr> 
     
    205207                        </td> 
    206208                        <td class='tbl1'> 
    207                             <input type='password' name='password1' maxlength='20' class='textbox' /> 
     209                            <input type='password' value='{$password1}' name='password1' maxlength='20' class='textbox' /> 
    208210                        </td> 
    209211                    </tr> 
     
    213215                        </td> 
    214216                        <td class='tbl1'> 
    215                             <input type='password' name='password2' maxlength='20' class='textbox' /> 
     217                            <input type='password' value='{$password2}' name='password2' maxlength='20' class='textbox' /> 
    216218                        </td> 
    217219                    </tr> 
     
    221223                        </td> 
    222224                        <td class='tbl1'> 
    223                             <input type='text' name='email' maxlength='100' class='textbox' /> 
     225                            <input type='text' value='{$email}' name='email' maxlength='100' class='textbox' /> 
    224226                        </td> 
    225227                    </tr> 
    226228                    <tr> 
    227229                        <td colspan='2' align='center' class='tbl1'> 
     230                            <input type='hidden' name='step' value='2' /> 
    228231                            <input type='submit' name='next' value='{$locale.426}' class='button'> 
    229232                        </td> 
Note: See TracChangeset for help on using the changeset viewer.