예제 #1
0
    echo ">Only your Buddies</option>";
}
?>

                    </select>
                    <?php 
if (in_array($param->driver, $param->joomla_drivers) == true) {
    echo '<br/><br/>Enter group ids separated by commas [user groups created in joomla user manager]<br/>


                                                  
                            <a href="admin_files/home/example_ug_ids.png" target="_blank">click here</a>  to see an example of group ids

                            <div id="fade"></div>

                            <input type="text" name="ug_ids" value="' . $param->default_value("ug_ids") . '"/>
                            <br/><span style="color:#999"><em>if left empty freichat will fetch users as per the previous option else will override it.</em></span>';
}
?>
                    <br/><br/>                <?php 
//echo $param->default_param("link_profile", "enabled");
if (in_array($param->driver, $param->link_profile_supported_drivers) == true) {
    echo '
                        <p>Show link to user\'s profile</p>
                        <select name="link_profile">
                            <option value="enabled" ';
    $param->default_param("link_profile", "enabled");
    echo ' >Yes</option>
                            <option value="disabled" ';
    $param->default_param("link_profile", "disabled");
    echo '>No</option>
예제 #2
0
            <div class="row-fluid">


                <form name="params" action='<?php 
$_SERVER['PHP_SELF'];
?>
' method="POST">

                    <div class="control-group">
                        <label class="control-label" for="appendedInput">Busy time out</label>
                         User status will be changed to busy after <br/><br/>

                        <div class="controls">
                            <div class="input-append">
                                <input name="busy_timeOut" value="<?php 
echo $param->default_value('busy_timeOut');
?>
" id="appendedInput" size="16" type="text"><span class="add-on">seconds</span>
                            </div>
                        </div>
                    </div>  
                    <br/><br/>

                    <div class="control-group">
                        <label class="control-label" for="appendedInput">Offline time out</label>
                         User status will be changed to offline after  <br/><br/>

                        <div class="controls">
                            <div class="input-append">
                                <input name="offline_timeOut" value="<?php 
echo $param->default_value('offline_timeOut');
예제 #3
0
                <select name="polling">
                    <option value="disabled"<?php 
$param->default_param("polling", "disabled");
?>
>Short Polling</option>
                    <option value="enabled"<?php 
$param->default_param("polling", "enabled");
?>
>Comet</option>
                </select>
                <br/><br/><hr/>
                <br/>
                Polling Time:(only for comet)<br/><br/>

                <input type="text" name="polling_time" value="<?php 
echo $param->default_value('polling_time');
?>
"/> seconds

                <br/><br/>
                <hr/>
                <p>
                <h3>What is Comet?</h3>
                Comet is a web application model in which a long-held HTTP request allows a web server to push data to a browser, without the browser explicitly requesting it. Comet is an umbrella term, encompassing multiple techniques for achieving this interaction. All these methods rely on features included by default in browsers, such as JavaScript, rather than on non-default plugins. The Comet approach differs from the original model of the web, in which a browser requests a complete web page at a time.
                The use of Comet techniques in web development predates the use of the word Comet as a neologism for the collective techniques. Comet is known by several other names, including Ajax Push, Reverse Ajax,Two-way-web, HTTP Streaming, and HTTP server push among others

                <br/>
                <br/>
                Pros: you are notified when the server event happens with no delay.<br/> 
                Cons: more complex and more server resources used as the connection is kept alive. 
                </p>
예제 #4
0
?>
>Short Polling</option>
                    <option value="enabled"<?php 
$param->default_param("polling", "enabled");
?>
>Comet</option>
                </select>
                <br/><hr/>
                <br/>

                <div class="control-group">
                    <label class="control-label" for="appendedInput">Polling Time (only for comet)</label><br/>
                    <div class="controls">
                        <div class="input-append">
                            <input name="polling_time" value="<?php 
echo $param->default_value('polling_time');
?>
" id="appendedInput"  type="text"><span class="add-on">seconds</span>
                        </div>
                    </div>
                </div>  

                <br/>
                <hr/>



                <p>
                <h3>What is Comet?</h3>
                Comet is a web application model in which a long-held HTTP request allows a web server to push data to a browser, without the browser explicitly requesting it. Comet is an umbrella term, encompassing multiple techniques for achieving this interaction. All these methods rely on features included by default in browsers, such as JavaScript, rather than on non-default plugins. The Comet approach differs from the original model of the web, in which a browser requests a complete web page at a time.
                The use of Comet techniques in web development predates the use of the word Comet as a neologism for the collective techniques. Comet is known by several other names, including Ajax Push, Reverse Ajax,Two-way-web, HTTP Streaming, and HTTP server push among others
예제 #5
0
$param->default_param(array("plugins", "chatroom", "autoclose"), 'false');
?>
>No</option>

                    </select>
                    <br/><br/>

                    <div class="control-group">
                        <label class="control-label" for="appendedInput">
                            Temporary chatrooms created by users/guests would be deleted after 
                        </label>

                        <div class="controls">
                            <div class="input-append">
                                <input name="chatroom_expiry" value="<?php 
echo $param->default_value(array("plugins", "chatroom", 'chatroom_expiry'), 3);
?>
" id="appendedInput" size="16" type="text"><span class="add-on">seconds</span>
                            </div>
                        </div>
                    </div>  
                    <br/><br/>

                    <p>Take below values from the theme (defined in client/themes/your_theme/argument.php)</p>
                    <select id="overrid_positions" name='override_positions'>
                        <option value='yes' <?php 
$param->default_param(array("plugins", "chatroom", "override_positions"), 'yes');
?>
>Yes</option>
                        <option value='no'  <?php 
$param->default_param(array("plugins", "chatroom", "override_positions"), 'no');
예제 #6
0
                    <div class="parameters">

                        <div id="tabs">

                            <!-- First TAB -->
                            <div id="client">




                                <div class="control-group">
                                    <label class="control-label" for="appendedInput">Maximum file size for uploading</label>
                                    <div class="controls">
                                        <div class="input-append">
                                            <input name="max_file_size" value="<?php 
echo $param->default_value(array("plugins", "file_sender", "file_size"), 3);
?>
" id="appendedInput" size="16" type="text"><span class="add-on">KB</span>
                                        </div>
                                    </div>
                                </div>  

                                <div class="control-group">
                                    <label class="control-label" for="appendedInput">Uploaded files will be deleted after</label>
                                    <div class="controls">
                                        <div class="input-append">
                                            <input name="max_file_expiry" value="<?php 
echo $param->default_value(array("plugins", "file_sender", "expiry"), 3);
?>
" id="appendedInput" size="16" type="text"><span class="add-on">minutes</span>
                                        </div>
예제 #7
0
                                        </select>
                                    </div>
                                </div>  
                                
                                <hr/>
                                
                                <p style="text-align:left"><b>SMTP Related Settings(Required if you choose SMTP)</b></p><br/>



                                <div class="control-group">
                                    <label class="control-label" for="appendedInput">SMTP server</label>
                                    <div class="controls">
                                        <div>
                                            <input name="smtp_server" value="<?php 
echo $param->default_value(array("plugins", "send_conv", "smtp_server"), 3);
?>
" type="text">
                                        </div>
                                    </div>
                                </div>  



                                <div class="control-group">
                                    <label class="control-label" for="appendedInput">SMTP port</label>
                                    <div class="controls">
                                        <div>
                                            <input size="60px" name="smtp_port" value="<?php 
echo $param->default_value(array("plugins", "send_conv", "smtp_port"), 3);
?>