control.php

来自「通达OA2007SE源代码 非常好的」· PHP 代码 · 共 44 行

PHP
44
字号
<?
  include_once 'inc/auth.php';
  echo '
<html>
<head>
<title>流程设计</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
';
  echo '<s';
  echo 'cript Language="JavaScript">
function copy_main()
{
  parent.set_main.document.execCommand(\'selectall\');
  parent.set_main.document.execCommand(\'copy\');
  alert("流程图已复制到剪贴板!");
}
</script>
</head>
<body class="TableHeader" topmargin="1">
<table cellpadding="0" cellspacing="0" width="100%" class="big">
<tr>
<td>
<b>设计视图:</b>
<input type="button" value="图形视图" class="BigB';
  echo 'utton" onclick="parent.set_main.location=\'view_graph?FLOW_ID=';
  echo $FLOW_ID;
  echo '\'">&nbsp;&nbsp;
<input type="button" value="列表视图" class="BigButton" onclick="parent.set_main.location=\'view_list?FLOW_ID=';
  echo $FLOW_ID;
  echo '\'">
</td>
<td align=right>
	 <input type="button" value="刷新" class="BigButton" onclick="parent.set_main.location.reload();">&nbsp;&nbsp;
   <input type="button" value="打印" class="BigButton" onclick="parent.set_main.document.execCommand(\'Print\');" title="直接打印流程页面">&nbsp;&nbsp;
   <input type="button" value="复制" class="BigButton" onclick="copy_main();" title="复制至剪贴版,可粘贴至Word';
  echo '">&nbsp;&nbsp;
   <input type="button" value="关闭" class="BigButton" onclick="parent.close();">
</td>
</tr>
</table>
</body>
</html>';
?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?