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


PHP Theme::SelectList方法代码示例

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


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

示例1:

			<td><?php 
echo Theme::SelectList('bg_image', Theme::Get('background_image_list'), 'mediaid', 'media', Theme::Get('background_id'), 'onchange="background_button_callback()"');
?>
</td>
			<td rowspan="3"><img id="bg_image_image" src="<?php 
echo Theme::Get('background_thumbnail_url');
?>
" alt="<?php 
echo Theme::Translate('Background thumbnail');
?>
" />
		</tr>
		<tr>
			<td><label for="resolutionid" title="<?php 
echo Theme::Translate('Pick the resolution');
?>
"><?php 
echo Theme::Translate('Resolution');
?>
</label></td>
			<td><?php 
echo Theme::SelectList('resolutionid', Theme::Get('resolution_field_list'), 'resolutionid', 'resolution', Theme::Get('resolutionid'));
?>
</td>
		</tr>
	</table>
</form>



开发者ID:abbeet,项目名称:server39,代码行数:27,代码来源:layout_form_background.php

示例2: defined

 * 	
 */
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
?>
<form id="<?php 
echo Theme::Get('form_id');
?>
" class="XiboForm" method="post" action="<?php 
echo Theme::Get('form_action');
?>
">
	<?php 
echo Theme::Get('form_meta');
?>
	<table>
        <tr>
        	<td><label for="homepage" title="<?php 
echo Theme::Translate('The users Homepage. This should not be changed until you want to reset their homepage.');
?>
"><?php 
echo Theme::Translate('Homepage');
?>
</label></td>
        	<td><?php 
echo Theme::SelectList('homepage', Theme::Get('homepage_field_list'), 'homepageid', 'homepage', Theme::Get('homepage'));
?>
</td>
   		</tr>
    </table>
</form>
开发者ID:abbeet,项目名称:server39,代码行数:30,代码来源:user_form_set_homepage.php

示例3:

                <?php 
echo Theme::SelectList('datasetcolumntypeid', Theme::Get('datasetcolumntype_field_list'), 'datasetcolumntypeid', 'datasetcolumntype');
?>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="datatypeid" accesskey="d" title="<?php 
echo Theme::Translate('The DataType of the Intended Data');
?>
"><?php 
echo Theme::Translate('Data Type');
?>
</label>
            <div class="controls">
                <?php 
echo Theme::SelectList('datatypeid', Theme::Get('datatype_field_list'), 'datatypeid', 'datatype');
?>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="listcontent" accesskey="l" title="<?php 
echo Theme::Translate('A comma seperated list of items to present in a combo box');
?>
"><?php 
echo Theme::Translate('List Content');
?>
</label>
            <div class="controls">
                <input class="" name="listcontent" type="text" id="listcontent" tabindex="4" />
            </div>
        </div>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:dataset_form_column_add.php

示例4:

                        <?php 
echo Theme::SelectList('auditing', Theme::Get('auditing_field_list'), 'auditingid', 'auditing', Theme::Get('auditing'));
?>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="email_alert" accesskey="n" title="<?php 
echo Theme::Translate('Do you want to be notified by email if there is a problem with this display?');
?>
"><?php 
echo Theme::Translate('Email Alerts');
?>
</label>
                    <div class="controls">
                        <?php 
echo Theme::SelectList('email_alert', Theme::Get('email_alert_field_list'), 'email_alertid', 'email_alert', Theme::Get('email_alert'));
?>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="alert_timeout" accesskey="n" title="<?php 
echo Theme::Translate('How long in minutes after the display last connected to the webservice should we send an alert. Set this value higher than the collection interval on the client. Set to 0 to use global default.');
?>
"><?php 
echo Theme::Translate('Alert Timeout');
?>
</label>
                    <div class="controls">
                        <input class="" name="alert_timeout" type="text" id="alert_timeout" tabindex="1" value="<?php 
echo Theme::Get('alert_timeout');
?>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:display_form_edit.php

示例5:

?>
">
		<div class="XiboFilter">
			<div class="FilterDiv" id="Filter">
				<form>
					<?php 
echo Theme::Get('form_meta');
?>
					<table class="filterform" id="sessions_filterform">
						<tr>
							<td><label for="filter_type"><?php 
echo Theme::Translate('Type');
?>
</label></td>
							<td><?php 
echo Theme::SelectList('filter_type', Theme::Get('type_field_list'), 'typeid', 'type', Theme::Get('filter_typeid'));
?>
</td>
							<td><label for="filter_fromdt"><?php 
echo Theme::Translate('From DT');
?>
</label></td>
							<td><input class="date-pick" type="text" id="filter_fromdt" name="filter_fromdt" value="<?php 
echo Theme::Get('filter_fromdt');
?>
"></td>
							<td><label for="<?php 
