Changeset 29646


Ignore:
Timestamp:
Sep 19, 2014, 3:45:45 PM (10 years ago)
Author:
plg
Message:

on no_photo_yet, only show button "Start the Tour"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/TakeATour/main.inc.php

    r29475 r29646  
    105105{
    106106  $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().'">{\'I want to discover my gallery and add photos\'|@translate}</a></div>
    108 <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>';
    109108  return(str_replace($search, $replacement, $content));
    110109}
Note: See TracChangeset for help on using the changeset viewer.