Skip to content

Commit

Permalink
Item2108: add a name for the submit button
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/FoswikiApplicationsContrib@5155 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
SvenDowideit authored and SvenDowideit committed Sep 28, 2009
1 parent 0560412 commit 95016df
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions data/System/CalendarApplication.txt
Expand Up @@ -228,8 +228,7 @@ line-height: 1em;
ITEM=$quot$web.$topic$quot
section=$quot$percntIF{$quot'$web.$topic' = $item$quot then=$quotedit_item$quot else=$quotview_item$quot}$percnt$quot
}$percnt"
}%
%INCLUDE{
}%%INCLUDE{
"%WEB%.%TOPIC%"
section="%IF{"defined 'item'" then="nothing" else="edit_item"}%"
warn="off"
Expand Down Expand Up @@ -299,6 +298,7 @@ line-height: 1em;
%FORMELEMENT{type="hidden" name="topicparent" default="%BASEWEB%.%BASETOPIC%"}% \
%FORMELEMENT{type="hidden" name="%IF{"defined 'ITEM'" then="item" else="nothingtoseehere"}%" default="%ITEM%"}% \
| %FORMELEMENT{
name="%TOPIC%%BASETOPIC%%CATEGORY%_submit"
type="submit"
buttonlabel="Submit"
}% %IF{"defined 'ITEM'" then="<a class='foswikiButton foswikiCancelButton' href='%SCRIPTURL{view}%/%BASEWEB%/%BASETOPIC%'>Cancel</a>" else=""}% %ENDFORM% |%ENDSECTION{"edit_item"}%
Expand Down
1 change: 1 addition & 0 deletions data/System/ImagesApplication.txt
Expand Up @@ -116,6 +116,7 @@ some attachments to this topic or %BR%
size="1"
}% %FORMELEMENT{type="hidden" name="%IF{"defined 'IMAGE'" then="item" else="nothingtoseehere"}%" default="%IMAGE%"
}% %FORMELEMENT{
name="%TOPIC%%BASETOPIC%%IMAGE%_submit"
type="submit"
buttonlabel="Submit"
}% %IF{"defined 'IMAGE'" then="<a class='foswikiButton foswikiCancelButton' href='%SCRIPTURL{view}%/%BASEWEB%/%BASETOPIC%'>Cancel</a>" else=""
Expand Down
4 changes: 2 additions & 2 deletions data/System/NewsApplication.txt
Expand Up @@ -57,8 +57,7 @@ If you define the %USERSWEB%.NewsApplicationGroup group, they will be the only u
ITEM=$quot$web.$topic$quot
section=$quot$percntIF{$quot'$web.$topic' = $item$quot then=$quotedit_item$quot else=$quotview_item$quot}$percnt$quot
}$percnt"
}%
%INCLUDE{
}% %INCLUDE{
"%WEB%.%TOPIC%"
warn="off"
section="%IF{"
Expand Down Expand Up @@ -141,6 +140,7 @@ If you define the %USERSWEB%.NewsApplicationGroup group, they will be the only u
%FORMELEMENT{type="hidden" name="topicparent" default="%BASEWEB%.%BASETOPIC%"}% \
%FORMELEMENT{type="hidden" name="%IF{"defined 'ITEM'" then="item" else="nothingtoseehere"}%" default="%ITEM%"}% \
%FORMERROR{"%TOPIC%%BASETOPIC%%CATEGORY%"}% | %FORMELEMENT{
name="%TOPIC%%BASETOPIC%%CATEGORY%_submit"
type="submit"
buttonlabel="Submit"
}% \
Expand Down
4 changes: 2 additions & 2 deletions data/System/TodoApplication.txt
Expand Up @@ -56,8 +56,7 @@ to display todo Items from _all_ categories:
ITEM=$quot$web.$topic$quot
section=$quot$percntIF{$quot'$web.$topic' = $item$quot then=$quotedit_item$quot else=$quotview_item$quot}$percnt$quot
}$percnt"
}%
%INCLUDE{
}%%INCLUDE{
"%WEB%.%TOPIC%"
section="%IF{"defined 'item'" then="nothing" else="edit_item"}%"
warn="off"
Expand Down Expand Up @@ -115,6 +114,7 @@ to display todo Items from _all_ categories:
%FORMELEMENT{type="hidden" name="topicparent" default="%BASEWEB%.%BASETOPIC%"}% \
%FORMELEMENT{type="hidden" name="%IF{"defined 'ITEM'" then="item" else="nothingtoseehere"}%" default="%ITEM%"}% \
| %FORMELEMENT{
name="%TOPIC%%BASETOPIC%%CATEGORY%_submit"
type="submit"
buttonlabel="Submit"
}% %IF{"defined 'ITEM'" then="<a class='foswikiButton foswikiCancelButton' href='%SCRIPTURL{view}%/%BASEWEB%/%BASETOPIC%'>Cancel</a>" else=""}% %ENDFORM% |%ENDSECTION{"edit_item"}%
Expand Down
3 changes: 1 addition & 2 deletions data/SystemAdmin/UserManagement.txt
Expand Up @@ -86,8 +86,7 @@ return sOut;
ITEM=$quot$topic$quot
section=$quot$percntIF{$quot'$topic' = $item$quot then=$quotedit_item$quot else=$quotview_item$quot}$percnt$quot
}$percnt"
}%
%INCLUDE{
}%%INCLUDE{
"%WEB%.%TOPIC%"
section="%IF{"
defined 'item' OR
Expand Down

0 comments on commit 95016df

Please sign in to comment.