]> git.mxchange.org Git - friendica.git/commitdiff
fix: contact edit poll_interval wasn't submitted
authorrabuzarus <>
Wed, 20 Apr 2016 13:37:34 +0000 (15:37 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 1 May 2016 11:48:52 +0000 (13:48 +0200)
view/global.css
view/templates/contact_edit.tpl
view/theme/duepuntozero/style.css
view/theme/vier/style.css
view/theme/vier/templates/contact_edit.tpl

index f375e811b229c372a847b2622156b784b1d96968..8f0b06507c4b79be4266842d2d9abae0d62677b5 100644 (file)
@@ -452,4 +452,5 @@ td.federation-data {
 
 #contact-edit-settings {
   display: none;
+  margin: 10px 0;
 }
index 93999a860c6095a904a332a632a2e336eb997403..c5012822ec6d38f09a1a51435978f0440b9d4434 100644 (file)
@@ -8,91 +8,94 @@
 
 
        <div id="contact-edit-nav-wrapper" >
-               <div id="contact-edit-links">
-                       <div id="contact-edit-status-wrapper">
-                               <span id="contact-edit-contact-status">{{$contact_status}}</span>
-
-                               {{* This is the Action menu where contact related actions like 'ignore', 'hide' can be performed *}}
-                               <div id="contact-edit-actions">
-                                       <a class="btn" rel="#contact-actions-menu" href="#" id="contact-edit-actions-button">{{$contact_action_button}}</a>
-
-                                       <ul role="menu" aria-haspopup="true" id="contact-actions-menu" class="menu-popup" >
-                                               {{if $lblsuggest}}<li role="menuitem"><a  href="#" title="{{$contact_actions.suggest.title}}" onclick="window.location.href='{{$contact_actions.suggest.url}}'; return false;">{{$contact_actions.suggest.label}}</a></li>{{/if}}
-                                               {{if $poll_enabled}}<li role="menuitem"><a  href="#" title="{{$contact_actions.update.title}}" onclick="window.location.href='{{$contact_actions.update.url}}'; return false;">{{$contact_actions.update.label}}</a></li>{{/if}}
-                                               <li class="divider"></li>
-                                               <li role="menuitem"><a  href="#" title="{{$contact_actions.block.title}}" onclick="window.location.href='{{$contact_actions.block.url}}'; return false;">{{$contact_actions.block.label}}</a></li>
-                                               <li role="menuitem"><a  href="#" title="{{$contact_actions.ignore.title}}" onclick="window.location.href='{{$contact_actions.ignore.url}}'; return false;">{{$contact_actions.ignore.label}}</a></li>
-                                               <li role="menuitem"><a  href="#" title="{{$contact_actions.archive.title}}" onclick="window.location.href='{{$contact_actions.archive.url}}'; return false;">{{$contact_actions.archive.label}}</a></li>
-                                               <li role="menuitem"><a  href="#" title="{{$contact_actions.delete.title}}" onclick="return confirmDelete();">{{$contact_actions.delete.label}}</a></li>
+               <form action="contacts/{{$contact_id}}" method="post" >
+                       <div id="contact-edit-links">
+                               <div id="contact-edit-status-wrapper">
+                                       <span id="contact-edit-contact-status">{{$contact_status}}</span>
+
+                                       {{* This is the Action menu where contact related actions like 'ignore', 'hide' can be performed *}}
+                                       <div id="contact-edit-actions">
+                                               <a class="btn" rel="#contact-actions-menu" href="#" id="contact-edit-actions-button">{{$contact_action_button}}</a>
+
+                                               <ul role="menu" aria-haspopup="true" id="contact-actions-menu" class="menu-popup" >
+                                                       {{if $lblsuggest}}<li role="menuitem"><a  href="#" title="{{$contact_actions.suggest.title}}" onclick="window.location.href='{{$contact_actions.suggest.url}}'; return false;">{{$contact_actions.suggest.label}}</a></li>{{/if}}
+                                                       {{if $poll_enabled}}<li role="menuitem"><a  href="#" title="{{$contact_actions.update.title}}" onclick="window.location.href='{{$contact_actions.update.url}}'; return false;">{{$contact_actions.update.label}}</a></li>{{/if}}
+                                                       <li class="divider"></li>
+                                                       <li role="menuitem"><a  href="#" title="{{$contact_actions.block.title}}" onclick="window.location.href='{{$contact_actions.block.url}}'; return false;">{{$contact_actions.block.label}}</a></li>
+                                                       <li role="menuitem"><a  href="#" title="{{$contact_actions.ignore.title}}" onclick="window.location.href='{{$contact_actions.ignore.url}}'; return false;">{{$contact_actions.ignore.label}}</a></li>
+                                                       <li role="menuitem"><a  href="#" title="{{$contact_actions.archive.title}}" onclick="window.location.href='{{$contact_actions.archive.url}}'; return false;">{{$contact_actions.archive.label}}</a></li>
+                                                       <li role="menuitem"><a  href="#" title="{{$contact_actions.delete.title}}" onclick="return confirmDelete();">{{$contact_actions.delete.label}}</a></li>
+                                               </ul>
+                                       </div>
+
+                                       {{* Block with status information about the contact *}}
+                                       <ul>
+                                               {{if $relation_text}}<li><div id="contact-edit-rel">{{$relation_text}}</div></li>{{/if}}
+
+                                               {{if $poll_enabled}}
+                                                       <li><div id="contact-edit-last-update-text">{{$lastupdtext}} <span id="contact-edit-last-updated">{{$last_update}}</span></div>
+                                                       {{if $poll_interval}}
+                                                               <span id="contact-edit-poll-text">{{$updpub}}</span> {{$poll_interval}}
+                                                       {{/if}}
+                                                       </li>
+                                               {{/if}}
+
+                                               {{if $lost_contact}}<li><div id="lost-contact-message">{{$lost_contact}}</div></li>{{/if}}
+                                               {{if $insecure}}<li><div id="insecure-message">{{$insecure}}</div></li> {{/if}}
+                                               {{if $blocked}}<li><div id="block-message">{{$blocked}}</div></li>{{/if}}
+                                               {{if $ignored}}<li><div id="ignore-message">{{$ignored}}</div></li>{{/if}}
+                                               {{if $archived}}<li><div id="archive-message">{{$archived}}</div></li>{{/if}}
                                        </ul>
-                               </div>
 
-                               {{* Block with status information about the contact *}}
-                               <ul>
-                                       {{if $relation_text}}<li><div id="contact-edit-rel">{{$relation_text}}</div></li>{{/if}}
+                                       <ul>
+                                               <!-- <li><a href="network/0?nets=all&cid={{$contact_id}}" id="contact-edit-view-recent">{{$lblrecent}}</a></li> -->
+                                               {{if $follow}}<li><div id="contact-edit-follow"><a href="{{$follow}}">{{$follow_text}}</a></div></li>{{/if}}
+                                       </ul>
+                               </div> {{* End of contact-edit-status-wrapper *}}
 
-                                       {{if $poll_enabled}}
-                                               <li><div id="contact-edit-last-update-text">{{$lastupdtext}} <span id="contact-edit-last-updated">{{$last_update}}</span></div>
-                                               {{if $poll_interval}}
-                                                       <span id="contact-edit-poll-text">{{$updpub}}</span> {{$poll_interval}}
-                                               {{/if}}
-                                               </li>
+                               {{* Some information about the contact from the profile *}}
+                               <dl><dt>{{$profileurllabel}}</dt><dd><a target="blank" href="{{$url}}">{{$profileurl}}</a></dd></dl>
+                               {{if $location}}<dl><dt>{{$location_label}}</dt><dd>{{$location}}</dd></dl>{{/if}}
+                               {{if $keywords}}<dl><dt>{{$keywords_label}}</dt><dd>{{$keywords}}</dd></dl>{{/if}}
+                               {{if $about}}<dl><dt>{{$about_label}}</dt><dd>{{$about}}</dd></dl>{{/if}}
+                       </div>{{* End of contact-edit-links *}}
+
+                       <div id="contact-edit-links-end"></div>
+
+                       <hr />
+
+                       <h4 id="contact-edit-settings-label" class="fakelink" onclick="openClose('contact-edit-settings')">{{$contact_settings_label}}</h4>
+                       <div id="contact-edit-settings">
+                               <input type="hidden" name="contact_id" value="{{$contact_id}}">
+
+                                       <div id="contact-edit-end" ></div>
+                                       {{include file="field_checkbox.tpl" field=$notify}}
+                                       {{if $fetch_further_information}}
+                                               {{include file="field_select.tpl" field=$fetch_further_information}}
+                                               {{if $fetch_further_information.2 == 2 }} {{include file="field_textarea.tpl" field=$ffi_keyword_blacklist}} {{/if}}
                                        {{/if}}
+                                       {{include file="field_checkbox.tpl" field=$hidden}}
 
-                                       {{if $lost_contact}}<li><div id="lost-contact-message">{{$lost_contact}}</div></li>{{/if}}
-                                       {{if $insecure}}<li><div id="insecure-message">{{$insecure}}</div></li> {{/if}}
-                                       {{if $blocked}}<li><div id="block-message">{{$blocked}}</div></li>{{/if}}
-                                       {{if $ignored}}<li><div id="ignore-message">{{$ignored}}</div></li>{{/if}}
-                                       {{if $archived}}<li><div id="archive-message">{{$archived}}</div></li>{{/if}}
-                               </ul>
-
-                               <ul>
-                                       <!-- <li><a href="network/0?nets=all&cid={{$contact_id}}" id="contact-edit-view-recent">{{$lblrecent}}</a></li> -->
-                                       {{if $follow}}<li><div id="contact-edit-follow"><a href="{{$follow}}">{{$follow_text}}</a></div></li>{{/if}}
-                               </ul>
-                       </div> {{* End of contact-edit-status-wrapper *}}
-
-                       {{* Some information about the contact from the profile *}}
-                       <dl><dt>{{$profileurllabel}}</dt><dd><a target="blank" href="{{$url}}">{{$profileurl}}</a></dd></dl>
-                       {{if $location}}<dl><dt>{{$location_label}}</dt><dd>{{$location}}</dd></dl>{{/if}}
-                       {{if $keywords}}<dl><dt>{{$keywords_label}}</dt><dd>{{$keywords}}</dd></dl>{{/if}}
-                       {{if $about}}<dl><dt>{{$about_label}}</dt><dd>{{$about}}</dd></dl>{{/if}}
-               </div>{{* End of contact-edit-links *}}
-
-               <div id="contact-edit-links-end"></div>
-
-               <hr />
-
-               <h4 id="contact-edit-settings-label" class="fakelink" onclick="openClose('contact-edit-settings')">{{$contact_settings_label}}</h4>
-               <div id="contact-edit-settings">
-                       <form action="contacts/{{$contact_id}}" method="post" >
-                       <input type="hidden" name="contact_id" value="{{$contact_id}}">
-
-                               <div id="contact-edit-end" ></div>
-                               {{include file="field_checkbox.tpl" field=$notify}}
-                               {{if $fetch_further_information}}
-                                       {{include file="field_select.tpl" field=$fetch_further_information}}
-                                       {{if $fetch_further_information.2 == 2 }} {{include file="field_textarea.tpl" field=$ffi_keyword_blacklist}} {{/if}}
+                               <div id="contact-edit-info-wrapper">
+                                       <h4>{{$lbl_info1}}</h4>
+                                       <textarea id="contact-edit-info" rows="8" cols="60" name="info">{{$info}}</textarea>
+                               </div>
+                               <div id="contact-edit-info-end"></div>
+
+                               {{if $profile_select}}
+                                       <div id="contact-edit-profile-select-text">
+                                       <h4>{{$lbl_vis1}}</h4>
+                                       <p>{{$lbl_vis2}}</p> 
+                                       </div>
+                                       {{$profile_select}}
+                                       <div id="contact-edit-profile-select-end"></div>
                                {{/if}}
-                               {{include file="field_checkbox.tpl" field=$hidden}}
-
-                       <div id="contact-edit-info-wrapper">
-                               <h4>{{$lbl_info1}}</h4>
-                               <textarea id="contact-edit-info" rows="8" cols="60" name="info">{{$info}}</textarea>
-                               <input class="contact-edit-submit" type="submit" name="submit" value="{{$submit|escape:'html'}}" />
                        </div>
-                       <div id="contact-edit-info-end"></div>
 
-                       {{if $profile_select}}
-                               <div id="contact-edit-profile-select-text">
-                               <h4>{{$lbl_vis1}}</h4>
-                               <p>{{$lbl_vis2}}</p> 
-                               </div>
-                               {{$profile_select}}
-                               <div id="contact-edit-profile-select-end"></div>
-                               <input class="contact-edit-submit" type="submit" name="submit" value="{{$submit|escape:'html'}}" />
-                       {{/if}}
-                       </form>
-               </div>
+                       <input class="contact-edit-submit" type="submit" name="submit" value="{{$submit|escape:'html'}}" />
+
+                       <div class="contact-edit-submit-end clearfix"></div>
+
+               </form>{{* End of the form *}}
        </div>{{* End of contact-edit-nav-wrapper *}}
 </div>
index 53d034d8659f051ae62feaef4128ac662e382444..49754c83892be137e81f7255df632d777a465938 100644 (file)
@@ -1739,10 +1739,6 @@ blockquote.shared_content {
        /*margin-left: 175px;*/
 }
 
-.contact-edit-submit {
-       margin-top: 20px;
-}
-
 .contact-select {      position: absolute; top: 64px; left:64px; display:none; }
 .contact-select:checked,
 .contact-entry-photo:hover .contact-select {   display:block; }
index 340d3b6442d1f6e5b47810da70fa87b3428e67f8..47a0bfbabd9631090eecd4cc45d49449e5a8e38c 100644 (file)
@@ -2986,10 +2986,6 @@ a.mail-list-link {
   list-style-type: none;
 }
 
-#contact-edit-settings {
-  margin-top: 10px;
-}
-
 a.btn#contact-edit-actions-button {
   cursor: pointer;
   border-radius: 3px;
index ce3cfbf8081df249784e75d044cd431d09cbddaa..ef177de07e733245d59f7d9f77754447d4aa594f 100644 (file)
@@ -8,91 +8,94 @@
 
 
        <div id="contact-edit-nav-wrapper" >
-               <div id="contact-edit-links">
-                       <div id="contact-edit-status-wrapper">
-                               <span id="contact-edit-contact-status">{{$contact_status}}</span>
-
-                               {{* This is the Action menu where contact related actions like 'ignore', 'hide' can be performed *}}
-                               <div id="contact-edit-actions">
-                                       <a class="btn" id="contact-edit-actions-button">{{$contact_action_button}}</a>
-
-                                       <ul role="menu" aria-haspopup="true" id="contact-actions-menu" class="menu-popup" >
-                                               {{if $lblsuggest}}<li role="menuitem"><a  href="#" title="{{$contact_actions.suggest.title}}" onclick="window.location.href='{{$contact_actions.suggest.url}}'; return false;">{{$contact_actions.suggest.label}}</a></li>{{/if}}
-                                               {{if $poll_enabled}}<li role="menuitem"><a  href="#" title="{{$contact_actions.update.title}}" onclick="window.location.href='{{$contact_actions.update.url}}'; return false;">{{$contact_actions.update.label}}</a></li>{{/if}}
-                                               <li class="divider"></li>
-                                               <li role="menuitem"><a  href="#" title="{{$contact_actions.block.title}}" onclick="window.location.href='{{$contact_actions.block.url}}'; return false;">{{$contact_actions.block.label}}</a></li>
-                                               <li role="menuitem"><a  href="#" title="{{$contact_actions.ignore.title}}" onclick="window.location.href='{{$contact_actions.ignore.url}}'; return false;">{{$contact_actions.ignore.label}}</a></li>
-                                               <li role="menuitem"><a  href="#" title="{{$contact_actions.archive.title}}" onclick="window.location.href='{{$contact_actions.archive.url}}'; return false;">{{$contact_actions.archive.label}}</a></li>
-                                               <li role="menuitem"><a  href="#" title="{{$contact_actions.delete.title}}" onclick="return confirmDelete();">{{$contact_actions.delete.label}}</a></li>
+               <form action="contacts/{{$contact_id}}" method="post" >
+                       <div id="contact-edit-links">
+                               <div id="contact-edit-status-wrapper">
+                                       <span id="contact-edit-contact-status">{{$contact_status}}</span>
+
+                                       {{* This is the Action menu where contact related actions like 'ignore', 'hide' can be performed *}}
+                                       <div id="contact-edit-actions">
+                                               <a class="btn" id="contact-edit-actions-button">{{$contact_action_button}}</a>
+
+                                               <ul role="menu" aria-haspopup="true" id="contact-actions-menu" class="menu-popup" >
+                                                       {{if $lblsuggest}}<li role="menuitem"><a  href="#" title="{{$contact_actions.suggest.title}}" onclick="window.location.href='{{$contact_actions.suggest.url}}'; return false;">{{$contact_actions.suggest.label}}</a></li>{{/if}}
+                                                       {{if $poll_enabled}}<li role="menuitem"><a  href="#" title="{{$contact_actions.update.title}}" onclick="window.location.href='{{$contact_actions.update.url}}'; return false;">{{$contact_actions.update.label}}</a></li>{{/if}}
+                                                       <li class="divider"></li>
+                                                       <li role="menuitem"><a  href="#" title="{{$contact_actions.block.title}}" onclick="window.location.href='{{$contact_actions.block.url}}'; return false;">{{$contact_actions.block.label}}</a></li>
+                                                       <li role="menuitem"><a  href="#" title="{{$contact_actions.ignore.title}}" onclick="window.location.href='{{$contact_actions.ignore.url}}'; return false;">{{$contact_actions.ignore.label}}</a></li>
+                                                       <li role="menuitem"><a  href="#" title="{{$contact_actions.archive.title}}" onclick="window.location.href='{{$contact_actions.archive.url}}'; return false;">{{$contact_actions.archive.label}}</a></li>
+                                                       <li role="menuitem"><a  href="#" title="{{$contact_actions.delete.title}}" onclick="return confirmDelete();">{{$contact_actions.delete.label}}</a></li>
+                                               </ul>
+                                       </div>
+
+                                       {{* Block with status information about the contact *}}
+                                       <ul>
+                                               {{if $relation_text}}<li><div id="contact-edit-rel">{{$relation_text}}</div></li>{{/if}}
+
+                                               {{if $poll_enabled}}
+                                                       <li><div id="contact-edit-last-update-text">{{$lastupdtext}} <span id="contact-edit-last-updated">{{$last_update}}</span></div>
+                                                       {{if $poll_interval}}
+                                                               <span id="contact-edit-poll-text">{{$updpub}}</span> {{$poll_interval}}
+                                                       {{/if}}
+                                                       </li>
+                                               {{/if}}
+
+                                               {{if $lost_contact}}<li><div id="lost-contact-message">{{$lost_contact}}</div></li>{{/if}}
+                                               {{if $insecure}}<li><div id="insecure-message">{{$insecure}}</div></li> {{/if}}
+                                               {{if $blocked}}<li><div id="block-message">{{$blocked}}</div></li>{{/if}}
+                                               {{if $ignored}}<li><div id="ignore-message">{{$ignored}}</div></li>{{/if}}
+                                               {{if $archived}}<li><div id="archive-message">{{$archived}}</div></li>{{/if}}
                                        </ul>
-                               </div>
 
-                               {{* Block with status information about the contact *}}
-                               <ul>
-                                       {{if $relation_text}}<li><div id="contact-edit-rel">{{$relation_text}}</div></li>{{/if}}
+                                       <ul>
+                                               <!-- <li><a href="network/0?nets=all&cid={{$contact_id}}" id="contact-edit-view-recent">{{$lblrecent}}</a></li> -->
+                                               {{if $follow}}<li><div id="contact-edit-follow"><a href="{{$follow}}">{{$follow_text}}</a></div></li>{{/if}}
+                                       </ul>
+                               </div> {{* End of contact-edit-status-wrapper *}}
 
-                                       {{if $poll_enabled}}
-                                               <li><div id="contact-edit-last-update-text">{{$lastupdtext}} <span id="contact-edit-last-updated">{{$last_update}}</span></div>
-                                               {{if $poll_interval}}
-                                                       <span id="contact-edit-poll-text">{{$updpub}}</span> {{$poll_interval}}
-                                               {{/if}}
-                                               </li>
+                               {{* Some information about the contact from the profile *}}
+                               <dl><dt>{{$profileurllabel}}</dt><dd><a target="blank" href="{{$url}}">{{$profileurl}}</a></dd></dl>
+                               {{if $location}}<dl><dt>{{$location_label}}</dt><dd>{{$location}}</dd></dl>{{/if}}
+                               {{if $keywords}}<dl><dt>{{$keywords_label}}</dt><dd>{{$keywords}}</dd></dl>{{/if}}
+                               {{if $about}}<dl><dt>{{$about_label}}</dt><dd>{{$about}}</dd></dl>{{/if}}
+                       </div>{{* End of contact-edit-links *}}
+
+                       <div id="contact-edit-links-end"></div>
+
+                       <hr />
+
+                       <h4 id="contact-edit-settings-label" class="fakelink" onclick="openClose('contact-edit-settings')">{{$contact_settings_label}}</h4>
+                       <div id="contact-edit-settings">
+                               <input type="hidden" name="contact_id" value="{{$contact_id}}">
+
+                                       <div id="contact-edit-end" ></div>
+                                       {{include file="field_checkbox.tpl" field=$notify}}
+                                       {{if $fetch_further_information}}
+                                               {{include file="field_select.tpl" field=$fetch_further_information}}
+                                               {{if $fetch_further_information.2 == 2 }} {{include file="field_textarea.tpl" field=$ffi_keyword_blacklist}} {{/if}}
                                        {{/if}}
