Changeset 8400


Ignore:
Timestamp:
Dec 30, 2010, 6:10:32 PM (13 years ago)
Author:
rub
Message:

Remove not used tpl/header.tpl
Use smarty to urlencode

Location:
extensions/FacebookPlug/Plugin
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/FacebookPlug/Plugin/include/header.inc.php

    r8395 r8400  
    5151    $template->assign('LANGUAGE', $user['language']);
    5252    $template->assign('fbp', $conf['fbp']);
    53     $template->smarty->register_modifier('boolean_to_string', 'boolean_to_string');
     53    //~ $template->smarty->register_modifier('boolean_to_string', 'boolean_to_string');
    5454  }
    5555}
     
    7272      }
    7373    }
    74     //~ if (empty($page['fbp']['url_image']))
    75     //~ {
    76     //~ // todo
    77     //~ }
    7874
    7975    $template->assign('fbp_page', $page['fbp']);
  • extensions/FacebookPlug/Plugin/include/picture.inc.php

    r8395 r8400  
    6767    // Assign template
    6868    $template->assign('fbp_url_picture', $fbp_url_picture);
    69     $template->assign('fbp_urlencode_picture', urlencode($fbp_url_picture));
    7069
    7170    // Parse TPL
  • extensions/FacebookPlug/Plugin/tpl/social.plugin.comments.tpl

    r8295 r8400  
    11<div id="fb-xfbml-comments">
    22<fb:comments
    3   xid="{$fbp_urlencode_picture}" url="{$fbp_url_picture}"
     3  xid="{$fbp_url_picture|@urlencode}" url="{$fbp_url_picture}"
    44  width="{$fbp.social_plugin_comments.width}"
    55  numposts="{$fbp.social_plugin_comments.numposts}"
Note: See TracChangeset for help on using the changeset viewer.