<commit_before><?xml version="1.0" encoding="utf-8" ?>
<configuration>

    <state name="main">
        <javascript>
            <behavior name="SiteManager"/>
        </javascript>
        <fields>
            <field name="site_id"/>
            <field name="site_name"/>
        </fields>
        <toolbar>
            <control id="add" title="BTN_ADD" type="button" onclick="add"/>
            <control id="edit" title="BTN_EDIT" type="button" onclick="edit"/>
            <control id="sep01" type="separator"/>
            <control id="go" title="BTN_GO" type="button" onclick="go"/>
            <control id="sep03" type="separator"/>
            <control type="button" id="up" title="BTN_MOVE_UP" onclick="up"/>
            <control type="button" id="down" title="BTN_MOVE_DOWN" onclick="down"/>
            <control id="sep02" type="separator"/>
            <control id="delete" title="BTN_DELETE" type="button" onclick="del"/>
<!--            <control id="sep04" type="separator"/>
            <control id="reset" title="BTN_RESET_TEMPLATES" type="button" onclick="reset"/>-->
            <control id="sep05" type="separator"/>
            <control id="close" title="BTN_CLOSE" type="button" onclick="close"/>
        </toolbar>
        <translations>
            <translation const="MSG_CONFIRM_TEMPLATES_RESET"/>
            <translation const="MSG_TEMPLATES_RESET"/>
        </translations>
    </state>
    <state name="add">
        <uri_patterns>
            <pattern>/add/</pattern>
        </uri_patterns>
        <javascript>
            <behavior name="Form"/>
        </javascript>
        <toolbar>
            <control id="save" title="BTN_SAVE" type="button" onclick="save"/>
            <control id="after_save_action" title="TXT_AFTER_SAVE_ACTION"
                     type="select"
                    >
                <options>
                    <option id="reload">BTN_CLOSE</option>
                    <option id="add">BTN_ADD</option>
                </options>
            </control>
            <control id="sep1" type="separator"/>
            <control id="close" title="BTN_CANCEL" type="button"
                     onclick="close"/>
        </toolbar>
    </state>
    <state name="edit">
        <uri_patterns>
            <pattern>/[int]/edit/</pattern>
        </uri_patterns>
        <javascript>
            <behavior name="Form"/>
        </javascript>
        <toolbar>
            <control id="save" title="BTN_SAVE" type="button" onclick="save"/>
            <control id="list" title="BTN_CLOSE" type="button" onclick="close"/>
        </toolbar>
    </state>
    <state name="save" rights="3">
        <uri_patterns>
            <pattern>/save/</pattern>
        </uri_patterns>
    </state>
    <state name="delete" rights="2">
        <uri_patterns>
            <pattern>/[int]/delete/</pattern>
        </uri_patterns>
    </state>
    <state name="up" rights="3">
        <uri_patterns>
            <pattern>/[int]/up/</pattern>
        </uri_patterns>
    </state>
    <state name="down" rights="3">
        <uri_patterns>
            <pattern>/[int]/down/</pattern>
        </uri_patterns>
    </state><commit_msg>added properties for modal site editor<commit_after><?xml version="1.0" encoding="utf-8" ?>
<configuration>

    <state name="main">
        <javascript>
            <behavior name="SiteManager"/>
        </javascript>
        <fields>
            <field name="site_id"/>
            <field name="site_name"/>
        </fields>
        <toolbar>
            <control id="add" title="BTN_ADD" type="button" onclick="add"/>
            <control id="edit" title="BTN_EDIT" type="button" onclick="edit"/>
            <control id="sep01" type="separator"/>
            <control id="go" title="BTN_GO" type="button" onclick="go"/>
            <control id="sep03" type="separator"/>
            <control type="button" id="up" title="BTN_MOVE_UP" onclick="up"/>
            <control type="button" id="down" title="BTN_MOVE_DOWN" onclick="down"/>
            <control id="sep02" type="separator"/>
            <control id="delete" title="BTN_DELETE" type="button" onclick="del"/>
<!--            <control id="sep04" type="separator"/>
            <control id="reset" title="BTN_RESET_TEMPLATES" type="button" onclick="reset"/>-->
            <control id="sep04" type="separator"/>
            <control id="properties" title="BTN_PROPERTIES" type="button" onclick="siteProps"/>
            <control id="sep05" type="separator"/>
            <control id="close" title="BTN_CLOSE" type="button" onclick="close"/>
        </toolbar>
        <translations>
            <translation const="MSG_CONFIRM_TEMPLATES_RESET"/>
            <translation const="MSG_TEMPLATES_RESET"/>
        </translations>
    </state>
    <state name="add">
        <uri_patterns>
            <pattern>/add/</pattern>
        </uri_patterns>
        <javascript>
            <behavior name="Form"/>
        </javascript>
        <toolbar>
            <control id="save" title="BTN_SAVE" type="button" onclick="save"/>
            <control id="after_save_action" title="TXT_AFTER_SAVE_ACTION"
                     type="select"
                    >
                <options>
                    <option id="reload">BTN_CLOSE</option>
                    <option id="add">BTN_ADD</option>
                </options>
            </control>
            <control id="sep1" type="separator"/>
            <control id="close" title="BTN_CANCEL" type="button"
                     onclick="close"/>
        </toolbar>
    </state>
    <state name="edit">
        <uri_patterns>
            <pattern>/[int]/edit/</pattern>
        </uri_patterns>
        <javascript>
            <behavior name="Form"/>
        </javascript>
        <toolbar>
            <control id="save" title="BTN_SAVE" type="button" onclick="save"/>
            <control id="list" title="BTN_CLOSE" type="button" onclick="close"/>
        </toolbar>
    </state>
    <state name="save" rights="3">
        <uri_patterns>
            <pattern>/save/</pattern>
        </uri_patterns>
    </state>
    <state name="delete" rights="2">
        <uri_patterns>
            <pattern>/[int]/delete/</pattern>
        </uri_patterns>
    </state>
    <state name="up" rights="3">
        <uri_patterns>
            <pattern>/[int]/up/</pattern>
        </uri_patterns>
    </state>
    <state name="down" rights="3">
        <uri_patterns>
            <pattern>/[int]/down/</pattern>
        </uri_patterns>
    </state>
    <state name="properties" rights="3">
        <uri_patterns>
            <pattern>/[site_id]/properties/[any]/</pattern>
        </uri_patterns>
    </state>
{'fraction_non_alphanumeric': 0.1659919028340081, 'fraction_numerical': 0.005847953216374269, 'mean_word_length': 2.0290644868301544, 'pattern_counts': {'":': 0, '<': 191, '<?xml version=': 2, '>': 191, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6643321', 'n_tokens_mistral': 1971, 'n_tokens_neox': 1925, 'n_words': 351}