+                                       {{include file="field_checkbox.tpl" field=$hidden}}
 
-                                       {{if $lost_contact}}<li><div id="lost-contact-message">{{$lost_contact}}</div></li>{{/if}}
-                                       {{if $insecure}}<li><div id="insecure-message">{{$insecure}}</div></li> {{/if}}
-                                       {{if $blocked}}<li><div id="block-message">{{$blocked}}</div></li>{{/if}}
-                                       {{if $ignored}}<li><div id="ignore-message">{{$ignored}}</div></li>{{/if}}
-                                       {{if $archived}}<li><div id="archive-message">{{$archived}}</div></li>{{/if}}
-                               </ul>
-
-                               <ul>
-                                       <!-- <li><a href="network/0?nets=all&cid={{$contact_id}}" id="contact-edit-view-recent">{{$lblrecent}}</a></li> -->
-                                       {{if $follow}}<li><div id="contact-edit-follow"><a href="{{$follow}}">{{$follow_text}}</a></div></li>{{/if}}
-                               </ul>
-                       </div> {{* End of contact-edit-status-wrapper *}}
-
-                       {{* Some information about the contact from the profile *}}
-                       <dl><dt>{{$profileurllabel}}</dt><dd><a target="blank" href="{{$url}}">{{$profileurl}}</a></dd></dl>
-                       {{if $location}}<dl><dt>{{$location_label}}</dt><dd>{{$location}}</dd></dl>{{/if}}
-                       {{if $keywords}}<dl><dt>{{$keywords_label}}</dt><dd>{{$keywords}}</dd></dl>{{/if}}
-                       {{if $about}}<dl><dt>{{$about_label}}</dt><dd>{{$about}}</dd></dl>{{/if}}
-               </div>{{* End of contact-edit-links *}}
-
-               <div id="contact-edit-links-end"></div>
-
-               <hr />
-
-               <h4 id="contact-edit-settings-label" class="fakelink" onclick="openClose('contact-edit-settings')">{{$contact_settings_label}}</h4>
-               <div id="contact-edit-settings">
-                       <form action="contacts/{{$contact_id}}" method="post" >
-                       <input type="hidden" name="contact_id" value="{{$contact_id}}">
-
-                               <div id="contact-edit-end" ></div>
-                               {{include file="field_checkbox.tpl" field=$notify}}
-                               {{if $fetch_further_information}}
-                                       {{include file="field_select.tpl" field=$fetch_further_information}}
-                                       {{if $fetch_further_information.2 == 2 }} {{include file="field_textarea.tpl" field=$ffi_keyword_blacklist}} {{/if}}
+                               <div id="contact-edit-info-wrapper">
+                                       <h4>{{$lbl_info1}}</h4>
+                                       <textarea id="contact-edit-info" rows="8" cols="60" name="info">{{$info}}</textarea>
+                               </div>
+                               <div id="contact-edit-info-end"></div>
+
+                               {{if $profile_select}}
+                                       <div id="contact-edit-profile-select-text">
+                                       <h4>{{$lbl_vis1}}</h4>
+                                       <p>{{$lbl_vis2}}</p> 
+                                       </div>
+                                       {{$profile_select}}
+                                       <div id="contact-edit-profile-select-end"></div>
                                {{/if}}
-                               {{include file="field_checkbox.tpl" field=$hidden}}
-
-                       <div id="contact-edit-info-wrapper">
-                               <h4>{{$lbl_info1}}</h4>
-                               <textarea id="contact-edit-info" rows="8" cols="60" name="info">{{$info}}</textarea>
-                               <input class="contact-edit-submit" type="submit" name="submit" value="{{$submit|escape:'html'}}" />
                        </div>
-                       <div id="contact-edit-info-end"></div>
 
-                       {{if $profile_select}}
-                               <div id="contact-edit-profile-select-text">
-                               <h4>{{$lbl_vis1}}</h4>
-                               <p>{{$lbl_vis2}}</p> 
-                               </div>
-                               {{$profile_select}}
-                               <div id="contact-edit-profile-select-end"></div>
-                               <input class="contact-edit-submit" type="submit" name="submit" value="{{$submit|escape:'html'}}" />
-                       {{/if}}
-                       </form>
-               </div>
+                       <input class="contact-edit-submit" type="submit" name="submit" value="{{$submit|escape:'html'}}" />
+
+                       <div class="contact-edit-submit-end clearfix"></div>
+
+               </form>{{* End of the form *}}
        </div>{{* End of contact-edit-nav-wrapper *}}
 </div>