Ignore:
Timestamp:
Apr 8, 2014, 11:06:53 PM (10 years ago)
Author:
flop25
Message:

styling
using enable_synchronization

Location:
extensions/TakeATour/tours/first_contact
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/TakeATour/tours/first_contact/config_preparse.inc.php

    r28059 r28129  
    5252    $template->assign('TAT_cat_id', $row['id']);
    5353  }
     54  global $conf;
     55  if ( isset($conf['enable_synchronization']) )
     56  {
     57    $template->assign('TAT_FTP', $conf['enable_synchronization']);
     58  }
    5459?>
  • extensions/TakeATour/tours/first_contact/tour.tpl

    r28097 r28129  
    156156    element: "#content",
    157157    title: "{/literal}{'first_contact_title19'|@translate}{literal}",
    158     content: "{/literal}{'first_contact_stp19'|@translate}{literal}",
     158    content: "{/literal}{if $TAT_FTP}{'first_contact_stp19'|@translate}{else}{'first_contact_stp19_b'|@translate}{/if}{literal}",
    159159    onPrev: function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";},
    160160
Note: See TracChangeset for help on using the changeset viewer.