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


PHP lang::_e方法代码示例

本文整理汇总了PHP中lang::_e方法的典型用法代码示例。如果您正苦于以下问题:PHP lang::_e方法的具体用法?PHP lang::_e怎么用?PHP lang::_e使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在lang的用法示例。


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

示例1: array

    }
    ?>
            </table>
        </td>
    </tr>
    <?php 
}
?>
	<?php 
echo $this->addTotalRows;
?>
    <?php 
if (isset($this->costs['total'])) {
    ?>
    <tr class="total_table_total_wrapper">
        <td class="total_table_label"><?php 
    lang::_e('Total:');
    ?>
</td>
        <td class="total_coast"><?php 
    echo frame::_()->getModule('currency')->display($this->costs['total']);
    ?>
</td>
    </tr>
    <?php 
}
?>
</table>
<?php 
echo html::hidden('total', array('value' => frame::_()->getModule('currency')->calculate($this->total)));
echo html::hidden('currency', array('value' => frame::_()->getModule('currency')->getDefaultCode()));
开发者ID:phanhoanglong2610,项目名称:flowershop,代码行数:31,代码来源:total.php

示例2: updateCart

            if(res.data.totalHtml) {
                updateCart(new Array(), res.data.totalHtml);
            }
            if(!res.error) {
                jQuery('#toeCoupon').val('');
            }
        }
    });
}
function toeShouCouponsDescription(link) {
    var linkPos = jQuery(link).position();
    subScreen.show(<?php 
echo $this->couponsDescription;
?>
, linkPos.left, linkPos.top);
}
// -->
</script>
<h4 class="cuponTitle"><?php 
lang::_e('Enter coupon number:');
?>
</h4>
<?php 
echo html::text('coupon', array('attrs' => 'id="toeCoupon"'));
echo html::button(array('value' => lang::_('OK'), 'attrs' => 'onclick="toeApplyCoupon(); return false;" class="tcf_submit couponBtn"'));
?>
<div id="toeCouponsCheckoutMsg"></div>
<!-- <a href="#" onclick="toeShouCouponsDescription(this); return false;"><?php 
lang::_e('Where I can get It?');
?>
</a> -->
开发者ID:phanhoanglong2610,项目名称:flowershop,代码行数:31,代码来源:checkoutInput.php

示例3: function

					msgElID: 'toeSendUsageStatMsg',
					data: {page: 'promo_ready', action: 'hideUsageStat', reqType: 'ajax'},
					onSuccess: function(res) {
						if(!res.error) {
							t.element.pointer('close');
						}
					}
				});
			});
			return button;
		},
		close: function() {}
	}).pointer('open');

	jQuery('#toeHideSendUsageStatButt').after('<a id="toeSendUsageStatButt" class="button-primary">' + '<?php 
lang::_e('Yes, send statistics');
?>
' + '</a><div id="toeSendUsageStatMsg"></div>');

	jQuery('#toeSendUsageStatButt').click(function(){
		var self = this;
		jQuery.sendForm({
			msgElID: 'toeSendUsageStatMsg',
			data: {page: 'promo_ready', action: 'sendUsageStat', reqType: 'ajax'},
			onSuccess: function(res) {
				if(!res.error) {
					setTimeout(function(){
						jQuery(self).parents('.wp-pointer:first').hide('slow');
					}, 1000);
				}
			}
开发者ID:VSVS,项目名称:vs_wp_4.0,代码行数:31,代码来源:adminSendStatNote.php

示例4:

}
?>
                </div>
            <!--/toeImage-->
        </div>
        <div class="product_info">            
                <div class="product_block_wrapper">
                    <?php 
if ($this->viewOptions['title']) {
    ?>
                        <!--toetitle-->
                             <h1><a href="<?php 
    echo $this->post->guid;
    ?>
" title="<?php 
    lang::_e('View product page');
    ?>
"><?php 
    echo get_the_title();
    ?>
</a></h1>
                        <!--/toetitle-->
                    <?php 
}
?>
                    <?php 
if ($this->viewOptions['short_descr']) {
    ?>
                        <!--toeshort_description-->
                            <div class="product_excerpt">
                                
开发者ID:phanhoanglong2610,项目名称:flowershop,代码行数:30,代码来源:productCategoryContent.php

示例5: toeSetNavigationSelected

<script type="text/javascript">
// <!--
    if(typeof(toeSetNavigationSelected) != 'undefined') {
        toeSetNavigationSelected('success');
        toeSetNavigationPassed(['cart', 'checkout', 'confirnation']);
    }
// -->
</script>
<h2 class="successTitle">
<?php 
if (empty($this->checkout_success_text)) {
    lang::_e('Order Created. Thank You for buying in Our online Store.');
} else {
    lang::_e(nl2br($this->checkout_success_text));
}
?>
</h2>
<?php 
if (!empty($this->paymentSuccessHtml)) {
    echo $this->paymentSuccessHtml;
}
开发者ID:phanhoanglong2610,项目名称:flowershop,代码行数:21,代码来源:success.php

示例6: scom_settings_page

function scom_settings_page()
{
    $bgcolor = '#ffffff';
    ?>
<script type="text/javascript">
// <!--
jQuery(document).ready(function(){
	jQuery('#toeThemeEditOptionForm').submit(function(){
		toeSaveThemeOptionsAjax(jQuery(this).serialize());
		return false;
	});
	jQuery('#toeResetSidebarToDefaultSubmit').click(function(){
		toeSaveThemeOptionsAjax(jQuery('#toeThemeEditOptionForm').serialize()+ '&resetSidebarToDefault='+ jQuery(this).val());
		return false;
	});
	jQuery('#toeTemplateResetDesignSettings').click(function(){
		var form = jQuery('#toeThemeEditOptionForm');
		jQuery(form).find('#ready_bgimg').val('');
		jQuery(form).find('#live-colorpicker').css('background-color', '<?php 
    echo $bgcolor;
    ?>
');
		jQuery(form).find('#live-colorpicker').val('<?php 
    echo $bgcolor;
    ?>
');
		
		jQuery(form).find('#ready_google_font_name').get(0).selectedIndex = 0;
		jQuery(form).find('#ready_google_font_name').trigger('change');
		
		jQuery(form).find('#ready_content_font_name').get(0).selectedIndex = 0;
		jQuery(form).find('#ready_content_font_name').trigger('change');
		
		toeSaveThemeOptionsAjax(jQuery('#toeThemeEditOptionForm').serialize());
		return false;
	});
});
function toeSaveThemeOptionsAjax(data) {
	jQuery.sendForm({
		msgElID: 'toeThemeEditFormMsg',
		url: '<?php 
    echo get_admin_url(0, 'options.php');
    ?>
',
		data: data,
		dataType: 'text',
		onSuccess: function(res) {
			jQuery('#toeThemeEditFormMsg').html(toeLang('Done'));
		}
	});
}
// -->
</script>
<div class="rt_wrap">
    <h2 id="rt_title"><?php 
    lang::_e('Ready! To Be Theme Settings');
    ?>
</h2>

    <form method="post" action="options.php" class="rt_opts" id="toeThemeEditOptionForm">

    <?php 
    settings_fields('ready-settings-group');
    ?>
    <div id="rt_tabs">
        <ul>
            <li class="rt_pages"><a href="#rt_pages"><?php 
    lang::_e('General Options');
    ?>
</a></li>
            <li class="rt_footer"><a href="#rt_footer"><?php 
    lang::_e('Footer Options');
    ?>
</a></li>
            <li class="rt_design"><a href="#rt_design"><?php 
    lang::_e('Design Options');
    ?>
</a></li>
            <li class="rt_logo"><a href="#rt_logo"><?php 
    lang::_e('Logo Options');
    ?>
</a></li>
        </ul>
        
        <div id="rt_pages">
            <h3><?php 
    lang::_e('Google Analitics');
    ?>
</h3>
            <div class="rt_input rt_text">
                <div class="rt_description">
                    <label for="ready_gcode"><?php 
    lang::_e('Google Analitics Code');
    ?>
</label>
                    <small><?php 
    lang::_e('Would be placed in header.');
    ?>
</small>
                    <div class="rt_clearfix"></div>
//.........这里部分代码省略.........
开发者ID:phanhoanglong2610,项目名称:flowershop,代码行数:101,代码来源:admin-menu.php

示例7: jQuery

    ?>
                    </td>
                    <td>
                        <?php 
    echo $value['qty'];
    ?>
                    </td>
                </tr>

                <?php 
}
?>
            </table>
            <div style="float:left; margin-right: 10px;">
            <input type="button"  value="<?php 
lang::_e('Xóa giỏ');
?>
" onclick="toeClearCart({reload: false}); return false;" />
        </div>
        <div class="blue_button" style="float:right;"><?php 
echo $this->checkoutLink;
?>
</div>
        <br clear="all" />

    </div>

</div>
<script type="text/javascript">
jQuery(".cart_items").toggle(function() {
        jQuery('#shop-card .shopping_cart_list').show("slow");
开发者ID:phanhoanglong2610,项目名称:flowershop,代码行数:31,代码来源:cart.php

示例8: array

?>
        <?php 
echo html::hidden('action', array('value' => 'addToCart'));
?>
        <?php 
echo html::hidden('pid', array('value' => $this->post->ID));
?>
        <?php 
echo html::hidden('reqType', array('value' => 'ajax'));
?>
        <?php 
echo html::submit('add', array('value' => lang::_('Thêm vào giỏ')));
?>
        </div>
    <?php 
/*if($this->useFormOnButtonsTpl) { ?>
      </form>
  <?php }*/
?>
    <div class="clear"></div>
    <?php 
if ($this->stockCheck && !$this->availableQty) {
    ?>
        <div class="toeErrorMsg"><?php 
    lang::_e('Please be advised that this product is out of stock');
    ?>
</div>
    <?php 
}
?>
</div>
开发者ID:phanhoanglong2610,项目名称:flowershop,代码行数:31,代码来源:buttonsBuyAddToCart.php

示例9: jQuery

                jQuery(expandEl).html(' + ');
                jQuery(expandEl).removeClass('toeExpanded');
            } else {
                jQuery(expandEl).html(' - ');
                jQuery(expandEl).parents('.toeBCWidgetItem:first').find('.toeBCWidgetShell:first').slideDown(TOE_DATA.animationSpeed);
                jQuery(expandEl).addClass('toeExpanded');
            }
        }
    }
</script>
<div class="toeWidget">
    <?php 
if (!empty($this->title)) {
    ?>
        <div class="toeWidgetTitle"><?php 
    lang::_e($this->title);
    ?>
</div>
    <?php 
}
?>
    <div id="toeBCWidgetContent<?php 
echo $this->uniqID;
?>
">
        <ul class="toeBCWidgetShell">
            <li class="toeBCWidgetItem">
                <a href="#" class="toeBCWidgetExpand"> + </a>
                <a href="#" class="toeBCWidgetLink"></a>
                <a href="#" class="toeBCWidgetImageLink">
                    <img src="" />
开发者ID:phanhoanglong2610,项目名称:flowershop,代码行数:31,代码来源:list.php

示例10: foreach

        }
        if (!empty($showUnits)) {
            echo ' (' . $showUnits . ')';
        }
        ?>
												</td>
											</tr>
											<?php 
    }
    ?>
											<?php 
    foreach ($this->pExtra as $d) {
        ?>
											<tr>
												<td><?php 
        lang::_e($d->label);
        ?>
</td>
												<td> <?php 
        echo $d->displayValue();
        ?>
</td>
											</tr>
											<?php 
    }
    ?>
										</table>
								   </div>
							   </div>
							<!--/toeproperties-->
						<?php 
开发者ID:phanhoanglong2610,项目名称:flowershop,代码行数:31,代码来源:productContent.php

示例11: foreach

lang::_e('Per page');
?>
:
    <?php 
foreach ($this->postsPerPageValues as $i) {
    ?>
        <?php 
    if ($i != $this->posts_per_page) {
        ?>
        <a href="<?php 
        uri::_e(array('baseUrl' => $this->baseHrefForPerPage, 'posts_per_page' => $i));
        ?>
">    
        <?php 
    }
    ?>
            <?php 
    lang::_e($i);
    ?>
        <?php 
    if ($i != $this->posts_per_page) {
        ?>
        </a>
        <?php 
    }
    ?>
    <?php 
}
?>
</div>
开发者ID:phanhoanglong2610,项目名称:flowershop,代码行数:30,代码来源:perPage.php

示例12:

    ?>
    <div class="toe_checkout_part_box toeFLeft confirm_<?php 
    echo $sKey;
    ?>
">
        <h4><?php 
    lang::_e($sInfo['title']);
    ?>
</h4>
        <?php 
    echo $this->{$sKey};
    ?>
    </div>
    <?php 
}
?>
</div>
<div class="toeClear"></div>
<div>
    <div class="payInform" style="float: right;"><?php 
echo $this->processHtml;
?>
</div>
    <div style="float: left;"><a href="<?php 
echo frame::_()->getModule('pages')->getLink(array('mod' => 'checkout', 'action' => 'getAllHtml'));
?>
"><?php 
lang::_e('Back');
?>
</a></div>
</div>
开发者ID:phanhoanglong2610,项目名称:flowershop,代码行数:31,代码来源:orderConfirm.php

示例13: array

                <?php 
echo html::submit('login', array('value' => lang::_('Sign In'), 'attrs' => 'class="tcf_submit" id="toeLoginFormSubmit"'));
?>
                <div id="toeLoginMsg"></div>
            </td>
        </tr>
		
    </table>
<?php 
if (!$this->fieldsOnly) {
    echo html::formEnd();
}
if (!empty($this->registrationLink)) {
    ?>
<div>
    <?php 
    lang::_e('If you have no account - you can');
    ?>
    <a href="<?php 
    echo $this->registrationLink;
    ?>
"><?php 
    lang::_e('Register');
    ?>
</a>
    <?php 
    lang::_e('here');
    ?>
</div>
<?php 
}
开发者ID:phanhoanglong2610,项目名称:flowershop,代码行数:31,代码来源:loginForm.php

示例14: get_search_form

get_search_form();
?>
            </div>
            <div class="clr"></div>
		</hgroup>

		<nav id="access" role="navigation">
			<h1 class="assistive-text section-heading"><?php 
lang::_e('Main menu');
?>
</h1>
			<div class="skip-link screen-reader-text"><a href="#content" title="<?php 
esc_attr_e('Skip to content');
?>
"><?php 
lang::_e('Skip to content');
?>
</a></div>
            <div class="menu_bg" id="menu_left"></div>
            <div class="menu_bg" id="menu_right"></div>
			<?php 
wp_nav_menu(array('theme_location' => 'primary', 'container_id' => 'main_menu', 'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s<div class="clr"></div></ul>'));
?>
		</nav><!-- #access -->
	</header><!-- #branding -->
<div class="clr"></div>
	<div id="main">
		<?php 
if (is_home() and get_option('ready_hide_slider') != 'on') {
    ready_slider();
}
开发者ID:phanhoanglong2610,项目名称:flowershop,代码行数:31,代码来源:header.php

示例15: next_posts_link

            echo '</span>';
        }
        ?>
					</div>
                <?php 
    }
    ?>
            </div>
            <?php 
    if ($this->paged != $this->wp_query->max_num_pages) {
        //If this is not last page
        ?>
            <div class="nav-next toeNavNext"><?php 
        next_posts_link('>');
        ?>
</div>
            <div class="nav-last toeNavLast"><a href="<?php 
        echo get_pagenum_link($this->wp_query->max_num_pages);
        ?>
"><?php 
        lang::_e('>>');
        ?>
</a></div>
            <?php 
    }
    ?>
		</div><!-- #nav-above -->


<?php 
}
开发者ID:phanhoanglong2610,项目名称:flowershop,代码行数:31,代码来源:navigation.php


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