<div class="row"> <div class="col-md-2"> <h3>Kissmetrics</h3> </div> <!-- /.col-md-2 --> <div class="col-md-10"> <div class="form-group"> <label>Enabled?</label> <select name="integration[kissmetrics][enabled]" class="form-control"> <?php echo \Dsc\Html\Select::options($opts, $flash->old('integration.kissmetrics.enabled')); ?> </select> </div> <!-- /.form-group --> <div class="form-group"> <label>API Key</label> <input type="text" name="integration[kissmetrics][key]" placeholder="API Key" value="<?php echo $flash->old('integration.kissmetrics.key'); ?> " class="form-control" /> </div> <!-- /.form-group --> </div>
$val = (int) $permissions[(string) $action]; } ?> <div class="form-group"> <label><?php echo $acl->getActionDescription($action->getAction()); ?> </label> <select name="set_permissions[<?php echo $action->getResource(); ?> ][<?php echo $action->getAction(); ?> ]" class="form-control"> <?php echo \Dsc\Html\Select::options($opts, $val); ?> </select> </div> <!-- /.form-group --> <?php } ?> </div> </div> <?php }
>Display to all visitors except those from...</option> </select> </div> <div class="col-md-9"> <div class="ruleset-options"> <div class="ruleset-enabled <?php if (!in_array($flash->old('assignment.referers.method'), array("include", "exclude"))) { echo "hidden"; } ?> "> <div class="form-group"> <select name="assignment[referers][list]" class="form-control ui-select2" multiple="multiple"> <?php echo \Dsc\Html\Select::options(array(array('value' => 'email', 'text' => 'All Recognized Email Clients'), array('value' => 'search', 'text' => 'All Recognized Search Engines'), array('value' => 'social', 'text' => 'All Recognized Social Platforms'), array('value' => 'google', 'text' => 'Google'), array('value' => 'facebook', 'text' => 'Facebook'), array('value' => 'other', 'text' => 'Other')), $flash->old('assignment.referers.list')); ?> </select> </div> <div class="form-group"> <label class="help-block">If you selected 'Other', please provide the strings that we should search for in the referring URL:</label> <input name="assignment[referers][others]" data-tags='[]' value="<?php echo implode(",", (array) $flash->old('assignment.referers.others')); ?> " type="text" class="form-control ui-select2-tags" placeholder="e.g. utm, source, or wordpress.org"/> </div> </div> <div class="text-muted ruleset-disabled <?php if (in_array($flash->old('assignment.referers.method'), array("include", "exclude"))) { echo "hidden";
<div id="create-review-form-<?php echo $review_key; ?> " class="panel-collapse collapse"> <div class="panel-body"> <form class="" action="./shop/product/<?php echo $item->slug; ?> /review" method="post" enctype="multipart/form-data"> <div class="form-group"> <div class="row"> <label class="control-label col-sm-3">Overall rating</label> <div class="col-sm-2"> <select name="rating" class="form-control"> <?php echo \Dsc\Html\Select::options(array(array('value' => '1', 'text' => '1'), array('value' => '2', 'text' => '2'), array('value' => '3', 'text' => '3'), array('value' => '4', 'text' => '4'), array('value' => '5', 'text' => '5 (best)')), 1); ?> </select> </div> </div> </div> <div class="form-group"> <div class="row"> <label class="control-label col-sm-3">Give it a title</label> <div class="col-sm-9"> <input name="title" type="text" class="form-control"> </div> </div> </div>
<div class="row"> <div class="col-xs-12 col-sm-5 col-md-5 col-lg-8"> <ul class="list-filters list-unstyled list-inline"> <li class="col-md-3"> <select name="filter[category][slug]" data-select='1'> <?php echo \Dsc\Html\Select::options($categories, $state->get('filter.category.slug')); ?> </select> </li> <li class="col-md-3"> <select name="filter[tags]" data-select='1'> <?php echo \Dsc\Html\Select::options($all_tags, $state->get('filter.tags')); ?> </select> </li> </ul> </div> <div class="col-xs-12 col-sm-7 col-md-7 col-lg-4"> <div class="form-group"> <div class="input-group"> <input class="form-control" type="text" name="filter[keyword]" placeholder="Search..." maxlength="200" value="<?php echo $state->get('filter.keyword'); ?> "> <span class="input-group-btn"> <input class="btn btn-primary" type="submit" onclick="this.form.submit();" value="Search"
echo $state->get('list.direction'); ?> " /> <div class="row"> <div class="col-xs-12 col-sm-5 col-md-5 col-lg-8"> <ul class="list-filters list-unstyled list-inline"> <li> <?php /* ?><a class="btn btn-link" href="javascript:void(0);" onclick="ToggleAdvancedFilters();">Advanced Filters</a> */ ?> </li> <li> <select name="filter[publication_status]" class="form-control" onchange="this.form.submit();"> <?php echo \Dsc\Html\Select::options(array(array('text' => 'All Statuses', 'value' => ''), array('text' => 'Published', 'value' => 'published'), array('text' => 'Unpublished', 'value' => 'unpublished')), $state->get('filter.publication_status')); ?> </select> </li> <li> <select name="filter[event_id]" class="form-control" onchange="this.form.submit();"> <option value="">Select an Event</option> <?php foreach (\Mailer\Models\Events::find() as $event) { ?> <option value="<?php echo $event->id; ?> " <?php if ((string) $event->id == (string) $state->get('filter.event_id')) {
<h3 class="">Search Settings</h3> <hr /> <div class=""> <div class="form-group"> <label>Source</label> <div class="col-md-7"> <select name="search[source]"> <?php $options[] = array('text' => 'All', 'value' => 'all'); $sources = \Search\Factory::sources(); foreach ($sources as $source) { $options[] = array('text' => $source['title'], 'value' => (string) $source['id']); } ?> <?php echo \Dsc\Html\Select::options($options, $flash->old('search.source')); ?> </select> </div> </div> <!-- /.form-group --> </div>
<select class="categoryValue form-control " <?php if (!empty($value['required'])) { echo 'required="required"'; } ?> name="specs[<?php echo $key; ?> ]"> <?php echo \Dsc\Html\Select::options($options, $cur); ?> </select> </div> <?php } } ?> </div> <?php } ?> <div class="row">
" class="form-control" /> <p class="help-block">3-letter ISO code for currency.</p> </div> </div> </div> <div class="form-group"> <div class="row"> <div class="col-md-5"> <label>Interval</label> <?php $intervals = array('week', 'month', 'year'); ?> <select name="stripe[interval]"> <?php echo \Dsc\Html\Select::options($intervals, $flash->old('stripe.interval')); ?> </select> <p class="help-block">3-letter ISO code for currency.</p> </div> </div> </div> <!-- /.form-group --> </div> </div> <hr />
<div class="col-md-6"> <label>Commission earned for referral</label> <select name="commissions[for_referral]" class="form-control"> <?php echo \Dsc\Html\Select::options(array(array('value' => 0, 'text' => 'No'), array('value' => 1, 'text' => 'Yes')), $flash->old('commissions.for_referral')); ?> </select> </div> <div class="col-md-6"> <label>Commission earned for conversion</label> <select name="commissions[for_conversion]" class="form-control"> <?php echo \Dsc\Html\Select::options(array(array('value' => 0, 'text' => 'No'), array('value' => 1, 'text' => 'Yes')), $flash->old('commissions.for_conversion')); ?> </select> </div> </div> </div> <!-- /.form-group --> </div> <div class="tab-pane fade in" id="tab-invitations"> <div class="form-group"> <label>Default message in invitation emails</label> <textarea name="general[default_message]" class="form-control" rows="10"><?php
<div class="col-md-4"> <label class="control-label">Type of Button</label> <select name="social[tumblr][share][type]" class="form-control"> <?php $opts = array(array('value' => '1', 'text' => "tumblr +"), array('value' => '2', 'text' => "tumblr"), array('value' => '3', 'text' => "t + text"), array('value' => '4', 'text' => "t")); echo \Dsc\Html\Select::options($opts, $flash->old('social.tumblr.share.type')); ?> </select> </div> <div class="col-md-4"> <label class="control-label">Color of Button</label> <select name="social[tumblr][share][color]" class="form-control"> <?php $opts = array(array('value' => '', 'text' => "Colorful"), array('value' => 'T', 'text' => "Grayscale")); echo \Dsc\Html\Select::options($opts, $flash->old('social.tumblr.share.color')); ?> </select> </div> <div class="col-md-4"> <label class="control-label">Button Text</label> <input type="text" name="social[tumblr][share][text]" class="form-control" value="<?php echo $flash->old('social.tumblr.share.text'); ?> " placeholder="Button Text" > </div> </div> </div> <h3 class="text-primary">Disqus</h3>
<div class="row"> <div class="col-md-2"> <h3>Striper</h3> </div> <!-- /.col-md-2 --> <div class="col-md-10"> <div class="form-group"> <label>Enabled?</label> <select name="social[providers][Striper][enabled]" class="form-control"> <?php echo \Dsc\Html\Select::options($opts, $item->{'social.providers.Striper.enabled'}); ?> </select> </div> <!-- /.form-group --> <div class="form-group"> <label>Client ID</label> <input type="text" name="social[providers][Striper][keys][id]" placeholder="Client ID" value="<?php echo $item->{'social.providers.Instagram.keys.id'}; ?> " class="form-control" /> </div> <!-- /.form-group -->
</div> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label>Daily Pickup</label> <select name="shippingmethods[ups][pickup_type]"> <?php $array = array(); $array[] = array('value' => '01', 'text' => 'Daily Pickup (default)'); $array[] = array('value' => '03', 'text' => 'Customer Counter'); $array[] = array('value' => '06', 'text' => 'One Time Pickup'); $array[] = array('value' => '07', 'text' => 'On Call Air'); $array[] = array('value' => '19', 'text' => 'Letter Center'); $array[] = array('value' => '20', 'text' => 'Air Service Center'); echo \Dsc\Html\Select::options($array, $flash->old('shippingmethods.ups.pickup_type')); ?> </select> </div> <!-- /.form-group --> </div> <!-- /.col-md-10 --> </div> <hr> <div class="row"> <h3>UPS Shipper Information</h3> <p class="help-text">Needs to match information on file with UPS or the API call will fail.</p> </div>
<?php if ($canModifyRole) { ?> <div class="row"> <div class="col-md-2"> <h3>Role</h3> </div> <!-- /.col-md-2 --> <div class="col-md-10"> <div class="form-group"> <label>Role</label> <select name="role" data-select='1' class="form-control"> <?php echo \Dsc\Html\Select::options($roles, $flash->old('role')); ?> </select> </div> <!-- /.form-group --> </div> <!-- /.col-md-10 --> </div> <!-- /.row --> <hr /> <?php }
<div class="form-group"> <div class="row"> <div class="col-md-3"> <label>Select Subscription Plan</label> <select name="plan"> <?php $plans = (new \Striper\Models\Plans())->getItems(); $options = array(); foreach ($plans as $plan) { $options[] = array('value' => $plan->{'stripe.id'}, 'text' => $plan->{'stripe.name'}); } ?> <?php echo \Dsc\Html\Select::options($options, $flash->old('plan')); ?> </select> </div> </div> </div> <!-- /.form-group --> </div> </div> <hr />
<div class="form-group"> <label>Description</label> <input type="text" name="description" placeholder="Short Description -- for admin-side display only" value="<?php echo $flash->old('description'); ?> " class="form-control" /> </div> <div class="form-group"> <label>Can Access Admin</label> <select name="adminaccess" class="form-control"> <?php $opts = array(array('value' => 1, 'text' => 'Allow'), array('value' => 0, 'text' => 'Deny')); echo \Dsc\Html\Select::options($opts, $flash->old('adminaccess')); ?> </select> </div> <!-- /.form-group --> <div class="form-group"> <?php if ($parents = \Users\Models\Roles::find()) { ?> <label>Parent</label> <div> <select name="parent" class="form-control"> <option value="null">None</option> <?php
<div class="row"> <input type="hidden" name="name" required value="usps"> <div class="form-group"> <label>Enabled?</label> <select name="shipping[usps][enabled]" class="form-control"> <?php echo \Dsc\Html\Select::options($no_yes, $flash->old('shipping.usps.enabled')); ?> </select> </div> </div>
<div class="row"> <div class="col-md-2"> <h3>Instagram</h3> </div> <!-- /.col-md-2 --> <div class="col-md-10"> <div class="form-group"> <label>Enabled?</label> <select name="social[providers][Instagram][enabled]" class="form-control"> <?php echo \Dsc\Html\Select::options($opts, $flash->old('social.providers.Instagram.enabled')); ?> </select> </div> <!-- /.form-group --> <div class="form-group"> <label>Client ID</label> <input type="text" name="social[providers][Instagram][keys][id]" placeholder="Client ID" value="<?php echo $flash->old('social.providers.Instagram.keys.id'); ?> " class="form-control" /> </div> <!-- /.form-group -->
<div class="row"> <div class="col-md-2"> <h3>LinkedIn</h3> </div> <!-- /.col-md-2 --> <div class="col-md-10"> <div class="form-group"> <label>Enabled?</label> <select name="social[providers][LinkedIn][enabled]" class="form-control"> <?php echo \Dsc\Html\Select::options($opts, $flash->old('social.providers.LinkedIn.enabled')); ?> </select> </div> <!-- /.form-group --> <div class="form-group"> <label>Default Title</label> <input type="text" class="form-control" name="social[providers][LinkedIn][default_title]" value="<?php echo $flash->old('social.providers.LinkedIn.default_title'); ?> " /> </div> <!-- /.form-group --> <div class="form-group">
<label>Description</label> <input type="text" name="description" placeholder="" value="<?php echo $flash->old('description'); ?> " class="form-control" /> </div> <!-- /.form-group --> <div class="form-group"> <div class="row"> <div class="col-md-5"> <label>Display</label> <select name="display"> <?php echo \Dsc\Html\Select::options(array('yes', 'no'), $flash->old('site.display')); ?> </select> <p class="help-block">Show on site</p> </div> </div> </div> </div> <!-- /.col-md-10 --> </div> <!-- /.row --> <hr />
</select> </div> <div class="col-md-6"> <label>Author:</label> <select name="author[id]" class="form-control"> <?php $authors_opts = array(); if (!empty($authors)) { foreach ($authors as $author) { $authors_opts[] = array('text' => $author->fullName(), 'value' => $author->{'id'}); } } $act_author = empty($flash->old('author.id')) ? \Dsc\System::instance()->get('auth')->getIdentity()->id : $flash->old('author.id'); echo \Dsc\Html\Select::options($authors_opts, $act_author); ?> </select> </div> </div> </div> <div class="form-group"> <label>Start:</label> <div class="row"> <div class="col-md-6"> <div class="input-group"> <input name="publication[start_date]" value="<?php echo $flash->old('publication.start_date', date('Y-m-d')); ?> " class="ui-datepicker form-control" type="text" data-date-format="yyyy-mm-dd" data-date-today-highlight="true" data-date-today-btn="true"> <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
<div class="row"> <div class="col-md-4"> <label>Default Front-End Type:</label> <select name="default_site_type" class="form-control"> <?php echo \Dsc\Html\Select::options($options, $flash->old('default_site_type')); ?> </select> </div> </div> </div> <!-- /.form-group --> <hr/> <div class="form-group"> <div class="row"> <div class="col-md-4"> <label>Default Admin Type:</label> <select name="default_admin_type" class="form-control"> <?php echo \Dsc\Html\Select::options($options, $flash->old('default_admin_type')); ?> </select> </div> </div> </div> <!-- /.form-group --> </div> </div>