| 1 |
<?php |
<?php |
| 2 |
// $Id: affiliates.module,v 1.1.4.5.2.11 2009/02/09 10:53:50 paulbooker Exp $ |
// $Id: affiliates.module,v 1.1.4.5.2.12 2009/02/09 13:49:32 paulbooker Exp $ |
| 3 |
|
|
| 4 |
// Portions Copyright 2006 http://2bits.com |
// Portions Copyright 2006 http://2bits.com |
| 5 |
define ('AFFILIATE_BUTTONS_DIRECTORY_RELATIVE_FILES', '/affiliates'); |
define ('AFFILIATE_BUTTONS_DIRECTORY_RELATIVE_FILES', '/affiliates'); |
| 406 |
'#title' => t('Hosted button URL'), |
'#title' => t('Hosted button URL'), |
| 407 |
'#default_value' => $affiliate->anchor, |
'#default_value' => $affiliate->anchor, |
| 408 |
'#size' => 40, |
'#size' => 40, |
| 409 |
'#maxlength' => 120, |
'#maxlength' => 256, |
| 410 |
'#description' => t('If your button is hosted elsewhere, enter the URL here.') |
'#description' => t('If your button is hosted elsewhere, enter the URL here.') |
| 411 |
); |
); |
| 412 |
|
|
| 415 |
'#title' => t('Redirect to URL'), |
'#title' => t('Redirect to URL'), |
| 416 |
'#default_value' => $affiliate->redirect, |
'#default_value' => $affiliate->redirect, |
| 417 |
'#size' => 40, |
'#size' => 40, |
| 418 |
'#maxlength' => 80, |
'#maxlength' => 256, |
| 419 |
'#description' => t('If no redirect is specified, the home page will be used.') |
'#description' => t('If no redirect is specified, the home page will be used.') |
| 420 |
); |
); |
| 421 |
|
|