fix(pagination): removes hard-coded arrows from php file

Fixes #5298
Merge pull request #7418 from PerJensen/pagination_arrows

fix(pagination): removes hard-coded arrows from php file