Skip to content

Commit ab463c1

Browse files
committed
Tidy Phone Country code add + placeholder
1 parent 36af4d1 commit ab463c1

8 files changed

+15
-15
lines changed

admin_settings_company.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
<div class="input-group-prepend">
120120
<span class="input-group-text"><i class="fa fa-fw fa-phone"></i></span>
121121
</div>
122-
<input type="tel" class="form-control col-2" name="phone_country_code" value="+<?php echo $company_phone_country_code; ?>" placeholder="Code" maxlength="4">
122+
<input type="tel" class="form-control col-2" name="phone_country_code" value="<?php echo $company_phone_country_code; ?>" placeholder="+" maxlength="4">
123123
<input type="tel" class="form-control" name="phone" value="<?php echo $company_phone; ?>" placeholder="Phone Number" maxlength="200">
124124
</div>
125125
</div>

ajax/ajax_contact_edit.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
<div class="input-group-prepend">
122122
<span class="input-group-text"><i class="fa fa-fw fa-phone"></i></span>
123123
</div>
124-
<input type="tel" class="form-control col-2" name="phone_country_code" value="<?php echo "+$contact_phone_country_code"; ?>" placeholder="Code" maxlength="4">
124+
<input type="tel" class="form-control col-2" name="phone_country_code" value="<?php echo "$contact_phone_country_code"; ?>" placeholder="+" maxlength="4">
125125
<input type="tel" class="form-control" name="phone" value="<?php echo $contact_phone; ?>" placeholder="Phone Number" maxlength="200">
126126
</div>
127127
</div>
@@ -141,7 +141,7 @@
141141
<div class="input-group-prepend">
142142
<span class="input-group-text"><i class="fa fa-fw fa-mobile-alt"></i></span>
143143
</div>
144-
<input type="tel" class="form-control col-2" name="mobile_country_code" value="<?php echo "+$contact_mobile_country_code"; ?>" placeholder="Code" maxlength="4">
144+
<input type="tel" class="form-control col-2" name="mobile_country_code" value="<?php echo "$contact_mobile_country_code"; ?>" placeholder="+" maxlength="4">
145145
<input type="tel" class="form-control" name="mobile" value="<?php echo $contact_mobile; ?>" placeholder="Phone Number">
146146
</div>
147147
</div>

ajax/ajax_location_edit.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
<div class="input-group-prepend">
210210
<span class="input-group-text"><i class="fa fa-fw fa-phone"></i></span>
211211
</div>
212-
<input type="tel" class="form-control col-2" name="phone_country_code" value="<?php echo "+$location_phone_country_code"; ?>" placeholder="Code" maxlength="4">
212+
<input type="tel" class="form-control col-2" name="phone_country_code" value="<?php echo $location_phone_country_code; ?>" placeholder="+" maxlength="4">
213213
<input type="tel" class="form-control" name="phone" value="<?php echo $location_phone; ?>" placeholder="Phone Number" maxlength="200">
214214
</div>
215215
</div>
@@ -229,7 +229,7 @@
229229
<div class="input-group-prepend">
230230
<span class="input-group-text"><i class="fa fa-fw fa-fax"></i></span>
231231
</div>
232-
<input type="tel" class="form-control col-2" name="fax_country_code" value="<?php echo "+$location_fax_country_code"; ?>" placeholder="Code" maxlength="4">
232+
<input type="tel" class="form-control col-2" name="fax_country_code" value="<?php echo $location_fax_country_code; ?>" placeholder="+" maxlength="4">
233233
<input type="tel" class="form-control" name="fax" value="<?php echo $location_fax; ?>" placeholder="Phone Number" maxlength="200">
234234
</div>
235235
</div>

ajax/ajax_vendor_edit.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<div class="input-group-prepend">
128128
<span class="input-group-text"><i class="fa fa-fw fa-phone"></i></span>
129129
</div>
130-
<input type="tel" class="form-control col-2" name="phone_country_code" value="<?php echo "+$vendor_phone_country_code"; ?>" placeholder="Code" maxlength="4">
130+
<input type="tel" class="form-control col-2" name="phone_country_code" value="<?php echo $vendor_phone_country_code; ?>" placeholder="+" maxlength="4">
131131
<input type="tel" class="form-control" name="phone" value="<?php echo $vendor_phone; ?>" placeholder="Phone Number" maxlength="200">
132132
</div>
133133
</div>

