fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [14773] temporary translations


From: Sigurd Nes
Subject: [Fmsystem-commits] [14773] temporary translations
Date: Thu, 25 Feb 2016 11:49:44 +0000

Revision: 14773
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14773
Author:   sigurdne
Date:     2016-02-25 11:49:44 +0000 (Thu, 25 Feb 2016)
Log Message:
-----------
temporary translations

Modified Paths:
--------------
    trunk/bookingfrontend/templates/base/search.xsl
    trunk/rental/inc/class.uiprice_item.inc.php

Modified: trunk/bookingfrontend/templates/base/search.xsl
===================================================================
--- trunk/bookingfrontend/templates/base/search.xsl     2016-02-25 09:59:54 UTC 
(rev 14772)
+++ trunk/bookingfrontend/templates/base/search.xsl     2016-02-25 11:49:44 UTC 
(rev 14773)
@@ -60,7 +60,8 @@
                                </div>
                                <div class="pure-u-1">
                                        <div class="heading">
-                                               <xsl:value-of 
select="php:function('lang', 'I am feeling lucky')" />
+                                               <!--xsl:value-of 
select="php:function('lang', 'I am feeling lucky')" /-->
+                                               Søk fritekst
                                        </div>
                                        <input id="field_searchterm" 
name="searchterm" type="text">
                                                <xsl:attribute name="value">

Modified: trunk/rental/inc/class.uiprice_item.inc.php
===================================================================
--- trunk/rental/inc/class.uiprice_item.inc.php 2016-02-25 09:59:54 UTC (rev 
14772)
+++ trunk/rental/inc/class.uiprice_item.inc.php 2016-02-25 11:49:44 UTC (rev 
14773)
@@ -392,6 +392,12 @@
 
                        switch ($field_name)
                        {
+                               case 'count':
+                                       $value = (int) $value;
+                                       break;
+                               case 'price':
+                                       $value = 
trim(str_replace(array($this->currency_suffix, " "), '', $value));
+                                       break;
                                case 'date_start':
                                case 'date_end':
                                        $value = 
phpgwapi_datetime::date_to_timestamp(phpgw::get_var('value'));




reply via email to

[Prev in Thread] Current Thread [Next in Thread]