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


PHP zen_back_link函数代码示例

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


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

示例1: update

 function update(&$class, $eventID, $paramsArray)
 {
     global $messageStack;
     if (isset($_SESSION['COWOA']) && $_SESSION['COWOA'] == true) {
         $messageStack->add_session('header', 'Only registered customers can access account features.  You are currently using our guest checkout option.  Please logout and sign-in with your registered account to access all account features.', 'caution');
         zen_redirect(zen_back_link(true));
     } elseif (!isset($_SESSION['customer_id'])) {
         $_SESSION['redirect_url'] = zen_href_link($_GET['main_page'], zen_get_all_get_params(array('main_page')), 'SSL');
     }
 }
开发者ID:krakatoa14,项目名称:fec,代码行数:10,代码来源:class.no_account.php

示例2: zen_get_module_directory

require DIR_WS_MODULES . zen_get_module_directory('sideboxes/ezpages.php');
require DIR_WS_MODULES . zen_get_module_directory('sideboxes/' . $template_dir . '/subscribe.php');
?>
</div>
<div class="right_big_con margin_t">
<?php 
echo '<h3 class="line_30px border_b">' . HEADING_TITLE . '</h3>';
echo zen_draw_form('submit_link', zen_href_link(FILENAME_LINKS_SUBMIT, 'action=send', 'SSL'), 'post', 'enctype="multipart/form-data"');
if (isset($_GET['action']) && $_GET['action'] == 'success') {
    ?>
	<div class="mainContent success"><?php 
    echo LINKS_SUCCESS;
    ?>
</div>
	<div class="buttonRow back"><?php 
    echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>';
    ?>
</div>
  <?php 
} else {
    ?>
	<?php 
    if (DEFINE_LINKS_STATUS >= '1' and DEFINE_LINKS_STATUS <= '2') {
        ?>
	<div id="pageThreeMainContent">
	<?php 
        require $define_page;
        ?>
	</div>
	<?php 
    }
开发者ID:happyxlq,项目名称:lt_svn,代码行数:31,代码来源:tpl_links_submit_default.php

示例3: buttons

 /** Render the row of buttons */
 public static function buttons()
 {
     $back_link = zen_back_link(true);
     $left_buttons = "<a href='{$back_link}' class='btn btn-success'>" . "&laquo; " . BUTTON_CONTINUE_SHOPPING_ALT . "</a>";
     if (SHOW_SHIPPING_ESTIMATOR_BUTTON == '1') {
         $shipping_link = zen_href_link(FILENAME_POPUP_SHIPPING_ESTIMATOR);
         $left_buttons .= " <a href=\"javascript:popupWindow('{$shipping_link}')\" class='btn btn-warning'>" . BootstrapUtils::glyphicon('globe') . " " . BUTTON_SHIPPING_ESTIMATOR_ALT . "</a>";
     }
     $checkout_link = zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL');
     $right_buttons = "<a href='{$checkout_link}' class='btn btn-primary'>" . BootstrapUtils::glyphicon('shopping-cart') . " " . BUTTON_CHECKOUT_ALT . "</a>";
     if (SHOW_SHOPPING_CART_UPDATE == 2 or SHOW_SHOPPING_CART_UPDATE == 3) {
         $right_buttons = "<button type='submit' class='btn btn-success'>" . BootstrapUtils::glyphicon('refresh') . " " . BUTTON_UPDATE_ALT . "</button>\n" . $right_buttons;
     }
     return "<div class='clearfix'><div class='pull-left'>{$left_buttons}</div>" . "<div class='pull-right'>{$right_buttons}</div></div>";
 }
开发者ID:Southern-Exposure-Seed-Exchange,项目名称:Zencart-Bootstrap-Theme,代码行数:16,代码来源:tpl_shopping_cart_default.php

示例4: zen_back_link

echo BOX_INFORMATION;
?>
</div>
	</fieldset>

	<div id="cookieUsageDefaultContent2" class="content"><?php 
echo TEXT_INFORMATION_2;
?>
</div>

	<div id="cookieUsageDefaultContent3" class="content"><?php 
echo TEXT_INFORMATION_3;
?>
</div>

	<div id="cookieUsageDefaultContent4" class="content"><?php 
echo TEXT_INFORMATION_4;
?>
</div>

	<div id="cookieUsageDefaultContent5" class="content"><?php 
echo TEXT_INFORMATION_5;
?>
</div>

	<div class="buttonRow back"><?php 
echo zen_back_link() . zen_image_button(BUTTON_IMAGE_CONTINUE, BUTTON_CONTINUE_ALT) . '</a>';
?>
</div>
</div>
开发者ID:wwxgitcat,项目名称:zencart_v1.0,代码行数:30,代码来源:tpl_cookie_usage_default.php

示例5: zen_back_link

    echo zen_back_link() . $home_button;
    ?>
</a>
      <a href="<?php 
    echo $next_link;
    ?>
"><?php 
    echo $next_item_button;
    ?>
</a>
    </div>
<?php 
} elseif (EZPAGES_SHOW_PREV_NEXT_BUTTONS == '1') {
    ?>
    <div id="navEZPageNextPrev"><?php 
    echo zen_back_link() . $home_button . '</a>';
    ?>
</div>
<?php 
}
?>

<?php 
// vertical TOC listing
// create a table of contents for chapter when more than 1 page in the TOC
if (sizeof($toc_links) > 1 and EZPAGES_SHOW_TABLE_CONTENTS == '1') {
    ?>
<div id="navEZPagesTOCWrapper">
<h2 id="ezPagesTOCHeading"><?php 
    echo TEXT_EZ_PAGES_TABLE_CONTEXT;
    ?>
开发者ID:quangn92,项目名称:visualyou,代码行数:31,代码来源:tpl_page_default.php

示例6: zen_back_link

 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_shippinginfo_default.php 3464 2006-04-19 00:07:26Z ajeh $
 */
?>
<div class="centerColumn" id="shippingInfo">
<?php 
echo MOBILE_TITLE_START . HEADING_TITLE . MOBILE_TITLE_FINISH;
?>

<?php 
if (DEFINE_SHIPPINGINFO_STATUS >= 1 and DEFINE_SHIPPINGINFO_STATUS <= 2) {
    ?>
<div id="shippingInfoMainContent" class="content">
<?php 
    /**
     * require the html_define for the shippinginfo page
     */
    require $define_page;
    ?>
</div>
<?php 
}
?>

<div class="buttonRow back"><?php 
echo zen_back_link() . MOBILE_HISTORY_BACK . '</a>';
?>
</div>
</div>
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:30,代码来源:tpl_shippinginfo_default.php

示例7: zen_draw_textarea_field

<?php 
    echo zen_draw_textarea_field('message', 50, 10, stripslashes($_POST['message']), 'class="form-control" id="message-area"');
    ?>
</div>

</fieldset>

<p class='clearfix'>
  <button type='submit' class='btn btn-primary pull-right'>
    <?php 
    echo BUTTON_SEND_ALT;
    ?>
  </button>
  <button type='button' class='btn btn-default pull-left'>
    <?php 
    echo zen_back_link() . BUTTON_BACK_ALT . '</a>';
    ?>
  </button>
</p>


</form>

<div class="advisory"><?php 
    echo EMAIL_ADVISORY_INCLUDED_WARNING . "<br />" . str_replace('-----', '', EMAIL_ADVISORY);
    ?>
</div>
<?php 
}
?>
<!--EOF GV send-->
开发者ID:Southern-Exposure-Seed-Exchange,项目名称:Zencart-Bootstrap-Theme,代码行数:31,代码来源:tpl_gv_send_default.php

示例8: zen_draw_hidden_field

"><?php 
        echo BUTTON_BACK_ALT;
        ?>
</a>
									<input type="submit" class="btn btn-default" value="<?php 
        echo BUTTON_UPDATE_ALT;
        ?>
"/>
								<?php 
    } else {
        ?>
									<?php 
        echo zen_draw_hidden_field('action', 'process');
        ?>
									<a class="btn btn-default" href="<?php 
        echo zen_back_link(true);
        ?>
"><?php 
        echo BUTTON_BACK_ALT;
        ?>
</a>
									<input type="submit" class="btn btn-default" value="<?php 
        echo BUTTON_SUBMIT_ALT;
        ?>
"/>
								<?php 
    }
    ?>

							</div>
						</div>
开发者ID:wwxgitcat,项目名称:zencart_v1.0,代码行数:31,代码来源:tpl_address_book_process_default.php

示例9: back_link

 /** Return a left-pulled Link to take the User Back a Page. */
 public static function back_link()
 {
     return zen_back_link() . "<span class='pull-left btn btn-default'>" . BUTTON_BACK_ALT . "</span></a>";
 }
开发者ID:Southern-Exposure-Seed-Exchange,项目名称:Zencart-Bootstrap-Theme,代码行数:5,代码来源:sese_bootstrap_utils.php

示例10: zen_back_link

echo BOX_INFORMATION;
?>
</div>


<div id="cookieUsageDefaultContent2" class="content"><?php 
echo TEXT_INFORMATION_2;
?>
</div>

<div id="cookieUsageDefaultContent3" class="content"><?php 
echo TEXT_INFORMATION_3;
?>
</div>

<div id="cookieUsageDefaultContent4" class="content"><?php 
echo TEXT_INFORMATION_4;
?>
</div>

<div id="cookieUsageDefaultContent5" class="content"><?php 
echo TEXT_INFORMATION_5;
?>
</div>

<div class="submit"><?php 
echo zen_back_link() . zen_image_button(BUTTON_IMAGE_CONTINUE, BUTTON_CONTINUE_ALT, 'class="imgover"') . '</a>';
?>
</div>
</div></div>
开发者ID:homework-bazaar,项目名称:zencart-sugu,代码行数:30,代码来源:tpl_cookie_usage_default.php

示例11: zen_draw_pull_down_menu

  <legend><?php 
echo ENTRY_CATEGORIES;
?>
</legend>
  <div class="form-group text-center">
    <?php 
echo zen_draw_pull_down_menu('categories_id', zen_get_categories(array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES)), '0', '', '1'), $sData['categories_id'], 'class="form-control"');
?>
    <label class="checkbox" for="inc-subcat"><?php 
echo zen_draw_checkbox_field('inc_subcat', '1', $sData['inc_subcat'], 'id="inc-subcat"') . ENTRY_INCLUDE_SUBCATEGORIES;
?>
</label>
  </div>
</fieldset>
</div>
</div>

<p class="clearfix">
<span class="pull-right"><button type="submit" class="btn btn-primary"><?php 
echo BUTTON_SEARCH_ALT;
?>
</button></span>
<span class="pull-left"><?php 
echo zen_back_link() . "<span class='btn btn-default' type='none'>" . BUTTON_BACK_ALT . '</span></a>';
?>
</span>
</p>

</form>
</div>
开发者ID:Southern-Exposure-Seed-Exchange,项目名称:Zencart-Bootstrap-Theme,代码行数:30,代码来源:tpl_advanced_search_default.php

示例12: zen_draw_hidden_field

        ?>
      <div class="pull-right"><?php 
        echo zen_draw_hidden_field('action', 'update') . zen_draw_hidden_field('edit', $_GET['edit']) . "<button type='submit' class='btn btn-primary'>" . BUTTON_UPDATE_ALT . "</button>";
        ?>
      </div>
        <div class="pull-left"><?php 
        echo '<a class="btn btn-default" href="' . zen_href_link(FILENAME_ADDRESS_BOOK, '', 'SSL') . '">' . BUTTON_BACK_ALT . '</a>';
        ?>
        </div><?php 
    } else {
        ?>
      <div class="pull-right"><?php 
        echo zen_draw_hidden_field('action', 'process') . "<button type='submit' class='btn btn-primary'>" . BUTTON_SUBMIT_ALT . "</button>";
        ?>
      </div>
      <div class="pull-left"><?php 
        echo zen_back_link() . "<button type='button' class='btn btn-default'>" . BUTTON_BACK_ALT . '</button></a>';
        ?>
      </div><?php 
    }
    ?>
  </div><?php 
}
if (!isset($_GET['delete'])) {
    echo '</form>';
}
?>


</div>
开发者ID:Southern-Exposure-Seed-Exchange,项目名称:Zencart-Bootstrap-Theme,代码行数:30,代码来源:tpl_address_book_process_default.php

示例13: zen_draw_hidden_field

           </a> 
        </td>
       </tr>
    </table>
<?php 
} else {
    require $template->get_template_dir('tpl_modules_address_book_details.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/' . 'tpl_modules_address_book_details.php';
    if (isset($_GET['edit']) && is_numeric($_GET['edit'])) {
        ?>
	
	   <?php 
        echo zen_draw_hidden_field('action', 'update') . zen_draw_hidden_field('edit', $_GET['edit']) . zen_image_submit(BUTTON_IMAGE_UPDATE, TEXT_ALT_BUTTON_UPDATE);
        ?>
	    <a href="<?php 
        echo zen_href_link(FILENAME_ADDRESS_BOOK, '', 'SSL');
        ?>
">
            <?php 
        echo zen_image_button(BUTTON_IMAGE_BACK, TEXT_ALT_BUTTON_BACK);
        ?>
        </a> 
		
<?php 
    } else {
        echo zen_draw_hidden_field('action', 'process') . zen_image_submit(BUTTON_IMAGE_SUBMIT, BUTTON_SUBMIT_ALT);
        echo zen_back_link() . zen_image_button(BUTTON_IMAGE_CANCEL, BUTTON_CONTINUE_ALT, ' align="right"') . '</a>';
    }
}
if (!isset($_GET['delete'])) {
    echo '</form>';
}
开发者ID:andychang88,项目名称:daddy-store.com,代码行数:31,代码来源:tpl_address_book_process_default.php


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