Changeset 366
- Timestamp:
- 12/18/08 00:28:21 (13 years ago)
- Location:
- dev
- Files:
-
- 6 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/includes/class.killsummarytable.php
r343 r366 245 245 else 246 246 { 247 $header = "<tr class=kb-table-header><td class=kb-table-cell width=\"$width_abs\">Ship class</td><td class=kb-table-cell width=30 align=center>K</td><td class=kb-table-cell width=30 align=center>L</td></tr>";247 $header = "<tr class=kb-table-header><td class=kb-table-cell>Ship class</td><td class=kb-table-cell width=30 align=center>K</td><td class=kb-table-cell width=30 align=center>L</td></tr>"; 248 248 } 249 249 -
dev/mods/ajcron/auto_settings.php
r364 r366 10 10 options::fadd('Blocking Cronjobs', 'ajcron_blocking', 'checkbox'); 11 11 options::fadd('Next scheduled run', 'none', 'custom', array('ajcron', 'getNextRunDisplay'), array('ajcron', 'resetNextRunCheckbox')); 12 options::fadd('Jobs', 'ajcron_jobs', 'textarea:cols: 60:rows:10');12 options::fadd('Jobs', 'ajcron_jobs', 'textarea:cols:70:rows:10'); 13 13 options::fadd('Runtable', 'anone', 'custom', array('ajcron', 'getRuntable')); -
dev/mods/ajcron/init.php
r365 r366 78 78 { 79 79 $int = substr($intervall, 1); 80 if ($int == 60) 81 { 82 $mintoh = 59-date('i', $time); 83 $stoh = 60-date('s', $time); 84 $nextrun = $time+$mintoh*60+$stoh; 85 } 86 else 87 { 88 $mintot = 59 % $int - date('i', $time); 89 $stot = 60 - date('s', $time); 90 while ($mintot < 0) 91 { 92 $mintot += $int; 93 } 94 $nextrun = $time + $mintot * 60 + $stot; 95 } 80 81 // seconds till interval has passed (counts from 0 to int) 82 $seconds_passed = $time % ($int*60); 83 84 // reverse, how many seconds are left til 0 85 $seconds_to_go = ($int*60) - $seconds_passed; 86 87 // just add to current time and we have the next intervall 88 $nextrun = $time + $seconds_to_go; 96 89 } 97 90 return $nextrun; -
dev/mods/apiuser/auto_settings.php
r365 r366 1 1 <?php 2 // this little trick will only request xajax for admin pages 3 event::register('mod_xajax_initialised', array('mod_xajax', 'xajax')); 2 4 3 5 options::oldMenu('APIUser', 'User Management', '?a=user_management'); -
dev/mods/apiuser/init.php
r365 r366 29 29 $xajax->register(XAJAX_FUNCTION, array('showGroup', 'apiuser', 'showGroup')); 30 30 $xajax->register(XAJAX_FUNCTION, array('editGroup', 'apiuser', 'editGroup')); 31 32 mod_xajax::xajax();33 31 } 34 32 } -
dev/mods/xajax/init.php
r365 r366 3 3 // templates/index.tpl 4 4 // you should not change anything in this file but the image generator / whatever bypass change the functions.php 5 6 5 // bypass some of the image generators.. 7 6 if ($page != "thumb" && $page != "mapview" && $page != "sig") 8 7 { 9 8 require_once('mods/xajax/xajax_core/xajax.inc.php'); 10 9 $xajax = new xajax(); 11 10 require_once('mods/xajax/functions.php'); 12 11 event::register('page_assembleheader', 'mod_xajax::insertHTML'); 13 12 … … 26 25 27 26 // on page assembly look wether xajax is needed or not 28 27 function insertHTML($obj) 29 28 { 30 global $mod_xajax_enable; 31 if (!isset($mod_xajax_enable)) 32 { 33 return; 34 } 29 global $mod_xajax_enable; 30 if (!isset($mod_xajax_enable)) 31 { 32 return; 33 } 34 if (IS_IGB) 35 { 36 return; 37 } 35 38 36 39 global $xajax; 37 40 $obj->addBody($xajax->getJavascript("mods/xajax/")); 38 41 }