<?php

$welcome = $this->_->getOperatorWelcomeMessage();

$this->Admin->section(__('Config', 'awesome-live-chat'))
->add('textbox', array(
    'title' => __('Welcome Message', 'awesome-live-chat'),
    'name'  => 'alc_welcome',
    'help'  => sprintf(__('Welcome message when chat is initiated.<br />Use %s as placeholder to hold the users name.', 'awesome-live-chat'),
                    '<code>[name]</code>'),
    'value' => $welcome
))->add('password', array(
    'title' => __('API Password', 'awesome-live-chat'),
    'name'  => 'alc_pincode',
    'help'  => __('Overwrite API password.', 'awesome-live-chat'),
    'value' => ''
));