欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

d7 drupal7 d6 drupal6 表单里面 添加文本文字 text html 标签元素 drupal form drupal_get_form 用markup元素 有大用 有大大用

shiping1 的头像

drupal6 d6 

$form['new_row_wrapper'] = array(
    '#type' => 'markup',
    '#value' => '<br><div id="ahah-example-new-row-wrapper" style="clear: both;"></div>',
  );


添加链接也是用markup 
/node-admin/1809




drupal7 d7

  $form['notice'] = array(
      '#markup' => '<div id="notice" style="clear: both;">请使用你的工号密码登录!</div>',
    );


普通分类: