| @@ -118,12 +118,7 @@ else if ($dopost == 'save') { | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| $notelist .= "{dede:specnote imgheight=\\'$imgheight\\' imgwidth=\\'$imgwidth\\' | |||||
| infolen=\\'$infolen\\' titlelen=\\'$titlelen\\' col=\\'$col\\' idlist=\\'$okids\\' | |||||
| name=\\'$notename\\' noteid=\\'$noteid\\' isauto=\'$isauto\' rownum=\\'$rownum\\' | |||||
| keywords=\\'$keywords\\' typeid=\\'$typeid\\'} | |||||
| $listtmp | |||||
| {/dede:specnote}\r\n"; | |||||
| $notelist .= "{dede:specnote imgheight=\\'$imgheight\\' imgwidth=\\'$imgwidth\\' infolen=\\'$infolen\\' titlelen=\\'$titlelen\\' col=\\'$col\\' idlist=\\'$okids\\' name=\\'$notename\\' noteid=\\'$noteid\\' isauto=\'$isauto\' rownum=\\'$rownum\\' keywords=\\'$keywords\\' typeid=\\'$typeid\\'} $listtmp {/dede:specnote}\r\n"; | |||||
| } | } | ||||
| } | } | ||||
| //分析处理附加表数据 | //分析处理附加表数据 | ||||
| @@ -165,12 +165,7 @@ else if ($dopost == 'save') { | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| $notelist .= "{dede:specnote imgheight=\\'$imgheight\\' imgwidth=\\'$imgwidth\\' | |||||
| infolen=\\'$infolen\\' titlelen=\\'$titlelen\\' col=\\'$col\\' idlist=\\'$okids\\' | |||||
| name=\\'$notename\\' noteid=\\'$noteid\\' isauto=\'$isauto\' rownum=\\'$rownum\\' | |||||
| keywords=\\'$keywords\\' typeid=\\'$ttypeid\\'} | |||||
| $listtmp | |||||
| {/dede:specnote}\r\n"; | |||||
| $notelist .= "{dede:specnote imgheight=\\'$imgheight\\' imgwidth=\\'$imgwidth\\' infolen=\\'$infolen\\' titlelen=\\'$titlelen\\' col=\\'$col\\' idlist=\\'$okids\\' name=\\'$notename\\' noteid=\\'$noteid\\' isauto=\'$isauto\' rownum=\\'$rownum\\' keywords=\\'$keywords\\' typeid=\\'$ttypeid\\'} $listtmp {/dede:specnote}\r\n"; | |||||
| } | } | ||||
| } | } | ||||
| //更新附加表 | //更新附加表 | ||||
| @@ -10,11 +10,11 @@ | |||||
| </head> | </head> | ||||
| <body> | <body> | ||||
| <table cellspacing="1" cellpadding="2" align="center" class="table maintable icon my-3"> | <table cellspacing="1" cellpadding="2" align="center" class="table maintable icon my-3"> | ||||
| <tr align="center"> | |||||
| <td width="36%" bgcolor="#f5f5f5">文件名称</td> | |||||
| <td width="12%" bgcolor="#f5f5f5">文件大小</td> | |||||
| <td width="20%" bgcolor="#f5f5f5">修改时间</td> | |||||
| <td width="30%" bgcolor="#f5f5f5">操作</td> | |||||
| <tr bgcolor="#f5f5f5" align="center"> | |||||
| <td width="36%">文件名称</td> | |||||
| <td width="12%">文件大小</td> | |||||
| <td width="20%">修改时间</td> | |||||
| <td width="30%">操作</td> | |||||
| </tr> | </tr> | ||||
| <?php | <?php | ||||
| $dh = scandir($inpath); | $dh = scandir($inpath); | ||||
| @@ -281,7 +281,7 @@ | |||||
| } | } | ||||
| ?> | ?> | ||||
| <tr> | <tr> | ||||
| <td colspan="4" bgcolor="#f5f5f5"> | |||||
| <td bgcolor="#f5f5f5" colspan="4"> | |||||
| <?php if (!DEDEBIZ_SAFE_MODE) {?><a href="file_manage_main.php" class="btn btn-success btn-sm">根目录</a><?php }?> | <?php if (!DEDEBIZ_SAFE_MODE) {?><a href="file_manage_main.php" class="btn btn-success btn-sm">根目录</a><?php }?> | ||||
| <a href="file_manage_view.php?fmdo=newfile&activepath=<?php echo urlencode($activepath)?>" class="btn btn-success btn-sm">新建文件</a> | <a href="file_manage_view.php?fmdo=newfile&activepath=<?php echo urlencode($activepath)?>" class="btn btn-success btn-sm">新建文件</a> | ||||
| <a href="file_manage_view.php?fmdo=newdir&activepath=<?php echo urlencode($activepath)?>" class="btn btn-success btn-sm">新建目录</a> | <a href="file_manage_view.php?fmdo=newdir&activepath=<?php echo urlencode($activepath)?>" class="btn btn-success btn-sm">新建目录</a> | ||||
| @@ -61,7 +61,7 @@ | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <div class="col-md-6 my-3 updatenews"> | |||||
| <div class="col-md-6 my-3"> | |||||
| <div class="card"> | <div class="card"> | ||||
| <div class="card-header"><a href="javascript:copyFn()"><i class="fa fa-gear"></i> 系统信息</a> | <div class="card-header"><a href="javascript:copyFn()"><i class="fa fa-gear"></i> 系统信息</a> | ||||
| <span id="text">软件:<?php echo $cfg_version_detail;?>|操作系统:<?php echo PHP_OS;?>|Web服务器:<?php echo $_SERVER['SERVER_SOFTWARE'];?>|PHP:<?php echo @phpversion();?>|数据库:<?php echo $dsql->GetVersion();?></span> | <span id="text">软件:<?php echo $cfg_version_detail;?>|操作系统:<?php echo PHP_OS;?>|Web服务器:<?php echo $_SERVER['SERVER_SOFTWARE'];?>|PHP:<?php echo @phpversion();?>|数据库:<?php echo $dsql->GetVersion();?></span> | ||||
| @@ -28,12 +28,12 @@ | |||||
| <tr> | <tr> | ||||
| <td colspan="5" bgcolor="#f5f5f5">积分头衔设置</td> | <td colspan="5" bgcolor="#f5f5f5">积分头衔设置</td> | ||||
| </tr> | </tr> | ||||
| <tr> | |||||
| <td width="6%" align="center" bgcolor="#e9ecef"><input type="checkbox" name="chkall" id="chkall" onClick="CheckAll(this.form)"> 反选</td> | |||||
| <td width="23%" align="center" bgcolor="#e9ecef">积分大于</td> | |||||
| <td width="30%" align="center" bgcolor="#e9ecef">星星数</td> | |||||
| <td width="23%" align="center" bgcolor="#e9ecef">级别头衔</td> | |||||
| <td width="30%" align="center" bgcolor="#e9ecef">是否默认</td> | |||||
| <tr bgcolor="#e9ecef"> | |||||
| <td width="6%" align="center"><input type="checkbox" name="chkall" id="chkall" onClick="CheckAll(this.form)"> 反选</td> | |||||
| <td width="23%" align="center">积分大于</td> | |||||
| <td width="30%" align="center">星星数</td> | |||||
| <td width="23%" align="center">级别头衔</td> | |||||
| <td width="30%" align="center">是否默认</td> | |||||
| </tr> | </tr> | ||||
| <?php foreach($Scores as $v) {?> | <?php foreach($Scores as $v) {?> | ||||
| <tr onmousemove="javascript:this.bgColor='#e9ecef';" onmouseout="javascript:this.bgColor='#ffffff';"> | <tr onmousemove="javascript:this.bgColor='#e9ecef';" onmouseout="javascript:this.bgColor='#ffffff';"> | ||||
| @@ -17,8 +17,8 @@ | |||||
| sm = new difflib.SequenceMatcher(base, newtxt), | sm = new difflib.SequenceMatcher(base, newtxt), | ||||
| opcodes = sm.get_opcodes(), | opcodes = sm.get_opcodes(), | ||||
| diffoutputdiv = $("#diffoutput"); | diffoutputdiv = $("#diffoutput"); | ||||
| diffoutputdiv.html("") | |||||
| diffoutputdiv.html(diffview.buildView({ | |||||
| diffoutputdiv.html("") | |||||
| diffoutputdiv.html(diffview.buildView({ | |||||
| baseTextLines: base, | baseTextLines: base, | ||||
| newTextLines: newtxt, | newTextLines: newtxt, | ||||
| opcodes: opcodes, | opcodes: opcodes, | ||||
| @@ -228,8 +228,8 @@ else if ($action == 'savetagfile') { | |||||
| $msg = " | $msg = " | ||||
| <form name='form1' action='tag_test_action.php' target='blank' method='post'> | <form name='form1' action='tag_test_action.php' target='blank' method='post'> | ||||
| <input type='hidden' name='dopost' value='make' /> | <input type='hidden' name='dopost' value='make' /> | ||||
| 测试标签:(需要使用环境变量的不能在此测试)<br> | |||||
| <textarea name='partcode' cols='150' rows='6' style='width:90%;'>{dede:{$tagname} }{/dede:{$tagname}}</textarea><br> | |||||
| 标签测试(环境变量标签不能测试)<br> | |||||
| <textarea name='partcode' cols='150' rows='6' style='width:90%;'>{dede:{$tagname}}{/dede:{$tagname}}</textarea><br> | |||||
| <button type='submit' name='B1' class='btn btn-success btn-sm'>确定</button> | <button type='submit' name='B1' class='btn btn-success btn-sm'>确定</button> | ||||
| </form> | </form> | ||||
| "; | "; | ||||