Created
November 24, 2016 18:01
-
-
Save renatoschroepfer/bc640b947369a8590504ea4ae73726ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Renato Lazaro - Custom - Adicionado o campo Ramal de contato */ | |
echo "<tr class='tab_bg_1'>"; | |
echo "<th style='width:$colsize1%'>".$tt->getBeginHiddenFieldText('name'); | |
printf(__('%1$s%2$s'), __('Ramal'), $tt->getMandatoryMark('name')); | |
echo $tt->getEndHiddenFieldText('name')."</th>"; | |
echo "<td colspan='3'>"; | |
if (!$ID | |
|| $canupdate_descr) { | |
echo $tt->getBeginHiddenFieldValue('name'); | |
/* Renato Lazaro - Custom - Campo ramal obrigatório */ | |
echo "<input type='text' style='width:98%' maxlength=250 required><required". | |
" value=\"".Html::cleanInputText($this->fields["name"])."\">"; | |
echo $tt->getEndHiddenFieldValue('name', $this); | |
} else { | |
if (empty($this->fields["name"])) { | |
_e('Without title'); | |
} else { | |
echo $this->fields["name"]; | |
} | |
} | |
echo "</td>"; | |
echo "</tr>"; | |
/* Renato Lazaro - Custom - Adicionado o campo Ramal de contato*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment