Update ui.php

adding easy ability to create custom form using same function name
adding filter to images_url so everyone can easy point to different folder with different buttons
adding filters to links with buttons so everyone can easy replace them with different ones or with CSS style