Merge branch '2.0' of git.colosa.net:processmaker into 2.0

Conflicts:
	workflow/engine/classes/class.languages.php
This commit is contained in:
gustavo
2011-03-18 18:58:10 -04:00
594 changed files with 2208 additions and 2744 deletions

5
.gitignore vendored Normal file
View File

@@ -0,0 +1,5 @@
nbproject
workflow/engine/config/paths_installed.php
gulliver/thirdparty/html2ps_pdf/cache
*~

View File

@@ -3119,9 +3119,7 @@ class XmlForm_Field_Date extends XmlForm_Field_SimpleText
* By Erik A. O. <erik@colosa.com>
* @package gulliver.system
*/
if($mask == 'yyyy-mm-dd')
$mask = '%Y-%m-%d';
if( strpos($mask, '%') === false ) {
if( strpos($mask, '-') !== false ) { // case '-' saparator
$maskparts = explode('-', $mask);
@@ -3129,6 +3127,14 @@ class XmlForm_Field_Date extends XmlForm_Field_SimpleText
foreach($maskparts as $part) {
if($mask != '')
$mask .= '-';
if($part=='yyyy')
$part='Y';
if($part=='dd')
$part='d';
if($part=='mm')
$part='m';
if($part=='yy')
$part='y';
$mask .= '%'.$part;
}
}
@@ -3139,9 +3145,37 @@ class XmlForm_Field_Date extends XmlForm_Field_SimpleText
foreach($maskparts as $part) {
if($mask != '')
$mask .= '/';
if($part=='yyyy')
$part='Y';
if($part=='dd')
$part='d';
if($part=='mm')
$part='m';
if($part=='yy')
$part='y';
$mask .= '%'.$part;
}
}
if( strpos($mask, '.') !== false ) { // case '.' saparator
$maskparts = explode('.', $mask);
$mask = '';
foreach($maskparts as $part) {
if($mask != '')
$mask .= '.';
if($part=='yyyy')
$part='Y';
if($part=='dd')
$part='d';
if($part=='mm')
$part='m';
if($part=='yy')
$part='y';
$mask .= '%'.$part;
}
}
}
/** - end - Backward compatibility **/
$tmp = str_replace("%", "", $mask);
@@ -3196,14 +3230,14 @@ class XmlForm_Field_Date extends XmlForm_Field_SimpleText
$value=$value1;
}
if ( $this->editable != "0") {
$html = '<input id="'.$pID.'" name="'.$pID.'" pm:mask="'.$mask.'" pm:start="'.$startDate.'" pm:end="'.$endDate.'" pm:time="'.$Time.'" '.$onchange.' class="module_app_input___gray" size="'.$sizeend.'" value="'.$value.'" pm:defaultvalue="'.$value1.'"/>'
. '<a onclick="removeValue(\''.$pID.'\'); return false;"/> '
. '<img src="/images/icons_silk/calendar_x_button.png" style="position:relative;left:-17px;top:5px;"/></a>'
. '<a id="'.$pID.'[btn]"><img src="/images/pmdateicon.png" border="0" width="12" height="12" style="position:relative;left:-17px;top:0px;"/></a>'
. '<script>datePicker4("", \''.$pID.'\', \''.$mask.'\', \''.$startDate.'\', \''.$endDate.'\','.$Time.')</script>';
} else {
} else {
$html = '<input id="'.$pID.'" name="'.$pID.'" pm:mask="'.$mask.'" pm:start="'.$startDate.'" pm:end="'.$endDate.'" pm:time="'.$Time.'" '.$onchange.' class="module_app_input___gray" size="'.$sizeend.'" value="'.$value.'"pm:defaultvalue="'.$value1.'" readonly="readonly"/>'
. '<a onclick="removeValue(\''.$pID.'\'); return false;"/> '
. '<img src="/images/icons_silk/calendar_x_button.png" style="position:relative;left:-17px;top:5px;"/></a>'

0
gulliver/thirdparty/html2ps_pdf/.htaccess vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/autofix.url.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/background.image.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/background.position.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.block.inline.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.block.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.body.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.br.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.button.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.button.reset.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.button.submit.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.checkbutton.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.container.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.field.pageno.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.field.pages.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.form.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.frame.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.generic.formatted.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.generic.inline.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.generic.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.iframe.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.img.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.inline.control.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.inline.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.inline.simple.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.input.img.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.input.password.php vendored Normal file → Executable file
View File

0
gulliver/thirdparty/html2ps_pdf/box.input.text.php vendored Normal file → Executable file
View File

Some files were not shown because too many files have changed in this diff Show More