destoon采集论坛

 找回密码
 立即注册
查看: 324|回复: 1

自定义的必填字段,怎样让名称也显示为红色?

[复制链接]

69

主题

219

回帖

683

积分

高级会员

Rank: 4

积分
683
发表于 2010-5-18 13:43:36 | 显示全部楼层 |阅读模式
自定义的必填字段,怎样让名称也显示为红色?

代码的地方找到了,不知道怎么改。







未命名-2.jpg (13.35 KB, 下载次数: 0)

下载附件


2010-5-18 13:43 上传







原代码如下:

[ol]
  • $html .= '[tr]'.$left;
  •   if($v['input_limit'] && !defined('DT_ADMIN')) $html .= '* ';
  •   $html .= $v['title'];
  •   if($v['input_limit'] && defined('DT_ADMIN')) $html .= ' *';
  •   $html .= '[/td]';
  •   $html .= $right;
  • [/ol]复制代码
  • 回复

    使用道具 举报

    8

    主题

    54

    回帖

    154

    积分

    注册会员

    Rank: 2

    积分
    154
    发表于 2010-5-18 14:02:10 | 显示全部楼层

    $html .= '[tr]'.$left;
      if($v['input_limit'] && !defined('DT_ADMIN')) $html .= '* ';
      $html .= $v['title'];
    $html .= '';
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    QQ|小黑屋|手机版|Archiver|destoon采集论坛

    GMT+8, 2025-12-16 21:15 , Processed in 0.073042 second(s), 21 queries .

    Powered by Discuz! X3.4

    © 2001-2023 Discuz! Team.

    快速回复 返回顶部 返回列表