modals/client_add_modal.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
<div class="input-group-prepend">
209209
<span class="input-group-text"><i class="fa fa-fw fa-phone"></i></span>
210210
</div>
211-
<input type="tel" class="form-control col-2" name="location_phone_country_code" value="+1" placeholder="Code" maxlength="4">
211+
<input type="tel" class="form-control col-2" name="location_phone_country_code" placeholder="+" maxlength="4">
212212
<input type="tel" class="form-control" name="location_phone" placeholder="Phone Number" maxlength="200">
213213
</div>
214214
</div>
@@ -228,7 +228,7 @@
228228
<div class="input-group-prepend">
229229
<span class="input-group-text"><i class="fa fa-fw fa-fax"></i></span>
230230
</div>
231-
<input type="tel" class="form-control col-2" name="location_fax_country_code" value="+1" placeholder="Code" maxlength="4">
231+
<input type="tel" class="form-control col-2" name="location_fax_country_code" placeholder="+" maxlength="4">
232232
<input type="tel" class="form-control" name="location_fax" placeholder="Fax Number">
233233
</div>
234234
</div>
@@ -267,7 +267,7 @@
267267
<div class="input-group-prepend">
268268
<span class="input-group-text"><i class="fa fa-fw fa-phone"></i></span>
269269
</div>
270-
<input type="tel" class="form-control col-2" name="contact_phone_country_code" value="+1" placeholder="Code" maxlength="4">
270+
<input type="tel" class="form-control col-2" name="contact_phone_country_code" placeholder="+" maxlength="4">
271271
<input type="tel" class="form-control" name="contact_phone" placeholder="Phone Number" maxlength="200">
272272
</div>
273273
</div>
@@ -287,7 +287,7 @@
287287
<div class="input-group-prepend">
288288
<span class="input-group-text"><i class="fa fa-fw fa-mobile-alt"></i></span>
289289
</div>
290-
<input type="tel" class="form-control col-2" name="contact_mobile_country_code" value="+1" placeholder="Code" maxlength="4">
290+
<input type="tel" class="form-control col-2" name="contact_mobile_country_code" placeholder="+" maxlength="4">
291291
<input type="tel" class="form-control" name="contact_mobile" placeholder="Mobile Phone Number">
292292
</div>
293293
</div>

modals/contact_add_modal.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
<div class="input-group-prepend">
102102
<span class="input-group-text"><i class="fa fa-fw fa-phone"></i></span>
103103
</div>
104-
<input type="tel" class="form-control col-2" name="phone_country_code" value="+1" placeholder="Code" maxlength="4">
104+
<input type="tel" class="form-control col-2" name="phone_country_code" placeholder="+" maxlength="4">
105105
<input type="tel" class="form-control" name="phone" placeholder="Phone Number" maxlength="200">
106106
</div>
107107
</div>
@@ -121,7 +121,7 @@
121121
<div class="input-group-prepend">
122122
<span class="input-group-text"><i class="fa fa-fw fa-mobile-alt"></i></span>
123123
</div>
124-
<input type="tel" class="form-control col-2" name="mobile_country_code" value="+1" placeholder="Code" maxlength="4">
124+
<input type="tel" class="form-control col-2" name="mobile_country_code" placeholder="+" maxlength="4">
125125
<input type="tel" class="form-control" name="mobile" placeholder="Mobile Phone Number">
126126
</div>
127127
</div>

modals/location_add_modal.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
<div class="input-group-prepend">
185185
<span class="input-group-text"><i class="fa fa-fw fa-phone"></i></span>
186186
</div>
187-
<input type="tel" class="form-control col-2" name="phone_country_code" value="+1" placeholder="Code" maxlength="4">
187+
<input type="tel" class="form-control col-2" name="phone_country_code" placeholder="+" maxlength="4">
188188
<input type="tel" class="form-control" name="phone" placeholder="Phone Number" maxlength="200">
189189
</div>
190190
</div>
@@ -204,7 +204,7 @@
204204
<div class="input-group-prepend">
205205
<span class="input-group-text"><i class="fa fa-fw fa-fax"></i></span>
206206
</div>
207-
<input type="tel" class="form-control col-2" name="fax_country_code" value="+1" placeholder="Code" maxlength="4">
207+
<input type="tel" class="form-control col-2" name="fax_country_code" placeholder="+" maxlength="4">
208208
<input type="tel" class="form-control" name="fax" placeholder="Fax Number" maxlength="200">
209209
</div>
210210
</div>

modals/vendor_add_modal.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
<div class="input-group-prepend">
7878
<span class="input-group-text"><i class="fa fa-fw fa-phone"></i></span>
7979
</div>
80-
<input type="tel" class="form-control col-2" name="phone_country_code" value="+1" placeholder="Code" maxlength="4">
80+
<input type="tel" class="form-control col-2" name="phone_country_code" placeholder="+" maxlength="4">
8181
<input type="tel" class="form-control" name="phone" placeholder="Phone Number" maxlength="200">
8282
</div>
8383
</div>

0 commit comments

Comments
 (0)