<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>
?>
</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')));
?>
示例#3
0
</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>
示例#4
0
" 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>
          
示例#5
0
  <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>
示例#6
0
" 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>
示例#7
0
      <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>
示例#8
0
    <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>
}
?>

    </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;
?>
示例#10
0
    <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>
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);
}
</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>
示例#13
0
        <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');
示例#14
0
      <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>
    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>
</label>
            <div class="controls">
            	<?php 
echo osc_draw_input_field('url');
?>
            </div>
        </div>

        <div class="control-group">
            <label class="control-label" for="content"><?php 
echo $osC_Language->get('field_content');
?>
<em>*</em></label>
            <div class="controls">
            	<?php 
echo osc_draw_textarea_field('content', '', 29);
?>
            </div>
        </div>
         
        <?php 
if (ACTIVATE_CAPTCHA == '1') {
    ?>
        <div class="control-group captcha">
        	<label class="control-label">&nbsp;</label>
            <div class="controls">
                <span class="captcha-image"><?php 
    echo osc_image(osc_href_link(FILENAME_INFO, 'contact=show_captcha', 'AUTO', true, false), $osC_Language->get('captcha_image_title'), 215, 80, 'id="captcha-code"');
    ?>
</span>
                <span class="captcha-field">
    <td class="main"><?php 
echo TEXT_FILE_NAME;
?>
</td>
    <td class="main"><?php 
echo isset($_GET['entry']) && !empty($_GET['entry']) ? $target : $current_path . '/' . osc_draw_input_field('filename');
?>
</td>
  </tr>
  <tr>
    <td class="main" valign="top"><?php 
echo TEXT_FILE_CONTENTS;
?>
</td>
    <td class="main"><?php 
echo osc_draw_textarea_field('contents', $contents, '80', '20', 'off', 'style="width: 100%;"' . ($writeable ? '' : ' readonly'));
?>
</td>
  </tr>
</table>

<p align="right">
<?php 
if ($writeable === true) {
    echo '<input type="submit" value="' . IMAGE_SAVE . '" class="operationButton">&nbsp;';
}
echo '<input type="button" value="' . IMAGE_CANCEL . '" class="operationButton" onClick="document.location.href=\'' . tep_href_link(FILENAME_FILE_MANAGER, isset($_GET['entry']) ? 'entry=' . $_GET['entry'] : '') . '\';">';
?>
</p>

</form>
示例#18
0
echo OSCOM::getLink(null, null, 'Contact&Process');
?>
" method="post">

<div class="moduleBox">
  <div class="content">
    <ol>
      <li><?php 
echo osc_draw_label(OSCOM::getDef('contact_name_title'), 'name') . osc_draw_input_field('name');
?>
</li>
      <li><?php 
echo osc_draw_label(OSCOM::getDef('contact_email_address_title'), 'email') . osc_draw_input_field('email');
?>
</li>
      <li><?php 
echo osc_draw_label(OSCOM::getDef('contact_enquiry_title'), 'enquiry') . osc_draw_textarea_field('enquiry', null, 50, 15);
?>
</li>
    </ol>
  </div>
</div>

<div class="submitFormButtons" style="text-align: right;">
  <?php 
echo osc_draw_image_submit_button('button_continue.gif', OSCOM::getDef('button_continue'));
?>
</div>

</form>
        echo osc_draw_pull_down_menu('quantity[' . $product['orders_products_id'] . ']', $selections);
        ?>
        </td>
      </tr>
<?php 
        $rows++;
    }
}
if ($rows > 1) {
    ?>
    <tr class="<?php 
    echo $rows / 2 == floor($rows / 2) ? 'productListing-even' : 'productListing-odd';
    ?>
">
      <td colspan="4"><?php 
    echo osc_draw_label($osC_Language->get('field_return_comments'), 'comments', null, true) . osc_draw_textarea_field('comments', null, 45);
    ?>
</td>
    </tr>    
<?php 
} else {
    ?>
    <tr>
      <td colspan="4"><?php 
    echo $osC_Language->get('no_products_available_for_return');
    ?>
</td>
    </tr>
<?php 
}
?>
示例#20
0
      <td width="40%"><?php 
echo '<b>' . $osC_Language->get('field_image_target') . '</b>';
?>
</td>
      <td width="60%"><?php 
echo realpath('../images') . '/' . osc_draw_input_field('image_target');
?>
</td>
    </tr>
    <tr>
      <td width="40%"><?php 
echo '<b>' . $osC_Language->get('field_html_text') . '</b>';
?>
</td>
      <td width="60%"><?php 
echo osc_draw_textarea_field('html_text', $osC_ObjectInfo->get('banners_html_text'));
?>
</td>
    </tr>
    <tr>
      <td width="40%"><?php 
echo '<b>' . $osC_Language->get('field_scheduled_date') . '</b>';
?>
</td>
      <td width="60%"><?php 
echo osc_draw_input_field('date_scheduled', $osC_ObjectInfo->get('date_scheduled'));
?>
</td>
    </tr>
    <tr>
      <td width="40%"><?php 
<?php 
}
?>
              <tr>
                <td class="main"><b><?php 
echo SUB_TITLE_REVIEW;
?>
</b></td>
              </tr>
              <tr>
                <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
                  <tr class="infoBoxContents">
                    <td><table border="0" width="100%" cellspacing="2" cellpadding="2">
                      <tr>
                        <td class="main"><?php 
echo osc_draw_textarea_field('review', '', 60, 15);
?>
</td>
                      </tr>
                      <tr>
                        <td class="smallText" align="right"><?php 
echo TEXT_NO_HTML;
?>
</td>
                      </tr>
                      <tr>
                        <td class="main"><?php 
echo '<b>' . SUB_TITLE_RATING . '</b> ' . TEXT_BAD . ' ' . osc_draw_radio_field('rating', array('1', '2', '3', '4', '5')) . ' ' . TEXT_GOOD;
?>
</td>
                      </tr>
    ?>
<em>*</em></label>
                <div class="controls">
                	<?php 
    echo osc_draw_input_field('email', $osC_Customer->getEmailAddress());
    ?>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="enquiry"><?php 
    echo $osC_Language->get('contact_enquiry_title');
    ?>
<em>*</em></label>
                <div class="controls">
                	<?php 
    echo osc_draw_textarea_field('enquiry');
    ?>
                </div>
            </div>
        
            <?php 
    if (ACTIVATE_CAPTCHA == '1') {
        ?>
            <div class="control-group">
                <label class="control-label">&nbsp;</label>
                <div class="controls captcha">
                    <span class="captcha-image"><?php 
        echo osc_image(osc_href_link(FILENAME_INFO, 'contact=show_captcha', 'AUTO', true, false), $osC_Language->get('captcha_image_title'), 215, 80, 'id="captcha-code"');
        ?>
</span>
                    <span class="captcha-field">
示例#23
0
            $i++;
        }
        ?>
                  </tbody>
                </table>
              <?php 
    }
    ?>
              
              <h6><?php 
    echo $osC_Language->get('field_review');
    ?>
</h6>
              
              <?php 
    echo osc_draw_textarea_field('review', null, 45, 5);
    ?>
            
              <div class="submitFormButtons">
                <input type="hidden" id="radio_lines" name="radio_lines" value="<?php 
    echo $i;
    ?>
"/>
                <?php 
    echo osc_draw_image_submit_button('submit_reviews.gif', $osC_Language->get('submit_reviews'));
    ?>
              </div>
            
            </form>
          <?php 
}
示例#24
0
    ?>
" method="post">

<div class="moduleBox">
  <div class="content">
    <ol>
      <li><?php 
    echo osc_draw_label($osC_Language->get('contact_name_title'), 'name') . osc_draw_input_field('name');
    ?>
</li>
      <li><?php 
    echo osc_draw_label($osC_Language->get('contact_email_address_title'), 'email') . osc_draw_input_field('email');
    ?>
</li>
      <li><?php 
    echo osc_draw_label($osC_Language->get('contact_enquiry_title'), 'enquiry') . osc_draw_textarea_field('enquiry', null, 50, 15);
    ?>
</li>
    </ol>
  </div>
</div>

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

</form>

<?php 
示例#25
0
            <td><?php 
echo tep_draw_separator('pixel_trans.gif', '100%', '10');
?>
</td>
          </tr>
          <tr>
            <td class="main"><b><?php 
echo FORM_TITLE_FRIEND_MESSAGE;
?>
</b></td>
          </tr>
          <tr>
            <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
              <tr class="infoBoxContents">
                <td><?php 
