Committer: ailyin
LJSUP-6880 (Checkbox "Publish my tweets to my journal" should be disabled if the account is identity.): also need disable "Publish my entries to Twitter by default"U trunk/templates/Settings/TwitterConnect.tmpl
Modified: trunk/templates/Settings/TwitterConnect.tmpl =================================================================== --- trunk/templates/Settings/TwitterConnect.tmpl 2010-09-28 07:11:49 UTC (rev 9553) +++ trunk/templates/Settings/TwitterConnect.tmpl 2010-09-28 07:23:28 UTC (rev 9554) @@ -9,7 +9,7 @@ <input type="checkbox" name="<TMPL_VAR form_field_prefix>digest" value="1" id="<TMPL_VAR form_field_prefix>digest"<TMPL_IF digest> checked="checked"</TMPL_IF> <TMPL_UNLESS has_journal>disabled="disabled"</TMPL_UNLESS> /> <label for="<TMPL_VAR form_field_prefix>digest"><TMPL_VAR expr="ml('setting.twitterconnect.option.digest2')"></label> </li> - <TMPL_IF is_identity> + <TMPL_UNLESS has_journal> <li class="disabled"> <input type="checkbox" name="<TMPL_VAR form_field_prefix>repost_entries" value="1" id="<TMPL_VAR form_field_prefix>repost_entries" disabled="disabled" /> <label for="<TMPL_VAR form_field_prefix>repost_entries"><TMPL_VAR expr="ml('setting.twitterconnect.option.entries_twitter')"></label> @@ -19,7 +19,7 @@ <input type="checkbox" name="<TMPL_VAR form_field_prefix>repost_entries" value="1" id="<TMPL_VAR form_field_prefix>repost_entries"<TMPL_IF repost_entries> checked="checked"</TMPL_IF> /> <label for="<TMPL_VAR form_field_prefix>repost_entries"><TMPL_VAR expr="ml('setting.twitterconnect.option.entries_twitter')"></label> </li> - </TMPL_IF> + </TMPL_UNLESS> <li> <input type="checkbox" name="<TMPL_VAR form_field_prefix>repost_comments" value="1" id="<TMPL_VAR form_field_prefix>repost_comments"<TMPL_IF repost_comments> checked="checked"</TMPL_IF> /> <label for="<TMPL_VAR form_field_prefix>repost_comments"><TMPL_VAR expr="ml('setting.twitterconnect.option.comments_twitter')"></label>