"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "themes/simple/views/user/list.ctp.php" between
seopanel.v.4.5.0.zip and seopanel.v.4.6.0.zip

About: Seo Panel is a seo control panel for managing search engine optimization of your websites.

list.ctp.php  (seopanel.v.4.5.0):list.ctp.php  (seopanel.v.4.6.0)
<form name="listform" id="listform"> <?php $submitLink = "scriptDoLoadPost('users.php', 'listform', 'content')";?>
<form name="listform" id="listform" onsubmit="<?php echo $submitLink?>;return fa
lse;">
<?php echo showSectionHead($spTextPanel['User Manager']); ?> <?php echo showSectionHead($spTextPanel['User Manager']); ?>
<table width="88%" border="0" cellspacing="0" cellpadding="0" class="search"> <table class="search">
<?php $submitLink = "scriptDoLoadPost('users.php', 'listform', 'content')
";?>
<tr> <tr>
<th><?php echo $spText['common']['Name']?>: </th> <th><?php echo $spText['common']['Keyword']?>: </th>
<td width="100px"> <td>
<input type="text" name="user_name" value="<?php echo htm lentities($info['user_name'], ENT_QUOTES)?>" onblur="<?php echo $submitLink?>"> <input type="text" name="user_name" value="<?php echo htm lentities($info['user_name'], ENT_QUOTES)?>" onblur="<?php echo $submitLink?>">
</td> </td>
<th><?php echo $spText['common']['Status']?>: </th> <th><?php echo $spText['common']['Status']?>: </th>
<td width="100px"> <td>
<select name="stscheck" onchange="<?php echo $submitLink? >"> <select name="stscheck" onchange="<?php echo $submitLink? >">
<option value="select">-- <?php echo $spText['com mon']['Select']?> --</option> <option value="select">-- <?php echo $spText['com mon']['Select']?> --</option>
<?php foreach($statusList as $key => $val){?> <?php foreach($statusList as $key => $val){?>
<?php if(isset($info['stscheck']) && $inf o['stscheck'] === $val){?> <?php if(isset($info['stscheck']) && $inf o['stscheck'] === $val){?>
<option value="<?php echo $val?>" selected><?php echo $key?></option> <option value="<?php echo $val?>" selected><?php echo $key?></option>
<?php }else{?> <?php }else{?>
<option value="<?php echo $val?>" ><?php echo $key?></option> <option value="<?php echo $val?>" ><?php echo $key?></option>
<?php }?> <?php }?>
<?php }?> <?php }?>
</select> </select>
</td> </td>
<th><?php echo $spText['login']['User Type']?>: </th>
<td>
<select name="user_type_id" onchange="<?php echo $submitL
ink?>">
<option value="">-- <?php echo $spText['common'][
'Select']?> --</option>
<?php foreach($userTypeList as $key => $val){?>
<?php if(isset($info["user_type_id"]) &&
($info["user_type_id"] == $key)){?>
<option value="<?php echo $key?>"
selected><?php echo $val['user_type']?></option>
<?php }else{?>
<option value="<?php echo $key?>"
><?php echo $val['user_type']?></option>
<?php }?>
<?php }?>
</select>
</td>
<td style="text-align: center;"> <td style="text-align: center;">
<a href="javascript:void(0);" onclick="<?php echo $submit Link; ?>" class="actionbut"> <a href="javascript:void(0);" onclick="<?php echo $submit Link; ?>" class="actionbut">
<?php echo $spText['button']['Search']?> <?php echo $spText['button']['Search']?>
</a> </a>
</td> </td>
</tr> </tr>
</table> </table>
<?php echo $pagingDiv?> <?php echo $pagingDiv?>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list"> <table class="list">
<tr class="listHead"> <tr class="listHead">
<td class="leftid"><input type="checkbox" id="checkall" onclick=" checkList('checkall')"></td> <td><input type="checkbox" id="checkall" onclick="checkList('chec kall')"></td>
<td><?php echo $spText['common']['Id']?></td> <td><?php echo $spText['common']['Id']?></td>
<td><?php echo $spText['login']['Username']?></td> <td><?php echo $spText['login']['Username']?></td>
<td><?php echo $spText['login']['User Type']?></td>
<td><?php echo $spText['common']['Name']?></td> <td><?php echo $spText['common']['Name']?></td>
<td><?php echo $spText['login']['Email']?></td> <td><?php echo $spText['login']['Email']?></td>
<td><?php echo $spTextUser['Expiry Date']?></td> <td><?php echo $spTextUser['Expiry Date']?></td>
<td><?php echo $spText['common']['Status']?></td> <td><?php echo $spText['common']['Status']?></td>
<td class="right"><?php echo $spText['common']['Action']?></td> <td><?php echo $spText['common']['Action']?></td>
</tr> </tr>
<?php <?php
$colCount = 8; $colCount = 9;
if(count($userList) > 0){ if(count($userList) > 0){
$catCount = count($userList);
foreach($userList as $i => $userInfo){ foreach($userList as $i => $userInfo){
$class = ($i % 2) ? "blue_row" : "white_row"; $usernameLink = scriptAJAXLinkHref('users.php', 'content', "sec=edit
if($catCount == ($i + 1)){ &userId={$userInfo['id']}", "{$userInfo['username']}");
$leftBotClass = "tab_left_bot";
$rightBotClass = "tab_right_bot";
}else{
$leftBotClass = "td_left_border td_br_right";
$rightBotClass = "td_br_right";
}
$usernameLink = scriptAJAXLinkHref('users.php', 'content', "sec=edit
&userId={$userInfo['id']}", "{$userInfo['username']}")
?> ?>
<tr class="<?php echo $class?>"> <tr>
<td class="<?php echo $leftBotClass?>"><input typ <td><input type="checkbox" name="ids[]" value="<?
e="checkbox" name="ids[]" value="<?php echo $userInfo['id']?>"></td> php echo $userInfo['id']?>"></td>
<td class="td_br_right"><?php echo $userInfo['id' <td><?php echo $userInfo['id']?></td>
]?></td> <td><?php echo $usernameLink?></td>
<td class="td_br_right left"><?php echo $username <td><?php echo $userTypeList[$userInfo['utype_id'
Link?></td> ]]['user_type']?></td>
<td class="td_br_right left"><?php echo $userInfo <td><?php echo $userInfo['first_name']." ".$userI
['first_name']." ".$userInfo['last_name']?></td> nfo['last_name']?></td>
<td class="td_br_right left"><?php echo $userInfo <td><?php echo $userInfo['email']?></td>
['email']?></td> <td><?php echo formatDate($userInfo['expiry_date'
<td class="td_br_right left"><?php echo formatDat ]); ?></td>
e($userInfo['expiry_date']); ?></td> <td><?php echo $userInfo['status'] ? $spText['com
<td class="td_br_right"><?php echo $userInfo['sta mon']["Active"] : $spText['common']["Inactive"]; ?></td>
tus'] ? $spText['common']["Active"] : $spText['common']["Inactive"]; ?></td> <td>
<td class="<?php echo $rightBotClass?>" width="10
0px">
<?php <?php
if($userInfo['status']){ if($userInfo['status']){
$statVal = "Inactivate"; $statVal = "Inactivate";
$statLabel = $spText['com mon']["Inactivate"]; $statLabel = $spText['com mon']["Inactivate"];
}else{ }else{
$statVal = "Activate"; $statVal = "Activate";
$statLabel = $spText['com mon']["Activate"]; $statLabel = $spText['com mon']["Activate"];
} }
?> ?>
<select name="action" id="action<?php ech o $userInfo['id']?>" onchange="doAction('users.php', 'content', 'userId=<?php ec ho $userInfo['id']?>&pageno=<?php echo $pageNo?>', 'action<?php echo $userInfo[' id']?>')"> <select name="action" id="action<?php ech o $userInfo['id']?>" onchange="doAction('users.php', 'content', 'userId=<?php ec ho $userInfo['id']?>&pageno=<?php echo $pageNo?>', 'action<?php echo $userInfo[' id']?>')" style="width: 180px;">
<option value="select">-- <?php e cho $spText['common']['Select']?> --</option> <option value="select">-- <?php e cho $spText['common']['Select']?> --</option>
<option value="<?php echo $statVa l?>"><?php echo $statLabel?></option> <option value="<?php echo $statVa l?>"><?php echo $statLabel?></option>
<option value="edit"><?php echo $ spText['common']['Edit']?></option> <option value="edit"><?php echo $ spText['common']['Edit']?></option>
<?php if ($isSubscriptionActive &
& ($userTypeList[$userInfo['utype_id']]['access_type'] == 'read')) {?>
<option value="website-ac
cess-manager"><?php echo $spTextPanel['Website Access Manager']?></option>
<?php }?>
<option value="delete"><?php echo $spText['common']['Delete']?></option> <option value="delete"><?php echo $spText['common']['Delete']?></option>
</select> </select>
</td> </td>
</tr> </tr>
<?php <?php
} }
}else{ }else{
echo showNoRecordsList($colCount-2); echo showNoRecordsList($colCount-2);
} }
?> ?>
<tr class="listBot">
<td class="left" colspan="<?php echo ($colCount-1)?>"></td>
<td class="right"></td>
</tr>
</table> </table>
<?php <?php
if (SP_DEMO) { if (SP_DEMO) {
$actFun = $inactFun = $delFun = "alertDemoMsg()"; $actFun = $inactFun = $delFun = "alertDemoMsg()";
} else { } else {
$actFun = "confirmSubmit('users.php', 'listform', 'content', '&sec=activatea ll&pageno=$pageNo')"; $actFun = "confirmSubmit('users.php', 'listform', 'content', '&sec=activatea ll&pageno=$pageNo')";
$inactFun = "confirmSubmit('users.php', 'listform', 'content', '&sec=inactiv ateall&pageno=$pageNo')"; $inactFun = "confirmSubmit('users.php', 'listform', 'content', '&sec=inactiv ateall&pageno=$pageNo')";
$delFun = "confirmSubmit('users.php', 'listform', 'content', '&sec=deleteall &pageno=$pageNo')"; $delFun = "confirmSubmit('users.php', 'listform', 'content', '&sec=deleteall &pageno=$pageNo')";
} }
?> ?>
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="actionSec" > <table class="actionSec">
<tr> <tr>
<td style="padding-top: 6px;"> <td style="padding-top: 6px;">
<a onclick="scriptDoLoad('users.php', 'content', 'sec=new')" href ="javascript:void(0);" class="actionbut"> <a onclick="scriptDoLoad('users.php', 'content', 'sec=new')" href ="javascript:void(0);" class="actionbut">
<?php echo $spTextPanel['New User']?> <?php echo $spTextPanel['New User']?>
</a>&nbsp;&nbsp; </a>&nbsp;&nbsp;
<a onclick="<?php echo $actFun?>" href="javascript:void(0);" clas s="actionbut"> <a onclick="<?php echo $actFun?>" href="javascript:void(0);" clas s="actionbut">
<?php echo $spText['common']["Activate"]?> <?php echo $spText['common']["Activate"]?>
</a>&nbsp;&nbsp; </a>&nbsp;&nbsp;
<a onclick="<?php echo $inactFun?>" href="javascript:void(0);" cl ass="actionbut"> <a onclick="<?php echo $inactFun?>" href="javascript:void(0);" cl ass="actionbut">
<?php echo $spText['common']["Inactivate"]?> <?php echo $spText['common']["Inactivate"]?>
 End of changes. 17 change blocks. 
45 lines changed or deleted 54 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)