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


PHP oos_image_swap_submits函数代码示例

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


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

示例1: oos_image

            $manufacturer_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . '&nbsp;' . oos_draw_input_field('manufacturers_url[' . $languages[$i]['id'] . ']', oos_get_manufacturer_url($mInfo->manufacturers_id, $languages[$i]['id']));
        }
        $contents[] = array('text' => '<br />' . TEXT_MANUFACTURERS_URL . $manufacturer_inputs_string);
        $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('save', 'save_off.gif', IMAGE_SAVE) . ' <a href="' . oos_href_link_admin($aFilename['manufacturers'], 'page=' . $_GET['page'] . '&mID=' . $mInfo->manufacturers_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
        break;
    case 'delete':
        $heading[] = array('text' => '<b>' . TEXT_HEADING_DELETE_MANUFACTURER . '</b>');
        $contents = array('form' => oos_draw_form('manufacturers', $aFilename['manufacturers'], 'page=' . $_GET['page'] . '&mID=' . $mInfo->manufacturers_id . '&action=deleteconfirm'));
        $contents[] = array('text' => TEXT_DELETE_INTRO);
        $contents[] = array('text' => '<br /><b>' . $mInfo->manufacturers_name . '</b>');
        $contents[] = array('text' => '<br />' . oos_draw_checkbox_field('delete_image', '', true) . ' ' . TEXT_DELETE_IMAGE);
        if ($mInfo->products_count > 0) {
            $contents[] = array('text' => '<br />' . oos_draw_checkbox_field('delete_products') . ' ' . TEXT_DELETE_PRODUCTS);
            $contents[] = array('text' => '<br />' . sprintf(TEXT_DELETE_WARNING_PRODUCTS, $mInfo->products_count));
        }
        $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete', 'delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['manufacturers'], 'page=' . $_GET['page'] . '&mID=' . $mInfo->manufacturers_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
        break;
    default:
        if (isset($mInfo) && is_object($mInfo)) {
            $heading[] = array('text' => '<b>' . $mInfo->manufacturers_name . '</b>');
            $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['manufacturers'], 'page=' . $_GET['page'] . '&mID=' . $mInfo->manufacturers_id . '&action=edit') . '">' . oos_image_swap_button('edit', 'edit_off.gif', IMAGE_EDIT) . '</a> <a href="' . oos_href_link_admin($aFilename['manufacturers'], 'page=' . $_GET['page'] . '&mID=' . $mInfo->manufacturers_id . '&action=delete') . '">' . oos_image_swap_button('delete', 'delete_off.gif', IMAGE_DELETE) . '</a>');
            $contents[] = array('text' => '<br />' . TEXT_DATE_ADDED . ' ' . oos_date_short($mInfo->date_added));
            if (oos_is_not_null($mInfo->last_modified)) {
                $contents[] = array('text' => TEXT_LAST_MODIFIED . ' ' . oos_date_short($mInfo->last_modified));
            }
            $contents[] = array('text' => '<br />' . oos_info_image($mInfo->manufacturers_image, $mInfo->manufacturers_name));
            $contents[] = array('text' => '<br />' . TEXT_PRODUCTS . ' ' . $mInfo->products_count);
        }
        break;
}
if (!empty($heading) && !empty($contents)) {
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:manufacturers.php

示例2: oos_draw_input_field

              <tr>
                <td valign="top" class="main"><?php echo TEXT_AMOUNT; ?></td>
                <td><?php echo oos_draw_input_field('amount'); ?></td>
              </tr>
              <tr>
                <td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
              </tr>
              <tr>
                <td valign="top" class="main"><?php echo TEXT_MESSAGE; ?></td>
                <td><?php echo oos_draw_textarea_field('message', 'soft', '60', '15'); ?></td>
              </tr>
              <tr>
                <td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td>
              </tr>
              <tr>
                <td colspan="2" align="right"><?php echo oos_image_swap_submits('send_mail','send_mail_off.gif', IMAGE_SEND_EMAIL); ?></td>
              </tr>
            </table></td>
          </form></tr>
<?php
  }
?>
<!-- body_text_eof //-->
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<!-- body_eof //-->

<?php require 'includes/oos_footer.php'; ?>
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:gv_mail.php

示例3: array

$heading = array();
$contents = array();
switch ($action) {
    case 'make_file':
        $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_NEW . ' </b>');
        $contents = array('form' => oos_draw_form('make_file_now', $aFilename['export_googlebase'], 'action=make_file_now'));
        $contents[] = array('text' => TEXT_INFO_NEW_INFO);
        $contents[] = array('text' => '<br />');
        $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('backup', 'backup_off.gif', IMAGE_BACKUP) . ' <a href="' . oos_href_link_admin($aFilename['export_googlebase'], '') . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
        break;
    case 'delete':
        $heading[] = array('text' => '<b>' . $buInfo->date . '</b>');
        $contents = array('form' => oos_draw_form('delete', $aFilename['export_googlebase'], 'file=' . $buInfo->file . '&action=deleteconfirm'));
        $contents[] = array('text' => TEXT_DELETE_INTRO);
        $contents[] = array('text' => '<br /><b>' . $buInfo->file . '</b>');
        $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete', 'delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['export_googlebase'], 'file=' . $buInfo->file) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
        break;
    default:
        if (isset($buInfo) && is_object($buInfo)) {
            $heading[] = array('text' => '<b>' . $buInfo->date . '</b>');
            $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['export_googlebase'], 'file=' . $buInfo->file . '&action=delete') . '">' . oos_image_swap_button('delete', 'delete_off.gif', IMAGE_DELETE) . '</a>');
            $contents[] = array('text' => '<br />' . TEXT_INFO_DATE . ' ' . $buInfo->date);
            $contents[] = array('text' => TEXT_INFO_SIZE . ' ' . $buInfo->size);
        }
        break;
}
if (oos_is_not_null($heading) && oos_is_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
    echo '            </td>' . "\n";
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:export_googlebase.php

示例4: oos_draw_textarea_field

    ?>
</td>
                <td><?php 
    echo oos_draw_textarea_field('message', 'soft', '60', '15');
    ?>
</td>
              </tr>
              <tr>
                <td colspan="2"><?php 
    echo oos_draw_separator('trans.gif', '1', '10');
    ?>
</td>
              </tr>
              <tr>
                <td colspan="2" align="right"><?php 
    echo oos_image_swap_submits('send_mail', 'send_mail_off.gif', IMAGE_SEND_EMAIL);
    ?>
</td>
              </tr>
            </table></td>
          </form></tr>
<?php 
}
?>
<!-- body_text_eof //-->
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<!-- body_eof //-->
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:gv_mail.php

示例5: oos_draw_checkbox_field

        echo ENTRY_NOTIFY_COMMENTS;
        ?>
</b> <?php 
        echo oos_draw_checkbox_field('notify_comments', '', true);
        ?>
</td>
          </tr>
          <?php 
    }
    ?>
        </table></td>
      </tr>

      <tr>
  <td align='center' valign="top"><?php 
    echo oos_image_swap_submits('update', 'update_off.gif', IMAGE_UPDATE);
    ?>
</td>
      </tr>
      </form>
<?php 
}
/*vx*/
if ($action == "add_product") {
    ?>
      <tr>
        <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td class="pageHeading"><?php 
    echo ADDING_TITLE;
    ?>
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:edit_orders.php

示例6: oos_image

      for ($i = 0, $n = count($languages); $i < $n; $i++) {
        $ticket_priority_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . '&nbsp;' . oos_draw_input_field('ticket_priority_name[' . $languages[$i]['id'] . ']', oos_get_ticket_priority_name($oInfo->ticket_priority_id, $languages[$i]['id']));
      }

      $contents[] = array('text' => '<br />' . TEXT_INFO_TEXT_PRIORITY_NAME . $ticket_priority_inputs_string);
      if (TICKET_DEFAULT_PRIORITY_ID != $oInfo->ticket_priority_id) $contents[] = array('text' => '<br />' . oos_draw_checkbox_field('default') . ' ' . TEXT_SET_DEFAULT);
      $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('update','update_off.gif', IMAGE_UPDATE) . ' <a href="' . oos_href_link_admin($aFilename['ticket_priority'], 'page=' . $_GET['page'] . '&oID=' . $oInfo->ticket_priority_id) . '">' . oos_image_swap_button('cancel','cancel_off.gif', IMAGE_CANCEL) . '</a>');
      break;

    case 'delete':
      $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_TEXT_PRIORITY . '</b>');

      $contents = array('form' => oos_draw_form('priority', $aFilename['ticket_priority'], 'page=' . $_GET['page'] . '&oID=' . $oInfo->ticket_priority_id  . '&action=deleteconfirm'));
      $contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
      $contents[] = array('text' => '<br /><b>' . $oInfo->ticket_priority_name . '</b>');
      if ($remove_priority) $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete','delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['ticket_priority'], 'page=' . $_GET['page'] . '&oID=' . $oInfo->ticket_priority_id) . '">' . oos_image_swap_button('cancel','cancel_off.gif', IMAGE_CANCEL) . '</a>');
      break;

    default:
      if (isset($oInfo) && is_object($oInfo)) {
        $heading[] = array('text' => '<b>' . $oInfo->ticket_priority_name . '</b>');

        $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['ticket_priority'], 'page=' . $_GET['page'] . '&oID=' . $oInfo->ticket_priority_id . '&action=edit') . '">' . oos_image_swap_button('edit','edit_off.gif', IMAGE_EDIT) . '</a> <a href="' . oos_href_link_admin($aFilename['ticket_priority'], 'page=' . $_GET['page'] . '&oID=' . $oInfo->ticket_priority_id . '&action=delete') . '">' . oos_image_swap_button('delete','delete_off.gif', IMAGE_DELETE) . '</a>');

        $ticket_priority_inputs_string = '';
        $languages = oos_get_languages();
        for ($i = 0, $n = count($languages); $i < $n; $i++) {
          $ticket_priority_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . '&nbsp;' . oos_get_ticket_priority_name($oInfo->ticket_priority_id, $languages[$i]['id']);
        }

        $contents[] = array('text' => $ticket_priority_inputs_string);
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:ticket_priority.php

示例7: oos_info_image

<table cellpadding="1" cellspacing="1" border="0">
        <tr>
          <td colspan="6"><table cellpadding="3" cellspacing="0" border="0" width="100%">
            <tr class="dataTableHeadingRow">
              <td valign="top" align="center" colspan="2"><span class="pageHeading"><?php 
    echo 'Setting up-sells for: ' . $products_name['products_name'] . ' (Model: ' . $products_name['products_model'] . ') (Product ID: ' . $_GET['add_related_product_ID'] . ')';
    ?>
</span></td>
                </tr>
                <tr class="dataTableHeadingRow">
                  <td align="right"><?php 
    echo oos_info_image($products_name['products_image'], $products_name['products_name']);
    ?>
</td>
                  <td align="right" valign="bottom"><?php 
    echo oos_image_swap_submits('update', 'update_off.gif', IMAGE_UPDATE) . '<br /><br /><a href="' . oos_href_link_admin($aFilename['up_sell_products'], 'men_id=catalog') . '">' . oos_image_swap_button('cancel', 'cancel_off.gif') . '</a>';
    ?>
</td>
                </tr>
              </table></td>
            </tr>
            <tr class="dataTableHeadingRow">
              <td class="dataTableHeadingContent">&nbsp;<?php 
    echo TABLE_HEADING_PRODUCT_ID;
    ?>
&nbsp;</td>
              <td class="dataTableHeadingContent">&nbsp;<?php 
    echo TABLE_HEADING_PRODUCT_MODEL;
    ?>
&nbsp;</td>
              <td class="dataTableHeadingContent">&nbsp;<?php 
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:up_sell_products.php

示例8: array

<?php 
$heading = array();
$contents = array();
switch ($action) {
    case 'edit_process':
        $heading[] = array('text' => '<b>&nbsp;' . TEXT_INFO_HEADING_DEFAULT . '</b>');
        $contents[] = array('text' => TEXT_INFO_INTRO_EDIT_PROCESS . oos_draw_hidden_field('id_info', $myAccount['admin_id']));
        break;
    case 'check_account':
        $heading[] = array('text' => '<b>&nbsp;' . TEXT_INFO_HEADING_CONFIRM_PASSWORD . '</b>');
        $contents[] = array('text' => '&nbsp;' . TEXT_INFO_INTRO_CONFIRM_PASSWORD . oos_draw_hidden_field('id_info', $myAccount['admin_id']));
        if ($_GET['error']) {
            $contents[] = array('text' => '&nbsp;' . TEXT_INFO_INTRO_CONFIRM_PASSWORD_ERROR);
        }
        $contents[] = array('align' => 'center', 'text' => oos_draw_password_field('password_confirmation'));
        $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['admin_account']) . '">' . oos_image_swap_button('back', 'back_off.gif', IMAGE_BACK) . '</a> ' . oos_image_swap_submits('confirm', 'confirm_off.gif', IMAGE_CONFIRM) . '<br />&nbsp');
        break;
    default:
        $heading[] = array('text' => '<b>&nbsp;' . TEXT_INFO_HEADING_DEFAULT . '</b>');
        $contents[] = array('text' => TEXT_INFO_INTRO_DEFAULT);
        if ($myAccount['admin_email_address'] == 'none@none.com') {
            $contents[] = array('text' => sprintf(TEXT_INFO_INTRO_DEFAULT_FIRST, $myAccount['admin_firstname']) . '<br />&nbsp');
        } elseif ($myAccount['admin_modified'] == '0000-00-00 00:00:00' || $myAccount['admin_logdate'] <= 1) {
            $contents[] = array('text' => sprintf(TEXT_INFO_INTRO_DEFAULT_FIRST_TIME, $myAccount['admin_firstname']) . '<br />&nbsp');
        }
}
if (oos_is_not_null($heading) && oos_is_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
    echo '            </td>' . "\n";
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:admin_account.php

示例9: oos_draw_textarea_field

              <tr>
                <td class="main"><?php 
        echo oos_draw_textarea_field('file_contents', 'soft', '80', '20', $file_contents, $file_writeable ? '' : 'readonly');
        ?>
</td>
              </tr>
              <tr>
                <td><?php 
        echo oos_draw_separator('trans.gif', '1', '10');
        ?>
</td>
              </tr>
              <tr>
                <td align="right"><?php 
        if ($file_writeable) {
            echo oos_image_swap_submits('save', 'save_off.gif', IMAGE_SAVE) . '&nbsp;<a href="' . oos_href_link_admin($aFilename['define_language'], 'lngdir=' . $_GET['lngdir']) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>';
        } else {
            echo '<a href="' . oos_href_link_admin($aFilename['define_language'], 'lngdir=' . $_GET['lngdir']) . '">' . oos_image_swap_button('back', 'back_off.gif', IMAGE_BACK) . '</a>';
        }
        ?>
</td>
              </tr>
            </table></td>
          </form></tr>
<?php 
    } else {
        ?>
          <tr>
            <td class="main"><b><?php 
        echo TEXT_FILE_DOES_NOT_EXIST;
        ?>
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:define_language.php

示例10: array

                </table></td>
              </tr>
            </table></td>
<?php 
    $heading = array();
    $contents = array();
    switch ($action) {
        case 'delete':
            $heading[] = array('text' => '<b>' . $bInfo->banners_title . '</b>');
            $contents = array('form' => oos_draw_form('banners', $aFilename['banner_manager'], 'page=' . $_GET['page'] . '&bID=' . $bInfo->banners_id . '&action=deleteconfirm'));
            $contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
            $contents[] = array('text' => '<br /><b>' . $bInfo->banners_title . '</b>');
            if ($bInfo->banners_image) {
                $contents[] = array('text' => '<br />' . oos_draw_checkbox_field('delete_image', 'on', true) . ' ' . TEXT_INFO_DELETE_IMAGE);
            }
            $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete', 'delete_off.gif', IMAGE_DELETE) . '&nbsp;<a href="' . oos_href_link_admin($aFilename['banner_manager'], 'page=' . $_GET['page'] . '&bID=' . $_GET['bID']) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
            break;
        default:
            if (isset($bInfo) && is_object($bInfo)) {
                $heading[] = array('text' => '<b>' . $bInfo->banners_title . '</b>');
                $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['banner_manager'], 'page=' . $_GET['page'] . '&bID=' . $bInfo->banners_id . '&action=new') . '">' . oos_image_swap_button('edit', 'edit_off.gif', IMAGE_EDIT) . '</a> <a href="' . oos_href_link_admin($aFilename['banner_manager'], 'page=' . $_GET['page'] . '&bID=' . $bInfo->banners_id . '&action=delete') . '">' . oos_image_swap_button('delete', 'delete_off.gif', IMAGE_DELETE) . '</a>');
                $contents[] = array('text' => '<br />' . TEXT_BANNERS_DATE_ADDED . ' ' . oos_date_short($bInfo->date_added));
                if (function_exists('imagecreate') && $dir_ok && $banner_extension) {
                    $banner_id = $bInfo->banners_id;
                    $days = '3';
                    include 'includes/graphs/banner_infobox.php';
                    $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image(OOS_IMAGES . 'graphs/banner_infobox-' . $banner_id . '.' . $banner_extension));
                } else {
                    include 'includes/functions/function_graphs.php';
                    $contents[] = array('align' => 'center', 'text' => '<br />' . oos_banner_graph_info_box($bInfo->banners_id, '3'));
                }
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:banner_manager.php

示例11: explode

      $coupon_finishdate[0] = $coupon_finishdate[0] + 1;
    } else {
      $coupon_finishdate = explode('-', $_POST['coupon_finishdate']);
    }
?>
        <td align="left" class="main"><?php echo COUPON_STARTDATE; ?></td>
        <td align="left"><?php echo oos_draw_date_selector('coupon_startdate', mktime(0,0,0, (int)$coupon_startdate[1], (int)$coupon_startdate[2], (int)$coupon_startdate[0], 0)); ?></td>
        <td align="left" class="main"><?php echo COUPON_STARTDATE_HELP; ?></td>
      </tr>
      <tr>
        <td align="left" class="main"><?php echo COUPON_FINISHDATE; ?></td>
        <td align="left"><?php echo oos_draw_date_selector('coupon_finishdate', mktime(0,0,0, (int)$coupon_finishdate[1], (int)$coupon_finishdate[2], (int)$coupon_finishdate[0], 0)); ?></td>
        <td align="left" class="main"><?php echo COUPON_FINISHDATE_HELP; ?></td>
      </tr>
      <tr>
        <td align="left"><?php echo oos_image_swap_submits('preview', 'preview_off.gif',COUPON_BUTTON_PREVIEW); ?></td>
        <td align="left"><?php echo '&nbsp;&nbsp;<a href="' . oos_href_link_admin($aFilename['coupon_admin'], ''); ?>"><?php echo oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL); ?></a>
      </td>
      </tr>
      </td></table></form>
      </tr>

      </table></td>
<?php
    break;
  default:
?>
    <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
      <tr>
        <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:coupon_admin.php

示例12: oos_draw_form

		<?php echo oos_draw_form('login', $aFilename['password_forgotten'], 'action=process'); ?>
		<?php echo oos_draw_hidden_field('log_times', $log_times); ?>

			<img src="images/login.gif" alt="<?php echo HEADING_PASSWORD_FORGOTTEN; ?>" />

		<div class="smallText"><?php echo TEXT_PASSWORD_INFO; ?></div>
			<div class="form-block">
			<div class="inputlabel"><?php echo ENTRY_FIRSTNAME; ?></div>
			<div><?php echo oos_draw_input_field('firstname', '', 'class="inputbox" size="15"'); ?></div>

			<div class="inputlabel"><?php echo ENTRY_EMAIL_ADDRESS; ?></div>
			<div><?php echo oos_draw_input_field('email_address', '', 'class="inputbox" size="15"'); ?></div>


			<div class="ctr"><?php echo '<a href="' . oos_href_link_admin($aFilename['login'], '' , 'SSL') . '">' . oos_image_swap_button('back','back_off.gif', IMAGE_BACK) . '</a> ' . oos_image_swap_submits('confirm','confirm_off.gif', IMAGE_BUTTON_LOGIN); ?></div>

		</div>
			</form>
		</div>
		<div class="login-text">

			<div class="ctr"><img src="images/security.gif" width="64" height="64" alt="security" /></div>
			<p><?php echo HEADING_PASSWORD_FORGOTTEN; ?></p>

			<p><?php echo $info_message; ?></p>

		</div>
		<div class="clr"></div>

<?php
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:30,代码来源:password_forgotten.php

示例13: oos_image_swap_submits

         <table border="0" cellspacing="0" cellpadding="2" width="70%">
    <tr class="dataTableHeadingRowa">
            <td class="dataTableHeadingContenta" align="left"><?php 
    echo HEADING_CREATE_ORDER_ADMIN;
    ?>
</td>
          </tr>
          <tr class="dataTableRow">
            <td class="dataTableContenta" align="left"><?php 
    echo HEADING_CREATE_ORDER_EXPLAIN;
    ?>
</td>
          </tr>     
           <tr class="dataTableRow">
            <td class="dataTableContenta" align="center"><?php 
    echo oos_image_swap_submits('create_order', 'create_order_off.gif', IMAGE_CREATE_ORDER);
    ?>
</td>
          </tr>
        </table></form>
       </td></tr>
<?php 
}
?>
   </table></td>
<!-- body_text_eof //-->
  </tr>
</table>
<!-- body_eof //-->

<?php 
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:manual_loging.php

示例14: array

     $contents[] = array('text' => sprintf(TEXT_MOVE_PRODUCTS_INTRO, $pInfo->products_name));
     $contents[] = array('text' => '<br />' . TEXT_INFO_CURRENT_CATEGORIES . '<br /><b>' . oos_output_generated_category_path($pInfo->products_id, 'product') . '</b>');
     $contents[] = array('text' => '<br />' . sprintf(TEXT_MOVE, $pInfo->products_name) . '<br />' . oos_draw_pull_down_menu('move_to_category_id', oos_get_category_tree(), $current_category_id));
     $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('move', 'move_off.gif', IMAGE_MOVE) . ' <a href="' . oos_href_link_admin($aFilename['categories'], 'categories=' . $categories . '&pID=' . $pInfo->products_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
     break;
 case 'copy_to':
     $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_COPY_TO . '</b>');
     $contents = array('form' => oos_draw_form('copy_to', $aFilename['categories'], 'action=copy_to_confirm&categories=' . $categories) . oos_draw_hidden_field('products_id', $pInfo->products_id));
     $contents[] = array('text' => TEXT_INFO_COPY_TO_INTRO);
     $contents[] = array('text' => '<br />' . TEXT_INFO_CURRENT_CATEGORIES . '<br /><b>' . oos_output_generated_category_path($pInfo->products_id, 'product') . '</b>');
     $contents[] = array('text' => '<br />' . TEXT_CATEGORIES . '<br />' . oos_draw_pull_down_menu('categories_id', oos_get_category_tree(), $current_category_id));
     $contents[] = array('text' => '<br />' . TEXT_HOW_TO_COPY . '<br />' . oos_draw_radio_field('copy_as', 'link', true) . ' ' . TEXT_COPY_AS_LINK . '<br />' . oos_draw_radio_field('copy_as', 'duplicate') . ' ' . TEXT_COPY_AS_DUPLICATE);
     $contents[] = array('text' => '<br />' . oos_image(OOS_IMAGES . 'pixel_black.gif', '', '100%', '3'));
     $contents[] = array('text' => '<br />' . TEXT_COPY_ATTRIBUTES_ONLY);
     $contents[] = array('text' => '<br />' . TEXT_COPY_ATTRIBUTES . '<br />' . oos_draw_radio_field('copy_attributes', 'copy_attributes_yes', true) . ' ' . TEXT_COPY_ATTRIBUTES_YES . '<br />' . oos_draw_radio_field('copy_attributes', 'copy_attributes_no') . ' ' . TEXT_COPY_ATTRIBUTES_NO);
     $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('copy', 'copy_off.gif', IMAGE_COPY) . ' <a href="' . oos_href_link_admin($aFilename['categories'], 'categories=' . $categories . '&pID=' . $pInfo->products_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
     break;
 default:
     if ($rows > 0) {
         if (isset($cInfo) && is_object($cInfo)) {
             // category info box contents
             $heading[] = array('text' => '<b>' . $cInfo->categories_name . '</b>');
             $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['categories'], 'categories=' . $categories . '&cID=' . $cInfo->categories_id . '&action=edit_category') . '">' . oos_image_swap_button('edit', 'edit_off.gif', IMAGE_EDIT) . '</a> <a href="' . oos_href_link_admin($aFilename['categories'], 'categories=' . $categories . '&cID=' . $cInfo->categories_id . '&action=delete_category') . '">' . oos_image_swap_button('delete', 'delete_off.gif', IMAGE_DELETE) . '</a> <a href="' . oos_href_link_admin($aFilename['categories'], 'categories=' . $categories . '&cID=' . $cInfo->categories_id . '&action=move_category') . '">' . oos_image_swap_button('move', 'move_off.gif', IMAGE_MOVE) . '</a>');
             $contents[] = array('text' => TEXT_CATEGORIES . ' ' . oos_get_categories_name($categories) . ' ' . oos_get_categories_name($cID) . '<br />' . TEXT_DATE_ADDED . ' ' . oos_date_short($cInfo->date_added));
             if (oos_is_not_null($cInfo->last_modified)) {
                 $contents[] = array('text' => TEXT_LAST_MODIFIED . ' ' . oos_date_short($cInfo->last_modified));
             }
             $contents[] = array('text' => '<br />' . oos_info_image($cInfo->categories_image, $cInfo->categories_name, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT) . '<br />' . $cInfo->categories_image);
             $contents[] = array('text' => '<br />' . TEXT_SUBCATEGORIES . ' ' . $cInfo->childs_count . '<br />' . TEXT_PRODUCTS . ' ' . $cInfo->products_count);
         } elseif (isset($pInfo) && is_object($pInfo)) {
             // product info box contents
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:categories.php

示例15: oos_image

        for ($i = 0, $n = count($languages); $i < $n; $i++) {
            $newsfeed_categories_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . '&nbsp;' . oos_draw_input_field('newsfeed_categories_name[' . $languages[$i]['id'] . ']', oosGetNewsfeedCategoriesName($ncInfo->newsfeed_categories_id, $languages[$i]['id']));
        }
        $contents[] = array('text' => '<br />' . TEXT_INFO_NEWSFEED_CATEGORIES_NAME . $newsfeed_categories_inputs_string);
        if (DEFAULT_NEWSFEED_CATEGOREIS_ID != $ncInfo->newsfeed_categories_id) {
            $contents[] = array('text' => '<br />' . oos_draw_checkbox_field('default') . ' ' . TEXT_SET_DEFAULT);
        }
        $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('update', 'update_off.gif', IMAGE_UPDATE) . ' <a href="' . oos_href_link_admin($aFilename['newsfeed_categories'], 'page=' . $_GET['page'] . '&ncID=' . $ncInfo->newsfeed_categories_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
        break;
    case 'delete':
        $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_NEWSFEED_CATEGORIES . '</b>');
        $contents = array('form' => oos_draw_form('status', $aFilename['newsfeed_categories'], 'page=' . $_GET['page'] . '&ncID=' . $ncInfo->newsfeed_categories_id . '&action=deleteconfirm'));
        $contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
        $contents[] = array('text' => '<br /><b>' . $ncInfo->newsfeed_categories_name . '</b>');
        if ($remove_status) {
            $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete', 'delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['newsfeed_categories'], 'page=' . $_GET['page'] . '&ncID=' . $ncInfo->newsfeed_categories_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
        }
        break;
    default:
        if (isset($ncInfo) && is_object($ncInfo)) {
            $heading[] = array('text' => '<b>' . $ncInfo->newsfeed_categories_name . '</b>');
            $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['newsfeed_categories'], 'page=' . $_GET['page'] . '&ncID=' . $ncInfo->newsfeed_categories_id . '&action=edit') . '">' . oos_image_swap_button('edit', 'edit_off.gif', IMAGE_EDIT) . '</a> <a href="' . oos_href_link_admin($aFilename['newsfeed_categories'], 'page=' . $_GET['page'] . '&ncID=' . $ncInfo->newsfeed_categories_id . '&action=delete') . '">' . oos_image_swap_button('delete', 'delete_off.gif', IMAGE_DELETE) . '</a>');
            $newsfeed_categories_inputs_string = '';
            $languages = oos_get_languages();
            for ($i = 0, $n = count($languages); $i < $n; $i++) {
                $newsfeed_categories_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . '&nbsp;' . oosGetNewsfeedCategoriesName($ncInfo->newsfeed_categories_id, $languages[$i]['id']);
            }
            $contents[] = array('text' => $newsfeed_categories_inputs_string);
        }
        break;
}
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:newsfeed_categories.php


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