cvs: smarty /plugins function.html_select_date.php

From: Date: Mon, 15 Apr 2002 14:56:38 +0000
Subject: cvs: smarty /plugins function.html_select_date.php
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-56@lists.php.net to get a copy of this message
mohrt Mon Apr 15 10:56:38 2002 EDT Modified files: /smarty/plugins function.html_select_date.php Log: fixed logic so this works right when field_separator = "/" Index: smarty/plugins/function.html_select_date.php diff -u smarty/plugins/function.html_select_date.php:1.8 smarty/plugins/function.html_select_date.php:1.9 --- smarty/plugins/function.html_select_date.php:1.8 Mon Apr 15 09:30:00 2002 +++ smarty/plugins/function.html_select_date.php Mon Apr 15 10:56:38 2002 @@ -202,7 +202,9 @@ break; } // Add the field seperator - $html_result .= $field_separator; + if($i != 2) { + $html_result .= $field_separator; + } } print $html_result;

« previous php.smarty.cvs (#56) next »