Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1031588
in-bulletin
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jun 17, 3:59 PM
Size
31 KB
Mime Type
text/x-diff
Expires
Thu, Jun 19, 3:59 PM (48 m, 45 s)
Engine
blob
Format
Raw Data
Handle
666307
Attached To
rMINB Modules.In-Bulletin
in-bulletin
View Options
Index: branches/5.0.x/themes/default2009/in-bulletin/my_account/private_messages/new_message.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-bulletin/my_account/private_messages/new_message.tpl (revision 12313)
+++ branches/5.0.x/themes/default2009/in-bulletin/my_account/private_messages/new_message.tpl (revision 12314)
@@ -1,76 +1,76 @@
<!--##
<NAME>Write Private Message</NAME>
<DESC>Write Private Message Form</DESC>
<SECTION>My Account||Private Messages</SECTION>
##-->
<inp2:m_RequireLogin login_template="platform/login/register"/>
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:m_phrase name="lu_title_NewPrivateMessage"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/action_box.elm" design="blue_box"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_PrivateMessages,lu_title_NewPrivateMessage" templates="platform/my_account/my_account,in-bulletin/my_account/private_messages/private_messages,in-bulletin/my_account/private_messages/new_message"/>
</div>
<div class="movable-element">
<!-- new private message -->
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_NewPrivateMessage"/>
</inp2:m_Capture>
<inp2:private-message_PresetFormFields/>
<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
<inp2:m_if check="private-message_HasError" field="any">
<inp2:m_RenderElement name="error_message" />
</inp2:m_if>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
<inp2:m_include template="in-bulletin/elements/forms.elm"/>
<form method="post" action="<inp2:m_FormAction/>">
<table class="form-data fullwidth">
<inp2:m_RenderElement name="inp_edit_box" prefix="private-message" field="ToId" title="lu_fld_To"/>
<inp2:m_RenderElement name="inp_edit_box" prefix="private-message" field="Subject" title="lu_fld_Subject"/>
<inp2:m_RenderElement name="inp_edit_textarea_bb" prefix="private-message" field="Body" cols="50" rows="10" title="lu_fld_MessageBody"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="private-message" field="DisableBBCodes" title="lu_fld_DisableBBCodes"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="private-message" field="DisableSmileys" title="lu_fld_DisableSmileys"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="private-message" field="ShowSignatures" title="lu_fld_ShowSignatures" is_last="1"/>
<inp2:m_RenderElement design="inp_edit_buttons">
<input type="hidden" name="next_template" value="in-bulletin/my_account/private_messages/add_confirm"/>
- <input class="button" type="submit" name="events[private-message][OnCreate]" value="<inp2:m_phrase label="lu_btn_Create"/>"/>
- <input class="button" type="button" onclick="redirect('<inp2:m_Link template="in-bulletin/my_account/private_messages/private_messages"/>');" value="<inp2:m_Phrase label="lu_btn_Cancel"/>"/>
+ <input class="button" type="submit" name="events[private-message][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Create" no_editing="1"/>"/>
+ <input class="button" type="button" onclick="redirect('<inp2:m_Link template="in-bulletin/my_account/private_messages/private_messages"/>');" value="<inp2:m_Phrase label="lu_btn_Cancel" no_editing="1"/>"/>
</inp2:m_RenderElement>
</table>
</form>
</inp2:m_RenderElement>
<!-- // new private message -->
</div>
</div>
</inp2:m_DefineElement>
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: branches/5.0.x/themes/default2009/in-bulletin/my_account/my_preferences.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-bulletin/my_account/my_preferences.tpl (revision 12313)
+++ branches/5.0.x/themes/default2009/in-bulletin/my_account/my_preferences.tpl (revision 12314)
@@ -1,80 +1,80 @@
<!--##
<NAME>User's Preferences</NAME>
<DESC>User's Preferences</DESC>
<SECTION>My Account</SECTION>
##-->
<inp2:m_RequireLogin login_template="platform/login/register"/>
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:m_phrase name="lu_title_MyPreferences"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyPreferences" templates="platform/my_account/my_account,platform/my_account/my_preferences"/>
</div>
<div class="movable-element">
<!-- my preferences -->
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_MyPreferences"/>
</inp2:m_Capture>
<table class="fullwidth tab-bottom-line">
<tr>
<td class="tab-left-padding">
<table>
<tr>
<inp2:m_ModuleInclude template="my_account/preferences_tab.elm" in-portal_template="platform/my_account/preferences_tab.elm"/>
</tr>
</table>
</td>
</tr>
</table>
<br />
<strong><inp2:m_Phrase name="lu_Forums"/></strong><br /><br />
<form method="post" action="<inp2:m_FormAction/>">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
<table class="form-data fullwidth">
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="user-profile" field="show_sig" title="lu_fld_ShowSignatures"/>
<inp2:m_RenderElement name="inp_edit_box" prefix="user-profile" field="Perpage_Topics" title="lu_fld_TopicsPerPage"/>
<inp2:m_RenderElement name="inp_edit_box" prefix="user-profile" field="Perpage_Postings" title="lu_fld_PostsPerPage"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="user-profile" field="owner_notify" title="lu_fld_NotifyOwnerOnChanges"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="user-profile" field="bb_pm_notify" title="lu_fld_NotifyOnPrivateMessages"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="user-profile" field="bbcode" title="lu_fld_EnableBBCodes"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="user-profile" field="smileys" title="lu_fld_EnableSmileys"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="user-profile" field="bb_signatures" title="lu_fld_ShowOtherSignatures"/>
<inp2:m_RenderElement name="inp_edit_textarea" prefix="user-profile" field="my_signature" title="lu_fld_MySignature" cols="50" rows="10" is_last="1"/>
<inp2:m_RenderElement design="inp_edit_buttons">
- <input class="button" type="submit" name="events[user-profile][OnUpdate]" value="<inp2:m_Phrase label="lu_btn_Update"/>"/>
+ <input class="button" type="submit" name="events[user-profile][OnUpdate]" value="<inp2:m_Phrase label="lu_btn_Update" no_editing="1"/>"/>
</inp2:m_RenderElement>
</table>
</form>
</inp2:m_RenderElement>
<!-- // my preferences -->
</div>
</div>
</inp2:m_DefineElement>
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: branches/5.0.x/themes/default2009/in-bulletin/topics/new_topic_reply.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-bulletin/topics/new_topic_reply.tpl (revision 12313)
+++ branches/5.0.x/themes/default2009/in-bulletin/topics/new_topic_reply.tpl (revision 12314)
@@ -1,81 +1,81 @@
<!--##
<NAME>Topic Reply</NAME>
<DESC>Topic Reply Form</DESC>
<SECTION>Platform||Topics</SECTION>
##-->
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:m_phrase name="lu_title_NewTopicReply"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/action_box.elm" design="blue_box"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__,lu_title_NewTopicReply" templates="__default__,in-bulletin/topics/new_topic_reply" show_category="1"/>
</div>
<div class="movable-element">
<!-- new topic reply -->
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_NewTopicReply"/>
</inp2:m_Capture>
<inp2:m_if check="bb-post_HasPermission" permissions="TOPIC.REPLY.ADD">
<inp2:bb-post_PresetFormFields/>
<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
<inp2:m_if check="bb-post_HasError" field="any">
<inp2:m_RenderElement name="error_message" />
</inp2:m_if>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
<inp2:m_include template="in-bulletin/elements/forms.elm"/>
<form method="post" action="<inp2:m_FormAction/>">
<table class="form-data fullwidth">
<inp2:m_RenderElement name="inp_label" prefix="bb" field="TopicText" title="lu_fld_Subject"/>
<inp2:m_RenderElement name="inp_label" prefix="bb" field="PostedBy" title="lu_fld_Author"/>
<inp2:m_RenderElement name="inp_edit_box" prefix="bb-post" field="Subject" title="lu_fld_Subject" style="width: 300px"/>
<inp2:m_RenderElement name="inp_edit_textarea_bb" prefix="bb-post" field="PostingText" cols="50" rows="10" title="lu_fld_MessageBody" style="width: 400px"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb-post" field="DisableBBCodes" title="lu_fld_DisableBBCodes"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb-post" field="DisableSmileys" title="lu_fld_DisableSmileys"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb-post" field="ShowSignatures" title="lu_fld_ShowSignatures" is_last="1"/>
<inp2:m_RenderElement design="inp_edit_buttons">
<input type="hidden" name="next_template" value="__default__"/>
- <input class="button" type="submit" name="events[bb-post][OnCreate]" value="<inp2:m_phrase label="lu_btn_Create"/>"/>
- <input class="button" type="button" value="<inp2:m_phrase label="lu_btn_Cancel"/>" onclick="redirect('<inp2:bb_TopicLink template="__default__"/>');"/>
+ <input class="button" type="submit" name="events[bb-post][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Create" no_editing="1"/>"/>
+ <input class="button" type="button" value="<inp2:m_Phrase label="lu_btn_Cancel" no_editing="1"/>" onclick="redirect('<inp2:bb_TopicLink template="__default__"/>');"/>
</inp2:m_RenderElement>
</table>
</form>
<inp2:m_else/>
<inp2:m_phrase name="lu_text_NoNewTopicReplyPermission"/>
</inp2:m_if>
</inp2:m_RenderElement>
<!-- // new topic reply -->
</div>
</div>
</inp2:m_DefineElement>
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: branches/5.0.x/themes/default2009/in-bulletin/topics/modify_topic.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-bulletin/topics/modify_topic.tpl (revision 12313)
+++ branches/5.0.x/themes/default2009/in-bulletin/topics/modify_topic.tpl (revision 12314)
@@ -1,69 +1,69 @@
<!--##
<NAME>Topic Modify Form</NAME>
<DESC>Topic Modification Form</DESC>
<SECTION>Platform||Topics</SECTION>
##-->
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:m_phrase name="lu_title_ModifyTopic"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyTopics,__item__,lu_title_ModifyTopic" templates="platform/my_account/my_account,in-bulletin/my_account/my_topics,__default__,in-bulletin/topics/modify_topic"/>
</div>
<div class="movable-element">
<!-- modify topic -->
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_ModifyTopic"/>
</inp2:m_Capture>
<inp2:m_if check="bb_HasPermission" permissions="TOPIC.MODIFY|TOPIC.MODIFY.PENDING|TOPIC.OWNER.MODIFY|TOPIC.OWNER.MODIFY.PENDING">
<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
<inp2:m_if check="bb_HasError" field="any">
<inp2:m_RenderElement name="error_message" />
</inp2:m_if>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
<form method="post" action="<inp2:m_FormAction/>">
<table class="form-data fullwidth">
<inp2:m_RenderElement name="inp_edit_box" prefix="bb" field="TopicText" title="lu_fld_Subject"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb" field="NotifyOwnerOnChanges" title="lu_fld_NotifyOwnerOnChanges" is_last="1"/>
<inp2:m_RenderElement design="inp_edit_buttons">
<input type="hidden" name="modify_confirm_template" value="in-bulletin/topics/modify_confirm"/>
<input type="hidden" name="modify_pending_confirm_template" value="in-bulletin/topics/modify_pending_confirm"/>
- <input class="button" type="submit" name="events[bb][OnUpdate]" value="<inp2:m_phrase label="lu_btn_Update"/>"/>
+ <input class="button" type="submit" name="events[bb][OnUpdate]" value="<inp2:m_Phrase label="lu_btn_Update" no_editing="1"/>"/>
</inp2:m_RenderElement>
</table>
</form>
<inp2:m_else/>
<inp2:m_phrase name="lu_text_NoModifyTopicPermission"/>
</inp2:m_if>
</inp2:m_RenderElement>
<!-- // modify topic -->
</div>
</div>
</inp2:m_DefineElement>
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: branches/5.0.x/themes/default2009/in-bulletin/topics/new_topic.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-bulletin/topics/new_topic.tpl (revision 12313)
+++ branches/5.0.x/themes/default2009/in-bulletin/topics/new_topic.tpl (revision 12314)
@@ -1,81 +1,81 @@
<!--##
<NAME>New Topic</NAME>
<DESC>New Topic Form</DESC>
<SECTION>Platform||Topics</SECTION>
##-->
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:m_phrase name="lu_title_NewTopic"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/action_box.elm" design="blue_box"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_NewTopic" templates="in-bulletin/topics/new_topic" show_category="1"/>
</div>
<div class="movable-element">
<!-- new topic -->
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_NewTopic"/>
</inp2:m_Capture>
<inp2:m_if check="bb_HasPermission" permissions="TOPIC.ADD|TOPIC.ADD.PENDING">
<inp2:bb_PresetFormFields/>
<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
<inp2:m_if check="bb_HasError" field="any">
<inp2:m_RenderElement name="error_message" />
</inp2:m_if>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
<inp2:m_include template="in-bulletin/elements/forms.elm"/>
<form method="post" action="<inp2:m_FormAction/>">
<table class="form-data fullwidth">
<inp2:m_RenderElement name="inp_edit_box" prefix="bb" field="TopicText" title="lu_fld_Subject" style="width: 300px"/>
<inp2:m_RenderElement name="inp_edit_textarea_bb" prefix="bb" field="PostingText" cols="70" rows="13" title="lu_fld_MessageBody" style="width: 400px"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb" field="DisableBBCodes" title="lu_fld_DisableBBCodes"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb" field="DisableSmileys" title="lu_fld_DisableSmileys"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb" field="ShowSignatures" title="lu_fld_ShowSignatures"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb" field="NotifyOwnerOnChanges" title="lu_fld_NotifyOwnerOnChanges" is_last="1"/>
<inp2:m_RenderElement design="inp_edit_buttons">
<input type="hidden" name="suggest_confirm_template" value="in-bulletin/topics/add_confirm"/>
<input type="hidden" name="suggest_pending_confirm_template" value="in-bulletin/topics/add_pending_confirm"/>
- <input class="button" type="submit" name="events[bb][OnCreate]" value="<inp2:m_phrase label="lu_btn_Create"/>"/>
- <input class="button" type="button" value="<inp2:m_phrase label="lu_btn_Cancel"/>" onclick="redirect('<inp2:m_Link template="__default__"/>');"/>
+ <input class="button" type="submit" name="events[bb][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Create" no_editing="1"/>"/>
+ <input class="button" type="button" value="<inp2:m_Phrase label="lu_btn_Cancel" no_editing="1"/>" onclick="redirect('<inp2:m_Link template="__default__"/>');"/>
</inp2:m_RenderElement>
</table>
</form>
<inp2:m_else/>
<inp2:m_phrase name="lu_text_NoNewTopicPermission"/>
</inp2:m_if>
</inp2:m_RenderElement>
<!-- // new topic -->
</div>
</div>
</inp2:m_DefineElement>
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: branches/5.0.x/themes/default2009/in-bulletin/topics/modify_post.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-bulletin/topics/modify_post.tpl (revision 12313)
+++ branches/5.0.x/themes/default2009/in-bulletin/topics/modify_post.tpl (revision 12314)
@@ -1,80 +1,80 @@
<!--##
<NAME>Post Modify Form</NAME>
<DESC>Post Modification Form</DESC>
<SECTION>Platform||Topics</SECTION>
##-->
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:m_phrase name="lu_title_TopicPostModify"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/action_box.elm" design="blue_box"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__,lu_title_TopicPostModify" templates="__default__,in-bulletin/topics/modify_post" show_category="1"/>
</div>
<div class="movable-element">
<!-- modify post -->
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_TopicPostModify"/>
</inp2:m_Capture>
<inp2:m_if check="bb-post_HasPermission" permissions="TOPIC.REPLY.MODIFY|TOPIC.REPLY.OWNER.MODIFY">
<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
<inp2:m_if check="bb-post_HasError" field="any">
<inp2:m_RenderElement name="error_message" />
</inp2:m_if>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
<inp2:m_include template="in-bulletin/elements/forms.elm"/>
<form method="post" action="<inp2:m_FormAction/>">
<table class="form-data fullwidth">
<inp2:m_RenderElement name="inp_label" prefix="bb" field="TopicText" title="lu_fld_Subject"/>
<inp2:m_RenderElement name="inp_label" prefix="bb" field="PostedBy" title="lu_fld_Author"/>
<inp2:m_RenderElement name="inp_edit_box" prefix="bb-post" field="Subject" title="lu_fld_Subject" style="width: 300px;"/>
<inp2:m_RenderElement name="inp_edit_textarea_bb" prefix="bb-post" field="PostingText" cols="70" rows="13" title="lu_fld_MessageBody" style="width: 400px;"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb-post" field="DisableBBCodes" title="lu_fld_DisableBBCodes"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb-post" field="DisableSmileys" title="lu_fld_DisableSmileys"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb-post" field="ShowSignatures" title="lu_fld_ShowSignatures" is_last="1"/>
<inp2:m_RenderElement design="inp_edit_buttons">
<input type="hidden" name="next_template" value="__default__"/>
- <input class="button" type="submit" name="events[bb-post][OnUpdate]" value="<inp2:m_phrase label="lu_btn_Update"/>"/>
- <input class="button" type="button" value="<inp2:m_phrase label="lu_btn_Cancel"/>" onclick="redirect('<inp2:bb_TopicLink template="__default__"/>');"/>
+ <input class="button" type="submit" name="events[bb-post][OnUpdate]" value="<inp2:m_Phrase label="lu_btn_Update" no_editing="1"/>"/>
+ <input class="button" type="button" value="<inp2:m_Phrase label="lu_btn_Cancel" no_editing="1"/>" onclick="redirect('<inp2:bb_TopicLink template="__default__"/>');"/>
</inp2:m_RenderElement>
</table>
</form>
<inp2:m_else/>
<inp2:m_phrase name="lu_text_NoTopicPostModifyPermission"/>
</inp2:m_if>
</inp2:m_RenderElement>
<!-- // modify post -->
</div>
</div>
</inp2:m_DefineElement>
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>elements/html_head
\ No newline at end of file
Index: branches/5.0.x/themes/default2009/in-bulletin/elements/side_boxes/polls.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-bulletin/elements/side_boxes/polls.elm.tpl (revision 12313)
+++ branches/5.0.x/themes/default2009/in-bulletin/elements/side_boxes/polls.elm.tpl (revision 12314)
@@ -1,65 +1,65 @@
<!-- POllS -->
<inp2:poll_InitList list_name="list_polls" per_page="-1"/>
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_Polls"/>
</inp2:m_Capture>
<inp2:m_DefineElement name="answer_element">
<li style="margin-bottom:5px;">
<input type="radio" name="poll_<inp2:Field name="PollId"/>" onclick="getElementById('selected_opt_<inp2:Field name="PollId"/>').value='<inp2:Field name="AnswerId"/>';getElementById('vote_button').disabled=false;"> <inp2:Field name="Answer"/>
</li>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="poll_element">
<div style="margin-bottom:25px;">
<div style="text-align:left;">
<strong><inp2:Field name="Question"/></strong>
</div>
<inp2:m_if check="Field" name="Image">
<br/>
<a href="<inp2:Field name="Image" format="resize:640x480"/>" class="thickbox" title="<inp2:Field field="Question"/>">
<img src="<inp2:Field name="Image" format="resize:100x100"/>" border="0" alt="<inp2:Field field="Question"/>"></a>
</inp2:m_if>
<div id="pollvote_<inp2:Field name="PollId"/>" style="text-align:left; margin-top:10px; margin-bottom:10px">
<inp2:m_if check="Field" name="RequireLogin">
<inp2:m_include t="in-bulletin/elements/side_boxes/poll_results.elm"/>
<div style="padding-top:5px; font-style: italic; font-weight: bold; text-align: center">
<inp2:m_phrase name="lu_text_GuestsLoginToVote"/>
</div>
<inp2:m_else/>
<inp2:m_if check="HasVoted">
<inp2:m_include t="in-bulletin/elements/side_boxes/poll_results.elm"/>
<div style="padding-top:5px; font-style: italic; font-weight: bold; text-align: center">
<inp2:m_phrase name="lu_text_AlreadyVoted"/>
</div>
<inp2:m_else/>
<ul style="list-style-type: none; padding-left: 0px;"><inp2:Field name="PollId" result_to_var="poll_id"/>
<inp2:poll-answer_PrintList list_name="list_answers" render_as="answer_element" direction="H" poll_id="$poll_id" requery="1"/>
</ul>
<div style="text-align: center; margin-top:8px; ">
<input type="hidden" id="selected_opt_<inp2:Field name="PollId"/>" name="selected_opt_<inp2:Field name="PollId"/>"/>
- <input class="button" type="button" id="vote_button" disabled onclick="aPollManager.makeVote('poll', <inp2:Field name="PollId"/>, getElementById('selected_opt_<inp2:Field name="PollId"/>').value); return false;" value="<inp2:m_Phrase label="lu_btn_Vote"/>"/>
+ <input class="button" type="button" id="vote_button" disabled onclick="aPollManager.makeVote('poll', <inp2:Field name="PollId"/>, getElementById('selected_opt_<inp2:Field name="PollId"/>').value); return false;" value="<inp2:m_Phrase label="lu_btn_Vote" no_editing="1"/>"/>
</div>
</inp2:m_if>
</inp2:m_if>
</div>
<!--## USER COMMENTS ##-->
<inp2:m_if check="Field" name="AllowComments">
<div style="text-align:center;">
<inp2:m_ifnot check="HasCommented">
<a href="<inp2:CommentsLink t="in-bulletin/elements/content_boxes/add_poll_comment.elm" height="480" width="480"/>" title="<inp2:Field name="Question"/>" class="thickbox"/><inp2:m_phrase name="lu_title_AddComment"/></a><br>
</inp2:m_ifnot>
<a href="<inp2:CommentsLink t="in-bulletin/elements/content_boxes/poll_comments.elm" height="480" width="480"/>" title="<inp2:Field name="Question"/>" class="thickbox"/><inp2:m_phrase name="lu_title_ViewComments"/></a>
</div>
</inp2:m_if>
<!--## //USER COMMENTS ##-->
</div>
</inp2:m_DefineElement>
<div style="width:100%; text-align:center;">
<inp2:poll_PrintList list_name="list_polls" render_as="poll_element" direction="H"/>
</div>
<!-- //POllS -->
\ No newline at end of file
Index: branches/5.0.x/themes/default2009/in-bulletin/elements/content_boxes/add_poll_comment.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-bulletin/elements/content_boxes/add_poll_comment.elm.tpl (revision 12313)
+++ branches/5.0.x/themes/default2009/in-bulletin/elements/content_boxes/add_poll_comment.elm.tpl (revision 12314)
@@ -1,48 +1,48 @@
<inp2:m_DefineElement name="content">
<inp2:poll-comment_PresetFormFields/>
<br/>
<form method="post" id="poll_comment_form" action="<inp2:m_Link height="480" width="480" pass="m,poll,poll-comment" poll-comment_event="OnCreate" />">
<table class="form-data fullwidth">
<inp2:m_ifnot check="m_LoggedIn">
<inp2:m_RenderElement name="inp_edit_box" prefix="poll-comment" field="GuestName" title="lu_fld_Name" style="width:200px"/>
<inp2:m_RenderElement name="inp_edit_box" prefix="poll-comment" field="GuestEmail" title="lu_fld_Email" style="width:200px"/>
</inp2:m_ifnot>
<inp2:m_RenderElement name="inp_edit_textarea" prefix="poll-comment" field="CommentBody" rows="8" cols="40" title="lu_fld_Comment" is_last="1"/>
<inp2:m_RenderElement design="inp_edit_buttons">
<input type="hidden" name="success_template" value="in-bulletin/elements/content_boxes/poll_comments.elm" />
- <input class="button" id="add_comment_btn" type="button" name="events[poll-comment][OnCreate]" value="<inp2:m_phrase label="lu_btn_Create"/>" />
- <input class="button" type="reset" name="reset" value="<inp2:m_phrase label="lu_btn_Reset"/>" />
+ <input class="button" id="add_comment_btn" type="button" name="events[poll-comment][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Create" no_editing="1"/>" />
+ <input class="button" type="reset" name="reset" value="<inp2:m_Phrase label="lu_btn_Reset" no_editing="1"/>" />
</inp2:m_RenderElement>
</table>
</form>
<script language="javascript" type="text/javascript">
$(document).ready(
function() {
$('#add_comment_btn').click(
function ($e) {
TB.show(
{
url: $('#poll_comment_form').attr('action'),
postParams: $('#poll_comment_form').serializeArray(),
showCallback: function() {
var $match_redirect = new RegExp('^#redirect#(.*)').exec($('#TB_ajaxContent').html());
if ($match_redirect != null) {
// redirect to external template requested
TB.show( {url: $match_redirect[1]+'&height=480&width=480'} );
return true;
}
}
}
);
}
)
}
);
</script>
</inp2:m_DefineElement>
<inp2:m_include template="platform/designs/default_design_ajax.des" pass_params="1"/>
\ No newline at end of file
Event Timeline
Log In to Comment