<commit_before><a href="<?=$this->url(array('action'=>'index','id'=>null)); ?>"><?=$this->translate('Meeting Rooms Management'); ?></a> / <h4><?=$this->title; ?></h4>

<div id="dados">
    <form id="formEdit" class="form-horizontal ajaxsubmit" method="POST" action="<?=$this->url(array('action'=>'form-manage-attendees-post','id'=>$this->id));?>" source="<?=$this->url(array('action'=>'form-content','id'=>$this->id));?>">
        <div readonly="readonly">
            <div class="control-group">
                <label class="control-label" for="name"><?=$this->translate('column-meeting_room-name'); ?></label>
                <div class="controls">
                    <input type="text" name="name" id="name"/>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="nome"><?=$this->translate('column-meeting_room-category'); ?></label>
                <div class="controls">
                    <div class="tree well" style="height:220px;overflow: scroll;">
                        <table id="categoriesTree">
                            <tbody>
                                <?
                                    foreach($this->categories as $category):
                                ?>
                                <tr data-description="<?=$category['name'];?>" data-row-id="<?= $category['meeting_room_category_id']; ?>" id="tblTree-<?= (($category['parent_id'] != '') ? $category['hierarchy'] . '-' : '') . $category['meeting_room_category_id']; ?>" <?= (($category['parent_id'] != '') ? 'class="child-of-tblTree-' . $category['hierarchy'] . '"' : ''); ?>>
                                    <td><span><a class='select-category' href='javascript:void(0);'><?=$category['name'];?></a></span></td>
                                </tr>
                                <?
                                    endforeach;
                                ?>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="category_id"><?=$this->translate('Selected category');?></label>
                <div class="controls">
                    <input type="hidden" name="category_id" id="category_id" />
                    <input type="text" id="category-name" readonly="readonly" disabled="disabled"/>
                </div>
            </div>
            <h5><?=$this->translate('Schedule'); ?></h5>
            <div class="control-group">
                <label class="control-label" for="date_start"><?=$this->translate('column-meeting_room-date_start'); ?></label>
                <div class="controls">
                    <div class="input-append datetime">
                        <input type="text" id="date_start" name="date_start" class="input-block-level" data-format="<?=$this->translate('dateFormat-datepicker'); ?> hh:mm"/>
                        <span class="add-on"><i data-time-icon="icon-time" data-date-icon="icon-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="date_end"><?=$this->translate('column-meeting_room-date_end'); ?></label>
                <div class="controls">
                    <div class="input-append datetime">
                        <input type="text" name="date_end" class="input-block-level" data-format="<?=$this->translate('dateFormat-datepicker'); ?> hh:mm"/>
                        <span class="add-on"><i data-time-icon="icon-time" data-date-icon="icon-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="timezone"><?=$this->translate('column-meeting_room-timezone'); ?></label>
                <div class="controls">
                    <select name="timezone" id="timezone">
                        <option value="-3">GMT-3 (Padrão Brasília)</option>
                    </select>
                </div>
            </div>
            
            <div class="control-group">
                <label class="control-label" for="privacy_policy"><?=$this->translate('column-meeting_room-privacy_policy'); ?></label>
                <div class="controls">
                    <label class="radio" style="display:inline-block;">
                        <input type="radio" name="privacy_policy" value="<?= BBBManager_Config_Defines::$ONLY_INVITED_USERS_MEETING_ROOM; ?>" />
                        <?=BBBManager_Config_Defines::getMeetingRoomPrivacyPolicy(BBBManager_Config_Defines::$ONLY_INVITED_USERS_MEETING_ROOM); ?>
                    </label> <br />
                    <label class="radio" style="display:inline-block;">
                        <input type="radio" name="privacy_policy" value="<?= BBBManager_Config_Defines::$ANY_LOGGED_USER_MEETING_ROOM; ?>" />
                        <?=BBBManager_Config_Defines::getMeetingRoomPrivacyPolicy(BBBManager_Config_Defines::$ANY_LOGGED_USER_MEETING_ROOM); ?>
                    </label> <br />
                    <label class="radio" style="display:inline-block;">
                        <input type="radio" name="privacy_policy" value="<?= BBBManager_Config_Defines::$PUBLIC_MEETING_ROOM; ?>" checked="checked" />
                        <?=BBBManager_Config_Defines::getMeetingRoomPrivacyPolicy(BBBManager_Config_Defines::$PUBLIC_MEETING_ROOM); ?>
                    </label>
                </div>
            </div>
            
            <div class="control-group">
                <label class="control-label" for="url"><?=$this->translate('column-meeting_room-url'); ?></label>
                <div class="controls">
            <strong><?=  IMDT_Util_Config::getInstance()->get('web_base_url');?></strong>
                    <input type="text" name="url" id="url"/>
                </div>
            </div>
            
            <h5><?=$this->translate('Advanced'); ?></h5>
            <div class="control-group">
                <label class="control-label"><?=$this->translate('column-meeting_room-encrypted'); ?></label>
                <div class="controls">
                    <label class="radio" style="display:inline-block;">
                        <input type="radio" name="encrypted" value="1" disabled="disabled"/>
                        <?=$this->translate('Yes'); ?>
                    </label> <br />
                    <label class="radio" style="display:inline-block;">
                        <input type="radio" name="encrypted" checked="checked" value="0">
                        <?=$this->translate('No'); ?>
                    </label>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label"><?=$this->translate('column-meeting_room-record'); ?></label>
                <div class="controls">
                    <label class="radio" style="display:inline-block;">
                        <input type="radio" name="record" value="1" disabled="disabled"/>
                        <?=$this->translate('Yes'); ?>
                    </label> <br />
                    <label class="radio" style="display:inline-block;">
                        <input type="radio" name="record" value="0" checked="checked">
                        <?=$this->translate('No'); ?>
                    </label>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label"><?=$this->translate('column-meeting_room-participants_limit'); ?></label>
                <div class="controls">
                    <input type="text" name="participants_limit" />
                </div>
            </div>
        </div>
        <h5><?=$this->translate('Permissions'); ?></h5>
        
        
        <? if($this->profile != BBBManager_Config_Defines::$ROOM_ADMINISTRATOR_PROFILE): ?>
            <div readonly="readonly">
        <? endif; ?>
        
                <h6><?=$this->translate('Administrators'); ?></h6>
                <div class="row-fluid">
                    <div class="span2">&nbsp;</div>
                    <div class="span5"><?=$this->translate('Local'); ?></div>
                    <div class="span5"><?=$this->translate('LDAP'); ?></div>
                </div>
                <div class="row-fluid">
                    <div class="span2 text-right"><?=$this->translate('Groups'); ?></div>
                    <div class="span5"><commit_msg>Fix for security bug on manage attendees module<commit_after><a href="<?=$this->url(array('action'=>'index','id'=>null)); ?>"><?=$this->translate('Meeting Rooms Management'); ?></a> / <h4><?=$this->title; ?></h4>

<div id="dados">
    <form id="fakeEdit" class="form-horizontal" source="<?=$this->url(array('action'=>'form-content','id'=>$this->id));?>">
        <div readonly="readonly">
            <div class="control-group">
                <label class="control-label" for="name"><?=$this->translate('column-meeting_room-name'); ?></label>
                <div class="controls">
                    <input type="text" name="name" id="name"/>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="nome"><?=$this->translate('column-meeting_room-category'); ?></label>
                <div class="controls">
                    <div class="tree well" style="height:220px;overflow: scroll;">
                        <table id="categoriesTree">
                            <tbody>
                                <?
                                    foreach($this->categories as $category):
                                ?>
                                <tr style="pointer-events: none;"
                                    data-description="<?=$category['name'];?>"
                                    data-row-id="<?= $category['meeting_room_category_id']; ?>"
                                    id="tblTree-<?= (($category['parent_id'] != '') ? $category['hierarchy'] . '-' : '') . $category['meeting_room_category_id']; ?>"
                                    <?= (($category['parent_id'] != '') ? 'class="child-of-tblTree-' . $category['hierarchy'] . '"' : ''); ?>>
                                    <td><span><a class='select-category' href='javascript:void(0);'><?=$category['name'];?></a></span></td>
                                </tr>
                                <?
                                    endforeach;
                                ?>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="category_id"><?=$this->translate('Selected category');?></label>
                <div class="controls">
                    <input type="hidden" name="category_id" id="category_id" />
                    <input type="text" id="category-name" readonly="readonly" disabled="disabled"/>
                </div>
            </div>
            <h5><?=$this->translate('Schedule'); ?></h5>
            <div class="control-group">
                <label class="control-label" for="date_start"><?=$this->translate('column-meeting_room-date_start'); ?></label>
                <div class="controls">
                    <div class="input-append datetime">
                        <input type="text" id="date_start" name="date_start" class="input-block-level" data-format="<?=$this->translate('dateFormat-datepicker'); ?> hh:mm"/>
                        <span class="add-on"><i data-time-icon="icon-time" data-date-icon="icon-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="date_end"><?=$this->translate('column-meeting_room-date_end'); ?></label>
                <div class="controls">
                    <div class="input-append datetime">
                        <input type="text" name="date_end" class="input-block-level" data-format="<?=$this->translate('dateFormat-datepicker'); ?> hh:mm"/>
                        <span class="add-on"><i data-time-icon="icon-time" data-date-icon="icon-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="timezone"><?=$this->translate('column-meeting_room-timezone'); ?></label>
                <div class="controls">
                    <select name="timezone" id="timezone">
                        <option value="-3">GMT-3 (Padrão Brasília)</option>
                    </select>
                </div>
            </div>
            
            <div class="control-group">
                <label class="control-label" for="privacy_policy"><?=$this->translate('column-meeting_room-privacy_policy'); ?></label>
                <div class="controls">
                    <label class="radio" style="display:inline-block;">
                        <input type="radio" name="privacy_policy" value="<?= BBBManager_Config_Defines::$ONLY_INVITED_USERS_MEETING_ROOM; ?>" />
                        <?=BBBManager_Config_Defines::getMeetingRoomPrivacyPolicy(BBBManager_Config_Defines::$ONLY_INVITED_USERS_MEETING_ROOM); ?>
                    </label> <br />
                    <label class="radio" style="display:inline-block;">
                        <input type="radio" name="privacy_policy" value="<?= BBBManager_Config_Defines::$ANY_LOGGED_USER_MEETING_ROOM; ?>" />
                        <?=BBBManager_Config_Defines::getMeetingRoomPrivacyPolicy(BBBManager_Config_Defines::$ANY_LOGGED_USER_MEETING_ROOM); ?>
                    </label> <br />
                    <label class="radio" style="display:inline-block;">
                        <input type="radio" name="privacy_policy" value="<?= BBBManager_Config_Defines::$PUBLIC_MEETING_ROOM; ?>" checked="checked" />
                        <?=BBBManager_Config_Defines::getMeetingRoomPrivacyPolicy(BBBManager_Config_Defines::$PUBLIC_MEETING_ROOM); ?>
                    </label>
                </div>
            </div>
            
            <div class="control-group">
                <label class="control-label" for="url"><?=$this->translate('column-meeting_room-url'); ?></label>
                <div class="controls">
            <strong><?=  IMDT_Util_Config::getInstance()->get('web_base_url');?></strong>
                    <input type="text" name="url" id="url"/>
                </div>
            </div>
            
            <h5><?=$this->translate('Advanced'); ?></h5>
            <div class="control-group">
                <label class="control-label"><?=$this->translate('column-meeting_room-encrypted'); ?></label>
                <div class="controls">
                    <label class="radio" style="display:inline-block;">
                        <input type="radio" name="encrypted" value="1" disabled="disabled"/>
                        <?=$this->translate('Yes'); ?>
                    </label> <br />
                    <label class="radio" style="display:inline-block;">
                        <input type="radio" name="encrypted" checked="checked" value="0">
                        <?=$this->translate('No'); ?>
                    </label>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label"><?=$this->translate('column-meeting_room-record'); ?></label>
                <div class="controls">
                    <label class="radio" style="display:inline-block;">
                        <input type="radio" name="record" value="1" disabled="disabled"/>
                        <?=$this->translate('Yes'); ?>
                    </label> <br />
                    <label class="radio" style="display:inline-block;">
                        <input type="radio" name="record" value="0" checked="checked">
                        <?=$this->translate('No'); ?>
                    </label>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label"><?=$this->translate('column-meeting_room-participants_limit'); ?></label>
                <div class="controls">
                    <input type="text" name="participants_limit" />
                </div>
            </div>
        </div>
    </form>
    <form id="formEdit" class="form-horizontal ajaxsubmit" method="POST" action="<?=$this->url(array('action'=>'form-manage-attendees-post','id'=>$this->id));?>" source="<?=$this->url(array('action'=>'form-content','id'=>$this->id));?>">
        <h5><?=$this->translate('Permissions'); ?></h5>
        <? if($this->profile != BBBManager_Config_Defines::$ROOM_ADMINISTRATOR_PROFILE): ?>
            <div readonly="readonly">
        <? endif; ?>
        
                <h6><?=$this->translate('Administrators'); ?></h6>
                <div class="row-fluid">
                    <div class="span2">&nbsp;</div>
                    <div class="span5"><?=$this->translate('Local'); ?></div>
                    <div class="span5"><?=$this->translate('LDAP'); ?></div>
                </div>
                <div class="row-fluid">
                    <div class="span2 text-right"><?=$this->translate('Groups'); ?></div>
                    <div class="span5">
{'fraction_non_alphanumeric': 0.1826388100374702, 'fraction_numerical': 0.0028386510730101055, 'mean_word_length': 1.767478397486253, 'pattern_counts': {'":': 0, '<': 414, '<?xml version=': 0, '>': 498, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1221054', 'n_tokens_mistral': 4725, 'n_tokens_neox': 4580, 'n_words': 659}