hook mod='lovesort'|交友类别钩子

标签名称:hook mod='lovesort'

功能说明:交友类别钩子

适用范围:全局

调用语法:<!--{hook mod='lovesort' type='text/mulit/select/checkbox' value='' name='' text='' trnum='' width='' css=''}-->

标签参数:

参数名 数据类型 是否必须 描述
mod string Yes lovesort
type string Yes text-单个文本,multi-多个文本,select-下拉选框,checkbox-多选框
value string Yes/No 当前值
name string No select,checkbox选项名称
text string No 提示文字 type='select/checkbox'下有效
trnum int No 每行显示个数 type='checkbox' 有效
width string No Table宽度 type='checkbox' 有效
css string No Table样式名 type='checkbox' 有效


标签实例:

交友类型(文本):(会员主页为例)
<!--{hook mod='lovesort' type='text' value=$home.lovesort}-->
择友要求(多个文本):(会员主页为例)
<!--{hook mod='lovesort' type='multi' value=$cond.lovesort}-->
下拉选框:(会员注册为例)
<!--{hook mod='lovesort' type='select' name='lovesort' text='=请选择='}-->
Checkbox多选:(会员中心修改择友要求为例)
<!--{hook mod='lovesort' name='lovesort' type='checkbox' value=$cond.lovesort}-->
value,trnum,width,css参数可选;