mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-02 14:09:20 +00:00
Advanced -> Domains add Manage link as an option to switch domains.
This used to be there and some people miss it so adding it back again.
This commit is contained in:
@@ -233,6 +233,7 @@
|
||||
echo th_order_by('domain_name', $text['label-domain'], $order_by, $order);
|
||||
}
|
||||
echo th_order_by('domain_name', $text['label-domain_name'], $order_by, $order);
|
||||
echo "<th class='center'>".$text['label-tools']."</th>";
|
||||
echo th_order_by('domain_enabled', $text['label-domain_enabled'], $order_by, $order, null, "class='center'");
|
||||
echo " <th class='hide-sm-dn'>".$text['label-domain_description']."</th>\n";
|
||||
if (permission_exists('domain_edit') && $_SESSION['theme']['list_row_edit_button']['boolean'] == 'true') {
|
||||
@@ -264,15 +265,19 @@
|
||||
echo " ".escape($row['domain_name']);
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo " <td class='no-link center'>\n";
|
||||
echo " <a href='".PROJECT_PATH."/core/domains/domains.php?domain_uuid=".escape($row['domain_uuid'])."&domain_change=true'>".$text['label-manage']."</a>";
|
||||
echo " </td>\n";
|
||||
if (permission_exists('domain_edit')) {
|
||||
echo " <td class='no-link center'>\n";
|
||||
echo button::create(['type'=>'submit','class'=>'link','label'=>$text['label-'.$row['domain_enabled']],'title'=>$text['button-toggle'],'onclick'=>"list_self_check('checkbox_".$x."'); list_action_set('toggle'); list_form_submit('form_list')"]);
|
||||
echo " </td>\n";
|
||||
}
|
||||
else {
|
||||
echo " <td class='center'>\n";
|
||||
echo $text['label-'.$row['domain_enabled']];
|
||||
echo " </td>\n";
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo " <td class='description overflow hide-sm-dn'>".escape($row['domain_description'])."</td>\n";
|
||||
if (permission_exists('domain_edit') && $_SESSION['theme']['list_row_edit_button']['boolean'] == 'true') {
|
||||
echo " <td class='action-button'>\n";
|
||||
|
||||
Reference in New Issue
Block a user