Dotclear


Ignore:
Timestamp:
03/02/18 15:55:06 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Use specialized input fields (color, email, url, number, …) where is relevant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/antispam/index.php

    r3707 r3725  
    204204        echo 
    205205        '<tr class="line' . ($f->active ? '' : ' offline') . '" id="f_' . $fid . '">' . 
    206         '<td class="handle">' . form::field(array('f_order[' . $fid . ']'), 2, 5, (string) $i, 'position', '', false, 'title="' . __('position') . '"') . '</td>' . 
     206        '<td class="handle">' . form::number(array('f_order[' . $fid . ']'), array( 
     207            'min'        => 0, 
     208            'default'    => $i, 
     209            'class'      => 'position', 
     210            'extra_html' => 'title="' . __('position') . '"' 
     211        )) . 
     212        '</td>' . 
    207213        '<td class="nowrap">' . form::checkbox(array('filters_active[]'), $fid, 
    208214            array( 
Note: See TracChangeset for help on using the changeset viewer.

Sites map