From: <sy...@us...> - 2005-03-02 22:35:45
|
Update of /cvsroot/tikiwiki/tiki/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18462/templates Modified Files: Tag: BRANCH-1-9 tiki-calendar.tpl Log Message: error message if start date > end date Index: tiki-calendar.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/tiki-calendar.tpl,v retrieving revision 1.46.2.31 retrieving revision 1.46.2.32 diff -u -d -r1.46.2.31 -r1.46.2.32 --- tiki-calendar.tpl 2 Mar 2005 19:31:48 -0000 1.46.2.31 +++ tiki-calendar.tpl 2 Mar 2005 22:35:21 -0000 1.46.2.32 @@ -372,7 +372,8 @@ {/if} </td></tr> -<tr><td class="formcolor">{tr}End{/tr}</td><td class="formcolor"><input type="radio" name="endChoice" value="date" checked="checked" /> +<tr><td class="formcolor">{tr}End{/tr}</td><td class="formcolor">{if $end_error eq 'y'}<span class="attention">{tr}Error{/tr}</span><br />{/if} +<input type="radio" name="endChoice" value="date" checked="checked" /> {if $feature_jscalendar eq 'y'} <input type="hidden" name="end_date_input" value="{$end}" id="end_date_input" /> <span id="end_date_display" class="daterow">{$end|date_format:$daformat}</span> @@ -390,7 +391,7 @@ {literal} } );{/literal} </script> {else} -{if $end_freeform_error eq 'y'}{tr}Syntax error{/tr}<br />{/if} +{if $end_freeform_error eq 'y'}<span class="attention">{tr}Syntax error{/tr}</span><br />{/if} <input type="text" name="end_freeform" value="{$end_freeform}"> <a {popup text="{tr}Format: mm/dd/yyy hh:mm<br />...{/tr} {tr}See strtotime php function{/tr}"}><img src="img/icons/help.gif" border="0" height="16" width="16" alt='{tr}help{/tr}'></a> {tr}or{/tr} |