Changeset 1078 for trunk


Ignore:
Timestamp:
12/13/09 19:40:56 (2 years ago)
Author:
savin.tiberiu@…
Message:

Fixed: enabled wick.js for other forms except task_edit

Location:
trunk/www/views
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/views/tags_header.php

    r1077 r1078  
    99// Format a tag input box 
    1010// FIXME: Width parameter does not work, I hate CSS 
    11 function tag_format_input_box($field, $value = null, $width = "50", $name = "tags") { 
     11function tag_format_input_box($field, $value = null, $width = "50", $name = "tags", $autocomplete = true) { 
    1212    $esc_name = html_escape($field['name']); 
    1313    $esc_width = html_escape($width); 
     
    2525    } 
    2626    $output .= ' />'; 
    27 //    $output .= '<script type="text/javascript" language="JavaScript" src="'. 
    28 //                html_escape(url_static("js/wick.js")).'"></script>'; 
     27    $output .= '<script type="text/javascript" language="JavaScript" src="'. 
     28                html_escape(url_static("js/wick.js")).'"></script>'; 
    2929    $output .= "</li>"; 
    3030    return $output; 
  • trunk/www/views/task_edit.php

    r1077 r1078  
    148148            <legend>Taguri</legend> 
    149149            <ul class="form"> 
    150                 <?= tag_format_input_box($tag_fields['author'], fval('tag_author')); ?> 
    151                 <?= tag_format_input_box($tag_fields['contest'], fval('tag_contest')); ?> 
    152                 <?= tag_format_input_box($tag_fields['year'], fval('tag_year')); ?> 
    153                 <?= tag_format_input_box($tag_fields['round'], fval('tag_round')); ?> 
    154                 <?= tag_format_input_box($tag_fields['age_group'], fval('tag_age_group')); ?> 
    155                 <?= tag_format_input_box($tag_fields['method'], fval('tag_method')); ?> 
    156                 <?= tag_format_input_box($tag_fields['algorithm'], fval('tag_algorithm')); ?> 
     150                <?= tag_format_input_box($tag_fields['author'], fval('tag_author'), 50, "tags", false); ?> 
     151                <?= tag_format_input_box($tag_fields['contest'], fval('tag_contest'), 50, "tags", false); ?> 
     152                <?= tag_format_input_box($tag_fields['year'], fval('tag_year'), 50, "tags", false); ?> 
     153                <?= tag_format_input_box($tag_fields['round'], fval('tag_round'), 50, "tags", false); ?> 
     154                <?= tag_format_input_box($tag_fields['age_group'], fval('tag_age_group'), 50, "tags", false); ?> 
     155                <?= tag_format_input_box($tag_fields['method'], fval('tag_method'), 50, "tags", false); ?> 
     156                <?= tag_format_input_box($tag_fields['algorithm'], fval('tag_algorithm'), 50, "tags", false); ?> 
    157157            </ul> 
    158158        </fieldset> 
Note: See TracChangeset for help on using the changeset viewer.