public function link_edit() { return module_social_facebook::link_open($this->get('social_facebook_id')); }
?> </th>--> </tr> </thead> <tbody> <?php $c = 0; foreach ($facebook_accounts as $facebook_account) { ?> <tr class="<?php echo $c++ % 2 ? "odd" : "even"; ?> "> <td class="row_action"> <?php echo module_social_facebook::link_open($facebook_account['social_facebook_id'], true, $facebook_account); ?> </td> <td> <?php echo print_date($facebook_account['last_checked'], true); ?> </td> <!--<td> <?php /* */ ?> </td>--> </tr> <?php
}; if (typeof FB == 'undefined') { jQuery.getScript('//connect.facebook.net/en_US/all.js', ucmfacebook.loaded); } else { ucmfacebook.loaded(); } </script> <p>Please click the button below to connect your Facebook account:</p> <a href="#" id="facebook-login-button"><img src="<?php echo full_link('/includes/plugin_social_facebook/inc/connect.jpg'); ?> " width="90" height="25" title="Connect to Facebook" border="0"></a> <?php } } else { // no app / secret defined, use the default UCM ones. ?> <iframe src="http://ultimateclientmanager.com/api/facebook/login.php?return=<?php echo urlencode(module_social_facebook::link_open($social_facebook_id, false, false, 'facebook_account_connect')); ?> &codes=<?php echo urlencode(htmlspecialchars(module_config::c('_installation_code'))); ?> " frameborder="0" style="width:100%; height:600px; background: transparent" ALLOWTRANSPARENCY="true"></iframe> <?php } } }