Exemple #1
0
             </div>
         </div>
         <div class="help-box" style="clear:both; float:none;"><a href="http://php.net/date" target="_blank"><?php _e('Documentation on date and time formatting'); ?></a></div>
     </div>
 </div>
 <div class="form-row">
     <div class="form-label"><?php _e('RSS shows'); ?></div>
     <div class="form-controls">
         <input type="text" class="input-small" name="num_rss_items" value="<?php echo osc_esc_html(osc_num_rss_items()); ?>" />
         <?php _e('listings at most'); ?>
     </div>
 </div>
 <div class="form-row">
     <div class="form-label"><?php _e('Latest listings shown'); ?></div>
     <div class="form-controls">
         <input type="text" class="input-small" name="max_latest_items_at_home" value="<?php echo osc_esc_html(osc_max_latest_items_at_home()); ?>" />
         <?php _e('at most'); ?>
     </div>
 </div>
 <div class="form-row">
     <div class="form-label"><?php _e('Search page shows'); ?></div>
     <div class="form-controls">
         <input type="text" class="input-small" name="default_results_per_page" value="<?php echo osc_esc_html(osc_default_results_per_page_at_search()); ?>" />
         <?php _e('listings at most'); ?>
     </div>
 </div>
 <h2 class="render-title separate-top"><?php _e('Category settings'); ?></h2>
 <div class="form-row">
     <div class="form-label"><?php _e('Parent categories'); ?></div>
     <div class="form-controls">
         <div class="form-label-checkbox">
Exemple #2
0
echo osc_esc_html(osc_num_rss_items());
?>
" />
                            <?php 
_e('listings at most');
?>
                        </div>
                    </div>
                    <div class="form-row">
                        <div class="form-label"><?php 
_e('Latest listings shown');
?>
</div>
                        <div class="form-controls">
                            <input type="text" class="input-small" name="max_latest_items_at_home" value="<?php 
echo osc_esc_html(osc_max_latest_items_at_home());
?>
" />
                            <?php 
_e('at most');
?>
                        </div>
                    </div>
                    <div class="form-row">
                        <div class="form-label"><?php 
_e('Search page shows');
?>
</div>
                        <div class="form-controls">
                            <input type="text" class="input-small" name="default_results_per_page" value="<?php 
echo osc_esc_html(osc_default_results_per_page_at_search());
Exemple #3
0
?>
)'/>
                                </fieldset>
                            </div>

                            <div style="float: left; width: 50%;">
                                <fieldset>
                                    <legend><?php 
_e('Number of recent items displayed at home');
?>
</legend>
                                    <input type="text" name="max_latest_items_at_home" id="max_latest_items_at_home" value="<?php 
echo osc_max_latest_items_at_home();
?>
" onblur='validateInt(this,<?php 
echo osc_max_latest_items_at_home();
?>
)'/>
                                </fieldset>
                            </div>
                            <div style="clear: both;"></div>
                            <input id="button_save" type="submit" value="<?php 
_e('Update');
?>
" />
                        </form>
                    </div>
                </div>
            </div> <!-- end of right column -->
        </div><!-- end of container -->
        <?php