@@ -20,9 +20,8 @@ | |||||
<script src="../static/web/js/cropper.min.js"></script> | <script src="../static/web/js/cropper.min.js"></script> | ||||
<style>table{border-collapse:inherit}</style> | <style>table{border-collapse:inherit}</style> | ||||
<script> | <script> | ||||
function checkSubmit() | |||||
{ | |||||
if (document.form1.title.value=="") { | |||||
function checkSubmit() { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("<?php echo $cInfos['titlename'];?>不能为空"); | ShowMsg("<?php echo $cInfos['titlename'];?>不能为空"); | ||||
return false; | return false; | ||||
} | } | ||||
@@ -20,9 +20,8 @@ | |||||
<script src="../static/web/js/cropper.min.js"></script> | <script src="../static/web/js/cropper.min.js"></script> | ||||
<style>table{border-collapse:inherit}</style> | <style>table{border-collapse:inherit}</style> | ||||
<script> | <script> | ||||
function checkSubmit() | |||||
{ | |||||
if (document.form1.title.value=="") { | |||||
function checkSubmit() { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("<?php echo $cInfos['titlename'];?>不能为空"); | ShowMsg("<?php echo $cInfos['titlename'];?>不能为空"); | ||||
document.form1.title.focus(); | document.form1.title.focus(); | ||||
return false; | return false; | ||||
@@ -31,7 +31,7 @@ | |||||
<div class="top-item"> | <div class="top-item"> | ||||
<ul class="mb-0"> | <ul class="mb-0"> | ||||
<li class="pl-0"><a href="javascript:;" id="togglemenu" title="侧边伸缩"><i class="fa fa-dedent"></i></a></li> | <li class="pl-0"><a href="javascript:;" id="togglemenu" title="侧边伸缩"><i class="fa fa-dedent"></i></a></li> | ||||
<?php if ($cuserLogin->getUserType()>=10) {?> | |||||
<?php if ($cuserLogin->getUserType() >= 10) {?> | |||||
<li><a href="sys_info.php" target="main" title="系统配置"><i class="fa fa-cog"></i></a></li> | <li><a href="sys_info.php" target="main" title="系统配置"><i class="fa fa-cog"></i></a></li> | ||||
<li><a href="catalog_main.php" target="main" title="栏目管理"><i class="fa fa-bars"></i></a></li> | <li><a href="catalog_main.php" target="main" title="栏目管理"><i class="fa fa-bars"></i></a></li> | ||||
<li><a href="file_manage_main.php<?php echo DEDEBIZ_SAFE_MODE?'?activepath='.$cfg_medias_dir:'';?>" target="main" title="文件管理"><i class="fa fa-folder"></i></a></li> | <li><a href="file_manage_main.php<?php echo DEDEBIZ_SAFE_MODE?'?activepath='.$cfg_medias_dir:'';?>" target="main" title="文件管理"><i class="fa fa-folder"></i></a></li> | ||||
@@ -53,7 +53,7 @@ | |||||
<td width="12%">模块状态</td> | <td width="12%">模块状态</td> | ||||
<td>管理</td> | <td>管理</td> | ||||
</tr> | </tr> | ||||
<?php if (count($modules)>0) foreach($modules as $k=>$v) {?> | |||||
<?php if (count($modules) > 0) foreach($modules as $k => $v) {?> | |||||
<tr align="center" onmousemove="javascript:this.bgColor='#e9ecef';" onmouseout="javascript:this.bgColor='#ffffff';"> | <tr align="center" onmousemove="javascript:this.bgColor='#e9ecef';" onmouseout="javascript:this.bgColor='#ffffff';"> | ||||
<td><?php echo $v['name'];?></td> | <td><?php echo $v['name'];?></td> | ||||
<td><?php echo $v['time'];?></td> | <td><?php echo $v['time'];?></td> | ||||
@@ -13,7 +13,7 @@ | |||||
<script> | <script> | ||||
function checkSubmit() | function checkSubmit() | ||||
{ | { | ||||
if (document.form1.title.value=="") { | |||||
if (document.form1.title.value == "") { | |||||
ShowMsg("页面名称不能为空"); | ShowMsg("页面名称不能为空"); | ||||
document.form1.title.focus(); | document.form1.title.focus(); | ||||
return false; | return false; | ||||