Committer: esavintcev
LJSUP-6714: Facebook & Twitter Connection SettingsU trunk/templates/Settings/FacebookConnect.tmpl U trunk/templates/Settings/TwitterConnect.tmpl
Modified: trunk/templates/Settings/FacebookConnect.tmpl =================================================================== --- trunk/templates/Settings/FacebookConnect.tmpl 2010-09-02 03:44:59 UTC (rev 9454) +++ trunk/templates/Settings/FacebookConnect.tmpl 2010-09-02 03:46:48 UTC (rev 9455) @@ -1,33 +1,28 @@ <TMPL_IF connected> <p> - <img src="<TMPL_VAR lj_imgprefix>/facebook-profile.gif" class="i-setting-fbconnect-icon" /> + <img src="<TMPL_VAR lj_imgprefix>/icons/facebook-16.gif" class="i-setting-connect-icon" /> <strong><TMPL_VAR facebook_name></strong> <TMPL_UNLESS is_fb_identity> (<a href="<TMPL_VAR disconnect_link>"><TMPL_VAR expr="ml('setting.facebookconnect.link.remove')"></a>) </TMPL_UNLESS> </p> - + <ul class="b-manage-connectopt"> <TMPL_IF is_identity> - <p 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"> + <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.facebookconnect.option.entries_facebook')"></label> - </p> + </li> <TMPL_ELSE> - <p> - <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> - > + <li> + <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.facebookconnect.option.entries_facebook')"></label> - </p> + </li> </TMPL_IF> - - <p> - <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> - > + <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.facebookconnect.option.comments_facebook')"></label> - </p> - + </li> + </ul> <p class="details"><TMPL_VAR expr="ml('setting.facebookconnect.note.connected')"></p> <TMPL_ELSE> <p class="b-manage-connectbtn"><button type="submit" name="<TMPL_VAR form_field_prefix>connect" value="<TMPL_VAR expr="ml('setting.facebookconnect.button.facebook_connect')">" class="b-connectbtn b-connectbtn-facebook" title="<TMPL_VAR expr="ml('setting.facebookconnect.button.facebook_connect')">"><span><i></i><TMPL_VAR expr="ml('setting.facebookconnect.button.facebook_connect')"></span></button></p> Modified: trunk/templates/Settings/TwitterConnect.tmpl =================================================================== --- trunk/templates/Settings/TwitterConnect.tmpl 2010-09-02 03:44:59 UTC (rev 9454) +++ trunk/templates/Settings/TwitterConnect.tmpl 2010-09-02 03:46:48 UTC (rev 9455) @@ -1,36 +1,31 @@ <TMPL_IF connected> <p> - <img src="<TMPL_VAR lj_imgprefix>/twitter-profile.gif"> + <img src="<TMPL_VAR lj_imgprefix>/icons/twitter-16.gif" class="i-setting-connect-icon" /> <strong><TMPL_VAR twitter_name></strong> (<a href="<TMPL_VAR disconnect_link>"><TMPL_VAR expr="ml('setting.twitterconnect.link.remove')"></a>) </p> - + <ul class="b-manage-connectopt"> <TMPL_IF is_identity> - <p 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"> + <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> - </p> + </li> <TMPL_ELSE> - <p> - <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> - > + <li> + <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> - </p> + </li> </TMPL_IF> - - <p> - <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> - > + <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> - </p> - + </li> + </ul> <p class="details"><TMPL_VAR expr="ml('setting.twitterconnect.note.connected')"></p> <TMPL_ELSE> <p class="b-manage-connectbtn"><button type="submit" name="<TMPL_VAR form_field_prefix>connect" value="<TMPL_VAR expr="ml('setting.twitterconnect.button.twitter_connect')">" class="b-connectbtn b-connectbtn-twitter" title="<TMPL_VAR expr="ml('setting.twitterconnect.button.twitter_connect')">"><span><i></i><TMPL_VAR expr="ml('setting.twitterconnect.button.twitter_connect')"></span></button></p> <ul class="b-manage-connectopt"> - <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"<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></p> + <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"<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> <li class="disabled"><input type="checkbox" name="<TMPL_VAR form_field_prefix>repost_comments" value="1" id="<TMPL_VAR form_field_prefix>repost_comments" disabled="disabled"<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></li> </ul> <p class="details"><TMPL_VAR expr="ml('setting.twitterconnect.note.disconnected')"></p>