| @@ -1,6 +1,6 @@ | |||
| <?php | |||
| /** | |||
| * 图片测试 | |||
| * 网址复制图片 | |||
| * | |||
| * @version $id:album_testhtml.php 8:26 2010年7月12日 tianya $ | |||
| * @package DedeBIZ.Administrator | |||
| @@ -25,11 +25,11 @@ function testGet() { | |||
| } | |||
| function checkMuList(psid, cmid) { | |||
| if ($Obj('pagestyle3').checked) { | |||
| $Obj('cfgmulist').style.display = 'block'; | |||
| $Obj('cfgmulist').style.display = 'table-row'; | |||
| $Obj('spagelist').style.display = 'none'; | |||
| } else if ($Obj('pagestyle1').checked) { | |||
| $Obj('cfgmulist').style.display = 'none'; | |||
| $Obj('spagelist').style.display = 'block'; | |||
| $Obj('spagelist').style.display = 'table-row'; | |||
| } else { | |||
| $Obj('cfgmulist').style.display = 'none'; | |||
| $Obj('spagelist').style.display = 'none'; | |||
| @@ -38,7 +38,7 @@ function checkMuList(psid, cmid) { | |||
| //图片显示与隐藏zip文件选项 | |||
| function showZipField(formitem, zipid, upid) { | |||
| if (formitem.checked) { | |||
| $Obj(zipid).style.display = 'block'; | |||
| $Obj(zipid).style.display = 'table-row'; | |||
| $Obj(upid).style.display = 'none'; | |||
| $Obj('copyhtml').innerHTML = ''; | |||
| } else { | |||
| @@ -52,7 +52,7 @@ function showHtmlField(formitem, htmlid, upid) { | |||
| return; | |||
| } | |||
| if (formitem.checked) { | |||
| $Obj(htmlid).style.display = 'block'; | |||
| $Obj(htmlid).style.display = 'table-row'; | |||
| $Obj(upid).style.display = 'none'; | |||
| $Obj('formzip').checked = false; | |||
| } else { | |||
| @@ -216,12 +216,9 @@ | |||
| <label>行 <input type="text" name="row" id="row" value="<?php echo $cfg_album_row;?>" class="admin-input-sm"></label> | |||
| <label>列 <input type="text" name="col" id="col" value="<?php echo $cfg_album_col;?>" class="admin-input-sm"></label> | |||
| <label>缩略图宽度限制:<input type="text" name="ddmaxwidth" id="ddmaxwidth" value="<?php echo $cfg_album_ddwidth;?>" class="admin-input-sm"> 像素</label> | |||
| <span>(系统仅是每页输出"行x列"张图片,实现需自行控制样式表)</span> | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <td></td> | |||
| <td>(系统仅是每页输出"行x列"张图片,实现需自行控制样式表)</td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| </tr> | |||
| @@ -244,10 +241,10 @@ | |||
| <tr> | |||
| <td width="90">网上复制:</td> | |||
| <td> | |||
| <label>复制的源网址:<input type="text" name="copysource" value="http://" class="admin-input-lg"></label> | |||
| <span>把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片(防盗链网站需填写您复制图片的其中一个网页网址)</span> | |||
| <input type="button" name="button" id="button" value="预览" onclick="LoadTestDiv()"> | |||
| <div id="copyhtml" style="margin:10px 0;padding:10px;width:98%;height:200px;border:1px solid #ccc" contenteditable="true">粘贴到这里</div> | |||
| <label>源网址:<input type="text" name="copysource" value="http://" class="admin-input-lg"></label> | |||
| <button type="button" name="button" id="button" class="btn btn-success btn-sm" onclick="LoadTestDiv()">预览</button> | |||
| <p class="my-2">(图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片防盗链网站需填写您复制图片的其中一个网页网址)</p> | |||
| <div id="copyhtml" contenteditable="true" class="form-control admin-textarea-xl"></div> | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| @@ -206,12 +206,9 @@ | |||
| <label>行 <input type="text" name="row" id="row" value="<?php echo $irow;?>" class="admin-input-sm"></label> | |||
| <label>列 <input type="text" name="col" id="col" value="<?php echo $icol;?>" class="admin-input-sm"></label> | |||
| <label>缩略图宽度限制:<input type="text" name="ddmaxwidth" id="ddmaxwidth" value="<?php echo $ddmaxwidth;?>" class="admin-input-sm"> 像素</label> | |||
| <span>(系统仅是每页输出"行x列"张图片,实现需自行控制样式表)</span> | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <td></td> | |||
| <td>(系统仅是每页输出"行x列"张图片,实现需自行控制样式表)</td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| </tr> | |||
| @@ -247,10 +244,10 @@ | |||
| <tr> | |||
| <td width="90">网上复制:</td> | |||
| <td> | |||
| <label>复制的源网址:<input type="text" name="copysource" value="http://" class="admin-input-lg"></label> | |||
| <span>把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片(防盗链网站需填写您复制图片的其中一个网页网址)</span> | |||
| <input type="button" name="button" id="button" value="预览" onclick="LoadTestDiv()"> | |||
| <div id="copyhtml" style="margin:10px 0;padding:10px;width:98%;height:200px;border:1px solid #ccc" contenteditable="true">粘贴到这里</div> | |||
| <label>源网址:<input type="text" name="copysource" value="http://" class="admin-input-lg"></label> | |||
| <button type="button" name="button" id="button" class="btn btn-success btn-sm" onclick="LoadTestDiv()">预览</button> | |||
| <p class="my-2">(图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片防盗链网站需填写您复制图片的其中一个网页网址)</p> | |||
| <div id="copyhtml" contenteditable="true" class="form-control admin-textarea-xl"></div> | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| @@ -82,12 +82,9 @@ function LoadTestDiv() { | |||
| }) | |||
| } | |||
| function checkMuList(psid, cmid) { | |||
| if (document.getElementById('pagestyle3').checked) | |||
| { | |||
| if (document.getElementById('pagestyle3').checked) { | |||
| document.getElementById('spagelist').style.display = 'none'; | |||
| } | |||
| else if (document.getElementById('pagestyle1').checked) | |||
| { | |||
| } else if (document.getElementById('pagestyle1').checked) { | |||
| document.getElementById('spagelist').style.display = 'block'; | |||
| } else { | |||
| document.getElementById('spagelist').style.display = 'none'; | |||
| @@ -95,7 +92,7 @@ function checkMuList(psid, cmid) { | |||
| } | |||
| //图片显示与隐藏zip文件选项 | |||
| function ShowZipField(formitem, zipid, upid) { | |||
| if (formitem.checked){ | |||
| if (formitem.checked) { | |||
| document.getElementById(zipid).style.display = 'block'; | |||
| document.getElementById(upid).style.display = 'none'; | |||
| document.getElementById('formhtml').checked = false; | |||