Lines:
1 to 92 of 92
<?php // (C) Copyright Bobbing Wide 2009-2022 if ( !defined( "BOBBFORMS_INCLUDED" ) ) { define( "BOBBFORMS_INCLUDED", "3.3.0" ); /** * Library: bobbforms * Provides: bobbforms * Depends: bobbfunc * * Note: This file uses functions from the bobbfunc library. You must ensure this is already loaded * e.g. use oik_require_lib( "bobbfunc" ) */ /* function form() – Create a form tag */ /* function bw_form() – Start a form */ /* function label() – Create a field label */ /* function ihidden() – Return a hidden input field for a form */ /* function itext() – Create an input field of type text */ /* function iarea() – Create an HTML textarea field */ /* function iemail() – Create an email field */ /* function isubmit() – Create a submit button */ /* function iradio() – Create a radio button */ /* function tablerow() – Create a simple table row */ /* function bw_td() – Create a table data cell */ /* function bw_th() – Create a table heading cell */ /* function bw_tablerow() – Display a table row or table head row when $tdtag = "th" */ /* function textfield() – Create a text input field */ /* function textarea() – Create a textarea field */ /* function bw_textfield() – Form a text field */ /* function bw_emailfield() – Form an "email" field */ /* function bw_textarea() – Form a "textarea" field */ /* function bw_radio() – Display a group of radio buttons */ /* function is_selected() – Is this option selected? */ /* function bw_query_shorten() – Query the need to shorten a select field’s options */ /* function bw_shorten() – Shorten a string */ /* function iselect() – Return a select list with the current selection */ /* function bw_select() – Create a select field for a form-table */ /* function icheckbox() – Create a checkbox input field */ /* function bw_checkbox() – Create a checkbox field given a field name and value */ /* function bw_checkbox_arr() – Create a checkbox for an array options field */ /* function bw_textfield_arr() – Create a textfield for an array options field */ /* function bw_emailfield_arr() – Create an emailfield for an array options field */ /* function bw_textarea_arr() – Create a textarea for an array options field */ /* function bw_select_arr() – Create a select for an array options field */ /* function bw_textarea_cb_arr() – Create an optional textarea */ if ( !function_exists( "bw_form_start" ) ) { /* function bw_form_start() – Start of a WordPress form for options fields */ } /* function bw_reset_options() – Reset the options to the default fields */ /* function bw_current_url() – Return the current URL */ if ( !function_exists( "bw_verify_nonce" ) ) { /* function bw_verify_nonce() – Verify the nonce field */ } } /* end !defined */View on GitHub View on Trac