|
@@ -249,6 +249,9 @@
|
|
echo "<div class='action_bar' id='action_bar'>\n";
|
|
echo "<div class='action_bar' id='action_bar'>\n";
|
|
echo " <div class='heading'><b>".$text['header-contacts']." (".$num_rows.")</b></div>\n";
|
|
echo " <div class='heading'><b>".$text['header-contacts']." (".$num_rows.")</b></div>\n";
|
|
echo " <div class='actions'>\n";
|
|
echo " <div class='actions'>\n";
|
|
|
|
+ if (permission_exists('contact_add')) {
|
|
|
|
+ echo button::create(['type'=>'button','label'=>$text['button-import'],'icon'=>$_SESSION['theme']['button_icon_import'],'style'=>'margin-right: 15px;','link'=>'contact_import.php']);
|
|
|
|
+ }
|
|
if (permission_exists('contact_add')) {
|
|
if (permission_exists('contact_add')) {
|
|
echo button::create(['type'=>'button','label'=>$text['button-add'],'icon'=>$_SESSION['theme']['button_icon_add'],'link'=>'contact_edit.php']);
|
|
echo button::create(['type'=>'button','label'=>$text['button-add'],'icon'=>$_SESSION['theme']['button_icon_add'],'link'=>'contact_edit.php']);
|
|
}
|
|
}
|
|
@@ -262,9 +265,6 @@
|
|
if ($paging_controls_mini != '') {
|
|
if ($paging_controls_mini != '') {
|
|
echo "<span style='margin-left: 15px;'>".$paging_controls_mini."</span>";
|
|
echo "<span style='margin-left: 15px;'>".$paging_controls_mini."</span>";
|
|
}
|
|
}
|
|
- if (permission_exists('contact_add')) {
|
|
|
|
- echo button::create(['type'=>'button','label'=>$text['button-import'],'icon'=>$_SESSION['theme']['button_icon_import'],'link'=>'contact_import.php','style'=>'margin-left: 15px;']);
|
|
|
|
- }
|
|
|
|
echo " </form>\n";
|
|
echo " </form>\n";
|
|
echo " </div>\n";
|
|
echo " </div>\n";
|
|
echo " <div style='clear: both;'></div>\n";
|
|
echo " <div style='clear: both;'></div>\n";
|