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


PHP AdminHelper::echoSettingsOptions方法代码示例

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


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

示例1:

    ?>
" />

			<div class="row_seperator">.</div>

			<label for="connection_id">Connect To</label><br />
			<select id="connection_id" name="connection_id">
				<option value="0"<?php 
    if ($current_list['connection_id'] == 0) {
        ?>
 selected="selected"<?php 
    }
    ?>
>None (local list only)</option>
				<?php 
    AdminHelper::echoSettingsOptions('lists', $current_list['connection_id']);
    ?>
			</select>
		</div>

		<div class="col_oneoftwo lastcol">
			<h3>&nbsp;</h3>
			<label for="list_description">Description</label><br />
			<textarea rows="3" id="list_description" name="list_description"><?php 
    echo $current_list['description'];
    ?>
</textarea>
		</div>

		<div class="row_seperator">.</div><br />
		<div>
开发者ID:nodots,项目名称:DIY,代码行数:31,代码来源:people_lists_edit.php

示例2: str_replace

" />

		<div class="row_seperator">.</div>
		<label for="asset_description">Description</label><br />
		<textarea rows="3" id="asset_description" name="asset_description"><?php 
    echo str_replace('"', '&quot;', $current_asset['description']);
    ?>
</textarea>

		<div class="row_seperator">.</div>
		<div class="col_oneoftwo">
			<label for="connection_id">Use Settings</label><br />
			<select id="connection_id" name="connection_id">
				<option value="0" selected="selected">None (Normal http:// link)</option>
				<?php 
    AdminHelper::echoSettingsOptions('assets', $current_asset['connection_id']);
    ?>
			</select>
		</div>

		<div class="col_oneoftwo lastcol">
			<label for="asset_location">Location (URI)</label><br />
			<input type="text" id="asset_location" name="asset_location" value="<?php 
    echo str_replace('"', '&quot;', $current_asset['location']);
    ?>
" />
		</div>

		<div class="row_seperator">.</div><br />

		<div class="col_oneoftwo">
开发者ID:nodots,项目名称:DIY,代码行数:31,代码来源:assets_edit_single.php

示例3:

	<h2>Add A New List</h2>
	<form method="post" action="<?php 
echo ADMIN_WWW_BASE_PATH . '/people/lists/add/';
?>
" id="lists">
		<input type="hidden" name="dolistadd" value="makeitso" />

		<label for="list_name">Name</label><br />
		<input type="text" id="list_name" name="list_name" value="" placeholder="Give It A Name" />

		<div class="row_seperator">.</div>
		<label for="list_description">Description</label><br />
		<textarea rows="3" id="list_description" name="list_description"></textarea>

		<div class="row_seperator">.</div>
		<label for="connection_id">Connect To</label><br />
		<select id="connection_id" name="connection_id">
			<option value="0" selected="selected">None (local list only)</option>
			<?php 
AdminHelper::echoSettingsOptions('lists');
?>
		</select>

		<div class="row_seperator">.</div><br />
		<div>
			<input class="button" type="submit" value="Add The New List" />
		</div>

	</form>
</div>
开发者ID:nodots,项目名称:DIY,代码行数:30,代码来源:people_lists.php

示例4:

		<h3>Asset Details</h3>
		<label for="asset_title">Title / Name</label><br />
		<input type="text" id="asset_title" name="asset_title" value="" placeholder="Give It A Name" />

		<div class="row_seperator">.</div>
		<label for="asset_description">Description</label><br />
		<textarea rows="3" id="asset_description" name="asset_description"></textarea>

		<div class="row_seperator">.</div>
		<div class="col_oneoftwo">
			<label for="connection_id">Use Settings</label><br />
			<select id="connection_id" name="connection_id">
				<option value="0" selected="selected">None (Normal http:// link)</option>
				<?php 
    AdminHelper::echoSettingsOptions('assets');
    ?>
			</select>
		</div>

		<div class="col_oneoftwo lastcol">
			<label for="asset_location">Location (URI)</label><br />
			<input type="text" id="asset_location" name="asset_location" value="" placeholder="URL, S3 path, or SoundCloud URL" />
		</div>

		<div class="row_seperator">.</div><br />

		<div class="col_oneoftwo">
			<div>
				<label>Tags</label><br />
				<a href="#" class="injectbefore" rev="<input type='text' name='tag' value='' placeholder='Tag' />"><small>+ ADD TAG</small></a>
开发者ID:nodots,项目名称:DIY,代码行数:30,代码来源:assets_add_single.php


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