bbCode is on the list for beta 4 darkonia
Here is 0.0.3 (beta 3)
![Very Happy :D](./images/smilies/icon_biggrin.gif)
:
http://cmxmods.net/downloads/Calendar%2 ... _v003a.zip
Changes include:
- fix 2:00 bug / pacific time bug
- destroy cache once alert is entered / deleted
- "global" text in UCP & index
- re-structure ucp_alerts.html
- fix wrong month bug
Thanks lovelysummer for creating a subsilver file for ucp_alerts.html
Code: Select all
<!-- INCLUDE ucp_header.html -->
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th colspan="2" valign="middle">{L_UCP_ALERTS_TITLE}</th>
</tr>
<tr>
<td class="row3" colspan="2"><span class="gensmall">{L_UCP_ALERTS_INFO}</span></td>
</tr>
<tr>
<td class="row1" width="40%"><label for="add"><b class="genmed">{L_UCP_ALERTS_ADD_NEW}:</b></label><br /><span class="genmed">{L_UCP_ALERTS_ADD_NEW_INFO} </span><br />
</td>
<td class="row2" align="center"><textarea name="add" rows="2" cols="50" id="add" ></textarea><br />
{L_DAY}: <select name="sday">{S_DAY}</select> {L_MONTH}: <select name="smonth">{S_MONTH}</select> {L_YEAR}: <select name="syear">{S_YEAR}</select><br />
</td >
</tr>
<tr>
<td class="row1" width="40%"><label for="add"><b class="genmed">{L_UCP_ALERTS_DAYS_SELECT}:</b></label><br /><span class="genmed">{L_UCP_ALERTS_DAYS_SELECT_INFO} </span></td>
<td class="row2" align="left"><input type="checkbox" value="1" name="day" /> {L_UCP_ALERTS_DAY} <input type="checkbox" value="1" name="daybefore" /> {L_UCP_ALERTS_DAY_BEFORE} <input type="checkbox" value="1" name="week" /> {L_UCP_ALERTS_WEEK_BEFORE} <br /><input type="checkbox" value="1" name="week_leading" /> {L_UCP_ALERTS_WEEK_LEADING}</td>
</tr>
<!-- IF U_ALERT_GLOBAL -->
<tr>
<td class="row1" width="40%"><label for="alert_global"><b class="genmed">{L_UCP_ALERTS_GLOBAL}:</b></label><br /><span class="genmed">{L_UCP_ALERTS_GLOBAL_INFO} </span><br />
</td>
<td class="row2" align="left"><input type="checkbox" value="1" name="alert_global" id="alert_global"/><span class="genmed">{L_YES}</span>
</td>
</tr>
<!-- ENDIF -->
<!-- BEGIN alerts -->
<tr>
<td class="row1" width="40%">
<div style="float: {S_CONTENT_FLOW_END}; margin-{S_CONTENT_FLOW_END}: 5px;"><a href="{alerts.U_DELETE_LINK}" title="{L_DELETE_POST}"><img src="{T_THEME_PATH}/images/icon_post_delete.gif" title="{L_DELETE_POST}" alt="{L_DELETE_POST}"/></a> </div>
<span><strong>{alerts.U_ALERT}</strong><br />{alerts.U_DATE}</span>
</td>
<td class="row2" align="left" >
<span><strong>{L_UCP_ALERTS_NOTIFY_TEXT}: </strong><br />{alerts.U_NOTIFY}<!-- IF alerts.U_GLOBAL_NOTIFY --><span style="color: red">{alerts.U_GLOBAL_NOTIFY}</span><!-- ENDIF --></span>
</td>
</tr>
<!-- END alerts -->
<tr>
<td class="cat" align="center" colspan="2">
{S_HIDDEN_FIELDS}<input class="btnmain" type="submit" name="submit" value="{L_SUBMIT}" /> <input class="btnlite" type="reset" value="{L_RESET}" name="reset" />
</td>
</tr>
</table>
<!-- INCLUDE ucp_footer.html -->
And the edit for index_body.html in subsilver2 (thanks again to lovelysummer
![Very Happy :D](./images/smilies/icon_biggrin.gif)
)
Code: Select all
<!-- IF U_CALENDAR_ALERTS -->
<!-- BEGIN alerts -->
<table class="forumrules" width="100%" cellspacing="0">
<tr>
<td><h3><strong>{alerts.U_CALENDAR_ALERT_DATE}</strong></h3>
<br /><strong><!-- IF alerts.U_CALENDAR_ALERT_GLOBAL -->{L_CALENDAR_ALERTS_ADMIN_ALERT}: <!-- ENDIF -->{alerts.U_CALENDAR_ALERT_NOTIFICATION}</strong>
</td>
</tr>
</table>
<!-- END alerts -->
<!-- ENDIF -->