mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	replace '<?=' by '<?php echo'
This commit is contained in:
		
							parent
							
								
									da6af81ec9
								
							
						
					
					
						commit
						5c32c6edbe
					
				|  | @ -1063,7 +1063,7 @@ $('#acceptkeywords').click(function(ev) { | |||
| 		case SeedDMS_Core_AttributeDefinition::type_date: | ||||
| ?>
 | ||||
|         <span class="input-append date datepicker" style="display: inline;" data-date="<?php echo date('Y-m-d'); ?>" data-date-format="yyyy-mm-dd" data-date-language="<?php echo str_replace('_', '-', $this->params['session']->getLanguage()); ?>"> | ||||
| 					<input class="span4" size="16" name="<?= $fieldname ?>[<?= $attrdef->getId() ?>]" type="text" value="<?php if($objvalue) echo $objvalue; else echo "" /*date('Y-m-d')*/; ?>"> | ||||
| 					<input class="span4" size="16" name="<?php echo $fieldname ?>[<?php echo $attrdef->getId() ?>]" type="text" value="<?php if($objvalue) echo $objvalue; else echo "" /*date('Y-m-d')*/; ?>"> | ||||
|           <span class="add-on"><i class="icon-calendar"></i></span> | ||||
| 				</span> | ||||
| <?php | ||||
|  | @ -2273,7 +2273,7 @@ mayscript> | |||
| 			'editable': false, | ||||
| 			'selectable': true, | ||||
| 			'style': 'box', | ||||
| 			'locale': '<?= $this->params['session']->getLanguage() ?>' | ||||
| 			'locale': '<?php echo $this->params['session']->getLanguage() ?>' | ||||
| 		}; | ||||
| 
 | ||||
| 		function onselect() { | ||||
|  | @ -2292,7 +2292,7 @@ mayscript> | |||
| 		timeline = new links.Timeline(document.getElementById('timeline'), options); | ||||
| 		links.events.addListener(timeline, 'select', onselect); | ||||
| 		$.getJSON( | ||||
| 			'<?= $timelineurl ?>',  | ||||
| 			'<?php echo $timelineurl ?>',  | ||||
| 			function(data) { | ||||
| 				$.each( data, function( key, val ) { | ||||
| 					val.start = new Date(val.start); | ||||
|  | @ -2306,7 +2306,7 @@ mayscript> | |||
| 
 | ||||
| 	protected function printTimelineHtml($height) { /* {{{ */ | ||||
| ?>
 | ||||
| 	<div id="timeline" style="height: <?= $height ?>px;"></div> | ||||
| 	<div id="timeline" style="height: <?php echo $height ?>px;"></div> | ||||
| <?php | ||||
| 	} /* }}} */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -205,7 +205,7 @@ $(document).ready(function () { | |||
| ?>
 | ||||
| <form action="../out/out.Timeline.php" class="form form-inline" name="form1" id="form1"> | ||||
| 	<div class="control-group"> | ||||
| 		<label class="control-label" for="startdate"><?= getMLText('date') ?></label>
 | ||||
| 		<label class="control-label" for="startdate"><?php printMLText('date') ?></label>
 | ||||
| 		<div class="controls"> | ||||
|        <span class="input-append date" style="display: inline;" id="fromdate" data-date="<?php echo date('Y-m-d', $from); ?>" data-date-format="yyyy-mm-dd" data-date-language="<?php echo str_replace('_', '-', $this->params['session']->getLanguage()); ?>"> | ||||
| 			 <input type="text" class="input-small" name="fromdate" value="<?php echo date('Y-m-d', $from); ?>"/> | ||||
|  | @ -218,15 +218,15 @@ $(document).ready(function () { | |||
| 		</div> | ||||
| 	</div> | ||||
| 	<div class="control-group"> | ||||
| 		<label class="control-label" for="skip"><?= getMLText('exclude_items') ?></label>
 | ||||
| 		<label class="control-label" for="skip"><?php printMLText('exclude_items') ?></label>
 | ||||
| 		<div class="controls"> | ||||
| 			<input type="checkbox" name="skip[]" value="add_file" <?= ($skip &&  in_array('add_file', $skip)) ? 'checked' : '' ?>> <?= getMLText('timeline_skip_add_file') ?><br />
 | ||||
| 			<input type="checkbox" name="skip[]" value="status_change_0" <?= ($skip && in_array('status_change_0', $skip)) ? 'checked' : '' ?>> <?= getMLText('timeline_skip_status_change_0') ?><br />
 | ||||
| 			<input type="checkbox" name="skip[]" value="status_change_1" <?= ($skip && in_array('status_change_1', $skip)) ? 'checked' : '' ?>> <?= getMLText('timeline_skip_status_change_1') ?><br />
 | ||||
| 			<input type="checkbox" name="skip[]" value="status_change_2" <?= ($skip && in_array('status_change_2', $skip)) ? 'checked' : '' ?>> <?= getMLText('timeline_skip_status_change_2') ?><br />
 | ||||
| 			<input type="checkbox" name="skip[]" value="status_change_3" <?= ($skip && in_array('status_change_3', $skip)) ? 'checked' : '' ?>> <?= getMLText('timeline_skip_status_change_3') ?><br />
 | ||||
| 			<input type="checkbox" name="skip[]" value="status_change_-1" <?= ($skip && in_array('status_change_-1', $skip)) ? 'checked' : '' ?>> <?= getMLText('timeline_skip_status_change_-1') ?><br />
 | ||||
| 			<input type="checkbox" name="skip[]" value="status_change_-3" <?= ($skip && in_array('status_change_-3', $skip)) ? 'checked' : '' ?>> <?= getMLText('timeline_skip_status_change_-3') ?><br />
 | ||||
| 			<input type="checkbox" name="skip[]" value="add_file" <?php echo ($skip &&  in_array('add_file', $skip)) ? 'checked' : '' ?>> <?php printMLText('timeline_skip_add_file') ?><br />
 | ||||
| 			<input type="checkbox" name="skip[]" value="status_change_0" <?php echo ($skip && in_array('status_change_0', $skip)) ? 'checked' : '' ?>> <?php printMLText('timeline_skip_status_change_0') ?><br />
 | ||||
| 			<input type="checkbox" name="skip[]" value="status_change_1" <?php echo ($skip && in_array('status_change_1', $skip)) ? 'checked' : '' ?>> <?php printMLText('timeline_skip_status_change_1') ?><br />
 | ||||
| 			<input type="checkbox" name="skip[]" value="status_change_2" <?php echo ($skip && in_array('status_change_2', $skip)) ? 'checked' : '' ?>> <?php printMLText('timeline_skip_status_change_2') ?><br />
 | ||||
| 			<input type="checkbox" name="skip[]" value="status_change_3" <?php echo ($skip && in_array('status_change_3', $skip)) ? 'checked' : '' ?>> <?php printMLText('timeline_skip_status_change_3') ?><br />
 | ||||
| 			<input type="checkbox" name="skip[]" value="status_change_-1" <?php echo ($skip && in_array('status_change_-1', $skip)) ? 'checked' : '' ?>> <?php printMLText('timeline_skip_status_change_-1') ?><br />
 | ||||
| 			<input type="checkbox" name="skip[]" value="status_change_-3" <?php echo ($skip && in_array('status_change_-3', $skip)) ? 'checked' : '' ?>> <?php printMLText('timeline_skip_status_change_-3') ?><br />
 | ||||
| 		</div> | ||||
| 	</div> | ||||
| 	<div class="control-group"> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann