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


PHP osc_draw_textarea_field函数代码示例

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


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

示例1: osc_draw_input_field

    <td class="main"><?php 
echo TEXT_NEWSLETTER_TITLE;
?>
</td>
    <td class="main"><?php 
echo osc_draw_input_field('title', isset($nmInfo) ? $nmInfo->title : '', '', true);
?>
</td>
  </tr>
  <tr>
    <td class="main" colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td class="main" valign="top"><?php 
echo TEXT_NEWSLETTER_CONTENT;
?>
</td>
    <td class="main"><?php 
echo osc_draw_textarea_field('content', isset($nmInfo) ? $nmInfo->content : '', '100%', '20');
?>
</td>
  </tr>
</table>

<p align="right"><?php 
echo '<input type="submit" value="' . BUTTON_SAVE . '" class="operationButton">&nbsp;<input type="button" value="' . BUTTON_CANCEL . '" onClick="document.location.href=\'' . tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&' . (isset($_GET['nmID']) ? 'nmID=' . $_GET['nmID'] : '')) . '\';" class="operationButton">';
?>
</p>

</form>
开发者ID:itnovator,项目名称:oscommerce_cvs,代码行数:30,代码来源:newsletters_edit.php

示例2: osc_draw_textarea_field

?>
</li>
    </ol>
  </div>
</div>

<div class="moduleBox">
  <h6><?php 
echo $osC_Language->get('tell_a_friend_message');
?>
</h6>

  <div class="content">
    <ol>
      <li><?php 
echo osc_draw_textarea_field('message', null, 40, 8, 'style="width: 98%;"');
?>
</li>
    </ol>
  </div>
</div>

<div class="submitFormButtons">
  <span style="float: right;"><?php 
echo osc_draw_image_submit_button('button_continue.gif', $osC_Language->get('button_continue'));
?>
</span>

  <?php 
echo osc_link_object(osc_href_link(FILENAME_PRODUCTS, $osC_Product->getID()), osc_draw_image_button('button_back.gif', $osC_Language->get('button_back')));
?>
开发者ID:4DvAnCeBoY,项目名称:tomatocart-shoppingcart,代码行数:31,代码来源:tell_a_friend.php

示例3: osc_draw_input_field

</td>
        <td><?php 
        echo osc_draw_input_field('recipients_email', null, 'size="18"');
        ?>
</td>
      </tr>
  <?php 
    }
    ?>
      <tr>          
        <td class="label" valign="top"><?php 
    echo $osC_Language->get('fields_gift_certificate_message');
    ?>
</td>
        <td><?php 
    echo osc_draw_textarea_field('message', null, 15, 2);
    ?>
</td>
      </tr>
  <?php 
}
?>
      <tr>
        <td colspan="2" align="center" valign="top" style="padding-top: 15px">
          
          <?php 
if (!$osC_Product->hasVariants()) {
    echo '<b>' . $osC_Language->get('field_short_quantity') . '</b>&nbsp;' . osc_draw_input_field('quantity', $osC_Product->getMOQ(), 'size="3"') . '&nbsp;' . osc_draw_image_submit_button('button_in_cart.gif', $osC_Language->get('button_add_to_cart'), 'style="vertical-align:middle;" id="addToShoppingCart"');
}
?>
        </td>
开发者ID:Doluci,项目名称:tomatocart,代码行数:31,代码来源:info.php

示例4: osc_draw_label

" method="post">
        <ol> 
          <li><?php 
echo osc_draw_label($osC_Language->get('field_title'), 'title', null, true) . osc_draw_input_field('title', null);
?>
</li>
          <li><?php 
echo osc_draw_label($osC_Language->get('field_email'), 'email', null, true) . osc_draw_input_field('email');
?>
</li>  
          <li><?php 
echo osc_draw_label($osC_Language->get('field_url'), 'url') . osc_draw_input_field('url');
?>
</li>  
          <li><?php 
echo osc_draw_label($osC_Language->get('field_content'), 'content', null, true) . osc_draw_textarea_field('content', '', 29);
?>
</li>
          <li>
            <?php 
echo osc_draw_label($osC_Language->get('field_image_verification'), 'verify_code') . osc_draw_input_field('verify_code') . '&nbsp;&nbsp;' . $osC_Language->get('verification_info_note') . '<br/> <img style="margin-top: 5px;" src="' . osc_href_link(FILENAME_INFO, 'guestbook&captcha') . '" alt="Captcha" />';
?>
          </li>
        </ol>
        
        <div class="submitFormButtons">
          <span style="float: right"><?php 
echo osc_draw_image_submit_button('button_continue.gif', $osC_Language->get('button_continue'));
?>
</span>
          
开发者ID:Doluci,项目名称:tomatocart,代码行数:30,代码来源:guestbook_new.php

示例5: osc_href_link_admin

  <form name="lDefine" class="dataForm" action="<?php 
echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . (int) $_GET[$osC_Template->getModule()] . '&group=' . $_GET['group'] . '&action=edit_definition');
?>
" method="post">

  <p><?php 
echo $osC_Language->get('introduction_edit_language_definitions');
?>
</p>

  <fieldset>
    <div><label for="def[<?php 
echo $osC_ObjectInfo->getProtected('definition_key');
?>
]"><?php 
echo $osC_ObjectInfo->getProtected('definition_key');
?>
</label><?php 
echo osc_draw_textarea_field('def[' . $osC_ObjectInfo->get('definition_key') . ']', $osC_ObjectInfo->get('definition_value'));
?>
</div>
  </fieldset>

  <p align="center"><?php 
echo osc_draw_hidden_field('subaction', 'confirm') . '<input type="submit" value="' . $osC_Language->get('button_save') . '" class="operationButton" /> <input type="button" value="' . $osC_Language->get('button_cancel') . '" onclick="document.location.href=\'' . osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . (int) $_GET[$osC_Template->getModule()] . '&group=' . $_GET['group']) . '\';" class="operationButton" />';
?>
</p>

  </form>
</div>
开发者ID:heshuai64,项目名称:gamestore,代码行数:30,代码来源:definitions_edit.php

示例6: osc_output_string_protected

" method="post">

  <p><?php 
echo '<b>' . $osC_Language->get('field_product') . '</b><br />' . $osC_ObjectInfo->get('products_name');
?>
</p>
  <p><?php 
echo '<b>' . $osC_Language->get('field_author') . '</b><br />' . osc_output_string_protected($osC_ObjectInfo->get('customers_name'));
?>
</p>
  <p><?php 
echo '<b>' . $osC_Language->get('field_date_added') . '</b><br />' . osC_DateTime::getShort($osC_ObjectInfo->get('date_added'));
?>
</p>
  <p><?php 
echo '<b>' . $osC_Language->get('field_review') . '</b><br />' . osc_draw_textarea_field('reviews_text', $osC_ObjectInfo->get('reviews_text'));
?>
</p>
  <p><?php 
echo '<b>' . $osC_Language->get('field_rating') . '</b><br />' . $osC_Language->get('rating_bad') . '&nbsp;' . osc_draw_radio_field('reviews_rating', $rating_array, $osC_ObjectInfo->get('reviews_rating')) . '&nbsp;' . $osC_Language->get('rating_good');
?>
</p>

  <p align="center"><?php 
echo osc_draw_hidden_field('subaction', 'confirm') . '<input type="submit" value="' . $osC_Language->get('button_save') . '" class="operationButton" /> <input type="button" value="' . $osC_Language->get('button_cancel') . '" onclick="document.location.href=\'' . osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&page=' . $_GET['page']) . '\';" class="operationButton" />';
?>
</p>

  </form>
</div>
开发者ID:digitaldevelopers,项目名称:oscommerce,代码行数:30,代码来源:edit.php

示例7: osc_draw_label

      <li><?php 
    echo osc_draw_label(ENTRY_NAME, null, 'customer_name') . osc_draw_input_field('customer_name');
    ?>
</li>
      <li><?php 
    echo osc_draw_label($osC_Language->get('field_customer_email_address'), null, 'customer_email_address') . osc_draw_input_field('customer_email_address');
    ?>
</li>

<?php 
}
?>

      <li><?php 
echo osc_draw_textarea_field('review', null, null, 15, 'style="width: 98%;"');
?>
</li>
      <li><?php 
echo $osC_Language->get('field_review_rating') . ' ' . $osC_Language->get('review_lowest_rating_title') . ' ' . osc_draw_radio_field('rating', array('1', '2', '3', '4', '5')) . ' ' . $osC_Language->get('review_highest_rating_title');
?>
</li>
    </ol>
  </div>
</div>

<div class="submitFormButtons">
  <span style="float: left;"><?php 
echo osc_draw_image_submit_button('button_continue.gif', $osC_Language->get('button_continue'));
?>
</span>
开发者ID:sajad1441,项目名称:TomatoShop-v1,代码行数:30,代码来源:reviews_new.php

示例8: osc_draw_input_field

    <p><label for="countries_iso_code_2"><?php 
echo OSCOM::getDef('field_iso_code_2');
?>
</label><?php 
echo osc_draw_input_field('countries_iso_code_2', $OSCOM_ObjectInfo->get('countries_iso_code_2'));
?>
</p>
    <p><label for="countries_iso_code_3"><?php 
echo OSCOM::getDef('field_iso_code_3');
?>
</label><?php 
echo osc_draw_input_field('countries_iso_code_3', $OSCOM_ObjectInfo->get('countries_iso_code_3'));
?>
</p>
    <p><label for="address_format"><?php 
echo OSCOM::getDef('field_address_format');
?>
</label><?php 
echo osc_draw_textarea_field('address_format', $OSCOM_ObjectInfo->get('address_format'));
?>
<br /><i>:name</i>, <i>:street_address</i>, <i>:suburb</i>, <i>:city</i>, <i>:postcode</i>, <i>:state</i>, <i>:state_code</i>, <i>:country</i></p>
  </fieldset>

  <p><?php 
echo osc_draw_button(array('priority' => 'primary', 'icon' => 'check', 'title' => OSCOM::getDef('button_save'))) . ' ' . osc_draw_button(array('href' => OSCOM::getLink(), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel')));
?>
</p>

  </form>
</div>
开发者ID:kdexter,项目名称:oscommerce,代码行数:30,代码来源:edit.php

示例9: osc_draw_textarea_field

}
?>

    </table>
  </div>
</div>

<div class="moduleBox">
  <div class="outsideHeading"><?php 
echo TABLE_HEADING_COMMENTS;
?>
</div>

  <div class="content">
    <?php 
echo osc_draw_textarea_field('comments', $osC_Session->exists('comments') ? $osC_Session->value('comments') : '');
?>
  </div>
</div>

<div class="moduleBox">
  <div class="content">
    <div style="float: right;">
      <?php 
echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE);
?>
    </div>

    <?php 
echo '<b>' . TITLE_CONTINUE_CHECKOUT_PROCEDURE . '</b><br>' . TEXT_CONTINUE_CHECKOUT_PROCEDURE_TO_CONFIRMATION;
?>
开发者ID:itnovator,项目名称:oscommerce_cvs,代码行数:31,代码来源:checkout_payment.php

示例10: osc_draw_input_field

    <p><label for="countries_iso_code_2"><?php 
echo OSCOM::getDef('field_iso_code_2');
?>
</label><?php 
echo osc_draw_input_field('countries_iso_code_2');
?>
</p>
    <p><label for="countries_iso_code_3"><?php 
echo OSCOM::getDef('field_iso_code_3');
?>
</label><?php 
echo osc_draw_input_field('countries_iso_code_3');
?>
</p>
    <p><label for="address_format"><?php 
echo OSCOM::getDef('field_address_format');
?>
</label><?php 
echo osc_draw_textarea_field('address_format');
?>
<br /><i>:name</i>, <i>:street_address</i>, <i>:suburb</i>, <i>:city</i>, <i>:postcode</i>, <i>:state</i>, <i>:state_code</i>, <i>:country</i></p>
  </fieldset>

  <p><?php 
