fix php warnings
make repos a select box to save horizontal space