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


PHP FormOther::form_address方法代码示例

本文整理汇总了PHP中FormOther::form_address方法的典型用法代码示例。如果您正苦于以下问题:PHP FormOther::form_address方法的具体用法?PHP FormOther::form_address怎么用?PHP FormOther::form_address使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在FormOther的用法示例。


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

示例1: array

 }
 print "<tr><td>" . $langs->trans("Company") . "</td>";
 print '<td colspan="3">' . $object->client->getNomUrl(1) . '</td></tr>';
 // Delivery address
 if ($conf->global->SOCIETE_ADDRESSES_MANAGEMENT) {
     print '<tr><td>';
     print '<table class="nobordernopadding" width="100%"><tr><td>';
     print $langs->trans('DeliveryAddress');
     print '</td>';
     if ($action != 'editdelivery_address' && $object->brouillon) {
         print '<td align="right"><a href="' . $_SERVER["PHP_SELF"] . '?action=editdelivery_address&amp;socid=' . $object->socid . '&amp;id=' . $object->id . '">' . img_edit($langs->transnoentitiesnoconv('SetDeliveryAddress'), 1) . '</a></td>';
     }
     print '</tr></table>';
     print '</td><td colspan="3">';
     if ($action == 'editdelivery_address') {
         $formother->form_address($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->fk_delivery_address, $object->socid, 'fk_address', 'propal', $object->id);
     } else {
         $formother->form_address($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->fk_delivery_address, $object->socid, 'none', 'propal', $object->id);
     }
     print '</td></tr>';
 }
 print "</table>";
 print '</div>';
 print '<br>';
 // Contacts lines (modules that overwrite templates must declare this into descriptor)
 $dirtpls = array_merge($conf->modules_parts['tpl'], array('/core/tpl'));
 foreach ($dirtpls as $reldir) {
     $res = @(include dol_buildpath($reldir . '/contacts.tpl.php'));
     if ($res) {
         break;
     }
开发者ID:nrjacker4,项目名称:crm-php,代码行数:31,代码来源:contact.php

示例2: GETPOST

 }
 print "<tr><td>" . $langs->trans("Company") . "</td>";
 print '<td colspan="3">' . $object->client->getNomUrl(1) . '</td></tr>';
 // Delivery address
 if (!empty($conf->global->SOCIETE_ADDRESSES_MANAGEMENT)) {
     print '<tr><td>';
     print '<table class="nobordernopadding" width="100%"><tr><td>';
     print $langs->trans('DeliveryAddress');
     print '</td>';
     if ($action != 'editdelivery_address' && $object->brouillon) {
         print '<td align="right"><a href="' . $_SERVER["PHP_SELF"] . '?action=editdelivery_address&amp;socid=' . $object->socid . '&amp;id=' . $object->id . '">' . img_edit($langs->transnoentitiesnoconv('SetDeliveryAddress'), 1) . '</a></td>';
     }
     print '</tr></table>';
     print '</td><td colspan="3">';
     if ($action == 'editdelivery_address') {
         $formother->form_address($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->fk_delivery_address, GETPOST('socid', 'int'), 'fk_address', 'commande', $object->id);
     } else {
         $formother->form_address($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->fk_delivery_address, GETPOST('socid', 'int'), 'none', 'commande', $object->id);
     }
     print '</td></tr>';
 }
 print "</table>";
 print '</div>';
 print '<br>';
 // Contacts lines (modules that overwrite templates must declare this into descriptor)
 $dirtpls = array_merge($conf->modules_parts['tpl'], array('/core/tpl'));
 foreach ($dirtpls as $reldir) {
     $res = @(include dol_buildpath($reldir . '/contacts.tpl.php'));
     if ($res) {
         break;
     }
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:contact.php


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