[TEP-COMMIT] [CVS admin] use the new file form field function
hpdl-OfajU3CKLf1/[email protected] 4 Aug 2004 16:53:51 -0000
| Newsgroups | gmane.comp.web.oscommerce.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit in admin/admin/templates/pages on MAIN
categories.php +2 -2 1.1 -> 1.2
categories_new_product.php +1 -1 1.2 -> 1.3
manufacturers.php +2 -2 1.1 -> 1.2
+5 -5
3 modified files
use the new file form field function
----------
admin /admin /templates /pages
categories.php 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- categories.php 2004/07/22 23:26:52 1.1
+++ categories.php 2004/08/04 16:53:50 1.2
@@ -177,7 +177,7 @@
}
?>
</p>
- <p><?php echo TEXT_CATEGORIES_IMAGE . '<br>' . tep_draw_file_field('categories_image'); ?></p>
+ <p><?php echo TEXT_CATEGORIES_IMAGE . '<br>' . osc_draw_file_field('categories_image'); ?></p>
<p><?php echo TEXT_EDIT_SORT_ORDER . '<br>' . osc_draw_input_field('sort_order'); ?></p>
<p align="center"><?php echo '<input type="submit" value="' . IMAGE_SAVE . '" class="operationButton"> <input type="button" value="' . IMAGE_CANCEL . '" onClick="toggleInfoBox(\'cDefault\');" class="operationButton">'; ?></p>
@@ -248,7 +248,7 @@
?>
</p>
<p><?php echo tep_image(DIR_WS_CATALOG_IMAGES . $cInfo->categories_image, $cInfo->categories_name, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT) . '<br>' . DIR_WS_CATALOG_IMAGES . '<br><b>' . $cInfo->categories_image . '</b>'; ?></p>
- <p><?php echo TEXT_EDIT_CATEGORIES_IMAGE . '<br>' . tep_draw_file_field('categories_image'); ?></p>
+ <p><?php echo TEXT_EDIT_CATEGORIES_IMAGE . '<br>' . osc_draw_file_field('categories_image'); ?></p>
<p><?php echo TEXT_EDIT_SORT_ORDER . '<br>' . osc_draw_input_field('sort_order', $cInfo->sort_order); ?></p>
<p align="center"><?php echo '<input type="submit" value="' . IMAGE_UPDATE . '" class="operationButton"> <input type="button" value="' . IMAGE_CANCEL . '" onClick="toggleInfoBox(\'cDefault\');" class="operationButton">'; ?></p>
----------
admin /admin /templates /pages
categories_new_product.php 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- categories_new_product.php 2004/08/02 12:35:56 1.2
+++ categories_new_product.php 2004/08/04 16:53:50 1.3
@@ -231,7 +231,7 @@
</tr>
<tr>
<td class="main"><?php echo TEXT_PRODUCTS_IMAGE; ?></td>
- <td class="main"><?php echo tep_draw_file_field('products_image') . '<br>' . (isset($pInfo) ? $pInfo->products_image . tep_draw_hidden_field('products_previous_image', $pInfo->products_image) : ''); ?></td>
+ <td class="main"><?php echo osc_draw_file_field('products_image') . '<br>' . (isset($pInfo) ? $pInfo->products_image . tep_draw_hidden_field('products_previous_image', $pInfo->products_image) : ''); ?></td>
</tr>
<tr>
<td class="smallText" colspan="2"> </td>
----------
admin /admin /templates /pages
manufacturers.php 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- manufacturers.php 2004/07/22 23:29:21 1.1
+++ manufacturers.php 2004/08/04 16:53:50 1.2
@@ -87,7 +87,7 @@
<p><?php echo TEXT_NEW_INTRO; ?></p>
<p><?php echo TEXT_MANUFACTURERS_NAME . '<br>' . osc_draw_input_field('manufacturers_name'); ?></p>
- <p><?php echo TEXT_MANUFACTURERS_IMAGE . '<br>' . tep_draw_file_field('manufacturers_image'); ?></p>
+ <p><?php echo TEXT_MANUFACTURERS_IMAGE . '<br>' . osc_draw_file_field('manufacturers_image'); ?></p>
<p>
<?php
echo TEXT_MANUFACTURERS_URL;
@@ -117,7 +117,7 @@
<p><?php echo TEXT_EDIT_INTRO; ?></p>
<p><?php echo TEXT_MANUFACTURERS_NAME . '<br>' . osc_draw_input_field('manufacturers_name', $mInfo->manufacturers_name); ?></p>
<p><?php echo tep_info_image($mInfo->manufacturers_image, $mInfo->manufacturers_name) . '<br>' . DIR_WS_CATALOG_IMAGES . '<br><b>' . $mInfo->manufacturers_image . '</b>'; ?></p>
- <p><?php echo TEXT_MANUFACTURERS_IMAGE . '<br>' . tep_draw_file_field('manufacturers_image'); ?></p>
+ <p><?php echo TEXT_MANUFACTURERS_IMAGE . '<br>' . osc_draw_file_field('manufacturers_image'); ?></p>
<p>
<?php
echo TEXT_MANUFACTURERS_URL;
CVSspam 0.2.9
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com