New upstream version 0.6.27

This commit is contained in:
geos_one
2025-08-06 18:11:51 +02:00
parent a6b4158f1f
commit 56a986c0ba
563 changed files with 45811 additions and 35282 deletions

View File

@@ -1,37 +1,53 @@
<?php if($this->config->conf['use_calendar']){
$start = $this->session->get('start','');
$end = $this->session->get('end','');
?>
<?php if ($this->config->conf['use_calendar']) {
$start = $this->session->get('start', '');
$end = $this->session->get('end', '');
?>
<script type="text/javascript">
jQuery(function() {
jQuery("#button").click(function() {
jQuery("#toggle-timerange").toggle("blind",500);
jQuery("#toggle-timerange").toggle("blind",500);
return false;
});
jQuery("#dpstart").datetimepicker({ showOn: 'button', buttonImage: '<?php echo url::base()?>media/images/view-calendar.png', buttonImageOnly: true, constrainInput: false });
jQuery("#dpend").datetimepicker({ showOn: 'button', buttonImage: '<?php echo url::base()?>media/images/view-calendar.png', buttonImageOnly: true, constrainInput: false });
jQuery("#dpstart").datetimepicker({ showOn: 'button',
buttonImage: '<?php echo url::base(); ?>media/images/view-calendar.png',
buttonImageOnly: true, constrainInput: false });
jQuery("#dpend").datetimepicker({ showOn: 'button',
buttonImage: '<?php echo url::base(); ?>media/images/view-calendar.png',
buttonImageOnly: true,
constrainInput: false });
});
</script>
<div id="toggle-timerange" class="ui-widget" style="Display: none;">
<div class="p4 ui-widget-header ui-corner-top"><?php echo Kohana::lang('common.timerange-selector-title') ?></div>
<div class="p4 ui-widget-header ui-corner-top"><?php echo Kohana::lang('common.timerange-selector-title'); ?></div>
<div class="p4 ui-widget-content ui-corner-bottom">
<form method="GET" action="<?php echo url::base(TRUE).Router::$current_uri?>">
<form method="GET" action="<?php echo url::base(true) . Router::$current_uri; ?>">
<fieldset>
<legend><?php echo Kohana::lang('common.timerange-selector-legend') ?></legend>
<?php foreach($_GET as $key=>$val){
if( $key == "start" )
continue;
if( $key == "end" )
continue;
echo "<input type=\"hidden\" name=\"".htmlspecialchars($key)."\" value=\"".htmlspecialchars($val)."\">\n";
}?>
<label for=start"><?php echo Kohana::lang('common.start') ?>: </label><input id="dpstart" type="text" size="18" maxlength="40" name="start" value="<?php echo $start?>">
<label for=end"><?php echo Kohana::lang('common.end') ?>: </label><input id="dpend" type="text" size="18" maxlength="40" name="end" value="<?php echo $end?>">
<input type="submit" id="submit" class="ui-button ui-state-default ui-corner-all" value="<?php echo Kohana::lang('common.timerange-selector-submit-button') ?>"></input>
<input type="button" id="remove_timerange_session" class="ui-button ui-state-default ui-corner-all" value="<?php echo Kohana::lang('common.timerange-selector-clear-button') ?>"></input>
<legend><?php echo Kohana::lang('common.timerange-selector-legend'); ?></legend>
<?php
foreach ($_GET as $key => $val) {
if ($key == 'start') {
continue;
}
if ($key == 'end') {
continue;
}
echo '<input type="hidden" name="' . htmlspecialchars($key) . '" value="' . htmlspecialchars($val) . "\">\n";
}
?>
<label for=start"><?php echo Kohana::lang('common.start'); ?>: </label>
<input id="dpstart" type="text" size="18" maxlength="40" name="start" value="
<?php echo $start; ?>">
<label for=end">
<?php echo Kohana::lang('common.end'); ?>: </label>
<input id="dpend" type="text" size="18" maxlength="40" name="end" value="<?php echo $end; ?>">
<input type="submit" id="submit" class="ui-button ui-state-default ui-corner-all"
value="<?php echo Kohana::lang('common.timerange-selector-submit-button'); ?>"></input>
<input type="button" id="remove_timerange_session" class="ui-button ui-state-default ui-corner-all"
value="<?php echo Kohana::lang('common.timerange-selector-clear-button'); ?>"></input>
</fieldset>
</form><p>
</div>
</div>
<?php } ?>
<?php
}//end if