当前位置: 首页>>代码示例>>PHP>>正文


PHP param::default_param方法代码示例

本文整理汇总了PHP中param::default_param方法的典型用法代码示例。如果您正苦于以下问题:PHP param::default_param方法的具体用法?PHP param::default_param怎么用?PHP param::default_param使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在param的用法示例。


在下文中一共展示了param::default_param方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

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


                    <br/><br/>

                    <p>PHP debugging</p><br/>
                    <select name="debug">
                        <option value="true"<?php 
$param->default_param("debug", "true");
?>
>Yes</option>
                        <option value="false"<?php 
$param->default_param("debug", "false");
?>
>No</option>
                    </select>

                    <br/><br/>                        <p>JavaScript debugging</p><br/>
                    <select name="JSdebug">
                        <option value="true"<?php 
$param->default_param("JSdebug", "true");
?>
>Yes</option>
                        <option value="false"<?php 
开发者ID:joshjim27,项目名称:jobsglobal,代码行数:31,代码来源:index.php

示例2: Time

    <div class="box span12">
        <div class="box-header well" data-original-title="">
            <h2><i class="icon-arrow-up"></i> Polling</h2>
        </div>
        <div class="box-content">

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


                <p>Polling Type</p><br/>
                <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/><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 
开发者ID:joshjim27,项目名称:jobsglobal,代码行数:31,代码来源:index.php

示例3: rgba

                        color:white;
                        background-color: rgba(0, 136, 255, 1);
                    }
                </style>

                <table class="tablex">
                    <tr>
                        <th>Plugin</th>
                        <th>Guest Access</th>

                        <th>User Access</th>
                    </tr>
                    <tr>
                        <td class="classleft">Private chat</td>
                        <td><input type="checkbox"  name="p_chat_guest" <?php 
$param->default_param(array("ACL", "chat", "guest"), "allow", true);
?>
 value="checked" /></td>
                        <td><input type="checkbox" name="p_chat_user" <?php 
$param->default_param(array("ACL", "chat", "user"), "allow", true);
?>
 value="checked" /></td>

                    </tr>

                    <tr>
                        <td class="classleft">Chatroom</td>
                        <td><input type="checkbox"  name="p_chatroom_guest" <?php 
$param->default_param(array("ACL", "chatroom", "guest"), "allow", true);
?>
 value="checked" /></td>
开发者ID:joshjim27,项目名称:jobsglobal,代码行数:31,代码来源:index.php

示例4:

        <div class="box-header well" data-original-title="">
            <h2><i class="icon-asterisk"></i> Chatroom configuration</h2>

        </div>
        <div class="box-content">
            <div class="row-fluid">



                <form name="params" action='admin.php?freiload=chatrooms/configuration' method="POST">


                    <p>Location of the chat room that will be displayed on the webpage</p>
                    <select name='location'>
                        <option value='left' <?php 
$param->default_param(array("plugins", "chatroom", "location"), 'left');
?>
>Left</option>
                        <option value='right'  <?php 
$param->default_param(array("plugins", "chatroom", "location"), 'right');
?>
>Right</option>
                        <option value='top'  <?php 
$param->default_param(array("plugins", "chatroom", "location"), 'top');
?>
>Top</option>
                        <option value='bottom'  <?php 
$param->default_param(array("plugins", "chatroom", "location"), 'bottom');
?>
>Bottom</option>
开发者ID:joshjim27,项目名称:jobsglobal,代码行数:30,代码来源:index.php

示例5: Settings

                    <br/><br/>
                    <div class="parameters">

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



                                <div class="control-group">
                                    <label class="control-label" for="appendedInput">Mail() or SMTP</label>
                                    <div class="controls">
                                        <select name='mailtype'>
                                            <option value='mail' <?php 
$param->default_param(array("plugins", "send_conv", "mailtype"), 'mail');
?>
>mail()</option>
                                            <option value='smtp'  <?php 
$param->default_param(array("plugins", "send_conv", "mailtype"), 'smtp');
?>
>SMTP</option>

                                        </select>
                                    </div>
                                </div>  
                                
                                <hr/>
                                
                                <p style="text-align:left"><b>SMTP Related Settings(Required if you choose SMTP)</b></p><br/>
开发者ID:bandaaceh,项目名称:slims8_akasia,代码行数:29,代码来源:index.php

示例6: Settings

            <ul>
                <li><a href="#client">Send Conversation By Email Plugin</a></li>

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




                <ol>
                    <li>
                        <p>Mail() or SMTP</p>
                        <select name='mailtype'>
                            <option value='mail' <?php 
$param->default_param("mailtype", 'mail', 'send_conv');
?>
>mail()</option>
                            <option value='smtp'  <?php 
$param->default_param("mailtype", 'smtp', 'send_conv');
?>
>SMTP</option>

                        </select>
                        <br/><br/><hr/>
                    </li>
                </ol>
                <p><br/><br/><b>SMTP Related Settings(Required if you choose SMTP)</b></p>
                <ol>
                    <li>
                        <p>SMTP server</p>
开发者ID:remy40,项目名称:gvrs,代码行数:31,代码来源:index.php

示例7:

                <!--<li><a href="#added">Plugins parameters</a></li>-->
                <li><a href="#account">Additional</a></li>
            </ul>
            
            
            <!-- -1 tab --->
            
            <div id="polling">
                
                
                    
                        
                        <p>Polling Type</p><br/>
                        <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
开发者ID:remy40,项目名称:gvrs,代码行数:31,代码来源:index.php


注:本文中的param::default_param方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。