#9073 added arrow images and fixed format php
This commit is contained in:
parent
135793454c
commit
6a54b814f3
Binary file not shown.
After Width: | Height: | Size: 179 B |
Binary file not shown.
After Width: | Height: | Size: 194 B |
|
@ -127,27 +127,21 @@ class TipsWindow
|
||||||
echo '<div id="tips_window_modal"></div>';
|
echo '<div id="tips_window_modal"></div>';
|
||||||
$totalTips = $this->getTotalTipsShowUser();
|
$totalTips = $this->getTotalTipsShowUser();
|
||||||
if ($totalTips > 0) {
|
if ($totalTips > 0) {
|
||||||
?>
|
echo '<script>';
|
||||||
|
echo 'var totalTips = "'.$totalTips.'";';
|
||||||
<script>
|
echo 'var url = "'.ui_get_full_url('ajax.php').'";';
|
||||||
var totalTips = <?php echo $totalTips; ?>;
|
echo 'var page = "'.$this->ajaxController.'";';
|
||||||
var url = '<?php echo ui_get_full_url('ajax.php'); ?>';
|
echo 'if(totalTips > 0){';
|
||||||
var page = '<?php echo $this->ajaxController; ?>';
|
echo ' load_tips_modal({';
|
||||||
</script>
|
echo ' target: $("#tips_window_modal"),';
|
||||||
<script>
|
echo ' url: "'.ui_get_full_url('ajax.php').'",';
|
||||||
if(totalTips > 0){
|
echo ' onshow: {';
|
||||||
load_tips_modal({
|
echo ' page: "'.$this->ajaxController.'",';
|
||||||
target: $('#tips_window_modal'),
|
echo ' method: "renderView",';
|
||||||
url: '<?php echo ui_get_full_url('ajax.php'); ?>',
|
echo ' }';
|
||||||
onshow: {
|
echo ' });';
|
||||||
page: '<?php echo $this->ajaxController; ?>',
|
echo '}';
|
||||||
method: 'renderView',
|
echo '</script>';
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1035,4 +1029,4 @@ class TipsWindow
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue