Changeset 29770 for trunk/plugins
- Timestamp:
- Sep 24, 2014, 12:56:08 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/TakeATour/main.inc.php
r29713 r29770 105 105 { 106 106 $search = '<div class="bigButton"><a href="{$next_step_url}">{\'I want to add photos\'|@translate}</a></div>'; 107 $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>';107 $replacement = '<div class="bigButton"><a href="{$F_ACTION}?submited_tour_path=tours/first_contact&pwg_token={$pwg_token}">{\'Start the Tour\'|@translate}</a></div>'; 108 108 return(str_replace($search, $replacement, $content)); 109 109 }
Note: See TracChangeset
for help on using the changeset viewer.