Remove query string from add button link (#8003)
* Remove query string from add button link * Update bridges.php * Update conference_centers.php * Update conference_rooms.php * Update conference_controls.php * Update conference_profile_params.php * Update conference_profiles.php * Update conferences.php * Update event_guard_logs.php * Update fax.php * Update fifo.php * Update ivr_menus.php * Update phrases.php * Update recordings.php * Update ring_groups.php * Update streams.php * Update time_conditions.php * Update voicemails.php * Update contacts.php
This commit is contained in:
@@ -177,7 +177,7 @@
|
||||
}
|
||||
echo button::create(['type'=>'button','label'=>$text['button-rooms'],'icon'=>'door-open','style'=>'margin-right: 15px;','link'=>'conference_rooms.php']);
|
||||
if (permission_exists('conference_center_add')) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-add'],'icon'=>$settings->get('theme', 'button_icon_add'),'id'=>'btn_add','link'=>'conference_center_edit.php'.($query_string ? '?'.$query_string : '')]);
|
||||
echo button::create(['type'=>'button','label'=>$text['button-add'],'icon'=>$settings->get('theme', 'button_icon_add'),'id'=>'btn_add','link'=>'conference_center_edit.php']);
|
||||
}
|
||||
if (permission_exists('conference_center_edit') && $conference_centers) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-toggle'],'icon'=>$settings->get('theme', 'button_icon_toggle'),'id'=>'btn_toggle','name'=>'btn_toggle','style'=>'display: none;','onclick'=>"modal_open('modal-toggle','btn_toggle');"]);
|
||||
|
||||
@@ -236,7 +236,7 @@
|
||||
echo " <div class='actions'>\n";
|
||||
echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$settings->get('theme', 'button_icon_back'),'id'=>'btn_back','style'=>'margin-right: 15px;','link'=>'conference_centers.php']);
|
||||
if (permission_exists('conference_room_add')) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-add'],'icon'=>$settings->get('theme', 'button_icon_add'),'id'=>'btn_add','link'=>'conference_room_edit.php'.($query_string ? '?'.$query_string : '')]);
|
||||
echo button::create(['type'=>'button','label'=>$text['button-add'],'icon'=>$settings->get('theme', 'button_icon_add'),'id'=>'btn_add','link'=>'conference_room_edit.php']);
|
||||
}
|
||||
if (permission_exists('conference_room_edit') && $result) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-toggle'],'icon'=>$settings->get('theme', 'button_icon_toggle'),'id'=>'btn_toggle','name'=>'btn_toggle','style'=>'display: none;','onclick'=>"toggle_select(); this.blur();"]);
|
||||
|
||||
Reference in New Issue
Block a user