echo osc_draw_textarea_field('message', '', 40, 8);
?>
</td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php 
echo tep_draw_separator('pixel_trans.gif', '100%', '10');
?>
</td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
示例#26
0
    <div class="noticeBox">
      <?php 
    echo sprintf($osC_Language->get('error_configuration_file_not_writeable'), $dir_fs_document_root . 'includes/configure.php');
    ?>

      <p align="right"><?php 
    echo '<input type="image" src="templates/' . $template . '/languages/' . $osC_Language->getCode() . '/images/buttons/retry.gif" border="0" alt="' . $osC_Language->get('image_button_retry') . '" />';
    ?>
</p>

      <?php 
    echo $osC_Language->get('error_configuration_file_alternate_method');
    ?>

      <?php 
    echo osc_draw_textarea_field('contents', $file_contents, 60, 5, 'readonly="readonly" style="width: 100%; height: 120px;"', false);
    ?>
    </div>

<?php 
    foreach ($_POST as $key => $value) {
        if ($key != 'x' && $key != 'y') {
            if (is_array($value)) {
                for ($i = 0, $n = sizeof($value); $i < $n; $i++) {
                    echo osc_draw_hidden_field($key . '[]', $value[$i]);
                }
            } else {
                echo osc_draw_hidden_field($key, $value);
            }
        }
    }
示例#27
0
    echo osc_draw_label($osC_Language->get('field_share_wishlist_customer_name'), 'wishlist_customer', null, true) . ' ' . osc_draw_input_field('wishlist_customer', $osC_Customer->isLoggedOn() ? $osC_Customer->getName() : null);
    ?>
</p>
          
          <p><?php 
    echo osc_draw_label($osC_Language->get('field_share_wishlist_customer_email'), 'wishlist_from_email', null, true) . ' ' . osc_draw_input_field('wishlist_from_email', $osC_Customer->isLoggedOn() ? $osC_Customer->getEmailAddress() : null);
    ?>
</p>
          
          <p><?php 
    echo osc_draw_label($osC_Language->get('field_share_wishlist_emails'), 'wishlist_emails', null, true) . ' ' . osc_draw_textarea_field('wishlist_emails', null, 40, 5);
    ?>
</p>
           
          <p><?php 
    echo osc_draw_label($osC_Language->get('field_share_wishlist_message'), 'wishlist_message', null, true) . ' ' . osc_draw_textarea_field('wishlist_message', null, 40, 5);
    ?>
</p>                  
        </div>   
        
        <div class="submitFormButtons" style="text-align: right;">
          <?php 
    echo osc_draw_image_submit_button('button_continue.gif');
    ?>
        </div>
      
      </form>
    </div>
<?php 
}
?>
示例#28
0
      <td width="40%"><?php 
echo '<b>' . $osC_Language->get('field_file_name') . '</b>';
?>
</td>
      <td width="60%"><?php 
echo osc_output_string_protected($_GET['entry']) . osc_draw_hidden_field('filename', $_GET['entry']);
?>
</td>
    </tr>
    <tr>
      <td width="40%" valign="top"><?php 
echo '<b>' . $osC_Language->get('field_file_contents') . '</b>';
?>
</td>
      <td width="60%"><?php 
echo osc_draw_textarea_field('contents', $contents, 80, 20, 'style="width: 100%;"' . ($writeable === true ? '' : ' readonly="readonly"'));
?>
</td>
    </tr>
  </table>

  <p align="center">

<?php 
if ($writeable === true) {
    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()) . '\';" class="operationButton" />';
} else {
    echo '<input type="button" value="' . $osC_Language->get('button_back') . '" onclick="document.location.href=\'' . osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()) . '\';" class="operationButton" />';
}
?>
示例#29
0
<?php 
    $radio_buttons++;
}
?>

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

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

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

<br />

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

</form>
示例#30
0
                $i++;
            }
            ?>
                    </tbody>
                  </table>
                <?php 
        }
        ?>
                
                <h6><?php 
        echo $osC_Language->get('field_review');
        ?>
</h6>
                
                <?php 
        echo osc_draw_textarea_field('review', isset($_SESSION['review']) ? $_SESSION['review'] : null, 45, 5);
        ?>
                <p><?php 
        echo $osC_Language->get('review_note_message');
        ?>
</p>
                
                <?php 
        if (ACTIVATE_CAPTCHA === '1' && $osC_Customer->isLoggedOn() === false) {
            ?>
                <div class="clearfix captcha">
                  <div class="captcha-image"><?php 
            echo osc_image(osc_href_link(FILENAME_PRODUCTS, 'reviews=show_captcha'), $osC_Language->get('captcha_image_title'), 215, 80, 'id="captcha-code"');
            ?>
</div>
                  <div class="captcha-field clearfix">