Closed bramley closed 3 months ago
Didn't test, but looks fine
This pull request has been mentioned on phpList Discuss. There might be relevant details there:
https://discuss.phplist.org/t/3-6-15-release-candidate-is-available-for-testing/9473/1
This pull request has been mentioned on phpList Discuss. There might be relevant details there:
https://discuss.phplist.org/t/phplist-3-6-15-has-been-released/9495/1
Description
Allow ajax page links to have a title, defaulting to the link description. The title is shown when hovering over the link.
Currently an ajax link has a misleading title attribute. The title is set to that for the target page, but the link is always for a specific action on that page. See the screenshot for the Generate link.
This change adds an optional
$title
parameter to thePageLinkAjax()
function then uses that or the$desc
parameter for the call toPageLink2()
. This allows the calls toPageLinkAjax()
to be updated later to have a meaningful title when needed.Related Issue
Screenshots (if appropriate):