Marius Cramer
2015-08-03 6360fdf4712c3786526a74db3c02852ff3f21d53
- ported some patches
3 files modified
44 ■■■■ changed files
interface/web/client/form/client.tform.php 21 ●●●● patch | view | raw | blame | history
interface/web/client/form/reseller.tform.php 21 ●●●● patch | view | raw | blame | history
interface/web/themes/default/templates/sidenav.tpl.htm 2 ●●● patch | view | raw | blame | history
interface/web/client/form/client.tform.php
@@ -381,7 +381,12 @@
                    'class' => 'validate_client',
                    'function' => 'check_vat_id',
                    'errmsg'=> 'invalid_vat_id'),
                ),
            ),
            'filters'   => array( 0 => array(     'event' => 'SAVE',
                                                'type' => 'TRIM'),
                                1 => array(     'event' => 'SAVE',
                                                'type' => 'TOUPPER')
            ),
        ),
        'company_id' => array (
            'datatype' => 'VARCHAR',
@@ -447,7 +452,12 @@
            'width'  => '30',
            'maxlength' => '255',
            'rows'  => '',
            'cols'  => ''
            'cols'  => '',
            'filters'   => array( 0 => array(     'event' => 'SAVE',
                                                'type' => 'TRIM'),
                                1 => array(     'event' => 'SAVE',
                                                'type' => 'TOUPPER')
            ),
        ),
        'bank_account_swift' => array (
            'datatype' => 'VARCHAR',
@@ -458,7 +468,12 @@
            'width'  => '30',
            'maxlength' => '255',
            'rows'  => '',
            'cols'  => ''
            'cols'  => '',
            'filters'   => array( 0 => array(     'event' => 'SAVE',
                                                'type' => 'TRIM'),
                                1 => array(     'event' => 'SAVE',
                                                'type' => 'TOUPPER')
            ),
        ),
        'notes' => array (
            'datatype' => 'TEXT',
interface/web/client/form/reseller.tform.php
@@ -380,7 +380,12 @@
                    'class' => 'validate_client',
                    'function' => 'check_vat_id',
                    'errmsg'=> 'invalid_vat_id'),
                ),
            ),
            'filters'   => array( 0 => array(     'event' => 'SAVE',
                                                'type' => 'TRIM'),
                                1 => array(     'event' => 'SAVE',
                                                'type' => 'TOUPPER')
            ),
        ),
        'company_id' => array (
            'datatype' => 'VARCHAR',
@@ -446,7 +451,12 @@
            'width'  => '30',
            'maxlength' => '255',
            'rows'  => '',
            'cols'  => ''
            'cols'  => '',
            'filters'   => array( 0 => array(     'event' => 'SAVE',
                                                'type' => 'TRIM'),
                                1 => array(     'event' => 'SAVE',
                                                'type' => 'TOUPPER')
            ),
        ),
        'bank_account_swift' => array (
            'datatype' => 'VARCHAR',
@@ -457,7 +467,12 @@
            'width'  => '30',
            'maxlength' => '255',
            'rows'  => '',
            'cols'  => ''
            'cols'  => '',
            'filters'   => array( 0 => array(     'event' => 'SAVE',
                                                'type' => 'TRIM'),
                                1 => array(     'event' => 'SAVE',
                                                'type' => 'TOUPPER')
            ),
        ),
        'notes' => array (
            'datatype' => 'TEXT',
interface/web/themes/default/templates/sidenav.tpl.htm
@@ -1,5 +1,5 @@
<tmpl_loop name="nav_left">
    <header><tmpl_if name="startpage"><a href="#" class="subnav-header" data-load-content="<tmpl_var name='startpage'>"></tmpl_if><tmpl_var name="title"><tmpl_if name="startpage"></a></tmpl_if></header>
    <tmpl_if name="title"><header><tmpl_if name="startpage"><a href="#" class="subnav-header" data-load-content="<tmpl_var name='startpage'>"></tmpl_if><tmpl_var name="title"><tmpl_if name="startpage"></a></tmpl_if></header></tmpl_if>
    <ul id="sub-navigation">
      <tmpl_loop name="items">
      <li<tmpl_if name="html_id"> id='<tmpl_var name="html_id">' </tmpl_if>>