当前位置: 首页>>代码示例>>PHP>>正文


PHP dol_print_phone函数代码示例

本文整理汇总了PHP中dol_print_phone函数的典型用法代码示例。如果您正苦于以下问题:PHP dol_print_phone函数的具体用法?PHP dol_print_phone怎么用?PHP dol_print_phone使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了dol_print_phone函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: print

    print '<tr '.$bc[$var].'><td id="label">'.$langs->trans("Country").'</td><td id="value" nowrap="nowrap">';
    $img=picto_from_langcode($soc->country_code);
    if ($soc->isInEEC()) print $form->textwithpicto(($img?$img.' ':'').$soc->pays,$langs->trans("CountryIsInEEC"),1,0);
    else print ($img?$img.' ':'').$soc->country;
    print '</td>';
        
    // MAP GPS
    if($conf->map->enabled)
        print '<td id="label" colspan="2">GPS '.img_picto(($soc->lat.','.$soc->lng),(($soc->lat && $soc->lng)?"statut4":"statut1")).'</td></tr>';
    else
        print '<td id="label" colspan="2"></td></tr>';
    $var=!$var;


	print '<tr '.$bc[$var].'><td id="label">'.$langs->trans('Phone').'</td><td id="value">'.dol_print_phone($soc->tel,$soc->pays_code,0,$soc->id,'AC_TEL').'</td>';
	print '<td id="label">'.$langs->trans('Fax').'</td><td id="value">'.dol_print_phone($soc->fax,$soc->pays_code,0,$soc->id,'AC_FAX').'</td></tr>';
        $var=!$var;

	// EMail
	print '<tr '.$bc[$var].'><td id="label">'.$langs->trans('EMail').'</td><td id="value">';
	print dol_print_email($soc->email,0,$soc->id,'AC_EMAIL');
	print '</td>';

	// Web
	print '<td id="label">'.$langs->trans('Web').'</td><td id="value">';
	print dol_print_url($soc->url);
	print '</td></tr>';
        $var=!$var;

	print '</table>';
        print '</td>';
开发者ID:nrjacker4,项目名称:crm-php,代码行数:31,代码来源:agenda.php

示例2: picto_from_langcode

    $img = picto_from_langcode($soc->country_code);
    print $img ? $img . ' ' : '';
    print $soc->country;
    print '</td></tr>';
}
// EMail
print '<tr><td>' . $langs->trans('EMail') . '</td><td colspan="3">';
print dol_print_email($soc->email, 0, $soc->id, 'AC_EMAIL');
print '</td></tr>';
// Web
print '<tr><td>' . $langs->trans('Web') . '</td><td colspan="3">';
print dol_print_url($soc->url);
print '</td></tr>';
// Phone / Fax
print '<tr><td>' . $langs->trans('Phone') . '</td><td>' . dol_print_phone($soc->tel, $soc->country_code, 0, $soc->id, 'AC_TEL') . '</td>';
print '<td>' . $langs->trans('Fax') . '</td><td>' . dol_print_phone($soc->fax, $soc->country_code, 0, $soc->id, 'AC_FAX') . '</td></tr>';
print '</table>';
print '</div>';
if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
    $prodcustprice = new Productcustomerprice($db);
    $sortfield = GETPOST("sortfield", 'alpha');
    $sortorder = GETPOST("sortorder", 'alpha');
    $page = GETPOST("page", 'int');
    if ($page == -1) {
        $page = 0;
    }
    $offset = $conf->liste_limit * $page;
    $pageprev = $page - 1;
    $pagenext = $page + 1;
    if (!$sortorder) {
        $sortorder = "ASC";
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:price.php

示例3: picto_from_langcode

 print $contact->ville . '</td></tr>';
 // Country
 print '<tr><td>' . $langs->trans("Country") . '</td><td colspan="3">';
 $img = picto_from_langcode($contact->pays_code);
 if ($img) {
     print $img . ' ';
 }
 print $contact->pays;
 print '</td></tr>';
 // Department
 print '<tr><td>' . $langs->trans('State') . '</td><td colspan="3">' . $contact->departement . '</td>';
 // Phone
 print '<tr><td>' . $langs->trans("PhonePro") . '</td><td>' . dol_print_phone($contact->phone_pro, $contact->pays_code, $contact->id, $contact->socid, 'AC_TEL') . '</td>';
 print '<td>' . $langs->trans("PhonePerso") . '</td><td>' . dol_print_phone($contact->phone_perso, $contact->pays_code, $contact->id, $contact->socid, 'AC_TEL') . '</td></tr>';
 print '<tr><td>' . $langs->trans("PhoneMobile") . '</td><td>' . dol_print_phone($contact->phone_mobile, $contact->pays_code, $contact->id, $contact->socid, 'AC_TEL') . '</td>';
 print '<td>' . $langs->trans("Fax") . '</td><td>' . dol_print_phone($contact->fax, $contact->pays_code, $contact->id, $contact->socid, 'AC_FAX') . '</td></tr>';
 // Email
 print '<tr><td>' . $langs->trans("EMail") . '</td><td>' . dol_print_email($contact->email, $contact->id, $contact->socid, 'AC_EMAIL') . '</td>';
 if ($conf->mailing->enabled) {
     $langs->load("mails");
     print '<td nowrap>' . $langs->trans("NbOfEMailingsReceived") . '</td>';
     print '<td><a href="' . DOL_URL_ROOT . '/comm/mailing/liste.php?filteremail=' . urlencode($contact->email) . '">' . $contact->getNbOfEMailings() . '</a></td>';
 } else {
     print '<td colspan="2">&nbsp;</td>';
 }
 print '</tr>';
 print '</table>';
 print '</div>';
 if ($mesg) {
     print $mesg;
 }
开发者ID:nrjacker4,项目名称:crm-php,代码行数:31,代码来源:categorie.php

示例4: content_box

	/**
	 * return div with list of information content block (see extrafields block)
	 * 
	 *  @param  int	    $blockid	    id of the block in the extrafiels block attribute
	 *  @return	@string
	 */
	function content_box($blockid) {
		global $conf, $user, $langs;

		// List of tel, fax, mail...
		$rtr = '<div class="row vcard sepH_b">';
		$rtr.= '<table class="display noborder">';
		$rtr.= '<tbody>';

		// list tel, fax, mail
		for ($i = 0; $i < count($this->fk_extrafields->place[$blockid]); $i++) { // Block
			foreach ($this->fk_extrafields->place[$blockid][$i] as $key) {
				$aRow = $this->fk_extrafields->fields->$key;
				if (is_object($aRow) && $aRow->enable) {
					$rtr.='<tr>';
					$label = (empty($aRow->label) ? $langs->trans($key) : $langs->trans($aRow->label));
					if (isset($aRow->ico))
						$rtr.= '<td><img src="' . DOL_URL_ROOT . '/theme/' . $conf->theme . '/img/ico/' . $aRow->ico . '.png" title="' . $label . '" /></td>';
					else
						$rtr.= '<td><img src="' . DOL_URL_ROOT . '/theme/' . $conf->theme . '/img/ico/icSw2/16-Money.png" title="' . $label . '" /></td>';

					if ($aRow->type == "AC_EMAIL")
						$rtr.= '<td class="s_color">' . $label . '</td></td><td class="ttip_r edit_text">' . $this->$key . '</td>';
					elseif ($aRow->type == "AC_TEL" || $aRow->type == "AC_FAX")
						$rtr.= '<td class="s_color">' . $label . '</td><td class="ttip_r edit_text">' . dol_print_phone($this->$key, $this->Country, 0, $this->id(), $aRow->type) . '</td>';
					elseif ($aRow->type == "AC_URL") {
						$rtr.= '<td>' . dol_print_url($label, $this->$key->value) . '</td><td class="ttip_r edit_text">' . $this->$key . '</td>';
					}
					else
						$rtr.= '<td class="s_color">' . $label . '</td><td class="ttip_r edit_text">' . $this->$key . '</td>';

					$rtr.='</tr>';
				}
			}
		}

		$rtr.= '</tbody>';
		$rtr.= '</table>';

		$rtr.= '</div>';

		return $rtr;
	}
开发者ID:nrjacker4,项目名称:crm-php,代码行数:48,代码来源:societe.class.php

示例5: dol_print_phone

 // Third party - Contact
 if ($conf->societe->enabled) {
     print '<tr><td width="30%">' . $langs->trans("ActionOnCompany") . '</td><td>' . ($object->thirdparty->id ? $object->thirdparty->getNomUrl(1) : $langs->trans("None"));
     if (is_object($object->thirdparty) && $object->thirdparty->id > 0 && $object->type_code == 'AC_TEL') {
         if ($object->thirdparty->fetch($object->thirdparty->id)) {
             print "<br>" . dol_print_phone($object->thirdparty->phone);
         }
     }
     print '</td>';
     print '<td>' . $langs->trans("Contact") . '</td>';
     print '<td>';
     if ($object->contactid > 0) {
         print $object->contact->getNomUrl(1);
         if ($object->contactid && $object->type_code == 'AC_TEL') {
             if ($object->contact->fetch($object->contactid)) {
                 print "<br>" . dol_print_phone($object->contact->phone_pro);
             }
         }
     } else {
         print $langs->trans("None");
     }
     print '</td></tr>';
 }
 // Project
 if (!empty($conf->projet->enabled)) {
     print '<tr><td width="30%">' . $langs->trans("Project") . '</td><td colspan="3">';
     if ($object->fk_project) {
         $project = new Project($db);
         $project->fetch($object->fk_project);
         print $project->getNomUrl(1, '', 1);
     }
开发者ID:Albertopf,项目名称:prueba,代码行数:31,代码来源:card.php

示例6: dol_print_phone

 }
 // Phone
 if (!empty($arrayfields['p.phone']['checked'])) {
     print '<td>' . dol_print_phone($obj->phone_pro, $obj->country_code, $obj->cidp, $obj->socid, 'AC_TEL') . '</td>';
 }
 // Phone perso
 if (!empty($arrayfields['p.phone_perso']['checked'])) {
     print '<td>' . dol_print_phone($obj->phone_perso, $obj->country_code, $obj->cidp, $obj->socid, 'AC_TEL') . '</td>';
 }
 // Phone mobile
 if (!empty($arrayfields['p.phone_mobile']['checked'])) {
     print '<td>' . dol_print_phone($obj->phone_mobile, $obj->country_code, $obj->cidp, $obj->socid, 'AC_TEL') . '</td>';
 }
 // Fax
 if (!empty($arrayfields['p.fax']['checked'])) {
     print '<td>' . dol_print_phone($obj->fax, $obj->country_code, $obj->cidp, $obj->socid, 'AC_TEL') . '</td>';
 }
 // EMail
 if (!empty($arrayfields['p.email']['checked'])) {
     print '<td>' . dol_print_email($obj->email, $obj->cidp, $obj->socid, 'AC_EMAIL', 18) . '</td>';
 }
 // Skype
 if (!empty($arrayfields['p.skype']['checked'])) {
     if (!empty($conf->skype->enabled)) {
         print '<td>' . dol_print_skype($obj->skype, $obj->cidp, $obj->socid, 'AC_SKYPE', 18) . '</td>';
     }
 }
 // Company
 if (!empty($arrayfields['p.thirdparty']['checked'])) {
     print '<td>';
     if ($obj->socid) {
开发者ID:Albertopf,项目名称:prueba,代码行数:31,代码来源:list.php

示例7: dol_print_phone

     } else {
         print $html->textwithpicto($langs->trans("Internal"), $langs->trans("InternalExternalDesc"));
     }
 }
 print '</td></tr>' . "\n";
 // Tel pro
 print '<tr><td valign="top">' . $langs->trans("PhonePro") . '</td>';
 print '<td>' . dol_print_phone($fuser->office_phone, '', 0, 0, 1) . '</td>';
 print '</tr>' . "\n";
 // Tel mobile
 print '<tr><td valign="top">' . $langs->trans("PhoneMobile") . '</td>';
 print '<td>' . dol_print_phone($fuser->user_mobile, '', 0, 0, 1) . '</td>';
 print '</tr>' . "\n";
 // Fax
 print '<tr><td valign="top">' . $langs->trans("Fax") . '</td>';
 print '<td>' . dol_print_phone($fuser->office_fax, '', 0, 0, 1) . '</td>';
 print '</tr>' . "\n";
 // EMail
 print '<tr><td valign="top">' . $langs->trans("EMail") . '</td>';
 print '<td>' . dol_print_email($fuser->email, 0, 0, 1) . '</td>';
 print "</tr>\n";
 // Signature
 print '<tr><td valign="top">' . $langs->trans('Signature') . '</td>';
 print '<td>' . $fuser->signature . '</td>';
 print "</tr>\n";
 // Statut
 print '<tr><td valign="top">' . $langs->trans("Status") . '</td>';
 print '<td>';
 print $fuser->getLibStatut(4);
 print '</td>';
 print '</tr>' . "\n";
开发者ID:netors,项目名称:dolibarr,代码行数:31,代码来源:fiche.php

示例8: GETPOST

print '</form><br><br>';
if (!empty($conf->global->CLICKTODIAL_URL)) {
    $user->fetch_clicktodial();
    $phonefortest = $mysoc->phone;
    if (GETPOST('phonefortest')) {
        $phonefortest = GETPOST('phonefortest');
    }
    print '<form action="' . $_SERVER["PHP_SELF"] . '">';
    print $langs->trans("LinkToTestClickToDial", $user->login) . ' : ';
    print '<input class="flat" type="text" name="phonefortest" value="' . dol_escape_htmltag($phonefortest) . '">';
    print '<input type="submit" class="button" value="' . dol_escape_htmltag($langs->trans("RefreshPhoneLink")) . '">';
    print '</form>';
    $setupcomplete = 1;
    if (preg_match('/__LOGIN__/', $conf->global->CLICKTODIAL_URL) && empty($user->clicktodial_login)) {
        $setupcomplete = 0;
    }
    if (preg_match('/__PASSWORD__/', $conf->global->CLICKTODIAL_URL) && empty($user->clicktodial_password)) {
        $setupcomplete = 0;
    }
    if (preg_match('/__PHONEFROM__/', $conf->global->CLICKTODIAL_URL) && empty($user->clicktodial_poste)) {
        $setupcomplete = 0;
    }
    if ($setupcomplete) {
        print $langs->trans("LinkToTest", $user->login) . ': ' . dol_print_phone($phonefortest, '', 0, 0, 'AC_TEL');
    } else {
        $langs->load("errors");
        print '<div class="warning">' . $langs->trans("WarningClickToDialUserSetupNotComplete") . '</div>';
    }
}
llxFooter();
$db->close();
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:clicktodial.php

示例9: getState

 print '<tr ' . $bc[$var] . '><td>' . $langs->trans("State") . '</td><td>';
 if ($conf->global->MAIN_INFO_SOCIETE_DEPARTEMENT) {
     print getState($conf->global->MAIN_INFO_SOCIETE_DEPARTEMENT);
 } else {
     print '&nbsp;';
 }
 print '</td></tr>';
 $var = !$var;
 print '<tr ' . $bc[$var] . '><td width="35%">' . $langs->trans("CompanyCurrency") . '</td><td>';
 print currency_name($conf->currency, 1);
 print ' (' . getCurrencySymbol($conf->currency) . ')';
 print '</td></tr>';
 $var = !$var;
 print '<tr ' . $bc[$var] . '><td width="35%">' . $langs->trans("Tel") . '</td><td>' . dol_print_phone($conf->global->MAIN_INFO_SOCIETE_TEL, $mysoc->country_code) . '</td></tr>';
 $var = !$var;
 print '<tr ' . $bc[$var] . '><td width="35%">' . $langs->trans("Fax") . '</td><td>' . dol_print_phone($conf->global->MAIN_INFO_SOCIETE_FAX, $mysoc->country_code) . '</td></tr>';
 $var = !$var;
 print '<tr ' . $bc[$var] . '><td width="35%">' . $langs->trans("Mail") . '</td><td>' . dol_print_email($conf->global->MAIN_INFO_SOCIETE_MAIL, 0, 0, 0, 80) . '</td></tr>';
 // Web
 $var = !$var;
 print '<tr ' . $bc[$var] . '><td width="35%">' . $langs->trans("Web") . '</td><td>' . dol_print_url($conf->global->MAIN_INFO_SOCIETE_WEB, '_blank', 80) . '</td></tr>';
 // Barcode
 if (!empty($conf->barcode->enabled)) {
     $var = !$var;
     print '<tr ' . $bc[$var] . '><td width="35%">' . $langs->trans("Gencod") . '</td><td>' . $conf->global->MAIN_INFO_SOCIETE_GENCOD . '</td></tr>';
 }
 // Logo
 $var = !$var;
 print '<tr ' . $bc[$var] . '><td width="35%">' . $langs->trans("Logo") . '</td><td>';
 print '<table width="100%" class="nocellnopadd"><tr class="nocellnopadd"><td valign="middle" class="nocellnopadd">';
 print $mysoc->logo;
开发者ID:nrjacker4,项目名称:crm-php,代码行数:31,代码来源:company.php

示例10: picto_from_langcode

 // Country
 print '<tr><td>' . $langs->trans("Country") . '</td><td class="valeur">';
 $img = picto_from_langcode($object->country_code);
 if ($img) {
     print $img . ' ';
 }
 print getCountry($object->country_code);
 print '</td></tr>';
 // State
 print '<tr><td>' . $langs->trans('State') . '</td><td class="valeur">' . $object->state . '</td>';
 // Tel pro.
 print '<tr><td>' . $langs->trans("PhonePro") . '</td><td class="valeur">' . dol_print_phone($object->phone, $object->country_code, 0, $object->fk_soc, 1) . '</td></tr>';
 // Tel perso
 print '<tr><td>' . $langs->trans("PhonePerso") . '</td><td class="valeur">' . dol_print_phone($object->phone_perso, $object->country_code, 0, $object->fk_soc, 1) . '</td></tr>';
 // Tel mobile
 print '<tr><td>' . $langs->trans("PhoneMobile") . '</td><td class="valeur">' . dol_print_phone($object->phone_mobile, $object->country_code, 0, $object->fk_soc, 1) . '</td></tr>';
 // Skype
 if (!empty($conf->skype->enabled)) {
     print '<tr><td>' . $langs->trans("Skype") . '</td><td class="valeur">' . dol_print_skype($object->skype, 0, $object->fk_soc, 1) . '</td></tr>';
 }
 // Birthday
 print '<tr><td>' . $langs->trans("Birthday") . '</td><td class="valeur">' . dol_print_date($object->birth, 'day') . '</td></tr>';
 // Public
 print '<tr><td>' . $langs->trans("Public") . '</td><td class="valeur">' . yn($object->public) . '</td></tr>';
 // Status
 print '<tr><td>' . $langs->trans("Status") . '</td><td class="valeur">' . $object->getLibStatut(4) . '</td></tr>';
 // Categories
 if (!empty($conf->categorie->enabled) && !empty($user->rights->categorie->lire)) {
     print '<tr><td>' . $langs->trans("Categories") . '</td>';
     print '<td colspan="2">';
     print $form->showCategories($object->id, 'member', 1);
开发者ID:TAASA,项目名称:Dolibarr-ERP-3.8.1,代码行数:31,代码来源:card.php

示例11:

            print '</td>';
        }

        if ($view == 'phone')
        {
            // Phone
            print '<td>'.dol_print_phone($obj->phone,$obj->pays_code,$obj->cidp,$obj->socid,'AC_TEL').'</td>';
            // Phone mobile
            print '<td>'.dol_print_phone($obj->phone_mobile,$obj->pays_code,$obj->cidp,$obj->socid,'AC_TEL').'</td>';
            // Fax
            print '<td>'.dol_print_phone($obj->fax,$obj->pays_code,$obj->cidp,$obj->socid,'AC_TEL').'</td>';
        }
        else
        {
            // Phone
            print '<td>'.dol_print_phone($obj->phone,$obj->pays_code,$obj->cidp,$obj->socid,'AC_TEL').'</td>';
            // EMail
            print '<td>'.dol_print_email($obj->email,$obj->cidp,$obj->socid,'AC_EMAIL',18).'</td>';
        }

		// Date
		print '<td align="center">'.dol_print_date($db->jdate($obj->tms),"day").'</td>';

		// Private/Public
		print '<td align="center">'.$contactstatic->LibPubPriv($obj->priv).'</td>';

		// Links Add action and Export vcard
        print '<td align="right">';
        print '<a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?action=create&amp;backtopage=1&amp;contactid='.$obj->cidp.'&amp;socid='.$obj->socid.'">'.img_object($langs->trans("AddAction"),"action").'</a>';
        print ' &nbsp; ';
        print '<a href="'.DOL_URL_ROOT.'/contact/vcard.php?id='.$obj->cidp.'">';
开发者ID:remyyounes,项目名称:dolibarr,代码行数:31,代码来源:index.php

示例12: getCountry

	$img=picto_from_langcode($adh->pays_code);
	if ($img) print $img.' ';
    print getCountry($adh->pays_code);
    print '</td></tr>';

	// State
	print '<tr><td>'.$langs->trans('State').'</td><td class="valeur">'.$adh->departement.'</td>';

    // Tel pro.
    print '<tr><td>'.$langs->trans("PhonePro").'</td><td class="valeur">'.dol_print_phone($adh->phone,$adh->pays_code,0,$adh->fk_soc,1).'</td></tr>';

    // Tel perso
    print '<tr><td>'.$langs->trans("PhonePerso").'</td><td class="valeur">'.dol_print_phone($adh->phone_perso,$adh->pays_code,0,$adh->fk_soc,1).'</td></tr>';

    // Tel mobile
    print '<tr><td>'.$langs->trans("PhoneMobile").'</td><td class="valeur">'.dol_print_phone($adh->phone_mobile,$adh->pays_code,0,$adh->fk_soc,1).'</td></tr>';

    // EMail
    print '<tr><td>'.$langs->trans("EMail").'</td><td class="valeur">'.dol_print_email($adh->email,0,$adh->fk_soc,1).'</td></tr>';

	// Date naissance
    print '<tr><td>'.$langs->trans("Birthday").'</td><td class="valeur">'.dol_print_date($adh->naiss,'day').'</td></tr>';

    // Public
    print '<tr><td>'.$langs->trans("Public").'</td><td class="valeur">'.yn($adh->public).'</td></tr>';

    // Status
    print '<tr><td>'.$langs->trans("Status").'</td><td class="valeur">'.$adh->getLibStatut(4).'</td></tr>';

    // Other attributes
    foreach($extrafields->attribute_label as $key=>$label)
开发者ID:remyyounes,项目名称:dolibarr,代码行数:31,代码来源:fiche.php

示例13: picto_from_langcode

 print "</td></tr>";
 // Zip / Town
 print '<tr><td nowrap="nowrap">' . $langs->trans('Zip') . ' / ' . $langs->trans("Town") . '</td><td colspan="3">' . $object->zip . ($object->zip && $object->town ? ' / ' : '') . $societe->town . '</td>';
 print '</tr>';
 // Country
 print '<tr><td>' . $langs->trans("Country") . '</td><td colspan="3">';
 $img = picto_from_langcode($object->country_code);
 if ($object->isInEEC()) {
     print $form->textwithpicto(($img ? $img . ' ' : '') . $object->country, $langs->trans("CountryIsInEEC"), 1, 0);
 } else {
     print ($img ? $img . ' ' : '') . $object->country;
 }
 print '</td></tr>';
 // Phone
 print '<tr><td>' . $langs->trans("Phone") . '</td><td style="min-width: 25%;">' . dol_print_phone($object->tel, $object->country_code, 0, $object->id, 'AC_TEL') . '</td>';
 print '<td>' . $langs->trans("Fax") . '</td><td style="min-width: 25%;">' . dol_print_phone($object->fax, $object->country_code) . '</td></tr>';
 // EMail
 print '<td>' . $langs->trans('EMail') . '</td><td colspan="3">' . dol_print_email($object->email, 0, $object->id, 'AC_EMAIL') . '</td></tr>';
 // Web
 print '<tr><td>' . $langs->trans("Web") . "</td><td colspan=\"3\"><a href=\"http://{$object->url}\">{$object->url}</a></td></tr>";
 // Level of prospect
 print '<tr><td nowrap>';
 print '<table width="100%" class="nobordernopadding"><tr><td nowrap>';
 print $langs->trans('ProspectLevelShort');
 print '<td>';
 if ($_GET['action'] != 'editlevel' && $user->rights->societe->creer) {
     print '<td align="right"><a href="' . $_SERVER["PHP_SELF"] . '?action=editlevel&amp;socid=' . $object->id . '">' . img_edit($langs->trans('SetLevel'), 1) . '</a></td>';
 }
 print '</tr></table>';
 print '</td><td colspan="3">';
 if ($_GET['action'] == 'editlevel') {
开发者ID:nrjacker4,项目名称:crm-php,代码行数:31,代码来源:fiche.php

示例14:

			print '<table class="border" width="100%">';

			print '<tr><td width="20%">'.$langs->trans('AddressLabel').'</td><td colspan="3">'.$address->lines[$i]->label.'</td>';
			print '<td valign="top" colspan="2" width="50%" rowspan="6">'.$langs->trans('Note').' :<br>'.nl2br($address->lines[$i]->note).'</td></tr>';
			print '<tr><td width="20%">'.$langs->trans('Name').'</td><td colspan="3">'.$address->lines[$i]->name.'</td></tr>';

			print "<tr><td valign=\"top\">".$langs->trans('Address')."</td><td colspan=\"3\">".nl2br($address->lines[$i]->address)."</td></tr>";

			print '<tr><td width="25%">'.$langs->trans('Zip').'</td><td width="25%">'.$address->lines[$i]->cp."</td></tr>";
			print '<tr><td width="25%">'.$langs->trans('Town').'</td><td width="25%">'.$address->lines[$i]->ville."</td></tr>";

			print '<tr><td>'.$langs->trans('Country').'</td><td colspan="3">'.$address->lines[$i]->pays.'</td>';

			print '<tr><td>'.$langs->trans('Phone').'</td><td>'.dol_print_phone($address->lines[$i]->tel,$address->lines[$i]->pays_code,0,$address->socid,'AC_TEL').'</td></tr>';

      		print '<tr><td>'.$langs->trans('Fax').'</td><td>'.dol_print_phone($address->lines[$i]->fax,$address->lines[$i]->pays_code,0,$address->socid,'AC_FAX').'</td></tr>';

			print '</td></tr>';

			print '</table>';


			/*
			*
			*/

			print '<div class="tabsAction">';

			if ($user->rights->societe->creer)
			{
				print '<a class="butAction" href="'.$_SERVER['PHP_SELF'].'?socid='.$address->socid.'&amp;id='.$address->lines[$i]->id.'&amp;action=edit">'.$langs->trans("Modify").'</a>';
开发者ID:remyyounes,项目名称:dolibarr,代码行数:31,代码来源:address.php

示例15: dolibarr_print_phone

function dolibarr_print_phone($phone, $country = "FR", $cid = 0, $socid = 0, $addlink = 0, $separ = "&nbsp;")
{
    return dol_print_phone($phone, $country, $cid, $socid, $addlink, $separ);
}
开发者ID:netors,项目名称:dolibarr,代码行数:4,代码来源:functions.lib.php


注:本文中的dol_print_phone函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。