Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change plugin theme and add UIkit default theme #662

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion plugins/calendar/templates/default/addevent.thtml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<div>
<input type="hidden" name="action" value="saveuserevent"{xhtml}>
<input type="hidden" name="eid" value="{event_id}"{xhtml}>
<input type="submit" value="{lang_addtomycalendar}"{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>
Expand Down
2 changes: 1 addition & 1 deletion plugins/calendar/templates/default/addeventoption.thtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<form method="post" action="{site_url}{addevent_formurl}" class="uk-form">
<div>
<input type="submit" name="action" value="{lang_addevent}"{xhtml}>
<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}>
Expand Down
2 changes: 1 addition & 1 deletion plugins/calendar/templates/default/admin/batchdelete.thtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<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}>
<input type="submit" name="submit" value="{lang_updatelist}"{xhtml}>
<button type="submit" name="submit" value="{lang_updatelist}" class="uk-button">{lang_updatelist}</button>
</div>
</form>

Expand Down
9 changes: 6 additions & 3 deletions plugins/calendar/templates/default/admin/eventeditor.thtml
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,14 @@
</fieldset>

<div class="submit">
<input type="submit" value="{lang_save}" name="mode" class="submit"{xhtml}>
<input type="submit" value="{lang_cancel}" name="mode" class="submit"{xhtml}>
<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}>
{delete_option}
{submission_option}
<input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
</div>
Expand Down
4 changes: 2 additions & 2 deletions plugins/calendar/templates/default/calendar.thtml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<td>
<form method="post" action="{site_url}/calendar/index.php" class="uk-form">
<div>
<input type="submit" value="&lt;&lt;"{xhtml}>
<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}>
Expand All @@ -95,7 +95,7 @@
<td>
<form method="post" action="{site_url}/calendar/index.php" class="uk-form">
<div>
<input type="submit" value="&gt;&gt;"{xhtml}>
<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}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</select>
{startampm_selection}
</span>
<input type="submit" value="{lang_add}"{xhtml}>
<button type="submit" value="{lang_add}" class="uk-button uk-button-primary">{lang_add}</button>
<input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
</td>
</tr>
Expand Down
4 changes: 2 additions & 2 deletions plugins/calendar/templates/default/editpersonalevent.thtml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@
<tr>
<td align="center" colspan="2">
<input type="hidden" name="type" value="event"{xhtml}>
<input type="submit" name="action" value="{lang_submit}"{xhtml}>
<input type="submit" name="action" value="{lang_delete}"{xhtml}>
<button type="submit" name="action" value="{lang_submit}" class="uk-button uk-button-primary">{lang_submit}</button>
<button type="submit" name="action" value="{lang_delete}" class="uk-button uk-button-danger">{lang_delete}</button>
<input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
</td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<form method="post" action="{site_url}/calendar/index.php" class="uk-form">
<div>
<input type="submit" name="action" value="{lang_mastercal}"{xhtml}>
<button type="submit" name="action" value="{lang_mastercal}" class="uk-button">{lang_mastercal}</button>
</div>
</form>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<form method="post" action="{site_url}/calendar/index.php?mode=personal" class="uk-form">
<div>
<input type="submit" name="action" value="{lang_mycalendar}"{xhtml}>
<button type="submit" name="action" value="{lang_mycalendar}" class="uk-button">{lang_mycalendar}</button>
</div>
</form>

Expand Down
2 changes: 1 addition & 1 deletion plugins/calendar/templates/default/submitevent.thtml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
<input type="hidden" name="type" value="calendar"{xhtml}>
<input type="hidden" name="calendar_type" value="{mode}"{xhtml}>
<input type="hidden" name="hour_mode" value="{hour_mode}"{xhtml}>
<input type="submit" value="{lang_submit}"{xhtml}>
<button type="submit" value="{lang_submit}" class="uk-button uk-button-primary">{lang_submit}</button>
{hidden_fields}
</div>
<div class="clear-left"></div>
Expand Down
8 changes: 5 additions & 3 deletions plugins/links/templates/default/admin/categoryeditor.thtml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@
</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" value="{old_cid_value}" name="old_cid"{xhtml}>
<input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
<input type="submit" value="{lang_save}" name="mode" class="submit"{xhtml}>
<input type="submit" value="{lang_cancel}" name="mode" class="submit"{xhtml}>
{delete_option}
</div>
</form>

Expand Down
9 changes: 6 additions & 3 deletions plugins/links/templates/default/admin/linkeditor.thtml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,13 @@
</fieldset>

<div class="submit">
<input type="submit" value="{lang_save}" name="mode" class="submit"{xhtml}>
<input type="submit" value="{lang_cancel}" name="mode" class="submit"{xhtml}>
<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" value="{link_id}" name="old_lid"{xhtml}>
{delete_option}
{submission_option}
<input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
</div>
Expand Down
2 changes: 1 addition & 1 deletion plugins/links/templates/default/categorydropdown.thtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="links-header clearfix" style="height:3em;line-height:3em;vertical-align:middle;margin-bottom:1em;">
<div class="links-breadcrumbs" style="float:left;">{breadcrumbs}</div>
<div class="links-dropdown" style="float:right;">
<select name="category" onchange="javascript:submit()">{link_dropdown}</select><input type="submit" value="{lang_go}" name="mode"{xhtml}>
<select name="category" onchange="javascript:submit()">{link_dropdown}</select><button type="submit" name="mode" value="{lang_go}" class="uk-button">{lang_go}</button>
</div>
</div>
</form>
Expand Down
2 changes: 1 addition & 1 deletion plugins/links/templates/default/submitlink.thtml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="submit">
<input type="hidden" name="mode" value="{lang_submit}"{xhtml}>
<input type="hidden" name="type" value="links"{xhtml}>
<input type="submit" value="{lang_submit}" class="submit"{xhtml}>
<button type="submit" value="{lang_submit}" class="uk-button">{lang_submit}</button>
</div>
</div>
</form>
Expand Down
10 changes: 6 additions & 4 deletions plugins/polls/templates/default/admin/polleditor.thtml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@
</fieldset>

<div class="submit">
<input type="submit" name="mode" value="{lang_save}" class="submit"{xhtml}>
<input type="submit" name="mode" value="{lang_cancel}" class="submit"{xhtml}>
{delete_option}
<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="{gltoken_name}" value="{gltoken}"{xhtml}>
<input type="hidden" value="{poll_id}" name="old_pid"{xhtml}>
<input type="hidden" name="old_pid" value="{poll_id}"{xhtml}>
</div>
</div>
</form>
Expand Down
4 changes: 2 additions & 2 deletions plugins/polls/templates/default/pollblock.thtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<form action="{poll_vote_url}" name="Vote" method="post" class="uk-form">
<div>
<input type="hidden" name="pid" value="{poll_id}"{xhtml}>
{poll_questions}
{poll_questions}
<span class="pluginTinyText">{poll_notification}</span><br{xhtml}>
<input type="submit" value="{lang_vote}"{xhtml}>
<button type="submit" value="{lang_vote}" class="uk-button">{lang_vote}</button>
{poll_results}
</div>
</form>
Expand Down
5 changes: 3 additions & 2 deletions plugins/spamx/BaseAdmin.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,9 @@ protected function getWidget()
. '/plugins/spamx/index.php?command=' . $this->command . '">' . LB
. '<div><input type="text" size="31" name="pentry"' . XHTML
. '>&nbsp;&nbsp;&nbsp;'
. '<input type="submit" name="paction" value="'
. $LANG_SX00['addentry'] . '"' . XHTML . '>' . LB
. '<button type="submit" name="paction" value="'
. $LANG_SX00['addentry'] . '" class="uk-button">'
. $LANG_SX00['addentry'] . '</button>' . LB
. '<input type="hidden" name="' . CSRF_TOKEN
. '" value="' . $this->csrfToken . '"' . XHTML . '>' . LB
. '</div></form>' . LB;
Expand Down
5 changes: 3 additions & 2 deletions plugins/spamx/EditHeader.Admin.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ protected function getWidget()
. '<td><input type="text" size="40" name="header-value"'
. XHTML . '> e.g. <tt>Mozilla</tt></td></tr>' . LB
. '</table>' . LB
. '<p><input type="submit" name="paction" value="'
. $LANG_SX00['addentry'] . '"' . XHTML . '>'
. '<p><button type="submit" name="paction" value="'
. $LANG_SX00['addentry'] . '" class="uk-button">'
. $LANG_SX00['addentry'] . '</button>' . LB
. '<input type="hidden" name="' . CSRF_TOKEN
. '" value="' . $this->csrfToken . '"' . XHTML . '></p>' . LB
. '</form>' . LB;
Expand Down
5 changes: 3 additions & 2 deletions plugins/spamx/MassDelTrackback.Admin.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,9 @@ public function display()
$display .= $LANG_SX00['note4'];
$display .= $LANG_SX00['note5'];
$display .= $LANG_SX00['note6'] . LB;
$display .= '<input type="submit" name="action" value="'
. $LANG_SX00['deletespam'] . '"' . XHTML . '>' . LB;
$display .= '<button type="submit" name="action" value="'
. $LANG_SX00['deletespam'] . '" class="uk-button">'
. $LANG_SX00['deletespam'] . '</button>' . LB;
$display .= '<input type="hidden" name="' . CSRF_TOKEN
. "\" value=\"{$token}\"" . XHTML . '>' . LB;
$display .= '</div></form>' . LB;
Expand Down
5 changes: 3 additions & 2 deletions plugins/spamx/MassDelete.Admin.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,9 @@ public function display()
$display .= $LANG_SX00['note4'];
$display .= $LANG_SX00['note5'];
$display .= $LANG_SX00['note6'] . LB;
$display .= '<input type="submit" name="action" value="'
. $LANG_SX00['deletespam'] . '"' . XHTML . '>' . LB;
$display .= '<button type="submit" name="action" value="'
. $LANG_SX00['deletespam'] . '" class="uk-button">'
. $LANG_SX00['deletespam'] . '</button>' . LB;
$display .= '<input type="hidden" name="' . CSRF_TOKEN
. "\" value=\"{$token}\"" . XHTML . '>' . LB;
$display .= '</div></form>' . LB;
Expand Down
8 changes: 5 additions & 3 deletions plugins/staticpages/templates/default/admin/editor.thtml
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,11 @@
</fieldset>

<div class="submit">
<input type="submit" value="{lang_save}" name="mode" class="submit"{xhtml}>
<input type="submit" value="{lang_cancel}" name="mode" class="submit"{xhtml}>
{delete_option}
<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="sp_old_id" value="{sp_old_id}"{xhtml}>
<input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,11 @@
</fieldset>

<div class="submit">
<input type="submit" value="{lang_save}" name="mode" class="submit"{xhtml}>
<input type="submit" value="{lang_cancel}" name="mode" class="submit"{xhtml}>
{delete_option}
<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="sp_old_id" value="{sp_old_id}"{xhtml}>
<input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
</div>
Expand Down
Binary file modified public_html/images/facebook-login-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public_html/images/google-login-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public_html/images/linkedin-login-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public_html/images/microsoft-login-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public_html/images/twitter-login-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public_html/images/yahoo-login-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading