Skip to content

Commit

Permalink
Compatibility with Piwigo 12.
Browse files Browse the repository at this point in the history
Added Has settings
Removed $smarty
  • Loading branch information
MatthieuLP committed Nov 29, 2021
1 parent c2fb194 commit 36023f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/functions.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function contact_form_applymenu($menu_ref_arr)
/**
* change contact link in footer
*/
function contact_form_footer_link($content, &$smarty)
function contact_form_footer_link($content)
{
$search = '#<a href="mailto:{\\$CONTACT_MAIL}\\?subject={\'A comment on your site\'\\|@?translate\\|@?escape:url}">#';
$replace = '<a href="{$CONTACT_FORM_PUBLIC}">';
Expand Down
1 change: 1 addition & 0 deletions main.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
Plugin URI: auto
Author: Piwigo Team
Author URI: http://piwigo.org
Has Settings: true
*/

/*
Expand Down

0 comments on commit 36023f3

Please sign in to comment.