Forums / General Questions / sidebox html - add image/link to paypal verified sidebox

sidebox html - add image/link to paypal verified sidebox

Locked

Views: 7,900

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
14 Jul 2006, 3:00 AM
#1
wasana avatar

wasana

Zen Follower

Join Date:
Apr 2006
Location:
Chiang Mai
Posts:
203
Plugin Contributions:
0

sidebox html - add image/link to paypal verified sidebox

Hello - I'm hoping someone can help me to add an image/link to paypal sidebox contribution paypal_verified_logo

I'm hoping to add html code to add a Secured.com seal for users to verify the validity of my SSL certificate - placed either above or below the paypal verify gif. I have the html code that my host said to just insert where I wanted it on one of my pages - but of course with ZenPHP it isn't as simple as that.
html

<a href="https://secured.com/verify.php" target="_self"><img src="https://secured.com/seal.gif" border="0"></a>

the paypal sidebox contribution has three files:
paypal_logo.php

if (MODULE_PAYMENT_PAYPAL_STATUS=='True') {
    require($template->get_template_dir('tpl_paypal_logo.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_paypal_logo.php');
    $title =  BOX_HEADING_PAYPAL_BOX;
    $title_link = false;
	require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}
?>

paypal_logo_sidebox.php
```
define('BOX_HEADING_PAYPAL_BOX', 'Paypal Verified Seller');
?>

if (MODULE_PAYMENT_PAYPAL_STATUS=='True' && defined('MODULE_PAYMENT_PAYPAL_BUSINESS_ID')) {
define(MODULE_PAYPAL_SEAL_ALT_TEXT,"Modified Official PayPal Seal");
define(MODULE_PAYPAL_SEAL_LOGO_IMAGE_FILENAME,"verification_seal.gif");
define(MODULE_PAYPAL_SEAL_VERIFIED_URL,'https://www.paypal.com/us/verified/pal=');
$content = '';
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
$content .= '<div class="wrapper">' . "\n";
$content .=
'<center>

<!-- Begin Official PayPal Seal -->

<a target="_blank" href="'.MODULE_PAYPAL_SEAL_VERIFIED_URL . MODULE_PAYMENT_PAYPAL_BUSINESS_ID . '">' .
zen_image(DIR_WS_TEMPLATE_IMAGES . MODULE_PAYPAL_SEAL_LOGO_IMAGE_FILENAME, MODULE_PAYPAL_SEAL_ALT_TEXT, 185, 150) .
'</a>

<!-- End Official PayPal Seal --> </center>'; $content .= '</div>' . "\n"; $content .= '</div>'; } else { $content=''; } <a href="https://secured.com/verify.php" target="_self"><img src="https://secured.com/seal.gif" border="0"></a> } ?> ```

Thanks:lookaroun