Changeset 144


Ignore:
Timestamp:
06/16/05 17:00:20 (17 years ago)
Author:
bastiaans
Message:

web/addons/toga/templates/search.tpl:

  • Removed size limit on input field

web/addons/toga/index.php:

  • Bugfix on metric menu choice/submit
Location:
trunk/web/addons/toga
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/toga/index.php

    r143 r144  
    191191                $node_menu .= "<B>Jobarchive</B> ";
    192192                $tpl->assign("view", "search" );
    193                 $tpl->assign("form_name", "archive_search_form" );
     193                $form_name = "archive_search_form";
     194                $tpl->assign("form_name", $form_name );
    194195        } else {
    195                 $tpl->assign("form_name", "toga_form" );
     196                $form_name = "toga_form";
     197                $tpl->assign("form_name", $form_name );
    196198                $tpl->assign("view", "overview" );
    197199        }
     
    203205                if (is_array($context_metrics) ) {
    204206                        $metric_menu = "<B>Metric</B>&nbsp;&nbsp;"
    205                                 ."<SELECT NAME=\"m\" OnChange=\"toga_form.submit();\">\n";
     207                                ."<SELECT NAME=\"m\" OnChange=\"".$form_name.".submit();\">\n";
    206208
    207209                        sort($context_metrics);
  • trunk/web/addons/toga/templates/search.tpl

    r143 r144  
    11<CENTER>
    2 </FORM>
    32
    43<SCRIPT LANGUAGE="javascript" SRC="ts_picker.js"></SCRIPT>
     
    269268    <a href="#" onClick="javascript: document.archive_search_form.period_start_pick.value=''" alt="Click here to clear field" title="Click here to clear field">
    270269    <IMG SRC="redcross.jpg" BORDER=0></A>
    271     to <INPUT TYPE="text" NAME="period_stop_pick" VALUE="{stop}" SIZE=12 ALT="Stop time" DISABLED="TRUE">
     270    to <INPUT TYPE="text" NAME="period_stop_pick" VALUE="{stop}" ALT="Stop time" DISABLED="TRUE">
    272271    <a href="javascript:show_calendar('document.archive_search_form.period_stop_pick', document.archive_search_form.period_stop_pick.value);" alt="Click to select a date/time" title="Click to select a date/time">
    273272    <img src="cal.gif" width="16" height="16" border="0"></a>
Note: See TracChangeset for help on using the changeset viewer.