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:
+1
-1
@@ -190,7 +190,7 @@
|
||||
echo " <div class='heading'><b>".$text['title-fifos']."</b><div class='count'>".number_format($num_rows)."</div></div>\n";
|
||||
echo " <div class='actions'>\n";
|
||||
if (permission_exists('fifo_add')) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-add'],'icon'=>$settings->get('theme', 'button_icon_add'),'id'=>'btn_add','name'=>'btn_add','link'=>'fifo_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','name'=>'btn_add','link'=>'fifo_edit.php']);
|
||||
}
|
||||
// if (permission_exists('fifo_add') && $fifo) {
|
||||
// echo button::create(['type'=>'button','label'=>$text['button-copy'],'icon'=>$settings->get('theme', 'button_icon_copy'),'id'=>'btn_copy','name'=>'btn_copy','style'=>'display:none;','onclick'=>"modal_open('modal-copy','btn_copy');"]);
|
||||
|
||||
Reference in New Issue
Block a user