History of block_form

Version 2

block_form

Created by: hiran, Last modification: 14 Jan 2007 (14:53 UTC) by hiran
Generates the form element and some more.

Parameters

ipackagepackage where we should direct the form after submissionoptional
ifilefile that is targetted. if neither ifile or ianchor are set, $PHP_SELF is used as urloptional
ianchormove to anchor after submitting. if neither ifile or ianchor are set, $PHP_SELF is used as urloptional
legendif set, it will generate a fieldset using the input as legendoptional


Sample


<?php
{form enctype="multipart/form-data" id="editsampleform"}
    <
div class="row">
        {
formlabel label="Title" for="title"}
        {
forminput}<input type="text" size="60" maxlength="200" name="event[title]" id="title" value="{$gContent->mInfo.title|escape}/>{/forminput}
    </
div>
{/
form}
?>


See also

Page History
Date/CommentUserIPVersion
14 Jan 2007 (15:08 UTC)
hiran85.233.40.1924
Current • Source
hiran85.233.40.1923
View • Compare • Difference • Source
hiran85.233.40.1922
View • Compare • Difference • Source
hiran85.233.40.1921
View • Compare • Difference • Source