PluginProbe
ShiftController Employee Shift Scheduling / 4.9.71
ShiftController Employee Shift Scheduling v4.9.71
4.9.97 4.9.96 4.9.95 4.9.74 4.9.75 4.9.76 4.9.77 4.9.78 4.9.84 4.9.85 4.9.87 4.9.91 4.9.92 trunk 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.2.4 All 38 releases
← All changes | sh4/api/html/view.html.php +1 -10 4.9.954.9.71 View file →
@@ -91,13 +91,10 @@
91 91 <strong>to</strong> (__To Date__, YYYYMMDD / __To Date Time__, YYYYMMDDHHMM)<br>
92 92 <strong>status_id</strong> (publish, draft)<br>
93 93 </p>
94 94
95 +<?php if( class_exists('SH4_CFields_Model') ) : ?>
95 96 <?php
96 -$cfields = array();
97 -?>
98 -<?php if( class_exists('SH4_CFields_Model') or class_exists('SH4_CFields2_Model') ) : ?>
99 -<?php
100 97 $f = ShiftController4::$instance->root();
101 98 $cfieldsQuery = $f->make('SH4_CFields_Query');
102 99 $cfields = $cfieldsQuery->read();
103 100 ?>
@@ -226,11 +223,8 @@
226 223 <strong>start</strong> (__Start Date Time__, YYYYMMDDHHMM)<br>
227 224 <strong>end</strong> (__End Date Time__, YYYYMMDDHHMM)<br>
228 225 <strong>status_id</strong> (publish, draft)<br>
229 226 <strong>conflict</strong> (__Set to 1 to allow creation of shifts with conflicts__) <em>__optional__</em><br>
230 -<?php foreach( $cfields as $cfield ) : ?>
231 -<strong><?php echo $cfield->getName(); ?></strong> (<?php echo $cfield->getLabel(); ?>)<br>
232 -<?php endforeach; ?>
233 227 </p>
234 228
235 229 <p>
236 230 <strong>__Examples__</strong>
@@ -286,11 +280,8 @@
286 280 <strong>start</strong> (__Start Date Time__, YYYYMMDDHHMM) <em>__optional__</em><br>
287 281 <strong>end</strong> (__End Date Time__, YYYYMMDDHHMM) <em>__optional__</em><br>
288 282 <strong>status_id</strong> (publish, draft) <em>__optional__</em><br>
289 283 <strong>conflict</strong> (__Set to 1 to allow creation of shifts with conflicts__) <em>__optional__</em><br>
290 -<?php foreach( $cfields as $cfield ) : ?>
291 -<strong><?php echo $cfield->getName(); ?></strong> (<?php echo $cfield->getLabel(); ?>)<br>
292 -<?php endforeach; ?>
293 284 </p>
294 285
295 286 <p>
296 287 <strong>__Examples__</strong>