mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Functions: Enhance img_spacer() function.
Dialplan Edit: Integrate img_spacer() to fix row divider. Default/Domain/User Settings: Use img_spacer() function for color swatches. Contact Times: Adjust for recent changes on img_spacer() function.
This commit is contained in:
@@ -61,18 +61,18 @@ else {
|
||||
|
||||
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<th id='th_filler' style='display: none; padding: 0px;'>".img_spacer('21px', '1px', 'none')."</th>\n";
|
||||
echo "<th id='th_filler' style='display: none; padding: 0px;'>".img_spacer('21px', '1px')."</th>\n";
|
||||
echo "<th width='20%'>".$text['label-time_user']."</th>\n";
|
||||
echo "<th width='20%'>".$text['label-time_start']."</th>\n";
|
||||
echo "<th width='20%'>".$text['label-time_duration']."</th>\n";
|
||||
echo "<th width='40%'>".$text['label-time_description']."</th>\n";
|
||||
echo "<td class='list_control_icons' nowrap>";
|
||||
echo img_spacer('25px', '1px', 'none');
|
||||
echo img_spacer('25px', '1px');
|
||||
if (permission_exists('contact_time_add')) {
|
||||
echo "<a href='contact_time_edit.php?contact_uuid=".$_GET['id']."' alt='".$text['button-add']."'>$v_link_label_add</a>";
|
||||
}
|
||||
else {
|
||||
echo img_spacer('25px', '1px', 'none');
|
||||
echo img_spacer('25px', '1px');
|
||||
}
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
@@ -760,7 +760,7 @@ else {
|
||||
//end the row
|
||||
echo "</tr>\n";
|
||||
if ($index != 999) {
|
||||
echo "<tr><td colspan='7' style='margin: 0; padding: 0;'><img src='about:blank;' style='width: 100%; height: 1px; border-bottom: 1px solid #e5e9f0; margin: 0; padding: 0; display: block;'></td></tr>";
|
||||
echo "<tr><td colspan='7' style='margin: 0; padding: 0;'>".(img_spacer('100%', '1px', 'border-bottom: 1px solid #e5e9f0; margin: 0; padding: 0; display: block;'))."</td></tr>";
|
||||
}
|
||||
//increment the value
|
||||
$x++;
|
||||
|
||||
Reference in New Issue
Block a user