echo Theme::Get('filter_id');
?>
"><?php 
echo Theme::Translate('Keep filter open');
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:sessions_page.php

示例6:

					<table class="user_filterform">
						<tr>
							<td><label for="filter_username"><?php 
echo Theme::Translate('Name');
?>
</label></td>
							<td><input type="text" id="filter_username" name="filter_username" value="<?php 
echo Theme::Get('filter_username');
?>
"></td>
							<td><label for="filter_usertypeid"><?php 
echo Theme::Translate('User Type');
?>
</label></td>
							<td><?php 
echo Theme::SelectList('filter_usertypeid', Theme::Get('usertype_field_list'), 'usertypeID', 'usertype', Theme::Get('filter_usertypeid'));
?>
</td>
		                    <td><label for="<?php 
echo Theme::Get('filter_id');
?>
"><?php 
echo Theme::Translate('Keep filter open');
?>
</label></td>
		                    <td><input type="checkbox" id="<?php 
echo Theme::Get('filter_id');
?>
" name="XiboFilterPinned" class="XiboFilterPinned" <?php 
echo Theme::Get('filter_pinned');
?>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:user_page.php

示例7:

					<table class="filterform">
						<tr>
							<td><?php 
echo Theme::Translate('Name');
?>
</td>
							<td><input type="text" name="filter_name" value="<?php 
echo Theme::Get('filter_name');
?>
"></td>
							<td><?php 
echo Theme::Translate('System');
?>
</td>
							<td><?php 
echo Theme::SelectList('filter_is_system', Theme::Get('is_system_field_list'), 'is_systemid', 'is_system', Theme::Get('filter_is_system'));
?>
</td>
							<td><label for="<?php 
echo Theme::Get('filter_id');
?>
"><?php 
echo Theme::Translate('Keep filter open');
?>
</label></td>
		                    <td><input type="checkbox" id="<?php 
echo Theme::Get('filter_id');
?>
" name="XiboFilterPinned" class="XiboFilterPinned" <?php 
echo Theme::Get('filter_pinned');
?>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:template_page.php

示例8:

echo Theme::Get('updateInterval');
?>
">
        			</div>
    			</div>
    			<div class="control-group">
                    <label class="control-label" for="takeItemsFrom" title="<?php 
echo Theme::Translate('Take the items from the beginning or the end of the list');
?>
"><?php 
echo Theme::Translate('from the ');
?>
</label>
    	    		<div class="controls">
                    	<?php 
echo Theme::SelectList('takeItemsFrom', Theme::Get('takeitemsfrom_field_list'), 'takeitemsfromid', 'takeitemsfrom', Theme::Get('takeItemsFrom'));
?>
                	</div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <label class="checkbox" for="durationIsPerItem" title="<?php 
echo Theme::Translate('The duration speficied is per item otherwise it is per feed.');
?>
"><?php 
echo Theme::Translate('Duration is per item');
?>
                		  <input id="durationIsPerItem" name="durationIsPerItem" type="checkbox" <?php 
echo Theme::Get('durationIsPerItemChecked');
?>
 />
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:media_form_ticker_edit.php

示例9: defined

 * 	form_meta = Extra form meta that needs to be sent to the CMS to return the list of layouts
 */
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
?>
<div class="XiboGrid" id="<?php 
echo Theme::Get('id');
?>
">
	<div class="XiboFilter">
		<div class="FilterDiv" id="Filter">
			<form>
				<?php 
echo Theme::Get('form_meta');
?>
				<table class="filterform">
					<tr>
						<td><label for="filter_menu"><?php 
echo Theme::Translate('Menu');
?>
</label></td>
						<td><?php 
echo Theme::SelectList('filter_menu', Theme::Get('menu_field_list'), 'MenuID', 'Menu');
?>
</td>
					</tr>
				</table>
			</form>
		</div>
	</div>
	<div class="XiboData"></div>
</div>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:usergroup_form_menusecurity.php

示例10:

"><?php 
echo Theme::Translate('Exit Transition');
?>
</label></td>
            <td><?php 
echo Theme::SelectList('transitionType', Theme::Get('transition_field_list'), 'code', 'transition', Theme::Get('transition'), null, 'class');
?>
</td>
        </tr>
        <tr class="transitionDuration">
            <td><label for="transitionDuration"><?php 
echo Theme::Translate('The duration for this transition, in milliseconds.');
?>
</label></td>
            <td><input type="text" class="numeric" name="transitionDuration" id="transitionDuration" value="<?php 
echo Theme::Get('duration');
?>
" /></td>
        </tr>
        <tr class="transitionDirection">
            <td><label for="transitionDirection"><?php 
echo Theme::Translate('The direction for this transtion.');
?>
</label></td>
            <td><?php 
echo Theme::SelectList('transitionDirection', Theme::Get('direction_field_list'), 'id', 'name', Theme::Get('direction'));
?>
</td>
        </tr>
    </table>
</form>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:region_form_options.php

示例11: sprintf

                if ($field['fieldType'] == 'dropdown') {
                    ?>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="<?php 
                    echo $field['name'];
                    ?>
" title="<?php 
                    echo Theme::Translate($field['helpText']);
                    ?>
"><?php 
                    echo Theme::Translate($field['title']);
                    ?>
</label>
                        <div class="col-sm-10">
                            <?php 
                    echo Theme::SelectList($field['name'], $field['options'], 'value', 'value', $field['value']);
                    ?>
                            <span class="help-block"><?php 
                    echo Theme::Translate($field['helpText']);
                    ?>
</span>
                            <span class="help-block"><?php 
                    echo sprintf(Theme::Translate('This setting is referred to as: %s'), $field['name']);
                    ?>
</span>
                        </div>
                    </div>
                <?php 
                } else {
                    if ($field['fieldType'] == 'timezone') {
                        ?>
开发者ID:fignew,项目名称:xibo-cms,代码行数:31,代码来源:settings_page.php

示例12:

					<label class="select">
						<?php 
echo Theme::Translate('Type');
?>
						<?php 
echo Theme::SelectList('filter_type', Theme::Get('module_field_list'), 'moduleid', 'module', Theme::Get('filter_type'));
?>
					</label>

					<label type="select">
						<?php 
echo Theme::Translate('Retired');
?>
						<?php 
echo Theme::SelectList('filter_retired', Theme::Get('retired_field_list'), 'retiredid', 'retired', Theme::Get('retired'));
?>
					</label>

					<label class="checkbox">
						<?php 
echo Theme::Translate('Duration in Seconds');
?>
						<input type="checkbox" name="filter_duration_in_seconds" <?php 
echo Theme::Get('filter_duration_in_seconds_checked');
?>
 />
					</label>

					<label class="checkbox">
						<?php 
开发者ID:abbeet,项目名称:server39,代码行数:30,代码来源:library_page.php

示例13:

        <?php 
echo Theme::Get('form_meta');
?>
        <div class="row-fluid">
        	<div class="span6">
    			<div class="control-group">
    				<label class="control-label" for="direction" accesskey="n" title="<?php 
echo Theme::Translate('Direction to Scroll');
?>
"><?php 
echo Theme::Translate('Direction');
?>
</label>
    			    <div class="controls">
    			        <?php 
echo Theme::SelectList('direction', Theme::Get('direction_field_list'), 'directionid', 'direction');
?>
    			    </div>
    			</div>
        		<div class="control-group">
        			<label class="control-label" for="scrollSpeed" accesskey="n" title="<?php 
echo Theme::Translate('The scroll speed to apply if a direction is specified. Higher is faster.');
?>
"><?php 
echo Theme::Translate('Scroll Speed');
?>
</label>
        		    <div class="controls">
        		        <input class="" name="scrollSpeed" type="text" id="scrollSpeed" tabindex="1" />
        		    </div>
        		</div>
开发者ID:abbeet,项目名称:server39,代码行数:31,代码来源:media_form_text_add.php

示例14:

?>
">
    <?php 
echo Theme::Get('form_meta');
?>
    <table>
        <tr>
            <td><label for="mediaid" title="<?php 
echo Theme::Translate('Installer File');
?>
"><?php 
echo Theme::Translate('Installer File');
?>
</label></td>
            <td><?php 
echo Theme::SelectList('mediaid', Theme::Get('media_field_list'), 'mediaid', 'media', Theme::Get('installer_file_id'));
?>
</td>
        </tr>
    </table>
    <table class="table">
    <thead>
        <tr>
            <th><?php 
echo Theme::Translate('Display');
?>
</th> 
            <th><?php 
echo Theme::Translate('Type');
?>
</th>   
开发者ID:fignew,项目名称:xibo-cms,代码行数:31,代码来源:display_form_version_instructions.php

示例15:

						<tr>
							<td><label for="filter_function"><?php 
echo Theme::Translate('Function');
?>
</label></td>
							<td><?php 
echo Theme::SelectList('filter_function', Theme::Get('function_field_list'), 'functionid', 'function', Theme::Get('filter_function'));
?>
</td>
						</tr>
						<tr>
							<td><label for="filter_display"><?php 
echo Theme::Translate('Display');
?>
</label></td>
							<td><?php 
echo Theme::SelectList('filter_display', Theme::Get('display_field_list'), 'displayid', 'display', Theme::Get('filter_display'));
?>
</td>
						</tr>
					</table>
				</form>
			</div>
		</div>
		<div class="XiboData"></div>
		<?php 
echo Theme::Get('pager');
?>
	</div>
</div>
开发者ID:abbeet,项目名称:server39,代码行数:30,代码来源:log_page.php


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