Location: PHPKode > projects > EXtensible Production Suite (XPS) > xpsdev/install/templates/create_db.tpl
{API->get_api_message}
<h2>{API->get_message message_id='database'}</h2>

<div align="center">
    <table border="0" cellspacing="0" cellpadding="3" class="center">
        <thead>
            <tr>
                <th style="width:25px;">{API->get_label label_id='lbl_status'}</th>
                <th width="40%">{API->get_label label_id='lbl_process'}</th>
                <th>{API->get_label label_id='lbl_message'}</th>
            </tr>
        </thead>
        <tbody>
        {foreach key=id item=db_process from=$db_processes name=db_loop}
            <tr>
                <td class="status{$db_process.error_count}">
                    &nbsp;&nbsp;
                </td>
                <td>
                    {$db_process.description}
                </td>
                <td>
                    {$db_process.message|default:'Successful'}&nbsp;
                </td>
            </tr>
        {/foreach}
        </tbody>
        <tfoot>
            <tr>
                <td colspan="3">
                    <span class="message_bad">&nbsp;&nbsp;&nbsp;&nbsp;</span>{API->get_label label_id='lbl_failed'}<span class="message_good">&nbsp;&nbsp;&nbsp;&nbsp;</span>{API->get_label label_id='lbl_passed'}
                </td>
            <tr>
        </tfoot>
    </table>
    <div id="results"></div>
     {if $smarty.foreach.db_loop.total == 1}
        <div class="message_good">
            {API->get_message message_id='click_next'}
        </div>
     {/if}
</div>
<input type="hidden" name="f" value="{if $smarty.foreach.db_loop.total > 1}finalize_site_config{else}install_database{/if}" />
{literal}
<script language="javascript">
    function retry_db_install(frm)
    {
        frm.f.value = 'install_database';
        frm.submit();
    }
    function drop_database(frm)
    {
        frm.f.value = 'drop_database';
        frm.submit();
    }
</script>
{/literal}
Return current item: EXtensible Production Suite (XPS)