Skip to content

Commit 6360fdf

Browse files
author
Marius Cramer
committed
- ported some patches
1 parent a014597 commit 6360fdf

File tree

3 files changed

+37
-7
lines changed

3 files changed

+37
-7
lines changed

interface/web/client/form/client.tform.php

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,12 @@
381381
'class' => 'validate_client',
382382
'function' => 'check_vat_id',
383383
'errmsg'=> 'invalid_vat_id'),
384-
),
384+
),
385+
'filters' => array( 0 => array( 'event' => 'SAVE',
386+
'type' => 'TRIM'),
387+
1 => array( 'event' => 'SAVE',
388+
'type' => 'TOUPPER')
389+
),
385390
),
386391
'company_id' => array (
387392
'datatype' => 'VARCHAR',
@@ -447,7 +452,12 @@
447452
'width' => '30',
448453
'maxlength' => '255',
449454
'rows' => '',
450-
'cols' => ''
455+
'cols' => '',
456+
'filters' => array( 0 => array( 'event' => 'SAVE',
457+
'type' => 'TRIM'),
458+
1 => array( 'event' => 'SAVE',
459+
'type' => 'TOUPPER')
460+
),
451461
),
452462
'bank_account_swift' => array (
453463
'datatype' => 'VARCHAR',
@@ -458,7 +468,12 @@
458468
'width' => '30',
459469
'maxlength' => '255',
460470
'rows' => '',
461-
'cols' => ''
471+
'cols' => '',
472+
'filters' => array( 0 => array( 'event' => 'SAVE',
473+
'type' => 'TRIM'),
474+
1 => array( 'event' => 'SAVE',
475+
'type' => 'TOUPPER')
476+
),
462477
),
463478
'notes' => array (
464479
'datatype' => 'TEXT',

interface/web/client/form/reseller.tform.php

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,12 @@
380380
'class' => 'validate_client',
381381
'function' => 'check_vat_id',
382382
'errmsg'=> 'invalid_vat_id'),
383-
),
383+
),
384+
'filters' => array( 0 => array( 'event' => 'SAVE',
385+
'type' => 'TRIM'),
386+
1 => array( 'event' => 'SAVE',
387+
'type' => 'TOUPPER')
388+
),
384389
),
385390
'company_id' => array (
386391
'datatype' => 'VARCHAR',
@@ -446,7 +451,12 @@
446451
'width' => '30',
447452
'maxlength' => '255',
448453
'rows' => '',
449-
'cols' => ''
454+
'cols' => '',
455+
'filters' => array( 0 => array( 'event' => 'SAVE',
456+
'type' => 'TRIM'),
457+
1 => array( 'event' => 'SAVE',
458+
'type' => 'TOUPPER')
459+
),
450460
),
451461
'bank_account_swift' => array (
452462
'datatype' => 'VARCHAR',
@@ -457,7 +467,12 @@
457467
'width' => '30',
458468
'maxlength' => '255',
459469
'rows' => '',
460-
'cols' => ''
470+
'cols' => '',
471+
'filters' => array( 0 => array( 'event' => 'SAVE',
472+
'type' => 'TRIM'),
473+
1 => array( 'event' => 'SAVE',
474+
'type' => 'TOUPPER')
475+
),
461476
),
462477
'notes' => array (
463478
'datatype' => 'TEXT',

interface/web/themes/default/templates/sidenav.tpl.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<tmpl_loop name="nav_left">
2-
<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>
2+
<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>
33
<ul id="sub-navigation">
44
<tmpl_loop name="items">
55
<li<tmpl_if name="html_id"> id='<tmpl_var name="html_id">' </tmpl_if>>

0 commit comments

Comments
 (0)