本文整理汇总了PHP中AdminHelper::simpleULFromResponse方法的典型用法代码示例。如果您正苦于以下问题:PHP AdminHelper::simpleULFromResponse方法的具体用法?PHP AdminHelper::simpleULFromResponse怎么用?PHP AdminHelper::simpleULFromResponse使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AdminHelper
的用法示例。
在下文中一共展示了AdminHelper::simpleULFromResponse方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<div class="col_oneoftwo">
<h2>Your Lists</h2>
<?php
echo AdminHelper::simpleULFromResponse($cash_admin->getStoredResponse('getlistsforuser'));
?>
</div>
<div class="col_oneoftwo lastcol">
<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 />
示例2:
<?php
$settings = $cash_admin->getUserSettings();
if ($settings['banners'][BASE_PAGENAME]) {
echo '<div class="introductorybanner"><div class="titlespc"><h2>Calendar</h2>enter your <b>shows</b><br />manage <b>guestlists</b><br />check <b>venue</b> details</div>';
echo 'Enter all your shows, manage your calendar and your guest lists, and use all of it to feed elements like show listings, tour archives, and even guest list slot giveaways.';
echo '<div class="closelink"><a href="?hidebanner=true">close <span class="icon x_alt"></span></a></div></div>';
}
?>
<div class="col_oneoftwo">
<h2>This week at a glance</h2>
<?php
echo AdminHelper::simpleULFromResponse($cash_admin->getStoredResponse('events_thisweek'));
?>
</div>
<div class="col_oneoftwo lastcol">
<h2>Unpublished events</h2>
<?php
echo AdminHelper::simpleULFromResponse($cash_admin->getStoredResponse('events_unpublished'));
?>
</div>
示例3:
<div class="row_seperator">.</div>
<label for="venue_region">State / Provence / Region</label><br />
<input type="text" id="venue_region" name="venue_region" value="" placeholder="Region" />
<div class="row_seperator">.</div>
<label for="venue_country">Country</label><br />
<select id="venue_country" name="venue_country">
<?php
echo AdminHelper::drawCountryCodeUL();
?>
</select>
<div class="row_seperator">.</div><br />
<input class="button" type="submit" value="Add That Venue" />
</form>
</div>
<div class="col_oneoftwo lastcol">
<h2>Add a venue</h2>
<p>
<a href="./add/">Add a venue with all details.</a>
</p>
<div class="row_seperator">.</div>
<h2>All venues</h2>
<?php
echo AdminHelper::simpleULFromResponse($cash_admin->getStoredResponse('getallvenues'), true);
?>
</div>