diff options
author | plegall <plg@piwigo.org> | 2014-09-19 13:45:45 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2014-09-19 13:45:45 +0000 |
commit | 3a2fcdec4e266286b2adc4a2291783b49959f730 (patch) | |
tree | 855773ab0bec42aaa4630bdfa13e379a029f5081 /plugins/TakeATour | |
parent | 4378e21a44002831d4ba8a178f1ccfffe260c0da (diff) |
on no_photo_yet, only show button "Start the Tour"
git-svn-id: http://piwigo.org/svn/trunk@29646 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/TakeATour')
-rw-r--r-- | plugins/TakeATour/main.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/TakeATour/main.inc.php b/plugins/TakeATour/main.inc.php index 216aea9a7..0dc1c86ad 100644 --- a/plugins/TakeATour/main.inc.php +++ b/plugins/TakeATour/main.inc.php @@ -104,8 +104,7 @@ function TAT_no_photo_yet() 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>';
- $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>
-<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().'">{\'Start the Tour\'|@translate}</a></div>';
return(str_replace($search, $replacement, $content));
}
|