Update edit.php

I just reinserted the code for pagination.
Merge pull request #171 from glardone/patch-1

Update edit.php