Show
Ignore:
Timestamp:
12/26/2007 07:35:04 AM (13 months ago)
Author:
Geert
Message:
  • Database: fixed float related bug. Certain locales (nl_NL and probably many other European) display floats with a comma "," as decimal separator. This caused invalid SQL syntax, of course. The escape() function now converts floats to be non-locale aware.
  • Calendar: strftime() is locale aware, you don't even need a translation file for the months
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/views/pagination/punbb.php

    r1535 r1615  
    1414                <a href="<?php echo str_replace('{page}', 1, $url) ?>">1</a> 
    1515                <?php if ($current_page != 4) echo '&hellip;' ?> 
    16         <?php endif; ?> 
     16        <?php endif ?> 
    1717         
    1818 
     
    2525                <?php else: ?> 
    2626                        <a href="<?php echo str_replace('{page}', $i, $url) ?>"><?php echo $i ?></a> 
    27                 <?php endif; ?> 
     27                <?php endif ?> 
    2828                 
    29         <?php endfor; ?> 
     29        <?php endfor ?> 
    3030         
    3131 
     
    3333                <?php if ($current_page != $total_pages - 3) echo '&hellip;' ?> 
    3434                <a href="<?php echo str_replace('{page}', $total_pages, $url) ?>"><?php echo $total_pages ?></a> 
    35         <?php endif; ?> 
     35        <?php endif ?> 
    3636 
    3737</p>