-
-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fixes #3034 usercp2.php removal (#3093) * THIS_SCRIPT Fallback added. Moved from ./global.php * Revert "THIS_SCRIPT Fallback added." This reverts commit 81fecc7. * Removal of usercp2 Removed traces of usercp2 from wol functions * Removed traces of usercp2 Updated Unsubscription Information links. * Removal of usercp2 CSS attachment & links updated. * Merged usercp2 codes Combined usercp & usercp2 codes. Maintained usercp condition style. * Delete usercp2.php Codes combined in usercp. * Hook names retained 1. Hook names reverted to earlier for backward compatibility 2. $plugins->run_hooks("usercp2_start"); Dropped. 3. Comments added to hooks for reference. * Removed ALLOWABLE_PAGE As suggested ... * Added back "ALLOWABLE_PAGE" .... as confirmed. * Converted usercp_addsubscription_thread * usercp2 -> usercp
- Loading branch information
1 parent
85f8101
commit f85439c
Showing
2 changed files
with
330 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{% extends 'layouts/master.twig' %} | ||
|
||
{% block head %} | ||
<title>{{ mybb.settings.bbname }} - {{ lang.forum_subscriptions }}</title> | ||
{% endblock head %} | ||
|
||
{% block body %} | ||
<form action="usercp.php" method="post" name="input"> | ||
<input type="hidden" name="my_post_key" value="{{ mybb.post_code }}" /> | ||
<input type="hidden" name="action" value="do_addsubscription" /> | ||
<input type="hidden" name="tid" value="{{ thread.tid }}" /> | ||
<table width="100%" border="0" align="center"> | ||
<tr> | ||
{# TODO: usercp_nav #} | ||
<td valign="top"> | ||
<table border="0" cellspacing="{{ theme.borderwidth }}" cellpadding="{{ theme.tablespace }}" class="tborder"> | ||
<tr> | ||
<td class="thead" colspan="2"><strong>{{ lang.subscribe_to_thread }}</strong></td> | ||
</tr> | ||
<tr> | ||
<td class="trow1" valign="top" width="200"><strong>{{ lang.notification_method }}</strong></td> | ||
<td class="trow1" valign="top"> | ||
<table width="100%" border="0" align="center"> | ||
<tr> | ||
<td width="1"><input type="radio" name="notification" id="notification_none" value="0"{% if mybb.user.subscriptionmethod in [0, 1] %} checked{% endif %} /></td> | ||
<td> | ||
<strong><label for="notification_none">{{ lang.no_notification }}</label></strong><br /> | ||
<span class="smalltext">{{ lang.no_notification_desc }}</span> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td width="1"><input type="radio" name="notification" id="notification_email" value="1"{% if mybb.user.subscriptionmethod == 2 %} checked{% endif %} /></td> | ||
<td> | ||
<strong><label for="notification_email">{{ lang.email_notification }}</label></strong><br /> | ||
<span class="smalltext">{{ lang.email_notification_desc }}</span> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td width="1"><input type="radio" name="notification" id="notification_pm" value="2"{% if mybb.user.subscriptionmethod == 3 %} checked{% endif %} /></td> | ||
<td> | ||
<strong><label for="notification_pm">{{ lang.pm_notification }}</label></strong><br /> | ||
<span class="smalltext">{{ lang.pm_notification_desc }}</span> | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> | ||
</table> | ||
<br /> | ||
<div style="text-align: center;"> | ||
<input type="submit" class="button" name="submit" value="{{ lang.do_subscribe }}" tabindex="3" accesskey="s" /> | ||
</div> | ||
</td> | ||
</tr> | ||
</table> | ||
</form> | ||
{% endblock body %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters