BUG 5163 Changed the short open tags for PHP code to long open tag.

This commit is contained in:
Hector Cortez
2011-12-22 16:56:22 -04:00
parent 86dc20738a
commit ee22d188cd
52 changed files with 53 additions and 53 deletions

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* dbmodule_processmaker.php * dbmodule_processmaker.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* inc.dynaForms.php * inc.dynaForms.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* buscador.php * buscador.php
* *

View File

@@ -22,7 +22,7 @@ demo de buscador<br>
* Coral Gables, FL, 33134, USA, or email info@colosa.com. * Coral Gables, FL, 33134, USA, or email info@colosa.com.
* *
*/ */
<? <?php
$frm = $HTTP_POST_VARS; $frm = $HTTP_POST_VARS;
$dbc = new dbconnection(); $dbc = new dbconnection();

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* authAjax.php * authAjax.php
* *

View File

@@ -30,7 +30,7 @@
if ( !is_object( $G_PUBLISH ) ) die ("Publisher object is required by this template!"); if ( !is_object( $G_PUBLISH ) ) die ("Publisher object is required by this template!");
?> ?>
<table width="100%" cellpadding="5" cellspacing="0" border="0"> <table width="100%" cellpadding="5" cellspacing="0" border="0">
<? <?php
if (isset($_SESSION['G_MESSAGE_TYPE']) && isset($_SESSION['G_MESSAGE'])) { if (isset($_SESSION['G_MESSAGE_TYPE']) && isset($_SESSION['G_MESSAGE'])) {
echo('<b>' . G::capitalize($_SESSION['G_MESSAGE_TYPE']) . '</b> : ' . $_SESSION['G_MESSAGE']); echo('<b>' . G::capitalize($_SESSION['G_MESSAGE_TYPE']) . '</b> : ' . $_SESSION['G_MESSAGE']);
unset($_SESSION['G_MESSAGE_TYPE']); unset($_SESSION['G_MESSAGE_TYPE']);

View File

@@ -163,7 +163,7 @@
<td width=20></td> <td width=20></td>
<td width=60%></td> <td width=60%></td>
</tr> </tr>
<? <?php
walkLevel (0, "*", 0); walkLevel (0, "*", 0);
?> ?>
<tr> <tr>

View File

@@ -1,4 +1,4 @@
<? <?php
$ERROR_TEXT = "Server Error "; $ERROR_TEXT = "Server Error ";
$ERROR_DESCRIPTION = " $ERROR_DESCRIPTION = "
<br /> <br />

View File

@@ -1,4 +1,4 @@
<? <?php
$ERROR_TEXT = "400 Bad Request "; $ERROR_TEXT = "400 Bad Request ";
$ERROR_DESCRIPTION = "Your browser (or proxy) sent a request $ERROR_DESCRIPTION = "Your browser (or proxy) sent a request
that this server could not understand.<br /> that this server could not understand.<br />

View File

@@ -1,4 +1,4 @@
<? <?php
$ERROR_TEXT = "401 Unauthorized "; $ERROR_TEXT = "401 Unauthorized ";
$ERROR_DESCRIPTION = " $ERROR_DESCRIPTION = "
This server could not verify that This server could not verify that

View File

@@ -1,4 +1,4 @@
<? <?php
$ERROR_TEXT = "403 Forbidden "; $ERROR_TEXT = "403 Forbidden ";
$ERROR_DESCRIPTION = " $ERROR_DESCRIPTION = "
You don't have permission to access the requested directory. There is either You don't have permission to access the requested directory. There is either

View File

@@ -1,4 +1,4 @@
<? <?php
$ERROR_TEXT = "404 Not Found "; $ERROR_TEXT = "404 Not Found ";
$ERROR_DESCRIPTION = " $ERROR_DESCRIPTION = "
Your browser (or proxy) sent a request Your browser (or proxy) sent a request

View File

@@ -1,4 +1,4 @@
<? <?php
$ERROR_TEXT = "503 Service unavailable "; $ERROR_TEXT = "503 Service unavailable ";
$ERROR_DESCRIPTION = " $ERROR_DESCRIPTION = "
The server is temporarily unable to service your request due to maintenance The server is temporarily unable to service your request due to maintenance

View File

@@ -1,4 +1,4 @@
<? <?php
$ERROR_TEXT = "701 workspace not available "; $ERROR_TEXT = "701 workspace not available ";
$ERROR_DESCRIPTION = "You have specified a workspace not available in this server. <br> $ERROR_DESCRIPTION = "You have specified a workspace not available in this server. <br>
Please review your URL and try it again.<br /> Please review your URL and try it again.<br />

View File

@@ -1,4 +1,4 @@
<? <?php
$ERROR_TEXT = "702 workspace undefined "; $ERROR_TEXT = "702 workspace undefined ";
$ERROR_DESCRIPTION = "You have specified an undefined workspace. <br> $ERROR_DESCRIPTION = "You have specified an undefined workspace. <br>
Please review your URL and try it again.<br /> Please review your URL and try it again.<br />

View File

@@ -1,4 +1,4 @@
<? <?php
$ERROR_TEXT = "703 style undefined "; $ERROR_TEXT = "703 style undefined ";
$ERROR_DESCRIPTION = "You have specified an undefined style for this workspace. <br> $ERROR_DESCRIPTION = "You have specified an undefined style for this workspace. <br>
Please review your URL and try it again.<br /> Please review your URL and try it again.<br />

View File

@@ -1,4 +1,4 @@
<? <?php
$ERROR_TEXT = "704 DB directory not found "; $ERROR_TEXT = "704 DB directory not found ";
$ERROR_DESCRIPTION = "You have specified an invalida directory for DB files ( database definitions ). <br> $ERROR_DESCRIPTION = "You have specified an invalida directory for DB files ( database definitions ). <br>
Please review your URL and try it again.<br /> Please review your URL and try it again.<br />

View File

@@ -579,9 +579,9 @@ class System {
//changing the PM_VERSION according the patch file name //changing the PM_VERSION according the patch file name
$oFile = fopen(PATH_METHODS . 'login/version-pmos.php', 'w+'); $oFile = fopen(PATH_METHODS . 'login/version-pmos.php', 'w+');
if( isset($this->sRevision) && $this->sRevision != '' ) { if( isset($this->sRevision) && $this->sRevision != '' ) {
fwrite($oFile, "<?\n define ( 'PM_VERSION' , str_replace ( ' ','', '1.6-" . $this->sRevision . "' ));\n?>"); fwrite($oFile, "<?php\n define ( 'PM_VERSION' , str_replace ( ' ','', '1.6-" . $this->sRevision . "' ));\n?>");
} else { } else {
fwrite($oFile, "<?\n define ( 'PM_VERSION' , str_replace ( ' ','', 'unknow' ));\n?>"); fwrite($oFile, "<?php\n define ( 'PM_VERSION' , str_replace ( ' ','', 'unknow' ));\n?>");
} }
fclose($oFile); fclose($oFile);
$ver = explode("-", $this->sRevision); $ver = explode("-", $this->sRevision);

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* inc.dynaForms.php * inc.dynaForms.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* cases_SaveDocument.php * cases_SaveDocument.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* cases_Ajax.php * cases_Ajax.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* cases_CatchExecute.php * cases_CatchExecute.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* cases_Derivate.php * cases_Derivate.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* cases_SaveDocument.php * cases_SaveDocument.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* cases_SupervisorSaveDocument.php * cases_SupervisorSaveDocument.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
switch ($RBAC->userCanAccess('PM_SUPERVISOR')) { switch ($RBAC->userCanAccess('PM_SUPERVISOR')) {
case - 2: case - 2:

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* buscador.php * buscador.php
* *

View File

@@ -22,7 +22,7 @@ demo de buscador<br>
* Coral Gables, FL, 33134, USA, or email info@colosa.com. * Coral Gables, FL, 33134, USA, or email info@colosa.com.
* *
*/ */
<? <?php
$frm = $HTTP_POST_VARS; $frm = $HTTP_POST_VARS;
$dbc = new dbconnection(); $dbc = new dbconnection();

View File

@@ -134,7 +134,7 @@ function set_datetime(n_datetime, b_close) {
</table></td></tr> </table></td></tr>
<tr> <tr>
<script language="JavaScript"> <script language="JavaScript">
<? <?php
// print weekdays titles // print weekdays titles
for ($n=0; $n<7; $n++) for ($n=0; $n<7; $n++)
print "<td bgcolor='#87cefa' align='center'><font color='#ffffff'>" . $ARR_WEEKDAYS[ (NUM_WEEKSTART+n)%7] . "</font></td>"; print "<td bgcolor='#87cefa' align='center'><font color='#ffffff'>" . $ARR_WEEKDAYS[ (NUM_WEEKSTART+n)%7] . "</font></td>";

View File

@@ -1,4 +1,4 @@
<? <?php
$w = 350; $w = 350;
$h = 90; $h = 90;

View File

@@ -1,4 +1,4 @@
<? <?php
$action = isset($POST['action'])? $POST['action']: isset($_GET['action'])? $_GET['action']: ''; $action = isset($POST['action'])? $POST['action']: isset($_GET['action'])? $_GET['action']: '';

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* processes_ImportFileExisting.php * processes_ImportFileExisting.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* processes_ImportFileExisting.php * processes_ImportFileExisting.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* processes_ImportFile.php * processes_ImportFile.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
sleep(1); sleep(1);
if(isset($_SESSION['processes_upload'])){ if(isset($_SESSION['processes_upload'])){

View File

@@ -1,4 +1,4 @@
<? <?php
ini_set("soap.wsdl_cache_enabled", "0"); // disabling WSDL cache ini_set("soap.wsdl_cache_enabled", "0"); // disabling WSDL cache
$wsdl = PATH_METHODS . "services" . PATH_SEP . "pmos.wsdl"; $wsdl = PATH_METHODS . "services" . PATH_SEP . "pmos.wsdl";

View File

@@ -1,4 +1,4 @@
<? <?php
ini_set("soap.wsdl_cache_enabled", "0"); // disabling WSDL cache ini_set("soap.wsdl_cache_enabled", "0"); // disabling WSDL cache
define ('WEB_SERVICE_VERSION' , '2.0' ); define ('WEB_SERVICE_VERSION' , '2.0' );

View File

@@ -1,4 +1,4 @@
<? <?php
ini_set("default_charset", "UTF-8"); ini_set("default_charset", "UTF-8");

View File

@@ -1,4 +1,4 @@
<? <?php
$filewsdl = PATH_METHODS . 'services'. PATH_SEP . 'pmos.wsdl'; $filewsdl = PATH_METHODS . 'services'. PATH_SEP . 'pmos.wsdl';
$content = file_get_contents( $filewsdl ); $content = file_get_contents( $filewsdl );
$lang = defined ('SYS_LANG') ? SYS_LANG : 'en'; $lang = defined ('SYS_LANG') ? SYS_LANG : 'en';

View File

@@ -1,4 +1,4 @@
<? <?php
$filewsdl = PATH_METHODS . 'services'. PATH_SEP . 'pmos2.wsdl'; $filewsdl = PATH_METHODS . 'services'. PATH_SEP . 'pmos2.wsdl';
$content = file_get_contents( $filewsdl ); $content = file_get_contents( $filewsdl );
$lang = defined ('SYS_LANG') ? SYS_LANG : 'en'; $lang = defined ('SYS_LANG') ? SYS_LANG : 'en';

View File

@@ -1,4 +1,4 @@
<? <?php
unset($_SESSION['WS_SESSION_ID']); unset($_SESSION['WS_SESSION_ID']);
if($_POST['form']['WS_PROTOCOL']!='' && $_POST['form']['WS_WORKSPACE']!='') if($_POST['form']['WS_PROTOCOL']!='' && $_POST['form']['WS_WORKSPACE']!='')

View File

@@ -1,4 +1,4 @@
<? <?php
$oHeadPublisher =& headPublisher::getSingleton(); $oHeadPublisher =& headPublisher::getSingleton();

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* login.php * login.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* tracker_ViewMap.php * tracker_ViewMap.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* tracker_ViewMap.php * tracker_ViewMap.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* tracker_Messages.php * tracker_Messages.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* tracker_MessagesView.php * tracker_MessagesView.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* tracker_No.php * tracker_No.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
if(isset($_POST['form'])) if(isset($_POST['form']))
$sValue = $_POST['form']; //For old processmap $sValue = $_POST['form']; //For old processmap
else else

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* tracker_Show.php * tracker_Show.php
* *

View File

@@ -1,4 +1,4 @@
<? <?php
/** /**
* tracker_ViewMap.php * tracker_ViewMap.php
* *

View File

@@ -50,7 +50,7 @@ if (isset($_SESSION['G_MESSAGE_TYPE']) && isset($_SESSION['G_MESSAGE'])) {
} }
?> ?>
<table width="100%" cellpadding="0" cellspacing="0" border="0"> <table width="100%" cellpadding="0" cellspacing="0" border="0">
<? <?php
if( is_array( $G_PUBLISH->Parts ) ) if( is_array( $G_PUBLISH->Parts ) )
{ {