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:
Alex
2026-05-28 12:56:47 -07:00
committed by GitHub
parent b960e19d1b
commit 0c86610b98
19 changed files with 19 additions and 19 deletions
@@ -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');"]);
+1 -1
View File
@@ -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();"]);