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


PHP lang_get_smarty函数代码示例

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


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

示例1: smarty_core_load_plugins

<?php

/* Smarty version 2.6.26, created on 2010-10-18 12:33:42
   compiled from plan/tc_exec_assignment.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'lang_get', 'plan/tc_exec_assignment.tpl', 21, false), array('function', 'html_options', 'plan/tc_exec_assignment.tpl', 85, false), array('modifier', 'escape', 'plan/tc_exec_assignment.tpl', 77, false))), $this);
?>

<?php 
echo lang_get_smarty(array('var' => 'labels', 's' => 'user_bulk_assignment,btn_do,check_uncheck_all_checkboxes,th_id,
                          btn_update_selected_tc,show_tcase_spec,can_not_execute,
                          send_mail_to_tester,platform,no_testcase_available,
                          exec_assign_no_testcase,warning,check_uncheck_children_checkboxes,
                          th_test_case,version,assigned_to,assign_to,note_keyword_filter, priority,
                          check_uncheck_all_tc
                          '), $this);
?>


<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc_head.tpl", 'smarty_include_vars' => array('openHead' => 'yes')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc_jsCheckboxes.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc_del_onclick.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
开发者ID:viglesiasce,项目名称:tl_RC1,代码行数:31,代码来源:%%D3^D38^D385932E%%tc_exec_assignment.tpl.php

示例2: smarty_core_load_plugins

<?php

/* Smarty version 2.6.26, created on 2010-10-18 12:20:37
   compiled from results/resultsGeneral.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'lang_get', 'results/resultsGeneral.tpl', 11, false), array('modifier', 'escape', 'results/resultsGeneral.tpl', 54, false), array('modifier', 'date_format', 'results/resultsGeneral.tpl', 197, false))), $this);
echo lang_get_smarty(array('var' => 'labels', 's' => 'trep_kw,trep_owner,trep_comp,generated_by_TestLink_on, priority,
       	 th_overall_priority, th_progress, th_expected, th_overall, th_milestone,
       	 th_tc_priority_high, th_tc_priority_medium, th_tc_priority_low,
         title_res_by_kw,title_res_by_owner,title_res_by_top_level_suites,
         title_report_tc_priorities,title_report_milestones,
         title_metrics_x_build,title_res_by_platform,th_platform,important_notice,
         report_tcase_platorm_relationship, th_tc_total, th_completed, th_goal,
         th_build, th_tc_assigned, th_perc_completed'), $this);
?>


<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc_head.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<body>
<h1 class="title"><?php 
echo $this->_tpl_vars['gui']->title;
?>
</h1>

<div class="workBack">
<?php 
开发者ID:viglesiasce,项目名称:tl_RC1,代码行数:31,代码来源:%%AB^AB2^AB2370DF%%resultsGeneral.tpl.php

示例3: smarty_core_load_plugins

<?php

/* Smarty version 2.6.26, created on 2010-09-27 12:59:54
   compiled from testcases/tcView.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'testcases/tcView.tpl', 16, false), array('function', 'lang_get', 'testcases/tcView.tpl', 17, false), array('modifier', 'escape', 'testcases/tcView.tpl', 134, false))), $this);
?>

<?php 
echo smarty_function_config_load(array('file' => "input_dimensions.conf"), $this);
?>

<?php 
echo lang_get_smarty(array('var' => 'labels', 's' => 'no_records_found,other_versions,show_hide_reorder,version,title_test_case,match_count'), $this);
?>


<?php 
$this->assign('showMode', $this->_tpl_vars['gui']->show_mode);
$this->assign('deleteStepAction', "lib/testcases/tcEdit.php?show_mode=" . $this->_tpl_vars['showMode'] . "&doAction=doDeleteStep&step_id=");
?>

<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc_head.tpl", 'smarty_include_vars' => array('openHead' => 'yes')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<script language="JavaScript" src="gui/javascript/expandAndCollapseFunctions.js" type="text/javascript"></script>
<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
开发者ID:tamtrong,项目名称:testlink,代码行数:31,代码来源:%%BB^BB4^BB4E6982%%tcView.tpl.php

示例4: lang_get_smarty

<?php 
echo lang_get_smarty(array('var' => 'labels', 's' => 'testplan_title_tp_management,testplan_txt_empty_list,sort_table_by_column,
          testplan_th_name,testplan_th_notes,testplan_th_active,testplan_th_delete,
          testplan_alt_edit_tp,alt_active_testplan,testplan_alt_delete_tp,public,
          btn_testplan_create,th_id,error_no_testprojects_present,btn_export_import,
          export_import,export'), $this);
?>



<?php 
echo lang_get_smarty(array('s' => 'warning_delete_testplan', 'var' => 'warning_msg'), $this);
?>

<?php 
echo lang_get_smarty(array('s' => 'delete', 'var' => 'del_msgbox_title'), $this);
?>


<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc_head.tpl", 'smarty_include_vars' => array('openHead' => 'yes', 'enableTableSorting' => 'yes')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc_del_onclick.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

<script type="text/javascript">
开发者ID:viglesiasce,项目名称:tl_RC1,代码行数:31,代码来源:%%29^293^293716D5%%planView.tpl.php

示例5: smarty_core_load_plugins

<?php

/* Smarty version 2.6.26, created on 2010-10-09 10:28:21
   compiled from plan/planAddTCNavigator.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'lang_get', 'plan/planAddTCNavigator.tpl', 18, false), array('modifier', 'escape', 'plan/planAddTCNavigator.tpl', 64, false))), $this);
?>

<?php 
echo lang_get_smarty(array('var' => 'labels', 's' => 'keywords_filter_help,btn_apply_filter,execution_type,importance,
             btn_update_menu,title_navigator,keyword,test_plan,keyword,caption_nav_filter_settings'), $this);
?>


<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc_head.tpl", 'smarty_include_vars' => array('openHead' => 'yes')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc_ext_js.tpl", 'smarty_include_vars' => array('bResetEXTCss' => 1)));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

<script type="text/javascript" src='gui/javascript/ext_extensions.js'></script>
<?php 
echo '
<script type="text/javascript">
	treeCfg = {tree_div_id:\'tree\',root_name:"",root_id:0,root_href:"",
	           loader:"", enableDD:false, dragDropBackEndUrl:\'\',children:""};
开发者ID:viglesiasce,项目名称:tl_RC1,代码行数:31,代码来源:%%74^744^744B9DFA%%planAddTCNavigator.tpl.php

示例6: smarty_core_load_plugins

<?php

/* Smarty version 2.6.26, created on 2010-10-18 12:51:43
   compiled from events/eventinfo.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'lang_get', 'events/eventinfo.tpl', 5, false), array('function', 'localize_timestamp', 'events/eventinfo.tpl', 18, false), array('modifier', 'escape', 'events/eventinfo.tpl', 14, false))), $this);
echo lang_get_smarty(array('var' => 'labels', 's' => 'th_loglevel,th_timestamp,th_source,th_description,
             th_session_info,User,th_sessionID,th_activity_code,
             th_object_id,th_object_type,th_activity'), $this);
?>

             
<div class="workBack">
	<table class="simple">
	<tr>
		<th><?php 
echo $this->_tpl_vars['labels']['th_loglevel'];
?>
</th>
		<td><?php 
echo is_array($_tmp = $this->_tpl_vars['event']->getLogLevel()) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp);
?>
</td>
	</tr>
	<tr>
		<th><?php 
echo $this->_tpl_vars['labels']['th_timestamp'];
?>
</th>
		<td><?php 
echo localize_timestamp_smarty(array('ts' => $this->_tpl_vars['event']->timestamp), $this);
开发者ID:viglesiasce,项目名称:tl_RC1,代码行数:31,代码来源:%%6A^6AB^6ABA892E%%eventinfo.tpl.php

示例7: unset

        ?>
	<?php 
        echo $this->_tpl_vars['matrix']->renderHeadSection($this->_tpl_vars['tableID']);
        ?>

<?php 
    }
}
unset($_from);
?>

</head>

<?php 
$this->assign('this_template_dir', is_array($_tmp = 'testcases/tcAssignedToUser.tpl') ? $this->_run_mod_handler('dirname', true, $_tmp) : dirname($_tmp));
echo lang_get_smarty(array('var' => 'labels', 's' => 'no_records_found,testplan,testcase,version,assigned_on,due_since,platform,goto_testspec,priority,
             high_priority,medium_priority,low_priority,build,testsuite'), $this);
?>


<body>
<h1 class="title"><?php 
echo $this->_tpl_vars['gui']->pageTitle;
?>
</h1>
<div class="workBack">
<?php 
if ($this->_tpl_vars['gui']->warning_msg == '') {
    ?>

	<?php 
    if ($this->_tpl_vars['gui']->resultSet) {
开发者ID:tamtrong,项目名称:testlink,代码行数:32,代码来源:%%06^062^062100DD%%tcAssignedToUser.tpl.php

示例8: smarty_core_load_plugins

<?php

/* Smarty version 2.6.26, created on 2010-09-27 15:50:00
   compiled from results/resultsTC.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'lang_get', 'results/resultsTC.tpl', 11, false), array('modifier', 'escape', 'results/resultsTC.tpl', 32, false), array('modifier', 'date_format', 'results/resultsTC.tpl', 55, false))), $this);
?>

<?php 
echo lang_get_smarty(array('var' => 'labels', 's' => "title,date,printed_by,title_test_suite_name,platform,\r\n             title_test_case_title,version,generated_by_TestLink_on, priority"), $this);
?>


<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc_head.tpl", 'smarty_include_vars' => array('openHead' => 'yes')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
$_from = $this->_tpl_vars['gui']->tableSet;
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
$this->_foreach['initializer'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['initializer']['total'] > 0) {
    foreach ($_from as $this->_tpl_vars['idx'] => $this->_tpl_vars['matrix']) {
        $this->_foreach['initializer']['iteration']++;
        ?>
  <?php 
        $this->assign('tableID', $this->_tpl_vars['matrix']->tableID);
        ?>
  <?php 
开发者ID:tamtrong,项目名称:testlink,代码行数:31,代码来源:%%BC^BCA^BCA45BD2%%resultsTC.tpl.php

示例9: array

			       size="<?php 
echo $this->_config[0]['vars']['CONTAINER_NAME_SIZE'];
?>
" maxlength="<?php 
echo $this->_config[0]['vars']['CONTAINER_NAME_MAXLEN'];
?>
"
			       />
			<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "error_icon.tpl", 'smarty_include_vars' => array('field' => 'container_name')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
       
	   </p>
    </div>
    <p>
		<div class="labelHolder">
		<label for="details"><?php 
echo lang_get_smarty(array('s' => 'details'), $this);
?>
</label>
		</div>
		<div>
		<?php 
echo $this->_tpl_vars['details'];
?>

		</div>
开发者ID:tamtrong,项目名称:testlink,代码行数:30,代码来源:%%2B^2B1^2B14B811%%inc_testsuite_viewer_rw.tpl.php

示例10: lang_get_smarty

	<?php 
echo @TITLE_SEP_TYPE3;
echo $this->_tpl_vars['labels']['version'];
?>
 <?php 
echo $this->_tpl_vars['gui']->tc['version'];
?>
</h1> 

<div class="workBack" style="width:97%;">

<?php 
if ($this->_tpl_vars['gui']->has_been_executed) {
    ?>
    <?php 
    echo lang_get_smarty(array('s' => 'warning_editing_executed_tc', 'var' => 'warning_edit_msg'), $this);
    ?>

    <div class="messages" align="center"><?php 
    echo $this->_tpl_vars['warning_edit_msg'];
    ?>
</div>
<?php 
}
?>

<form method="post" action="lib/testcases/tcEdit.php" name="tc_edit"
      onSubmit="return validateForm(this);">

	<input type="hidden" name="testcase_id" id="testcase_id" value="<?php 
echo $this->_tpl_vars['gui']->tc['testcase_id'];
开发者ID:viglesiasce,项目名称:tl_RC1,代码行数:31,代码来源:%%18^18C^18CF8421%%tcEdit.tpl.php

示例11: lang_get_smarty

/order_<?php 
    echo $this->_tpl_vars['order_by_role_dir'];
    ?>
.gif"
	    			     title="<?php 
    echo $this->_tpl_vars['labels']['order_by_role_descr'];
    ?>
 <?php 
    echo lang_get_smarty(array('s' => $this->_tpl_vars['order_by_role_dir']), $this);
    ?>
"
						 alt="<?php 
    echo $this->_tpl_vars['labels']['order_by_role_descr'];
    ?>
 <?php 
    echo lang_get_smarty(array('s' => $this->_tpl_vars['order_by_role_dir']), $this);
    ?>
"
	    			     onclick="usersview.operation.value='order_by_role';
	    			              usersview.user_order_by.value='order_by_role';
	      			            usersview.submit();" />
				</th>

				<th><?php 
    echo $this->_tpl_vars['labels']['th_locale'];
    ?>
</th>
				<th style="width:50px;"><?php 
    echo $this->_tpl_vars['labels']['th_active'];
    ?>
</th>
开发者ID:viglesiasce,项目名称:tl_RC1,代码行数:31,代码来源:%%74^74D^74D9FDF7%%usersView.tpl.php

示例12: lang_get_smarty

$this->assign('action_create_role', "lib/usermanagement/rolesEdit.php?doAction=create");
$this->assign('action_view_roles', "lib/usermanagement/rolesView.php");
?>


<?php 
$this->assign('action_create_user', "lib/usermanagement/usersEdit.php?doAction=create");
$this->assign('action_edit_user', "lib/usermanagement/usersEdit.php?doAction=edit&amp;user_id=");
$this->assign('action_view_users', "lib/usermanagement/usersView.php");
$this->assign('action_assign_users_tproject', "lib/usermanagement/usersAssign.php?featureType=testproject");
$this->assign('action_assign_users_tplan', "lib/usermanagement/usersAssign.php?featureType=testplan");
?>


<?php 
echo lang_get_smarty(array('var' => 'tabsMenuLabels', 's' => "menu_new_user,menu_view_users,menu_edit_user,menu_define_roles,\r\n             menu_edit_role,menu_view_roles,menu_assign_testproject_roles,menu_assign_testplan_roles"), $this);
?>


<div class="tabMenu">
<?php 
if ($this->_tpl_vars['grants']->user_mgmt == 'yes') {
    ?>
 	<?php 
    if ($this->_tpl_vars['highlight']->edit_user) {
        ?>
	   <span class="selected"><?php 
        echo $this->_tpl_vars['tabsMenuLabels']['menu_edit_user'];
        ?>
</span>
	<?php 
开发者ID:tamtrong,项目名称:testlink,代码行数:31,代码来源:%%D5^D5C^D5C16A7F%%tabsmenu.tpl.php

示例13: smarty_core_load_plugins

<?php

/* Smarty version 2.6.26, created on 2010-09-29 11:47:48
   compiled from results/testCasesWithCF.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'lang_get', 'results/testCasesWithCF.tpl', 13, false), array('modifier', 'escape', 'results/testCasesWithCF.tpl', 31, false), array('modifier', 'date_format', 'results/testCasesWithCF.tpl', 43, false))), $this);
?>

<?php 
echo lang_get_smarty(array('var' => 'labels', 's' => 'no_uncovered_testcases,testproject_has_no_reqspec,
             testproject_has_no_requirements,no_linked_tc_cf,generated_by_TestLink_on,
             test_case,build,th_owner,date,status'), $this);
?>

<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc_head.tpl", 'smarty_include_vars' => array('openHead' => 'yes')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
$_from = $this->_tpl_vars['gui']->tableSet;
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
$this->_foreach['initializer'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['initializer']['total'] > 0) {
    foreach ($_from as $this->_tpl_vars['idx'] => $this->_tpl_vars['matrix']) {
        $this->_foreach['initializer']['iteration']++;
        ?>
  <?php 
        $this->assign('tableID', $this->_tpl_vars['matrix']->tableID);
        ?>
开发者ID:tamtrong,项目名称:testlink,代码行数:31,代码来源:%%04^043^0433D73E%%testCasesWithCF.tpl.php

示例14: lang_get_smarty

$this->assign('createAction', $this->_tpl_vars['managerURL'] . "?do_action=create");
?>


<?php 
echo lang_get_smarty(array('s' => 'warning_delete_build', 'var' => 'warning_msg'), $this);
?>

<?php 
echo lang_get_smarty(array('s' => 'delete', 'var' => 'del_msgbox_title'), $this);
?>


<?php 
echo lang_get_smarty(array('var' => 'labels', 's' => 'title_build_2,test_plan,th_title,th_description,th_active,
             th_open,th_delete,alt_edit_build,alt_active_build,
             alt_open_build,alt_delete_build,no_builds,btn_build_create,
             builds_description,sort_table_by_column,th_id,release_date'), $this);
?>


<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc_head.tpl", 'smarty_include_vars' => array('openHead' => 'yes', 'jsValidate' => 'yes', 'enableTableSorting' => 'yes')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc_del_onclick.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
开发者ID:viglesiasce,项目名称:tl_RC1,代码行数:31,代码来源:%%3E^3E1^3E13F1AB%%buildView.tpl.php

示例15: smarty_core_load_plugins

<?php

/* Smarty version 2.6.26, created on 2010-10-12 11:56:02
   compiled from inc_copyrightnotice.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'lang_get', 'inc_copyrightnotice.tpl', 2, false))), $this);
?>
<p>
<?php 
echo lang_get_smarty(array('s' => 'lic_product'), $this);
?>
 <a href="http://testlink.sourceforge.net/docs/testLink.php"><?php 
echo lang_get_smarty(array('s' => 'lic_home'), $this);
?>
</a><br />
<?php 
echo lang_get_smarty(array('s' => 'licensed_under'), $this);
?>
 <a href="http://www.gnu.org/copyleft/gpl.html"><?php 
echo lang_get_smarty(array('s' => 'gnu_gpl'), $this);
?>
</a>
</p>
开发者ID:viglesiasce,项目名称:tl_RC1,代码行数:23,代码来源:%%2B^2B5^2B5F1EA9%%inc_copyrightnotice.tpl.php


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