Browse Source

rename error message class

main
ghost 3 years ago
parent
commit
b90575def5
  1. 12
      src/application/view/settings/profile.phtml

12
src/application/view/settings/profile.phtml

@ -12,32 +12,32 @@
<label for="fullName"><?php echo _('Full name') ?></label> <label for="fullName"><?php echo _('Full name') ?></label>
<input type="text" name="fullName" id="fullName" value="<?php echo $fullName ?>" placeholder="<?php echo _('Not provided') ?>" /> <input type="text" name="fullName" id="fullName" value="<?php echo $fullName ?>" placeholder="<?php echo _('Not provided') ?>" />
<?php if ($errorFullName) { ?> <?php if ($errorFullName) { ?>
<div class="c-5 mb-22"><?php echo $errorFullName ?></div> <div class="error"><?php echo $errorFullName ?></div>
<?php } ?> <?php } ?>
<label for="location"><?php echo _('Location') ?></label> <label for="location"><?php echo _('Location') ?></label>
<input type="text" name="location" id="location" value="<?php echo $location ?>" placeholder="<?php echo _('Not provided') ?>" /> <input type="text" name="location" id="location" value="<?php echo $location ?>" placeholder="<?php echo _('Not provided') ?>" />
<?php if ($errorLocation) { ?> <?php if ($errorLocation) { ?>
<div class="c-5 mb-22"><?php echo $errorLocation ?></div> <div class="error"><?php echo $errorLocation ?></div>
<?php } ?> <?php } ?>
<label for="url"><?php echo _('Website') ?></label> <label for="url"><?php echo _('Website') ?></label>
<input type="text" name="url" id="url" value="<?php echo $url ?>" placeholder="<?php echo _('Not provided') ?>" /> <input type="text" name="url" id="url" value="<?php echo $url ?>" placeholder="<?php echo _('Not provided') ?>" />
<?php if ($errorURL) { ?> <?php if ($errorURL) { ?>
<div class="c-5 mb-22"><?php echo $errorURL ?></div> <div class="error"><?php echo $errorURL ?></div>
<?php } ?> <?php } ?>
<label for="bitMessage"><?php echo _('BitMessage') ?></label> <label for="bitMessage"><?php echo _('BitMessage') ?></label>
<input type="text" name="bitMessage" id="bitMessage" value="<?php echo $bitMessage ?>" placeholder="<?php echo _('Not provided') ?>" /> <input type="text" name="bitMessage" id="bitMessage" value="<?php echo $bitMessage ?>" placeholder="<?php echo _('Not provided') ?>" />
<?php if ($errorBitMessage) { ?> <?php if ($errorBitMessage) { ?>
<div class="c-5 mb-22"><?php echo $errorBitMessage ?></div> <div class="error"><?php echo $errorBitMessage ?></div>
<?php } ?> <?php } ?>
<label for="tox"><?php echo _('TOX') ?></label> <label for="tox"><?php echo _('TOX') ?></label>
<input type="text" name="tox" id="tox" value="<?php echo $tox ?>" placeholder="<?php echo _('Not provided') ?>" /> <input type="text" name="tox" id="tox" value="<?php echo $tox ?>" placeholder="<?php echo _('Not provided') ?>" />
<?php if ($errorTOX) { ?> <?php if ($errorTOX) { ?>
<div class="c-5 mb-22"><?php echo $errorTOX ?></div> <div class="error"><?php echo $errorTOX ?></div>
<?php } ?> <?php } ?>
<label for="bio"><?php echo _('Bio') ?></label> <label for="bio"><?php echo _('Bio') ?></label>
<textarea name="bio" id="bio" placeholder="<?php echo _('Not provided') ?>"><?php echo $bio ?></textarea> <textarea name="bio" id="bio" placeholder="<?php echo _('Not provided') ?>"><?php echo $bio ?></textarea>
<?php if ($errorBio) { ?> <?php if ($errorBio) { ?>
<div class="c-5 mb-22"><?php echo $errorBio ?></div> <div class="error"><?php echo $errorBio ?></div>
<?php } ?> <?php } ?>
<div class="actions"> <div class="actions">
<button type="submit"><?php echo _('Save') ?></button> <button type="submit"><?php echo _('Save') ?></button>

Loading…
Cancel
Save