Skip to content

Commit

Permalink
deploy: 1b9ffe4
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jan 14, 2025
1 parent b98090a commit d9576c7
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 14 deletions.
2 changes: 1 addition & 1 deletion mc_cached_pages_to_refresh.html
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-event-editor.php.html">my-calendar-event-editor.php</a>, <a href="my-calendar-event-editor.php.html#line3786">line 3786</a>
<a href="my-calendar-event-editor.php.html">my-calendar-event-editor.php</a>, <a href="my-calendar-event-editor.php.html#line3787">line 3787</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_event_controls.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-event-editor.php.html">my-calendar-event-editor.php</a>, <a href="my-calendar-event-editor.php.html#line3178">line 3178</a>
<a href="my-calendar-event-editor.php.html">my-calendar-event-editor.php</a>, <a href="my-calendar-event-editor.php.html#line3179">line 3179</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_event_registration_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-event-editor.php.html">my-calendar-event-editor.php</a>, <a href="my-calendar-event-editor.php.html#line3033">line 3033</a>
<a href="my-calendar-event-editor.php.html">my-calendar-event-editor.php</a>, <a href="my-calendar-event-editor.php.html#line3034">line 3034</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_event_statuses.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-event-editor.php.html">my-calendar-event-editor.php</a>, <a href="my-calendar-event-editor.php.html#line3216">line 3216</a>
<a href="my-calendar-event-editor.php.html">my-calendar-event-editor.php</a>, <a href="my-calendar-event-editor.php.html#line3217">line 3217</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_insert_recurring.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-event-editor.php.html">my-calendar-event-editor.php</a>, <a href="my-calendar-event-editor.php.html#line3702">line 3702</a>
<a href="my-calendar-event-editor.php.html">my-calendar-event-editor.php</a>, <a href="my-calendar-event-editor.php.html#line3703">line 3703</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_instance_data.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-event-editor.php.html">my-calendar-event-editor.php</a>, <a href="my-calendar-event-editor.php.html#line3716">line 3716</a>
<a href="my-calendar-event-editor.php.html">my-calendar-event-editor.php</a>, <a href="my-calendar-event-editor.php.html#line3717">line 3717</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_instance_format.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-event-editor.php.html">my-calendar-event-editor.php</a>, <a href="my-calendar-event-editor.php.html#line3728">line 3728</a>
<a href="my-calendar-event-editor.php.html">my-calendar-event-editor.php</a>, <a href="my-calendar-event-editor.php.html#line3729">line 3729</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_use_permalinks.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-event-editor.php.html">my-calendar-event-editor.php</a>, <a href="my-calendar-event-editor.php.html#line3102">line 3102</a>
<a href="my-calendar-event-editor.php.html">my-calendar-event-editor.php</a>, <a href="my-calendar-event-editor.php.html#line3103">line 3103</a>
</li></ul></dd>


Expand Down
1 change: 1 addition & 0 deletions my-calendar-event-editor.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -3007,6 +3007,7 @@

$form = '
&lt;div class="columns">
&lt;input type="hidden" name="r_instance" value="" />
&lt;p>
&lt;label for="r_time">' . __( 'Start Time', 'my-calendar' ) . '&lt;/label>
&lt;input type="time" id="r_time" name="recur_time[]" size="8" value="' . esc_attr( $starttime ) . '" />
Expand Down
17 changes: 11 additions & 6 deletions my-calendar-events.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -1101,14 +1101,19 @@
$date = "&lt;span id='occur_date_$result->occur_id'>&lt;strong>" . $date . '&lt;/strong>&lt;br />' . $time . '&lt;/span>';
$class = ( my_calendar_date_xcomp( mc_date( 'Y-m-d H:i:00', $start ), mc_date( 'Y-m-d H:i:00', time() ) ) ) ? 'past-event' : 'future-event';
if ( (int) $result->occur_id === (int) $occur || 1 === $count ) {
$control = '';
$edit = "&lt;p>$date&lt;/p>&lt;p>&lt;em>" . __( 'Editing Now', 'my-calendar' ) . '&lt;/em>&lt;/p>';
$class = 'current-event';
$control = '';
$control .= "&lt;p>$date&lt;/p>&lt;p>&lt;em>" . __( 'Editing Now', 'my-calendar' ) . '&lt;/em>&lt;/p>';
$class = 'current-event';
} else {
$control = "&lt;p>$date&lt;/p>&lt;p class='instance-buttons'>&lt;button class='button delete_occurrence' type='button' data-event='$result->occur_event_id' data-begin='$result->occur_begin' data-end='$result->occur_end' data-value='$result->occur_id' aria-describedby='occur_date_$result->occur_id' />" . __( 'Delete', 'my-calendar' ) . '&lt;/button> ';
$edit = "&lt;a href='" . admin_url( 'admin.php?page=my-calendar' ) . "&amp;amp;mode=edit&amp;amp;event_id=$id&amp;amp;date=$result->occur_id' class='button' aria-describedby='occur_date_$result->occur_id'>" . __( 'Edit', 'my-calendar' ) . '&lt;/a>&lt;/p>';
$control = "&lt;p>$date&lt;/p>";
$control .= "&lt;p class='instance-buttons'>";
$control .= "&lt;button class='button delete_occurrence' type='button' data-event='$result->occur_event_id' data-begin='$result->occur_begin' data-end='$result->occur_end' data-value='$result->occur_id' aria-describedby='occur_date_$result->occur_id' />" . __( 'Delete', 'my-calendar' ) . '&lt;/button> ';
$control .= "&lt;button class='button edit_occurrence' type='button' data-event='$result->occur_event_id' data-begin='$result->occur_begin' data-end='$result->occur_end' data-value='$result->occur_id' aria-describedby='occur_date_$result->occur_id' />" . __( 'Edit Date', 'my-calendar' ) . '&lt;/button>';
$control .= '&lt;/p>&lt;p>';
$control .= "&lt;a href='" . admin_url( 'admin.php?page=my-calendar' ) . "&amp;amp;mode=edit&amp;amp;event_id=$id&amp;amp;date=$result->occur_id' aria-describedby='occur_date_$result->occur_id'>" . __( 'Edit Details', 'my-calendar' ) . '&lt;/a>';
$control .= '&lt;/p>';
}
$output .= "&lt;li class='$class'>$control$edit&lt;/li>";
$output .= "&lt;li class='$class'>$control&lt;/li>";
}
}

Expand Down

0 comments on commit d9576c7

Please sign in to comment.