fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [9551] custom fields: short_description


From: Sigurd Nes
Subject: [Fmsystem-commits] [9551] custom fields: short_description
Date: Tue, 12 Jun 2012 06:41:30 +0000

Revision: 9551
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9551
Author:   sigurdne
Date:     2012-06-12 06:41:29 +0000 (Tue, 12 Jun 2012)
Log Message:
-----------
custom fields: short_description

Modified Paths:
--------------
    trunk/property/inc/class.uiadmin_entity.inc.php
    trunk/property/templates/base/admin_entity.xsl

Modified: trunk/property/inc/class.uiadmin_entity.inc.php
===================================================================
--- trunk/property/inc/class.uiadmin_entity.inc.php     2012-06-11 17:43:46 UTC 
(rev 9550)
+++ trunk/property/inc/class.uiadmin_entity.inc.php     2012-06-12 06:41:29 UTC 
(rev 9551)
@@ -2419,7 +2419,8 @@
                                'value_get_list_function'                       
=> $values['get_list_function'],
                                'value_get_list_function_input'         => 
print_r($values['get_list_function_input'],true),
                                'value_get_single_function'                     
=> $values['get_single_function'],
-                               'value_get_single_function_input'       => 
print_r($values['get_single_function_input'],true)
+                               'value_get_single_function_input'       => 
print_r($values['get_single_function_input'],true),
+                               'value_short_description'                       
=> $values['short_description']
                        );
 
                        $appname = lang('entity');

Modified: trunk/property/templates/base/admin_entity.xsl
===================================================================
--- trunk/property/templates/base/admin_entity.xsl      2012-06-11 17:43:46 UTC 
(rev 9550)
+++ trunk/property/templates/base/admin_entity.xsl      2012-06-12 06:41:29 UTC 
(rev 9551)
@@ -1584,8 +1584,22 @@
                                                        </input>
                                                </td>
                                        </tr>
+
                                        <tr>
                                                <td valign="top">
+                                                       <xsl:value-of 
select="php:function('lang', 'short description')"/>
+                                               </td>
+                                               <td>
+                                                       <input type="text" 
name="values[short_description]" value="{value_short_description}" size = "2" 
maxlength= "2">
+                                                               <xsl:attribute 
name="title">
+                                                                       
<xsl:value-of select="php:function('lang', 'optional order of field in a short 
description')"/>
+                                                               </xsl:attribute>
+                                                       </input>
+                                               </td>
+                                       </tr>
+
+                                       <tr>
+                                               <td valign="top">
                                                        <xsl:value-of 
select="php:function('lang', 'help message')"/>
                                                </td>
                                                <td>




reply via email to

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