title: how to display variable on smarty tpl
body: <p>this is my tpl code 
  the {$video_link} when i use it with other (meta or FB: like etc) it work normal 
  inf fact in html code source page they display the coorect url ( seo)
  but this scirpt don't </p>
  
  <pre><code>    {literal}&lt;script&gt;
    function postlike()
    {
       FB.api(
    'me/video.watches',
    'post',
    {
      video : "{$video_link}"
    },
          function(response) {
             if (!response || response.error) {
                alert('Post was not published.');
             } else {
                alert('Post was published. Action ID: ' + response.id);
             }
          });
    }
    &lt;/script&gt;{/literal}
  </code></pre>
  
  <p>normally they must be </p>
  
  <pre><code>  'post',
    {
      video: "http://zdig1.biz/video/one-piece/611-video_942e07e26.html"
    },
  </code></pre>
  
  <p>but on page still appear </p>
  
  <pre><code>video : "{$video_link}"
  </code></pre>
  
  <p>so i thinked that my be there is a proble on the { before the $ !!!</p>