echo osc_draw_button(array('priority' => 'primary', 'icon' => 'check', 'title' => OSCOM::getDef('button_save'))) . ' ' . osc_draw_button(array('href' => OSCOM::getLink(), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel')));
?>
</p>

  </form>
</div>
开发者ID:kdexter,项目名称:oscommerce,代码行数:30,代码来源:new.php

示例11: osc_cfg_set_textarea_field

function osc_cfg_set_textarea_field($default, $key = null)
{
    $name = !empty($key) ? 'configuration[' . $key . ']' : 'configuration_value';
    return osc_draw_textarea_field($name, $default, 35, 5);
}
开发者ID:heshuai64,项目名称:gamestore,代码行数:5,代码来源:osc_cfg_set_textarea_field.php

示例12: foreach

</h3>

  <form name="lDefineBatch" class="dataForm" action="<?php 
echo OSCOM::getLink(null, null, 'BatchSaveDefinitions&Process&id=' . $_GET['id'] . '&group=' . $_GET['group']);
?>
" method="post">

  <p><?php 
echo OSCOM::getDef('introduction_edit_language_definitions');
?>
</p>

  <fieldset>

<?php 
foreach ($_POST['batch'] as $id) {
    $OSCOM_ObjectInfo = new ObjectInfo(Languages::getDefinition($id));
    echo '<p><label for="def[' . $OSCOM_ObjectInfo->getProtected('definition_key') . ']">' . $OSCOM_ObjectInfo->getProtected('definition_key') . '</label>' . osc_draw_textarea_field('def[' . $OSCOM_ObjectInfo->get('definition_key') . ']', $OSCOM_ObjectInfo->get('definition_value')) . osc_draw_hidden_field('batch[]', $OSCOM_ObjectInfo->getInt('id')) . '</p>';
}
?>

  </fieldset>

  <p><?php 
echo osc_draw_button(array('priority' => 'primary', 'icon' => 'check', 'title' => OSCOM::getDef('button_save'))) . ' ' . osc_draw_button(array('href' => OSCOM::getLink(null, null, 'id=' . $_GET['id'] . '&group=' . $_GET['group']), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel')));
?>
</p>

  </form>
</div>
开发者ID:kdexter,项目名称:oscommerce,代码行数:30,代码来源:definitions_batch_edit.php

示例13: osc_draw_pull_down_menu

        <td><?php 
    echo $osC_Language->get('field_status');
    ?>
</td>
        <td><?php 
    echo osc_draw_pull_down_menu('status', $orders_statuses, $osC_Order->getStatusID());
    ?>
</td>
      </tr>
      <tr>
        <td valign="top"><?php 
    echo $osC_Language->get('field_add_comment');
    ?>
</td>
        <td><?php 
    echo osc_draw_textarea_field('comment', null, null, null, 'style="width: 100%"');
    ?>
</td>
      </tr>
      <tr>
        <td><?php 
    echo $osC_Language->get('field_notify_customer');
    ?>
</td>
        <td><?php 
    echo osc_draw_checkbox_field('notify_customer', null, true);
    ?>
</td>
      </tr>
        <td><?php 
    echo $osC_Language->get('field_notify_customer_with_comments');
开发者ID:digitaldevelopers,项目名称:oscommerce,代码行数:31,代码来源:edit.php

示例14: osc_draw_label

      <li><?php 
        echo osc_draw_label($osC_Language->get('bank_receipt_order_date_title'), 'orderdate');
        ?>
</li><span id="order_date_purchased"></span>
    <?php 
    } else {
        ?>
      <li><?php 
        echo osc_draw_label($osC_Language->get('bank_receipt_order_number_title'), 'ordernumber', null, true) . osc_draw_input_field('ordernumber', '', 'size="30"dir="ltr"');
        ?>
</li>
    <?php 
    }
    ?>
      <li><?php 
    echo osc_draw_label($osC_Language->get('bank_receipt_description_title'), 'description') . osc_draw_textarea_field('description', null, 38, 5);
    ?>
</li>

    <?php 
    if (ACTIVATE_CAPTCHA == '1') {
        ?>
      <li class="clearfix captcha" style="height:130px !important;">
        <table width="200" border="0">
          <tr>
            <td>&nbsp;</td>
            <td><?php 
        echo osc_image(osc_href_link(FILENAME_INFO, 'bank_receipt=show_captcha', 'AUTO', true, false), $osC_Language->get('captcha_image_title'), 215, 80, 'id="captcha-code"');
        ?>
</td>
            <td>&nbsp;</td>
开发者ID:sajad1441,项目名称:TomatoShop-v1,代码行数:31,代码来源:bank_receipt.php

示例15: osc_draw_textarea_field

    echo osc_draw_textarea_field('gift_wrapping_comments', isset($_SESSION['gift_wrapping_comments']) ? $_SESSION['gift_wrapping_comments'] : null, 60, 4, 'style="width: 98%;"');
    ?>
  </div>
</div>
<?php 
}
?>

<div class="moduleBox">
  <h6><?php 
echo $osC_Language->get('add_comment_to_order_title');
?>
</h6>

  <div class="content">
    <?php 
echo osc_draw_textarea_field('shipping_comments', isset($_SESSION['comments']) ? $_SESSION['comments'] : null, 60, 4, 'style="width: 98%;"');
?>
  </div>
</div>

<br />

<div class="submitFormButtons" style="text-align: left;">
  <?php 
echo osc_draw_image_button('button_continue.gif', $osC_Language->get('button_continue'), 'id="btnSaveShippingMethod" style="cursor: pointer"');
?>
</div>

</form>
开发者ID:sajad1441,项目名称:TomatoShop-v1,代码行数:30,代码来源:shipping_method_form.php


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