News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

[solved] textarea (modsetting.php) help!

Started by snork13, March 09, 2006, 03:34:17 PM

Previous topic - Next topic

snork13

function ModifypayPalSettings()
{
global $txt, $scripturl, $context, $settings, $sc;

$config_vars = array(
// Donations - On or off?
array('check', 'payPalEnable'),
'',
// Paypal key and Reason
array('textarea', 'payPalKey'),
array('text', 'payPalReason'),
           
);


I'm trying to set a textarea in modsetting.php, how can i get the textarea? Can i say "text" and set the array to handle the height and width of the textarea? Something like below?

array('textarea', 'payPalKey', array('20',
         '20')),

array(l'arge_text','payPalKey','8', &$txt['payPalReason1'],)

-snork

Mods
Please DO NOT PM me with requests for individual support, but post your questions and concerns in the appropriate section of the forum where other users can benefit from them as well. Thank you.
I have been super busy as of late. Working on updates to all my modifications for 2.0.1

Advertisement: