PageRenderTime 49ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 1ms

/gui/templates_c/%%76^76D^76DE89E6%%resultsMoreBuildsGUI.tpl.php

https://github.com/viglesiasce/testlink
PHP | 279 lines | 263 code | 16 blank | 0 comment | 14 complexity | 1b9f111d05b56235791569b27e982322 MD5 | raw file
  1. <?php /* Smarty version 2.6.26, created on 2010-09-27 15:50:04
  2. compiled from results/resultsMoreBuildsGUI.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('function', 'lang_get', 'results/resultsMoreBuildsGUI.tpl', 15, false),array('function', 'config_load', 'results/resultsMoreBuildsGUI.tpl', 23, false),array('function', 'html_select_date', 'results/resultsMoreBuildsGUI.tpl', 113, false),array('function', 'html_select_time', 'results/resultsMoreBuildsGUI.tpl', 119, false),array('modifier', 'basename', 'results/resultsMoreBuildsGUI.tpl', 22, false),array('modifier', 'replace', 'results/resultsMoreBuildsGUI.tpl', 22, false),array('modifier', 'escape', 'results/resultsMoreBuildsGUI.tpl', 70, false),)), $this); ?>
  5. <?php echo lang_get_smarty(array('var' => 'labels','s' => 'enter_start_time,enter_end_time,date,hour,Yes,submit_query,
  6. select_builds_header,select_components_header,report_display_options,
  7. display_suite_summaries,display_test_cases,display_query_params,
  8. display_totals,display_results_tc,results_latest,results_all,
  9. search_in_notes,executor,No,query_metrics_report'), $this);?>
  10. <?php $this->assign('cfg_section', ((is_array($_tmp=((is_array($_tmp='results/resultsMoreBuildsGUI.tpl')) ? $this->_run_mod_handler('basename', true, $_tmp) : basename($_tmp)))) ? $this->_run_mod_handler('replace', true, $_tmp, ".tpl", "") : smarty_modifier_replace($_tmp, ".tpl", ""))); ?>
  11. <?php echo smarty_function_config_load(array('file' => "input_dimensions.conf",'section' => $this->_tpl_vars['cfg_section']), $this);?>
  12. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  13. $this->_smarty_include(array('smarty_include_tpl_file' => "inc_head.tpl", 'smarty_include_vars' => array()));
  14. $this->_tpl_vars = $_smarty_tpl_vars;
  15. unset($_smarty_tpl_vars);
  16. ?>
  17. <body>
  18. <h1 class="title"> <?php echo $this->_tpl_vars['labels']['query_metrics_report']; ?>
  19. </h1>
  20. <div class="workBack">
  21. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  22. $this->_smarty_include(array('smarty_include_tpl_file' => "inc_result_tproject_tplan.tpl", 'smarty_include_vars' => array('arg_tproject_name' => $this->_tpl_vars['gui']->tproject_name,'arg_tplan_name' => $this->_tpl_vars['gui']->tplan_name)));
  23. $this->_tpl_vars = $_smarty_tpl_vars;
  24. unset($_smarty_tpl_vars);
  25. ?>
  26. <?php if ($this->_tpl_vars['gui']->builds->qty > $this->_config[0]['vars']['BUILDS_COMBO_NUM_ITEMS']): ?>
  27. <?php $this->assign('build_qty', $this->_config[0]['vars']['BUILDS_COMBO_NUM_ITEMS']); ?>
  28. <?php else: ?>
  29. <?php $this->assign('build_qty', $this->_tpl_vars['gui']->builds->qty); ?>
  30. <?php endif; ?>
  31. <?php if ($this->_tpl_vars['gui']->testsuites->qty > $this->_config[0]['vars']['TSUITES_COMBO_NUM_ITEMS']): ?>
  32. <?php $this->assign('testsuite_qty', $this->_config[0]['vars']['TSUITES_COMBO_NUM_ITEMS']); ?>
  33. <?php else: ?>
  34. <?php $this->assign('testsuite_qty', $this->_tpl_vars['gui']->testsuites->qty); ?>
  35. <?php endif; ?>
  36. <?php $this->assign('keyword_qty', 1); ?>
  37. <form action="lib/results/resultsMoreBuilds.php?report_type=<?php echo $this->_tpl_vars['gui']->report_type; ?>
  38. " method="post">
  39. <input type="hidden" id="tplan_id" name="tplan_id" value="<?php echo $this->_tpl_vars['gui']->tplan_id; ?>
  40. " />
  41. <div>
  42. <table class="simple" style="width: 100%; text-align: center; margin-left: 0px;">
  43. <tr>
  44. <th><?php echo $this->_tpl_vars['labels']['select_builds_header']; ?>
  45. </th>
  46. <th><?php echo $this->_tpl_vars['labels']['select_components_header']; ?>
  47. </th>
  48. </tr>
  49. <tr>
  50. <td>
  51. <select name="build[]" size="<?php echo $this->_tpl_vars['build_qty']; ?>
  52. " multiple="multiple">
  53. <?php $_from = $this->_tpl_vars['gui']->builds->items; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  54. foreach ($_from as $this->_tpl_vars['row'] => $this->_tpl_vars['buildid']):
  55. ?>
  56. <option value="<?php echo $this->_tpl_vars['gui']->builds->items[$this->_tpl_vars['row']]['id']; ?>
  57. " selected="selected"><?php echo ((is_array($_tmp=$this->_tpl_vars['gui']->builds->items[$this->_tpl_vars['row']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  58. </option>
  59. <?php endforeach; endif; unset($_from); ?>
  60. </select>
  61. </td>
  62. <td>
  63. <select name="testsuite[]" size="<?php echo $this->_tpl_vars['testsuite_qty']; ?>
  64. " multiple="multiple">
  65. <?php $_from = $this->_tpl_vars['gui']->testsuites->items; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  66. foreach ($_from as $this->_tpl_vars['row'] => $this->_tpl_vars['tsuite_name']):
  67. ?>
  68. <option value="<?php echo $this->_tpl_vars['gui']->testsuites->items[$this->_tpl_vars['row']]['id']; ?>
  69. ,<?php echo ((is_array($_tmp=$this->_tpl_vars['gui']->testsuites->items[$this->_tpl_vars['row']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  70. "
  71. selected="selected"><?php echo ((is_array($_tmp=$this->_tpl_vars['gui']->testsuites->items[$this->_tpl_vars['row']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  72. </option>
  73. <?php endforeach; endif; unset($_from); ?>
  74. </select>
  75. </td>
  76. </tr>
  77. <tr>
  78. <th><?php echo lang_get_smarty(array('s' => 'select_keyword_header'), $this);?>
  79. </th>
  80. <th><?php echo lang_get_smarty(array('s' => 'select_last_result_header'), $this);?>
  81. </th>
  82. </tr>
  83. <tr>
  84. <td>
  85. <select name="keyword" size="<?php echo $this->_tpl_vars['keyword_qty']; ?>
  86. " >
  87. <?php $_from = $this->_tpl_vars['gui']->keywords->items; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  88. foreach ($_from as $this->_tpl_vars['keyword_id'] => $this->_tpl_vars['keyword_name']):
  89. ?>
  90. <option value="<?php echo $this->_tpl_vars['keyword_id']; ?>
  91. " ><?php echo ((is_array($_tmp=$this->_tpl_vars['gui']->keywords->items[$this->_tpl_vars['keyword_id']])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  92. </option>
  93. <?php endforeach; endif; unset($_from); ?>
  94. </select>
  95. </td>
  96. <td>
  97. <select name="lastStatus[]" size="<?php echo $this->_config[0]['vars']['TCSTATUS_COMBO_NUM_ITEMS']; ?>
  98. " multiple="multiple">
  99. <?php $_from = $this->_tpl_vars['gui']->status_code_label; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  100. foreach ($_from as $this->_tpl_vars['status_code'] => $this->_tpl_vars['status_label']):
  101. ?>
  102. <option selected="selected" value="<?php echo $this->_tpl_vars['status_code']; ?>
  103. "><?php echo ((is_array($_tmp=$this->_tpl_vars['status_label'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  104. </option>
  105. <?php endforeach; endif; unset($_from); ?>
  106. </select>
  107. </td>
  108. </tr>
  109. <tr>
  110. <th><?php echo $this->_tpl_vars['labels']['enter_start_time']; ?>
  111. </th>
  112. <th><?php echo $this->_tpl_vars['labels']['enter_end_time']; ?>
  113. </th>
  114. </tr>
  115. <tr>
  116. <td align="center">
  117. <table border='0'>
  118. <tr>
  119. <td><?php echo $this->_tpl_vars['labels']['date']; ?>
  120. </td><td><?php echo smarty_function_html_select_date(array('prefix' => 'start_','time' => $this->_tpl_vars['gui']->selected_start_date,'month_format' => '%m','start_year' => "-1",'end_year' => "+1",'field_order' => $this->_tpl_vars['gsmarty_html_select_date_field_order']), $this);?>
  121. </td>
  122. </tr>
  123. <tr>
  124. <td><?php echo $this->_tpl_vars['labels']['hour']; ?>
  125. </td>
  126. <td align='left'><?php echo smarty_function_html_select_time(array('prefix' => 'start_','display_minutes' => false,'time' => $this->_tpl_vars['gui']->selected_start_time,'display_seconds' => false,'use_24_hours' => true), $this);?>
  127. </td>
  128. </tr>
  129. </table>
  130. </td>
  131. <td align="center">
  132. <table border='0'>
  133. <tr>
  134. <td><?php echo $this->_tpl_vars['labels']['date']; ?>
  135. </td><td><?php echo smarty_function_html_select_date(array('prefix' => 'end_','time' => $this->_tpl_vars['gui']->selected_end_date,'month_format' => '%m','start_year' => "-1",'end_year' => "+1",'field_order' => $this->_tpl_vars['gsmarty_html_select_date_field_order']), $this);?>
  136. </td>
  137. </tr>
  138. <tr>
  139. <td><?php echo $this->_tpl_vars['labels']['hour']; ?>
  140. </td>
  141. <td align='left'><?php echo smarty_function_html_select_time(array('prefix' => 'end_','display_minutes' => false,'time' => $this->_tpl_vars['gui']->selected_end_time,'display_seconds' => false,'use_24_hours' => true), $this);?>
  142. </td>
  143. </tr>
  144. </table>
  145. </td>
  146. </tr>
  147. <!--
  148. KL - 20070627 -Functionality to allow query by executor or grep the notes field
  149. Allows user to change what data / results are displayed in report
  150. -->
  151. <tr>
  152. <th><?php echo lang_get_smarty(array('s' => 'select_owner_header'), $this);?>
  153. </th>
  154. <th><?php echo $this->_tpl_vars['labels']['executor']; ?>
  155. </th>
  156. </tr>
  157. <tr>
  158. <td>
  159. <select name="owner">
  160. <?php $_from = $this->_tpl_vars['gui']->assigned_users->items; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  161. foreach ($_from as $this->_tpl_vars['owner'] => $this->_tpl_vars['ownerid']):
  162. ?>
  163. <option value="<?php echo $this->_tpl_vars['owner']; ?>
  164. "><?php echo ((is_array($_tmp=$this->_tpl_vars['ownerid'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  165. </option>
  166. <?php endforeach; endif; unset($_from); ?>
  167. </select>
  168. </td>
  169. <td>
  170. <select name="executor">
  171. <?php $_from = $this->_tpl_vars['gui']->assigned_users->items; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  172. foreach ($_from as $this->_tpl_vars['executor'] => $this->_tpl_vars['executorid']):
  173. ?>
  174. <option value="<?php echo $this->_tpl_vars['executor']; ?>
  175. "><?php echo ((is_array($_tmp=$this->_tpl_vars['executorid'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
  176. </option>
  177. <?php endforeach; endif; unset($_from); ?>
  178. </select>
  179. </td>
  180. </tr>
  181. <tr>
  182. <th><?php echo $this->_tpl_vars['labels']['search_in_notes']; ?>
  183. </th>
  184. <th>&nbsp;</th>
  185. </tr>
  186. <tr>
  187. <td>
  188. <input type="text" name="search_notes_string"/>
  189. </td>
  190. <td>&nbsp;</td>
  191. </tr>
  192. </table>
  193. </div>
  194. <div>
  195. <table border cellspacing=0 cellpadding=5 rules=groups width="100%">
  196. <caption align="top"><?php echo $this->_tpl_vars['labels']['report_display_options']; ?>
  197. </caption>
  198. <tr>
  199. <td>
  200. <table>
  201. <tr>
  202. <td><?php echo $this->_tpl_vars['labels']['display_suite_summaries']; ?>
  203. </td>
  204. <td><select name="display_suite_summaries">
  205. <option value="1"><?php echo $this->_tpl_vars['labels']['Yes']; ?>
  206. </option>
  207. <option value="0" selected="selected"><?php echo $this->_tpl_vars['labels']['No']; ?>
  208. </option>
  209. </select>
  210. </td>
  211. <td><?php echo $this->_tpl_vars['labels']['display_test_cases']; ?>
  212. </td>
  213. <td><select name="display_test_cases">
  214. <option value="1" selected="selected"><?php echo $this->_tpl_vars['labels']['Yes']; ?>
  215. </option>
  216. <option value="0"><?php echo $this->_tpl_vars['labels']['No']; ?>
  217. </option>
  218. </select>
  219. </td>
  220. <td><?php echo $this->_tpl_vars['labels']['display_results_tc']; ?>
  221. </td>
  222. <td><select name="display_latest_results">
  223. <option value="0"><?php echo $this->_tpl_vars['labels']['results_latest']; ?>
  224. </option>
  225. <option value="1" selected="selected"><?php echo $this->_tpl_vars['labels']['results_all']; ?>
  226. </option>
  227. </select>
  228. </td>
  229. </tr>
  230. <tr>
  231. <td><?php echo $this->_tpl_vars['labels']['display_query_params']; ?>
  232. </td>
  233. <td><select name="display_query_params">
  234. <option value="1"><?php echo $this->_tpl_vars['labels']['Yes']; ?>
  235. </option>
  236. <option value="0" selected="selected"><?php echo $this->_tpl_vars['labels']['No']; ?>
  237. </option>
  238. </select>
  239. </td>
  240. <td><?php echo $this->_tpl_vars['labels']['display_totals']; ?>
  241. </td>
  242. <td><select name="display_totals">
  243. <option value="1"><?php echo $this->_tpl_vars['labels']['Yes']; ?>
  244. </option>
  245. <option value="0" selected="selected"><?php echo $this->_tpl_vars['labels']['No']; ?>
  246. </option>
  247. </select>
  248. </td>
  249. </tr>
  250. </table>
  251. </td>
  252. <td>&nbsp;</td>
  253. <td>
  254. <input type="submit" value="<?php echo $this->_tpl_vars['labels']['submit_query']; ?>
  255. "/>
  256. </td>
  257. </tr>
  258. </table>
  259. </div>
  260. </form>
  261. </div>
  262. </body>
  263. </html>