Server IP : 184.154.167.98 / Your IP : 3.145.105.85 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.26 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/puertode/public_html/mesa/include/client/ |
Upload File : |
<h1><?php echo __('Manage Your Profile Information'); ?></h1> <p><?php echo __( 'Use the forms below to update the information we have on file for your account' ); ?> </p> <form action="profile.php" method="post"> <?php csrf_token(); ?> <table width="800" class="padded"> <?php foreach ($user->getForms() as $f) { $f->render(['staff' => false]); } if ($acct = $thisclient->getAccount()) { $info=$acct->getInfo(); $info=Format::htmlchars(($errors && $_POST)?$_POST:$info); ?> <tr> <td colspan="2"> <div><hr><h3><?php echo __('Preferences'); ?></h3> </div> </td> </tr> <tr> <td width="180"> <?php echo __('Time Zone');?>: </td> <td> <?php $TZ_NAME = 'timezone'; $TZ_TIMEZONE = $info['timezone']; include INCLUDE_DIR.'staff/templates/timezone.tmpl.php'; ?> <div class="error"><?php echo $errors['timezone']; ?></div> </td> </tr> <?php if ($cfg->getSecondaryLanguages()) { ?> <tr> <td width="180"> <?php echo __('Preferred Language'); ?>: </td> <td> <?php $langs = Internationalization::getConfiguredSystemLanguages(); ?> <select name="lang"> <option value="">— <?php echo __('Use Browser Preference'); ?> —</option> <?php foreach($langs as $l) { $selected = ($info['lang'] == $l['code']) ? 'selected="selected"' : ''; ?> <option value="<?php echo $l['code']; ?>" <?php echo $selected; ?>><?php echo Internationalization::getLanguageDescription($l['code']); ?></option> <?php } ?> </select> <span class="error"> <?php echo $errors['lang']; ?></span> </td> </tr> <?php } if ($acct->isPasswdResetEnabled()) { ?> <tr> <td colspan="2"> <div><hr><h3><?php echo __('Access Credentials'); ?></h3></div> </td> </tr> <?php if (!isset($_SESSION['_client']['reset-token'])) { ?> <tr> <td width="180"> <?php echo __('Current Password'); ?>: </td> <td> <input type="password" size="18" name="cpasswd" maxlength="128" value="<?php echo $info['cpasswd']; ?>"> <span class="error"> <?php echo $errors['cpasswd']; ?></span> </td> </tr> <?php } ?> <tr> <td width="180"> <?php echo __('New Password'); ?>: </td> <td> <input type="password" size="18" name="passwd1" maxlength="128" value="<?php echo $info['passwd1']; ?>"> <span class="error"> <?php echo $errors['passwd1']; ?></span> </td> </tr> <tr> <td width="180"> <?php echo __('Confirm New Password'); ?>: </td> <td> <input type="password" size="18" name="passwd2" maxlength="128" value="<?php echo $info['passwd2']; ?>"> <span class="error"> <?php echo $errors['passwd2']; ?></span> </td> </tr> <?php } ?> <?php } ?> </table> <hr> <p style="text-align: center;"> <input type="submit" value="<?php echo __('Update'); ?>"/> <input type="reset" value="<?php echo __('Reset'); ?>"/> <input type="button" value="<?php echo __('Cancel'); ?>" onclick="javascript: window.location.href='index.php';"/> </p> </form>