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

SF.net SVN: ledger-smb:[5971] trunk



Revision: 5971
          http://sourceforge.net/p/ledger-smb/code/5971
Author:   einhverfr
Date:     2013-08-24 11:06:25 +0000 (Sat, 24 Aug 2013)
Log Message:
-----------
Text area support for the defaults screen, company address moved to text area

Modified Paths:
--------------
    trunk/LedgerSMB/Scripts/configuration.pm
    trunk/UI/Configuration/settings.html

Modified: trunk/LedgerSMB/Scripts/configuration.pm
===================================================================
--- trunk/LedgerSMB/Scripts/configuration.pm	2013-08-24 10:57:28 UTC (rev 5970)
+++ trunk/LedgerSMB/Scripts/configuration.pm	2013-08-24 11:06:25 UTC (rev 5971)
@@ -19,7 +19,9 @@
    { title => $locale->text('Company Information'),
      items => [
        { name => 'company_name', label => $locale->text('Company Name') },
-       { name => 'company_address', label => $locale->text('Company Address') },
+       { name => 'company_address', 
+         type => 'TEXTAREA',
+        label => $locale->text('Company Address') },
        { name => 'company_phone', label => $locale->text('Company Phone') },
        { name => 'company_fax', label => $locale->text('Company Fax') },
        { name => 'businessnumber', label => $locale->text('Business Number') },

Modified: trunk/UI/Configuration/settings.html
===================================================================
--- trunk/UI/Configuration/settings.html	2013-08-24 10:57:28 UTC (rev 5970)
+++ trunk/UI/Configuration/settings.html	2013-08-24 11:06:25 UTC (rev 5971)
@@ -50,6 +50,12 @@
            };
        ELSIF ITEM.type == 'SELECT_ONE';
            PROCESS select element_data= selects.${ITEM.name};
+       ELSIF ITEM.type == 'TEXTAREA';
+           PROCESS textarea element_data = {
+                    rows = 3
+                    cols = 33
+                    text = form.${ITEM.name} 
+           };
        ELSE;
            PROCESS input element_data = {
                    name = ITEM.name

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits