%META:TOPICINFO{author="ClausLanghans" date="1155480354" format="1.0" version="1.1"}%
%META:TOPICPARENT{name="IssueTracking"}%
---+ Issue Tracker
<!-- Hidden table to calculate the highest number
%SEARCH{ "META.FORM.*name\=\"IssueTrackingForm\";[T]opicClassification.*value\=.*;" web="%WEB%" excludetopic="*Template,*Tracker" reverse="on" limit="1" casesensitive="on" regex="on" nototal="on" nosearch="on" order="formfield(NUM)" reverse="on" format="|$formfield(NUM)|"}%
-->

<form  onSubmit="var title=this.TITLE.value; if(title.length == 0) { alert ('You need to enter at least two words') ;return false} else {return true;};" name="newbug" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/" method="post">
*Enter the short description*
<input type="text" name="TITLE" size="40" value="" onblur="var sIn = this.value; var sOut = ''; if (this.form.TITLE.value.length == 0) { alert ('You need to enter at least two words') ;return false}; var chgUpper = true; for ( var i = 0; i < sIn.length; i++ ) { var ch = sIn.charAt( i ); var ch2 = ''; if((ch=='&#224;')||(ch=='&#225;')||(ch=='&#226;')||(ch=='&#227;')||(ch=='&#229;') ) { ch = 'a'; } if( (ch=='&#232;')||(ch=='&#233;')||(ch=='&#234;') ) { ch = 'e'; } if( ch=='&#231;') { ch = 'c'; } if( ch=='&#241;') { ch = 'n'; } if( (ch=='&#242;')||(ch=='&#243;')||(ch=='&#244;') ) { ch = 'o'; } if( ch=='&#228;') { ch = 'a'; ch2 = 'e'; } if( ch=='&#246;') { ch = 'o'; ch2 = 'e'; } if( (ch=='&#249;')||(ch=='&#250;')||(ch=='&#251;') ) { ch = 'o'; } if( ch=='&#252;') { ch = 'u'; ch2 = 'e'; } if( ch=='&#196;') { ch = 'A'; ch2 = 'e'; } if( ch=='&#214;') { ch = 'O'; ch2 = 'e'; } if( ch=='&#220;') { ch = 'U'; ch2 = 'e'; } if( ch=='&#223;') { ch = 's'; ch2 = 's'; } if( ((ch>='a')&&(ch<='z')) || ((ch>='A')&&(ch<='Z')) ) { if( chgUpper ) { ch = ch.toUpperCase(); chgUpper = false; } sOut+=ch; if( ch2!='') { sOut+=ch2; } } else { if( ch==' ' ) { chgUpper = true; } } } this.form.topic.value='FI'+sOut+this.form.NUM.value; this.form.SHORT_DESCRIPTION.value=sIn" />
<input type="hidden" name="topic" >
<input type="hidden" name="NUM" value="%CALC{$EVAL($T(R1:C1)+1)}%">
<input type="hidden" name="SHORT_DESCRIPTION">
<input type="submit" value="New Issue"> 
<input type="hidden" name="LOGGED_BY" value="%USERNAME%">
<input type="hidden" name="DATE_LOGGED" value="%GMTIME{"$year$mo$day $hour:$min"}%">
<input type="hidden" name="onlywikiname" value="on" /> 
<input type="hidden" name="templatetopic" value="IssueTemplate" /> 
<input type="hidden" name="TopicClassification" value="" />
<input type="hidden" name="topicparent" value="IssueTracker" />
<input type="hidden" name="skin" value="form_pattern"/>
<input type="hidden" name="NEXT_UPDATE" value="%GMTIME{"$year$mo$day"}%">
</FORM>

<noautolink>
%TABLE{ footerrows="2" }%
| *Status* | *Num* | *Date* | *Logged By * | *Short Description* | *Service* | *Region* | *Affected* | *Severity* | *Priority* | *Update* |
%SEARCH{ "META.FORM.*name\=\"IssueTrackingForm\";[T]opicClassification.*value\=.*;" web="%WEB%" excludetopic="*Template,*Tracker" casesensitive="on" regex="on" nototal="on" nosearch="on" order="formfield(DATE_LOGGED)" reverse="on" format="|<a href=$quot%SCRIPTURL%/view%SCRIPTSUFFIX%/$web/$topic$quot>$formfield(STATUS)</a>|<a href=$quot%SCRIPTURL%/view%SCRIPTSUFFIX%/$web/$topic$quot>$formfield(NUM)</a>|<a href=$quot%SCRIPTURL%/view%SCRIPTSUFFIX%/$web/$topic$quot>$formfield(DATE_LOGGED)</a>|<a href=$quot%SCRIPTURL%/view%SCRIPTSUFFIX%/$web/$topic$quot>$formfield(LOGGED_BY)</A>|<NOAUTOLINK>$formfield(SHORT_DESCRIPTION)</NOAUTOLINK>|<a href=$quot%SCRIPTURL%/view%SCRIPTSUFFIX%/$web/$topic$quot>$formfield(SERVICE)</A>|<a href=$quot%SCRIPTURL%/view%SCRIPTSUFFIX%/$web/$topic$quot>$formfield(REGION)</a> | <a href=$quot%SCRIPTURL%/view%SCRIPTSUFFIX%/$web/$topic$quot>$formfield(REGION_AFFECTED)</a>|<a href=$quot%SCRIPTURL%/view%SCRIPTSUFFIX%/$web/$topic$quot>$formfield(SEVERITY)</a>|<a href=$quot%SCRIPTURL%/view%SCRIPTSUFFIX%/$web/$topic$quot>$formfield(FIX_PRIORITY)</a>|<a href=$quot%SCRIPTURL%/edit%SCRIPTSUFFIX%/$web/$topic?skin=form_pattern$quot>$formfield(NEXT_UPDATE)</a>|$n" separator=" "}% \
|	*Total&nbsp;*||||||||||  *%CALC{"$ROW(-2)"}%*  |
</noautolink>

