on no_photo_yet, only show button "Start the Tour"
git-svn-id: http://piwigo.org/svn/trunk@29646 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
4378e21a44
commit
3a2fcdec4e
1 changed files with 1 additions and 2 deletions
|
@ -104,8 +104,7 @@ function TAT_no_photo_yet()
|
||||||
function TAT_no_photo_yet_prefilter($content, &$smarty)
|
function TAT_no_photo_yet_prefilter($content, &$smarty)
|
||||||
{
|
{
|
||||||
$search = '<div class="bigButton"><a href="{$next_step_url}">{\'I want to add photos\'|@translate}</a></div>';
|
$search = '<div class="bigButton"><a href="{$next_step_url}">{\'I want to add photos\'|@translate}</a></div>';
|
||||||
$replacement = '<div class="bigButton"><a href="'.get_root_url().'admin.php?submited_tour_path=tours/first_contact&pwg_token='.get_pwg_token().'">{\'I want to discover my gallery and add photos\'|@translate}</a></div>
|
$replacement = '<div class="bigButton"><a href="'.get_root_url().'admin.php?submited_tour_path=tours/first_contact&pwg_token='.get_pwg_token().'">{\'Start the Tour\'|@translate}</a></div>';
|
||||||
<div class="bigButton"><a href="{$next_step_url}">{\'I want to add photos\'|@translate}</a></div>';
|
|
||||||
return(str_replace($search, $replacement, $content));
|
return(str_replace($search, $replacement, $content));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue