{*
/**
 * Copyright (c) 2013, Kairat Bakytow
 * All rights reserved.

 * ATTENTION: This commercial software is intended for use with Oxwall Free Community Software http://www.oxwall.org/
 * and is licensed under Oxwall Store Commercial License.
 * Full text of this license can be found at http://www.oxwall.org/store/oscl
 */
*}

<div class="ow_std_margin clearfix">
    {form name="themeForm"}
        <table class="ow_table_1 ow_form" style="margin: 0">
            <tbody>
                <tr class="ow_alt1'">
                    <td width="1" class="ow_label">
                        {label name='themeList'}
                    </td>
                    <td class="ow_value">
                        {input name='themeList'}
                        {error name='themeList'}
                    </td>
                </tr>

                <tr class="ow_tr_last ow_center">
                    <td colspan="2">
                        {submit name='save'}
                    </td>
                </tr>
            </tbody>
        </table>
    {/form}
</div>

<div class="ow_std_margin clearfix">
    <div class="ow_left">
        {decorator name="button_list_item" type="submit" langLabel="smileys+new_category" id="newCategory"}
    </div>
    <div class="ow_right">
        <div id="deleteSmileys" style="height: 16px; width: 16px; margin-right: 10px" class="ow_ic_trash" title="Move here a smile element that you want to delete"></div>
    </div>
</div>

{block_decorator name='box' addClass='ow_stdmargin' langLabel='smileys+preview'}
    <div id="smileys-placeholder">
        
    </div>
{/block_decorator}

<div style="display: none">
    <div id="newCategoryContent">
        {form name="newCategory"}
            <table class="ow_table_1 ow_form">
                <tr class="ow_alt1">
                    <td class="ow_label">{label name="categoryName"}</td>
                    <td class="ow_value">{input name="categoryName"}{error name="categoryName"}</td>
                </tr>
                <tr class="ow_alt1">
                    <td colspan="2" class="ow_center">
                        {submit name='save'}
                    </td>
                </tr>
            </table>
        {/form}
    </div>
    <div id="uploadSmileysContent">
        {form name="uploadSmileys"}
            <table class="ow_table_1 ow_form">
                <tr class="ow_alt1">
                    <td class="ow_label">{text key="smileys+smileys_file"}</td>
                    <td class="ow_value">{input name="smileys[]"}</td>
                </tr>
                <tr class="ow_alt1">
                    <td colspan="2" class="ow_center">
                        {submit name='save'}
                    </td>
                </tr>
            </table>
        {/form}
    </div>
</div>
