diff --git a/app/time_conditions/time_condition_edit.php b/app/time_conditions/time_condition_edit.php index 203d97f9d3..e0fe29a6d9 100644 --- a/app/time_conditions/time_condition_edit.php +++ b/app/time_conditions/time_condition_edit.php @@ -896,37 +896,30 @@ \n"; +echo "
\n"; -echo "\n"; -echo " \n"; -echo " \n"; -echo " \n"; -echo " \n"; -echo " \n"; -echo " \n"; -echo " \n"; -echo "
\n"; -echo " ".$text['title-time_condition'].""; -echo "

\n"; -echo "
\n"; -echo " \n"; +echo "
\n"; +echo "
".$text['title-time_condition']."
\n"; +echo "
\n"; +echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'style'=>'margin-right: 15px;','link'=>PROJECT_PATH.'/app/time_conditions/time_conditions.php?app_uuid=4b821450-926b-175a-af93-a03c441818b1']); if (if_group("superadmin") && $action == 'update') { - echo " \n"; + echo button::create(['type'=>'button','label'=>$text['button-dialplan'],'icon'=>'list','style'=>'margin-right: 15px;','link'=>PROJECT_PATH.'/app/dialplans/dialplan_edit.php?id='.urlencode($dialplan_uuid).'&app_uuid=4b821450-926b-175a-af93-a03c441818b1']); } -echo " \n"; -echo "
\n"; -echo " ".$text['description-time_conditions']."\n"; -echo "
"; -echo "
\n"; +echo button::create(['type'=>'submit','label'=>$text['button-save'],'icon'=>$_SESSION['theme']['button_icon_save']]); +echo " \n"; +echo "
\n"; +echo "\n"; + +echo $text['description-time_conditions']."\n"; +echo "

\n"; echo "\n"; echo "\n"; -echo "\n"; -echo "
\n"; +echo "\n"; echo " ".$text['label-name']."\n"; echo "\n"; +echo "\n"; echo " \n"; echo "
\n"; echo " ".$text['description-name']."\n"; @@ -1154,7 +1147,7 @@ if ($action == 'update') { echo " \n"; echo " "; echo " \n"; echo "
"; - echo " \n"; + echo button::create(['type'=>'button','label'=>$text['button-advanced'],'icon'=>'tools','onclick'=>"$(this).fadeOut(400, function() { $('#default_preset_destination').fadeIn(400); document.getElementById('default_preset_destination_description').innerHTML += '
".$text['description-presets_advanced']."'; });"]); echo " "; echo $destination->select('dialplan', 'default_preset_action', $dialplan_action); echo " "; @@ -1257,20 +1250,16 @@ if ($action == 'update') { echo "
\n"; - echo "
"; + echo "

\n"; - echo "
\n"; if ($action == "update") { - echo " \n"; + echo "\n"; } - echo " \n"; - echo " \n"; - echo "
"; + echo "\n"; echo ""; - echo "
"; //include the footer require_once "resources/footer.php"; -?> +?> \ No newline at end of file