Merge pull request #8221 from nupplaphil/bug/7998-crepair_link

Replace old crepair content
This commit is contained in:
Hypolite Petovan 2020-02-02 14:01:51 -05:00 committed by GitHub
commit b1bfafe1f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 30 deletions

View file

@ -374,7 +374,7 @@ class Contact extends BaseModule
if ($cmd === 'updateprofile' && ($orig_record['uid'] != 0)) {
self::updateContactFromProbe($contact_id);
DI::baseUrl()->redirect('crepair/' . $contact_id);
DI::baseUrl()->redirect('contact/' . $contact_id . '/advanced/');
// NOTREACHED
}
@ -571,7 +571,6 @@ class Contact extends BaseModule
'$visit' => DI::l10n()->t('Visit %s\'s profile [%s]', $contact['name'], $contact['url']),
'$blockunblock' => DI::l10n()->t('Block/Unblock contact'),
'$ignorecont' => DI::l10n()->t('Ignore contact'),
'$lblcrepair' => DI::l10n()->t('Repair URL settings'),
'$lblrecent' => DI::l10n()->t('View conversations'),
'$lblsuggest' => $lblsuggest,
'$nettype' => $nettype,
@ -910,7 +909,7 @@ class Contact extends BaseModule
if (!empty($contact['uid'])) {
$tabs[] = ['label' => DI::l10n()->t('Advanced'),
'url' => 'crepair/' . $contact['id'],
'url' => 'contact/' . $contact['id'] . '/advanced/',
'sel' => (($active_tab == 6) ? 'active' : ''),
'title' => DI::l10n()->t('Advanced Contact Settings'),
'id' => 'advanced-tab',

View file

@ -486,13 +486,13 @@ aside .help-aside-wrapper h1 {
opacity: 1.0;
}
.crepair-label {
.contact-advanced-label {
margin-top: 10px;
float: left;
width: 250px;
}
.crepair-input {
.contact-advanced-input {
margin-top: 10px;
float: left;
width: 200px;
@ -549,7 +549,7 @@ td.pendingnote > p > span {
}
/* warning message */
.crepair-error-message,
.contact-advanced-error-message,
.warning-message {
padding: 10px;
margin: 5px;

View file

@ -2650,29 +2650,29 @@ aside input[type='text'] {
margin-top: 15px;
}
#crepair-name-label,
#crepair-nick-label,
#crepair-attag-label,
#crepair-url-label,
#crepair-request-label,
#crepair-confirm-label,
#crepair-notification-label,
#crepair-photo-label,
#crepair-poll-label {
#contact-advanced-name-label,
#contact-advanced-nick-label,
#contact-advanced-attag-label,
#contact-advanced-url-label,
#contact-advanced-request-label,
#contact-advanced-confirm-label,
#contact-advanced-notification-label,
#contact-advanced-photo-label,
#contact-advanced-poll-label {
float: left;
width: 200px;
margin-bottom: 15px;
}
#crepair-name,
#crepair-nick,
#crepair-attag,
#crepair-url,
#crepair-request,
#crepair-confirm,
#crepair-notify,
#crepair-photo,
#crepair-poll {
#contact-advanced-name,
#contact-advanced-nick,
#contact-advanced-attag,
#contact-advanced-url,
#contact-advanced-request,
#contact-advanced-confirm,
#contact-advanced-notify,
#contact-advanced-photo,
#contact-advanced-poll {
float: left;
width: 300px;
}

View file

@ -1,17 +1,17 @@
<div id="crepair" class="generic-page-wrapper">
<div id="contact-advanced" class="generic-page-wrapper">
{{include file="section_title.tpl"}}
{{$tab_str nofilter}}
<div class="crepair-error-message">{{$warning nofilter}}</div><br>
<div class="crepair-return">
<div class="contact-advanced-error-message">{{$warning nofilter}}</div><br>
<div class="contact-advanced-return">
{{$info nofilter}}<br>
<!-- <a href="{{$returnaddr}}">{{$return}}</a> -->
</div>
<br />
<form id="crepair-form" action="crepair/{{$contact_id}}" method="post" >
<form id="contact-advanced-form" action="contact/{{$contact_id}}/advanced" method="post" >
<!-- <h4>{{$contact_name}}</h4> -->

View file

@ -3170,13 +3170,13 @@ margin-left: 0px;
color: #efefef;
}
.crepair-label {
.contact-advanced-label {
margin-top: 10px;
float: left;
width: 250px;
}
.crepair-input {
.contact-advanced-input {
margin-top: 10px;
float: left;
width: 200px;