framework/functiontpl.func.php

[WeEngine System] Copyright (c) 2014 WE7.CC WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.

Constants

TPL_INIT_CLOCK_TIME

TPL_INIT_CLOCK_TIME = 1

TPL_INIT_DATERANGE_DATE

TPL_INIT_DATERANGE_DATE = true

TPL_INIT_DATERANGE_TIME

TPL_INIT_DATERANGE_TIME = true

TPL_INIT_CALENDAR

TPL_INIT_CALENDAR = true

TPL_INIT_DISTRICT

TPL_INIT_DISTRICT = true

TPL_INIT_CATEGORY

TPL_INIT_CATEGORY = true

TPL_INIT_COORDINATE

TPL_INIT_COORDINATE = true

TPL_INIT_AVATAR

TPL_INIT_AVATAR = true

TPL_INIT_IMAGE

TPL_INIT_IMAGE = true

Functions

tpl_form_field_date()

tpl_form_field_date(  $name,   $value = '',   $withtime = false) 

Parameters

$name
$value
$withtime

tpl_form_field_clock()

tpl_form_field_clock(  $name,   $value = '') 

Parameters

$name
$value

tpl_form_field_daterange()

tpl_form_field_daterange(  $name,   $value = array(),   $time = false) 

Parameters

$name
$value
$time

tpl_form_field_calendar()

tpl_form_field_calendar(  $name,   $values = array()) 

Parameters

$name
$values

tpl_form_field_district()

tpl_form_field_district(  $name,   $values = array()) 

Parameters

$name
$values

tpl_form_field_category_2level()

tpl_form_field_category_2level(  $name,   $parents,   $children,   $parentid,   $childid) 

Parameters

$name
$parents
$children
$parentid
$childid

tpl_form_field_industry()

tpl_form_field_industry(  $name,   $pvalue = '',   $cvalue = '',   $parentid = 'industry_1',   $childid = 'industry_2') 

Parameters

$name
$pvalue
$cvalue
$parentid
$childid

tpl_form_field_coordinate()

tpl_form_field_coordinate(  $field,   $value = array()) 

Parameters

$field
$value

tpl_fans_form()

tpl_fans_form(  $field,   $value = '') 

Parameters

$field
$value