<commit_before><div class="rcmPanelRightButtons"  data-rcm-admin-menu-actions>
    <div ng-show="rcmAdminPage.editMode">
        <div class="btn-group">
            <button
                class="btn btn-primary btn-xs"
                rcm-admin-edit-button="save"
                ng-disabled="loading"
                type="button"
                >
                <span
                    class="glyphicon glyphicon glyphicon glyphicon-ok"
                    ></span>
                Save Draft
            </button>
            <button
                class="btn btn-xs"
                rcm-admin-edit-button="cancel"
                ng-disabled="loading"
                type="button"
                >
                <span
                    class="glyphicon glyphicon glyphicon-remove"
                    ></span>
                Cancel
            </button>
            <div id="lockPermissionsEditMode"
                 style="<?= (!isset($restrictions)) ? 'display:none'
                     : '' ?>">
                <span class="glyphicon glyphicon-lock"></span>
            </div>
            <div id="unlockPermissionsEditMode"
                 style="<?= (isset($restrictions) && $restrictions == true)
                     ? 'display:none' : '' ?>"><span class="unlock">
                        <img src="modules/rcm-admin/img/glyphicons_unlock.png" width="14px" height="16px"></span>
            </div>
        </div>
    </div>
    <div ng-hide="rcmAdminPage.editMode">
        <div class="btn-group">
            <?php if ($layout->rcmDraft === true) : ?>
                <button
                    class="btn btn-primary btn-xs rcmMenuPost publishBtn"
                    type="button"
                    publish-url="<?=
                    $this->url(
                        'RcmAdmin\Page\PublishPageRevision',
                        array(
                            'rcmPageRevision' => $layout->pageInfo['revision']['revisionId'],
                            'rcmPageType' => $layout->pageInfo['pageType'],
                            'rcmPageName' => $layout->pageInfo['name'],
                        )
                    ); ?>"
                    >
                    <span class="glyphicon glyphicon-check"></span>
                    Publish
                </button>
            <?php endif; ?>
            <button
                class="btn btn-warning btn-xs"
                rcm-admin-edit-button="page"
                ng-disabled="loading"
                type="button"
                >
                <span class="glyphicon glyphicon-edit"></span>
                Edit
            </button>
            <div id="lockPermissionsNonEdit"
                 style="<?= (!isset($restrictions)) ? 'display:none'
                     : '' ?>">
                <span class="glyphicon glyphicon-lock"></span>
            </div>
            <div id="unlockPermissionsNonEdit"
                 style="<?= (isset($restrictions) && $restrictions == true)
                     ? 'display:none' : '' ?>"><span class="unlock">
                        <img src="/modules/rcm-admin/img/glyphicons_unlock.png" width="14px" height="16px"></span>
            </div>
        </div>
    </div>
</div>
<div style="clear: both;"></div><commit_msg>unlockLockBug<commit_after><div class="rcmPanelRightButtons"  data-rcm-admin-menu-actions>
    <div ng-show="rcmAdminPage.editMode">
        <div class="btn-group">
            <button
                class="btn btn-primary btn-xs"
                rcm-admin-edit-button="save"
                ng-disabled="loading"
                type="button"
                >
                <span
                    class="glyphicon glyphicon glyphicon glyphicon-ok"
                    ></span>
                Save Draft
            </button>
            <button
                class="btn btn-xs"
                rcm-admin-edit-button="cancel"
                ng-disabled="loading"
                type="button"
                >
                <span
                    class="glyphicon glyphicon glyphicon-remove"
                    ></span>
                Cancel
            </button>
            <div id="lockPermissionsEditMode"
                 style="<?= (!isset($restrictions)) ? 'display:none'
                     : '' ?>">
                <span class="glyphicon glyphicon-lock"></span>
            </div>
            <div id="unlockPermissionsEditMode"
                 style="<?= (isset($restrictions) && $restrictions == true)
                     ? 'display:none' : '' ?>"><span class="unlock">
                        <img src="modules/rcm-admin/img/glyphicons_unlock.png" width="14px" height="16px"></span>
            </div>
        </div>
    </div>
    <div ng-hide="rcmAdminPage.editMode">
        <div class="btn-group">
            <?php if ($layout->rcmDraft === true) : ?>
                <button
                    class="btn btn-primary btn-xs rcmMenuPost publishBtn"
                    type="button"
                    publish-url="<?=
                    $this->url(
                        'RcmAdmin\Page\PublishPageRevision',
                        array(
                            'rcmPageRevision' => $layout->pageInfo['revision']['revisionId'],
                            'rcmPageType' => $layout->pageInfo['pageType'],
                            'rcmPageName' => $layout->pageInfo['name'],
                        )
                    ); ?>"
                    >
                    <span class="glyphicon glyphicon-check"></span>
                    Publish
                </button>
            <?php endif; ?>
            <button
                class="btn btn-warning btn-xs"
                rcm-admin-edit-button="page"
                ng-disabled="loading"
                type="button"
                >
                <span class="glyphicon glyphicon-edit"></span>
                Edit
            </button>
            <div id="lockPermissionsNonEdit"
                 style="<?= (!isset($restrictions)) ? 'display:none'
                     : '' ?>">
                <span class="glyphicon glyphicon-lock"></span>
            </div>
            <div id="unlockPermissionsNonEdit"
                 style="<?= (isset($restrictions) && $restrictions == true)
                     ? 'display:none' : '' ?>"><span class="unlock"> 
                        <img src="/modules/rcm-admin/img/glyphicons_unlock.png" width="14px" height="16px"></span>
            </div>
        </div>
    </div>
</div>
<div style="clear: both;"></div>
{'fraction_non_alphanumeric': 0.13773095129027332, 'fraction_numerical': 0.0024431210871888836, 'mean_word_length': 1.2143340094658552, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 0, '>': 125, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '6885996', 'n_tokens_mistral': 1752, 'n_tokens_neox': 1623, 'n_words': 267}