fixes #1772 use the appropriate *.piwigo.org url

This commit is contained in:
plegall 2022-10-31 10:28:00 +01:00
parent b04befd2b4
commit 65cdfbc5bb
2 changed files with 3 additions and 1 deletions

View file

@ -75,6 +75,8 @@ else
$template->assign("PROMOTE_MOBILE_APPS", false);
}
$template->assign('PHPWG_URL', PHPWG_URL);
// +-----------------------------------------------------------------------+
// | Formats Mode |
// +-----------------------------------------------------------------------+

View file

@ -427,7 +427,7 @@ jQuery(document).ready(function(){
<div class="right-side">
<div class="promote-text">
<span>{"Install Piwigo on mobile"|@translate|escape:javascript}</span>
<a href="https://piwigo.org/mobile-applications" target="_blank"><span class="go-to-porg icon-link-1">{"Discover"|@translate|escape:javascript}</span></a>
<a href="{$PHPWG_URL}/mobile-applications" target="_blank"><span class="go-to-porg icon-link-1">{"Discover"|@translate|escape:javascript}</span></a>
</div>
</div>
</div>