Changeset 6523
- Timestamp:
- 08/31/08 19:03:03 (5 years ago)
- Files:
-
- modules/branches/2.5/dashboard/module.xml (modified) (2 diffs)
- modules/branches/2.5/dashboard/page.index.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.5/dashboard/module.xml
r5852 r6523 2 2 <rawname>dashboard</rawname> 3 3 <name>System Dashboard</name> 4 <version>2. 4.0.3</version>4 <version>2.5.0</version> 5 5 <candisable>no</candisable> 6 6 <canuninstall>no</canuninstall> … … 18 18 </depends> 19 19 <changelog> 20 *2.5.0* #3134 add amportal DASHBOARD_STATS_UPDATE_TIME, DASHBOARD_INFO_UPDATE_TIME 20 21 *2.4.0.3* #2871 do not show Sangoma wanpipe interfaces in the Network Stats 21 22 *2.4.0.2* #2701, #2843 add proper JSON header to fix some proxy servers, Russian Translation modules/branches/2.5/dashboard/page.index.php
r6514 r6523 544 544 $.ajax({ 545 545 type: 'GET', 546 url: "<?php echo $_SERVER["PHP_SELF"]; ?>?type=tool&display=<?php echo $module_page; ?>&quietmode=1&info=info ",546 url: "<?php echo $_SERVER["PHP_SELF"]; ?>?type=tool&display=<?php echo $module_page; ?>&quietmode=1&info=info&restrictmods=core/dashboard", 547 547 dataType: 'json', 548 548 success: function(data) { … … 576 576 $.ajax({ 577 577 type: 'GET', 578 url: "<?php echo $_SERVER["PHP_SELF"]; ?>?type=tool&display=<?php echo $module_page; ?>&quietmode=1&info=stats ",578 url: "<?php echo $_SERVER["PHP_SELF"]; ?>?type=tool&display=<?php echo $module_page; ?>&quietmode=1&info=stats&restrictmods=core/dashboard", 579 579 dataType: 'json', 580 580 success: function(data) { … … 593 593 function changeSyslog(showall) { 594 594 $('#syslog_button').text('<?php echo _('loading...'); ?>'); 595 $('#syslog').load("<?php echo $_SERVER["PHP_SELF"]; ?>?type=tool&display=<?php echo $module_page; ?>&quietmode=1& info=syslog&showall="+showall,{}, function() {595 $('#syslog').load("<?php echo $_SERVER["PHP_SELF"]; ?>?type=tool&display=<?php echo $module_page; ?>&quietmode=1&restrictmods=core/dashboard&info=syslog&showall="+showall,{}, function() { 596 596 makeSyslogClickable(); 597 597 }); … … 600 600 function hide_notification(domid, module, id) { 601 601 $('#'+domid).fadeOut('slow'); 602 $.post('config.php', {display:'<?php echo $module_page; ?>', quietmode:1, info:'syslog_ack', module:module, id:id });602 $.post('config.php', {display:'<?php echo $module_page; ?>', quietmode:1, info:'syslog_ack', module:module, id:id, restrictmods:'core/dashboard'}); 603 603 } 604 604 function delete_notification(domid, module, id) { 605 605 $('#'+domid).fadeOut('slow'); 606 $.post('config.php', {display:'<?php echo $module_page; ?>', quietmode:1, info:'syslog_delete', module:module, id:id });606 $.post('config.php', {display:'<?php echo $module_page; ?>', quietmode:1, info:'syslog_delete', module:module, id:id, restrictmods:'core/dashboard'}); 607 607 } 608 608 </script>
