<div class="item"><?php $o = new wpdreamsYesNo("autocomplete", "Turn on search autocomplete?", setval_or_getoption($sd, 'autocomplete', $_dk)); $params[$o->getName()] = $o->getData(); ?> </div> <div class="item"> <?php $o = new wpdreamsDraggable("autocomplete_source", "Keyword suggestion sources", array('selects' => $sugg_select_arr, 'value' => wpdreams_setval_or_getoption($sd, 'autocomplete_source', $_dk), 'description' => 'Select which sources you prefer for autocomplete. Order counts.')); $params[$o->getName()] = $o->getData(); ?> </div> <div class="item"><?php $o = new wpdreamsTextSmall("autocomplete_length", "Max. suggestion length", wpdreams_setval_or_getoption($sd, 'autocomplete_length', $_dk)); $params[$o->getName()] = $o->getData(); ?> <p class="descMsg">The length of each suggestion in characters. 30-60 is a good number to avoid too long suggestions.</p> </div> <div class="item"><?php $o = new wpdreamsLanguageSelect("autocomplete_google_lang", "Google autocomplete suggestions language", wpdreams_setval_or_getoption($sd, 'autocomplete_google_lang', $_dk)); $params[$o->getName()] = $o->getData(); ?> </div> <div class="item"> <?php $o = new wpdreamsTextarea("autocompleteexceptions", "Keyword exceptions (comma separated)", wpdreams_setval_or_getoption($sd, 'autocompleteexceptions', $_dk)); $params[$o->getName()] = $o->getData(); ?> </div>
<div class="item"><?php $o = new wpdreamsYesNo("autocomplete", "Turn on google search autocomplete?", setval_or_getoption($sd, 'autocomplete', $_dk)); $params[$o->getName()] = $o->getData(); ?> <p class="descMsg">Autocomplete feature will try to help the user finish what is being typed into the search box.</p> </div> <div class="item"><?php $o = new wpdreamsYesNo("kw_suggestions", "Turn on google search keyword suggestions?", setval_or_getoption($sd, 'kw_suggestions', $_dk)); $params[$o->getName()] = $o->getData(); ?> <p class="descMsg">Keyword suggestions appear when no results match the keyword.</p> </div> <div class="item"><?php $o = new wpdreamsTextSmall("kw_length", "Max. keyword length", wpdreams_setval_or_getoption($sd, 'kw_length', $_dk)); $params[$o->getName()] = $o->getData(); ?> <p class="descMsg">The length of each suggestion in characters. 30-60 is a good number to avoid too long suggestions.</p> </div> <div class="item"><?php $o = new wpdreamsTextSmall("kw_count", "Max. keywords count", wpdreams_setval_or_getoption($sd, 'kw_count', $_dk)); $params[$o->getName()] = $o->getData(); ?> </div> <div class="item"><?php $o = new wpdreamsLanguageSelect("kw_google_lang", "Google suggestions language", wpdreams_setval_or_getoption($sd, 'kw_google_lang', $_dk)); $params[$o->getName()] = $o->getData(); ?> </div> <div class="item"> <?php $o = new wpdreamsTextarea("kw_exceptions", "Keyword exceptions (comma separated)", wpdreams_setval_or_getoption($sd, 'kw_exceptions', $_dk));
</div> <div class="item"> <?php $o = new wpdreamsText("commentstext", "Comments results group default text", setval_or_getoption($sd, 'commentstext')); $params[$o->getName()] = $o->getData(); ?> </div> <div class="item"> <?php $o = new wpdreamsText("uncategorizedtext", "Uncategorized group text", setval_or_getoption($sd, 'uncategorizedtext')); $params[$o->getName()] = $o->getData(); ?> </div> <div class="item"> <?php $o = new wpdreamsYesNo("showpostnumber", "Show Post Numbering", setval_or_getoption($sd, 'showpostnumber')); $params[$o->getName()] = $o->getData(); ?> </div> <div class="item"> <input type="hidden" name='asp_submit' value=1 /> <input name="submit_<?php echo $search['id']; ?> " type="submit" value="Save this search!" /> </div> </fieldset> </div> </div> </form> </div>