Skip to content

Commit

Permalink
Added plugin's theme named Denim
Browse files Browse the repository at this point in the history
  • Loading branch information
dengenxp committed Mar 3, 2016
1 parent e0706bc commit 364b010
Show file tree
Hide file tree
Showing 53 changed files with 1,689 additions and 0 deletions.
41 changes: 41 additions & 0 deletions plugins/calendar/templates/denim/addevent.thtml
@@ -0,0 +1,41 @@
{# begin {templatelocation} #}

<table cellpadding="2" cellspacing="2">
<tr>
<td colspan="2">{intro_msg}</td>
</tr>
<tr>
<td align="right"><b>{lang_event}:</b></td>
<td>{event_title}</td>
</tr>
<tr>
<td align="right"><b>{lang_starts}:</b></td>
<td>{event_start}</td>
</tr>
<tr>
<td align="right"><b>{lang_ends}:</b></td>
<td>{event_end}</td>
</tr>
<tr>
<td align="right" valign="top"><b>{lang_where}:</b></td>
<td>{event_location}</td>
</tr>
<tr>
<td align="right"><b>{lang_description}:</b></td>
<td>{event_description}</td>
</tr>
<tr>
<td colspan="2">
<form name="userevent" method="post" action="{site_url}/calendar/event.php" class="uk-form">
<div>
<input type="hidden" name="action" value="saveuserevent"{xhtml}>
<input type="hidden" name="eid" value="{event_id}"{xhtml}>
<button type="submit" value="{lang_addtomycalendar}" class="uk-button uk-button-primary">{lang_addtomycalendar}</button>
<input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
</div>
</form>
</td>
</tr>
</table>

{# end {templatelocation} #}
13 changes: 13 additions & 0 deletions plugins/calendar/templates/denim/addeventoption.thtml
@@ -0,0 +1,13 @@
{# begin {templatelocation} #}

<form method="post" action="{site_url}{addevent_formurl}" class="uk-form">
<div>
<button type="submit" name="action" value="{lang_addevent}" class="uk-button uk-button-primary">{lang_addevent}</button>
<input type="hidden" name="month" value="{cal_curmo_num}"{xhtml}>
<input type="hidden" name="year" value="{cal_curyr_num}"{xhtml}>
<input type="hidden" name="mode" value="{mode}"{xhtml}>
<input type="hidden" name="view" value="addentry"{xhtml}>
</div>
</form>

{# end {templatelocation} #}
5 changes: 5 additions & 0 deletions plugins/calendar/templates/denim/addremoveevent.thtml
@@ -0,0 +1,5 @@
{# begin {templatelocation} #}

&nbsp;<span style="font-size:80%;">[{lang_addremovefromcal}]</span>

{# end {templatelocation} #}
12 changes: 12 additions & 0 deletions plugins/calendar/templates/denim/admin/batchdelete.thtml
@@ -0,0 +1,12 @@
{# begin {templatelocation} #}

<form style="display:inline" action="{site_admin_url}/plugins/calendar/index.php?mode=batchdelete" method="post" class="uk-form">
<div style="display: inline;">
<input type="hidden" name="mode" value="batchdelete"{xhtml}>
<input type="hidden" name="usr_time" value="{usr_time}"{xhtml}>
{lang_text_start} <input class="aligncenter" type="text" name="usr_time" value="{usr_time}" size="3"{xhtml}>{lang_text_end}<br{xhtml}>
<button type="submit" name="submit" value="{lang_updatelist}" class="uk-button">{lang_updatelist}</button>
</div>
</form>

{# end {templatelocation} #}
131 changes: 131 additions & 0 deletions plugins/calendar/templates/denim/admin/eventeditor.thtml
@@ -0,0 +1,131 @@
{# begin {templatelocation} #}

<form action="{site_admin_url}/plugins/calendar/index.php" name="events" method="post" id="calendar-eventeditor" class="compact uk-form">
<div class="admin_basic">
<dl class="form_block">
<dt><label for="calendar-eventeditor-title">{lang_eventtitle}</label></dt>
<dd><input type="text" maxlength="128" name="title" value="{event_title}" id="calendar-eventeditor-title" class="size6"{xhtml}></dd>

<dt><label for="calendar-eventeditor-event_type">{lang_eventtype}</label></dt>
<dd><select name="event_type" id="calendar-eventeditor-event_type">
<option value="">--</option>
{type_options}
</select></dd>

<dt><label>{lang_eventstartdate}</label></dt>
<dd><span dir="ltr">
<select name="start_month">
{startmonth_options}
</select>
/
<select name="start_day">
{startday_options}
</select>
/
<select name="start_year">
{startyear_options}
</select>&nbsp;&nbsp;
{lang_starttime}:
<select name="start_hour">
{starthour_options}
</select>
:
<select name="start_minute">
{startminute_options}
</select>
{startampm_selection}
</span></dd>

<dt><label>{lang_eventenddate}</label></dt>
<dd><span dir="ltr">
<select name="end_month">
{endmonth_options}
</select>
/
<select name="end_day">
{endday_options}
</select>
/
<select name="end_year">
{endyear_options}
</select>&nbsp;&nbsp;
{lang_endtime}:
<select name="end_hour">
{endhour_options}
</select>
:
<select name="end_minute">
{endminute_options}
</select>
{endampm_selection}
</span></dd>

<dt><label for="calendar-eventeditor-allday">{lang_alldayevent}</label></dt>
<dd><input type="checkbox" name="allday" id="calendar-eventeditor-allday" {allday_checked}{xhtml}></dd>

<dt><label for="calendar-eventeditor-location">{lang_location}</label></dt>
<dd><textarea name="location" cols="45" rows="2" id="calendar-eventeditor-location" class="size6">{event_location}</textarea></dd>

<dt><label for="calendar-eventeditor-address1">{lang_addressline1}</label></dt>
<dd><input type="text" name="address1" value="{event_address1}" id="calendar-eventeditor-address1" class="size6"{xhtml}></dd>

<dt><label for="calendar-eventeditor-address2">{lang_addressline2}</label></dt>
<dd><input type="text" name="address2" value="{event_address2}" id="calendar-eventeditor-address2" class="size6"{xhtml}></dd>

<dt><label for="calendar-eventeditor-city">{lang_city}</label></dt>
<dd><input type="text" name="city" maxlength="60" value="{event_city}" id="calendar-eventeditor-city" class="size6"{xhtml}></dd>

<dt><label for="calendar-eventeditor-state">{lang_state}</label></dt>
<dd><input type="text" name="state" value="{event_state}" id="calendar-eventeditor-state" class="size6"{xhtml}></dd>

<dt><label for="calendar-eventeditor-zipcode">{lang_zipcode}</label></dt>
<dd><input type="text" name="zipcode" maxlength="16" value="{event_zipcode}" id="calendar-eventeditor-zipcode" class="size1"{xhtml}></dd>

<dt><label for="calendar-eventeditor-url">{lang_eventurl}</label></dt>
<dd><input type="text" dir="ltr" name="url" maxlength="{max_url_length}" value="{event_url}" id="calendar-eventeditor-url" class="size6"{xhtml}> {lang_includehttp}</dd>

<dt><label for="calendar-eventeditor-description">{lang_eventdescription}</label></dt>
<dd><textarea name="description" cols="45" rows="8" id="calendar-eventeditor-description" class="wide">{event_description}</textarea></dd>

<dt><label for="calendar-eventeditor-postmode">{lang_postmode}</label></dt>
<dd><select name="postmode" id="calendar-eventeditor-postmode">
{post_options}
</select><br{xhtml}>{lang_allowed_html}</dd>

<dt><label>{lang_hits}</label></dt>
<dd>{hits}</dd>
</dl>

<fieldset>
<legend>{lang_accessrights}</legend>

<dl class="form_block">
<dt>{lang_owner}</dt>
<dd>{owner_name}<input type="hidden" name="owner_id" value="{owner_id}"{xhtml}></dd>

<dt><label for="group_id">{lang_group}</label></dt>
<dd>{group_dropdown}</dd>

<dt><label for="admin-permissions">{lang_permissions}</label></dt>
<dd>{permissions_editor}</dd>
<dd class="description">{lang_perm_key}</dd>
<dd class="description">{lang_permissions_msg}</dd>
</dl>
</fieldset>

<div class="submit">
<button type="submit" name="mode" value="{lang_save}" class="uk-button uk-button-primary">{lang_save}</button>
{!if allow_delete}
<button type="submit" name="mode" value="{lang_delete}" class="uk-button uk-button-danger" onclick="return confirm('{confirm_message}');">{lang_delete}</button>
{!endif}
<button type="submit" name="mode" value="{lang_cancel}" class="uk-button">{lang_cancel}</button>

<input type="hidden" name="eid" value="{event_id}"{xhtml}>
<input type="hidden" name="hour_mode" value="{hour_mode}"{xhtml}>
{submission_option}
<input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
</div>
</div>
</form>

{# end {templatelocation} #}
108 changes: 108 additions & 0 deletions plugins/calendar/templates/denim/calendar.thtml
@@ -0,0 +1,108 @@
{# begin {templatelocation} #}

<table width="100%" cellpadding="5" cellspacing="0" border="0" class="cal-header">
<tr align="center" class="dayview_times">
<td align="center" style="width:33%"><a href="{site_url}/calendar/index.php?mode={mode}&amp;view=day">{lang_day}</a></td>
<td align="center" style="width:33%"><a href="{site_url}/calendar/index.php?mode={mode}&amp;view=week">{lang_week}</a></td>
<td align="center" style="width:33%"><b>{lang_month}</b></td>
</tr>
</table><br{xhtml}>
<table width="100%" cellpadding="5" cellspacing="1" border="0" class="cal-body">
<tr align="center">
<td colspan="8">
<table border="0" width="100%">
<tr>
<td class="cal-month" valign="top">
{previous_months_calendar}
</td>
<td align="center" style="width:100%">
<table border="0" cellpadding="5" cellspacing="0">
<tr>
<td colspan="2" align="center">
<form method="post" action="{site_url}/calendar/index.php" class="uk-form">
<div>
<input type="hidden" name="mode" value="{mode}"{xhtml}>
<select name="month" onchange="this.form.submit()">
<option value="1" {selected_jan}>{lang_january}</option>
<option value="2" {selected_feb}>{lang_february}</option>
<option value="3" {selected_mar}>{lang_march}</option>
<option value="4" {selected_apr}>{lang_april}</option>
<option value="5" {selected_may}>{lang_may}</option>
<option value="6" {selected_jun}>{lang_june}</option>
<option value="7" {selected_jul}>{lang_july}</option>
<option value="8" {selected_aug}>{lang_august}</option>
<option value="9" {selected_sep}>{lang_september}</option>
<option value="10" {selected_oct}>{lang_october}</option>
<option value="11" {selected_nov}>{lang_november}</option>
<option value="12" {selected_dec}>{lang_december}</option>
</select>&nbsp;
<select name="year" onchange="this.form.submit()">
{year_options}
</select>
</div>
</form><br{xhtml}>
</td>
</tr>
<tr>
<td align="right">
{add_event_option}
</td>
<td>
{personal_calendar_option}
{master_calendar_option}
</td>
</tr>
</table>
</td>
<td class="cal-month" valign="top">
{next_months_calendar}
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td class="cal-day" style="width:15%">{lang_sunday}</td>
<td class="cal-day" style="width:14%">{lang_monday}</td>
<td class="cal-day" style="width:14%">{lang_tuesday}</td>
<td class="cal-day" style="width:14%">{lang_wednesday}</td>
<td class="cal-day" style="width:14%">{lang_thursday}</td>
<td class="cal-day" style="width:14%">{lang_friday}</td>
<td class="cal-day" style="width:15%">{lang_saturday}</td>
</tr>
{cal_week}
</table>
<table style="margin-left:auto; margin-right:auto">
<tr>
<td>
<form method="post" action="{site_url}/calendar/index.php" class="uk-form">
<div>
<button type="submit" value="&lt;&lt;" class="uk-button">&lt;&lt;</button>
<input type="hidden" name="month" value="{cal_prevmo_num}"{xhtml}>
<input type="hidden" name="year" value="{cal_prevyr_num}"{xhtml}>
<input type="hidden" name="mode" value="{mode}"{xhtml}>
</div>
</form>
</td>
<td>
{add_event_option}
</td>
<td>
{personal_calendar_option}
{master_calendar_option}
</td>
<td>
<form method="post" action="{site_url}/calendar/index.php" class="uk-form">
<div>
<button type="submit" value="&gt;&gt;" class="uk-button">&gt;&gt;</button>
<input type="hidden" name="month" value="{cal_nextmo_num}"{xhtml}>
<input type="hidden" name="year" value="{cal_nextyr_num}"{xhtml}>
<input type="hidden" name="mode" value="{mode}"{xhtml}>
</div>
</form>
</td>
</tr>
</table>

{# end {templatelocation} #}
8 changes: 8 additions & 0 deletions plugins/calendar/templates/denim/calendarday.thtml
@@ -0,0 +1,8 @@
{# begin {templatelocation} #}

<td valign="top" class="{cal_day_style}">
{cal_day_anchortags}
{cal_day_entries}
</td>

{# end {templatelocation} #}
5 changes: 5 additions & 0 deletions plugins/calendar/templates/denim/calendarevent.thtml
@@ -0,0 +1,5 @@
{# begin {templatelocation} #}

{event_anchortags}

{# end {templatelocation} #}
8 changes: 8 additions & 0 deletions plugins/calendar/templates/denim/calendarweek.thtml
@@ -0,0 +1,8 @@
{# begin {templatelocation} #}

<tr>
<td class="cal-weekpointers" valign="middle" align="center"><b><a href="{site_url}/calendar/index.php?mode={mode}&amp;view=week&amp;month={wmonth}&amp;day={wday}&amp;year={wyear}">&gt;&gt;</a></b></td>
{cal_days}
</tr>

{# end {templatelocation} #}
5 changes: 5 additions & 0 deletions plugins/calendar/templates/denim/dayview/column.thtml
@@ -0,0 +1,5 @@
{# begin {templatelocation} #}

<td class="cal-dayx-times2">{event_entry}</td>

{# end {templatelocation} #}

0 comments on commit 364b010

Please sign in to comment.