1131d66c1cdfa25c021a44ba639bbf87ce0c82e9_0.file.workorder.html.php 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <?php
  2. /* Smarty version 3.1.30, created on 2018-05-07 00:09:41
  3. from "D:\phpStudy\WWW\workorder\application\views\templates\template\workorder.html" */
  4. /* @var Smarty_Internal_Template $_smarty_tpl */
  5. if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  6. 'version' => '3.1.30',
  7. 'unifunc' => 'content_5aef28c55e3d47_59174402',
  8. 'has_nocache_code' => false,
  9. 'file_dependency' =>
  10. array (
  11. '1131d66c1cdfa25c021a44ba639bbf87ce0c82e9' =>
  12. array (
  13. 0 => 'D:\\phpStudy\\WWW\\workorder\\application\\views\\templates\\template\\workorder.html',
  14. 1 => 1524913407,
  15. 2 => 'file',
  16. ),
  17. ),
  18. 'includes' =>
  19. array (
  20. ),
  21. ),false)) {
  22. function content_5aef28c55e3d47_59174402 (Smarty_Internal_Template $_smarty_tpl) {
  23. ?>
  24. <!DOCTYPE html>
  25. <html lang="zh-CN">
  26. <head>
  27. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  28. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  29. <meta name="robots" content="noindex,nofollow">
  30. <title><?php echo $_smarty_tpl->tpl_vars['sys_name']->value;?>
  31. </title>
  32. <base href="<?php echo base_url();?>
  33. "/>
  34. <link href="static/css/bootstrap.min.css" rel="stylesheet">
  35. <link rel="stylesheet" href="static/css/style.css">
  36. <?php echo '<script'; ?>
  37. language="javascript" type="text/javascript">
  38. var SITE_URL = "<?php echo base_url();?>
  39. ";
  40. var message = "<?php echo $_smarty_tpl->tpl_vars['message']->value;?>
  41. ";<?php echo '</script'; ?>
  42. >
  43. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  44. <!--[if lt IE 9]>
  45. <?php echo '<script'; ?>
  46. src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"><?php echo '</script'; ?>
  47. >
  48. <?php echo '<script'; ?>
  49. src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"><?php echo '</script'; ?>
  50. >
  51. <![endif]-->
  52. </head>
  53. <body style="background: #fff; min-width: auto;">
  54. <div style="padding:10px">
  55. <div class="panel panel-default grid">
  56. <div class="panel-body">
  57. <form class="form-horizontal" role="form" id="validateform" name="validateform" action="" method="post"
  58. novalidate="novalidate">
  59. <input type="hidden" name="template_id" value="<?php echo $_smarty_tpl->tpl_vars['template']->value['template_id'];?>
  60. ">
  61. <input type="hidden" name="template_name" value="<?php echo $_smarty_tpl->tpl_vars['template']->value['template_name'];?>
  62. ">
  63. <input type="hidden" name="template_file" value="<?php echo $_smarty_tpl->tpl_vars['template']->value['template_file'];?>
  64. ">
  65. <input type="hidden" name="template_html" id="template_html" value="">
  66. <div>
  67. <?php echo '<script'; ?>
  68. id="editor" type="text/plain" style="width:100%;height:500px;"><?php echo $_smarty_tpl->tpl_vars['template']->value['template_html'];
  69. echo '</script'; ?>
  70. >
  71. </div>
  72. <div class="form-actions text-left">
  73. <button type="submit" id="dosubmit" class="btn btn-primary ">保存</button>
  74. </div>
  75. </div>
  76. </form>
  77. </div>
  78. </div>
  79. <?php echo '<script'; ?>
  80. type="text/javascript" charset="utf-8" src="static/js/jquery.js"><?php echo '</script'; ?>
  81. >
  82. <?php echo '<script'; ?>
  83. type="text/javascript" charset="utf-8" src="static/js/bootstrap.js"><?php echo '</script'; ?>
  84. >
  85. <?php echo '<script'; ?>
  86. type="text/javascript" charset="utf-8" src="static/js/layer/layer.js"><?php echo '</script'; ?>
  87. >
  88. <?php echo '<script'; ?>
  89. type="text/javascript" charset="utf-8" src="static/ueditor/neditor.config.js"><?php echo '</script'; ?>
  90. >
  91. <?php echo '<script'; ?>
  92. type="text/javascript" charset="utf-8" src="static/ueditor/neditor.all.js"><?php echo '</script'; ?>
  93. >
  94. <?php echo '<script'; ?>
  95. type="text/javascript">
  96. $(function () {
  97. if (message != "" && message != undefined) {
  98. layer.alert(message);
  99. }
  100. var ue = UE.getEditor('editor');
  101. $("form").submit(function () {
  102. $("button").attr("disabled","disabled");
  103. var content = ue.getContent();
  104. $("#template_html").val(content);
  105. })
  106. })
  107. <?php echo '</script'; ?>
  108. >
  109. </body>
  110. </html><?php }
  111. }