Документация CMSv4

Форма создания чата





<?php
        // Чат комната пользователя
        $cChatRooms->CreateChatRoom(array(
                        'TEMPLATE' => 'create_chat_room',
                        'ADD_FORM_TEMPLATE' => 'form_create_chat_room',
                        'REDACT_FORM_TEMPLATE' => 'form_redact_chat_room',
                        'HTML_ADD_FORM' => array(
                                                'SUBMIT' => 'style="width:120px;"',
                                                'BACK' => 'style="width:120px;"',
                                                'CHAT_ROOM_NAME' => 'style="width:327px;"',
                                                'CHAT_ROOM_PREV' => 'style="height:21px;"',
                                                'CHAT_ROOM_DESCRIPTION' => 'cols="39" rows="3"'
                        ),
                        'HTML_REDACT_FORM' => array(
                                                'SUBMIT' => 'style="width:120px;"',
                                                'CHAT_ROOM_NAME' => 'style="width:327px;"',
                                                'CHAT_ROOM_PREV' => 'style="height:21px;"',
                                                'CHAT_ROOM_DESCRIPTION' => 'cols="39" rows="3"'
                        ),
                        'AJAX' => 'Y'
        ));
?>







Комментарии