Skip to content

Commit

Permalink
sp 4.9.0 - template changes
Browse files Browse the repository at this point in the history
  • Loading branch information
geo varghese committed Mar 31, 2021
1 parent 5480bd6 commit 2378234
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion themes/simple/views/common/forgot.ctp.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<input type="hidden" name="sec" value="requestpass">
<div class="form-group">
<label for="email"><?php echo $spText['login']['Email']?>:</label>
<input type="email" name="email" value="<?php echo $post['email']?>" required="required" class="form-control">
<input type="email" name="email" value="<?php echo htmlentities($post['email'], ENT_QUOTES)?>" required="required" class="form-control">
<?php echo $errMsg['email']?>
</div>
<div class="form-group">
Expand Down
7 changes: 6 additions & 1 deletion themes/simple/views/common/login.ctp.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,9 @@
<?php }?>
</form>
</div>
</div>
</div>
<script type="text/javascript">
$(document).ready(function() {
scriptDoLoad("<?php echo SP_WEBPATH?>/?sec=sync_all_se", "tmp");
});
</script>
2 changes: 1 addition & 1 deletion themes/simple/views/report/archive.ctp.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
?>
</tr>
<?php
if (count($list) > 0) {
if (!empty($list) && count($list) > 0) {
foreach($indexList as $keywordId => $rankValue){
$listInfo = $list[$keywordId];
$positionInfo = $listInfo['position_info'];
Expand Down

0 comments on commit 2378234

Please sign in to comment.