How to capitalize work with HTML_SELECT_DATE

From: Date: Mon, 13 Jun 2005 12:29:44 +0000
Subject: How to capitalize work with HTML_SELECT_DATE
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12675@lists.php.net to get a copy of this message
Hi list: I try to create a SELECT contains DATE. Reading into Smarty Doc I found HTML_SELECT_DATE but I have some questions. For example if I use them in this way: {html_select_date prefix="startdate" start_year="2000" end_year="+1"|capitalize} How I know in wich var I found days, months and years separately and why if I use capitalize the first letter contains in month select doesn't capitalize fine? Take a look to my code: [PHP Code] <?php setlocale(LC_ALL,'esp_ESP'); session_start(); require(".././class/smarty/Smarty.class.php"); $tpl = new Smarty(); $tpl->template_dir = "../themes/admin/"; $tpl->compile_dir = "../themes/themes_c/"; $tpl->config_dir = "../themes/config/"; $tpl->compile_check = true; $tpl->display("admin_header.tpl"); $tpl->display("configuracion.tpl"); $tpl->display("admin_footer.tpl"); ?> Reynier Pérez Mira 3er. año Ing. Informática

« previous php.smarty.general (#12675) next »