那些人可以添加上线卡片
This commit is contained in:
parent
bd2bc7261b
commit
6a138cf45f
@ -2,7 +2,7 @@
|
||||
$user = SESS::get('EVENTUserInfo');
|
||||
// if(isn($user))exit();
|
||||
$user = json_decode($user, true);
|
||||
$user['name'] = "罗松柏";
|
||||
//$user['name'] = "吴昊";
|
||||
$canEdit = in_array($user['name'], $ROLES);
|
||||
$isgxvrole ='1'; //in_array($user['name'], $GXVROLES); //更新信息查看区浏览权限
|
||||
$isgxyyerole = in_array($user['name'], $GXYYEROLES);//更新运营中心编辑权限
|
||||
@ -356,8 +356,8 @@ if ($act == 'newevent') {
|
||||
</div>
|
||||
|
||||
<div id="gamesbtn" style="padding:0 11px 15px 11px;">
|
||||
<!-- <?php if ($canEdit) { ?><a href="./?app=edit" class='btn btn-minier btn-pink'>编辑游戏</a><? } ?> -->
|
||||
<a href="./?app=edit" class='btn btn-minier btn-pink'>编辑游戏</a>
|
||||
<?php if ($canEdit) { ?><a href="./?app=edit" class='btn btn-minier btn-pink'>编辑游戏</a><? } ?>
|
||||
<!-- <a href="./?app=edit" class='btn btn-minier btn-pink'>编辑游戏</a>-->
|
||||
<button value='' onclick='onlyShowGame(this)' class='btn btn-minier btn-info'>显示全部</button>
|
||||
<?php
|
||||
foreach ($GAMES as $g) {
|
||||
@ -2366,10 +2366,10 @@ if ($act == 'newevent') {
|
||||
|
||||
function showEventInfo(start, btns, stype) {
|
||||
var form = $("<form class=''><label>选择游戏和事件类型 (" + start + ")</label><div class='space-1'></div></form>");
|
||||
if("<?=$issxarole?>" != "-1"){
|
||||
form.append('<?=gameGameListSelect('game')?> <select id="event"><option value="上线">上线</option></select>');
|
||||
}else {
|
||||
if("<?=$issxarole?>" != "1"){
|
||||
form.append('<?=gameGameListSelect('game')?> <select id="event"><option value="打包">打包</option><option value="版本更新">版本更新</option><option value="修复外网">修复外网</option><option value="上线">上线</option><option value="节点">节点</option></select>');
|
||||
}else {
|
||||
form.append('<?=gameGameListSelect('game')?> <select id="event"><option value="上线">上线</option></select>');
|
||||
}
|
||||
|
||||
form.append("<div class='space-5'></div><label for='form-field-mask-1'>事件内容</label><input class='form-control' id='title' autocomplete=off type=text value='' /> ");
|
||||
|
Loading…
Reference in New Issue
Block a user