Uname: Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: 6036 (villadal)
Group: 100 (users)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/villadal/www///old/booked/tpl      ( Reset | Go to )
File Name: profile.tpl
Edit
{*
Copyright 2011-2014 Nick Korbel

This file is part of Booked Scheduler.

Booked Scheduler is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Booked Scheduler is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Booked Scheduler.  If not, see <http://www.gnu.org/licenses/>.
*}
{include file='globalheader.tpl' cssFiles='scripts/css/colorbox.css'}

<div class="success" style="display:none" id="profileUpdatedMessage">{translate key=YourProfileWasUpdated}</div>

<div class="validationSummary error" id="validationErrors">
    <ul>
        {async_validator id="fname" key="FirstNameRequired"}
        {async_validator id="lname" key="LastNameRequired"}
        {async_validator id="username" key="UserNameRequired"}
        {async_validator id="emailformat" key="ValidEmailRequired"}
        {async_validator id="uniqueemail" key="UniqueEmailRequired"}
        {async_validator id="uniqueusername" key="UniqueUsernameRequired"}
        {async_validator id="additionalattributes" key=""}
    </ul>
</div>

<div id="registrationbox">
<form class="register" method="post" ajaxAction="{ProfileActions::Update}" id="frmRegister" action="{$smarty.server.SCRIPT_NAME}">
    <div class="registrationHeader"><h3>{translate key=Login} ({translate key=AllFieldsAreRequired})</h3></div>
    <p>
        <label class="reg">{translate key="Username"}<br />
        {textbox name="USERNAME" class="input" value="Username" size="20"}
        </label>
    </p>
    <p>
        <label class="reg">{translate key="DefaultPage"}<br />
                <select {formname key='DEFAULT_HOMEPAGE'} class="input">
                        {html_options values=$HomepageValues output=$HomepageOutput selected=$Homepage}
                </select>
        </label>
    </p>
    <div class="registrationHeader"><h3>{translate key=Profile} ({translate key=AllFieldsAreRequired})</h3></div>
    <p>
        <label class="reg">{translate key="FirstName"}<br />
        {textbox name="FIRST_NAME" class="input" value="FirstName" size="20"}
        </label>
    </p>
    <p>
        <label class="reg">{translate key="LastName"}<br />
        {textbox name="LAST_NAME" class="input" value="LastName" size="20"}
        </label>
    </p>
    <p>
        <label class="reg">{translate key="Email"}<br />
        {textbox name="EMAIL" class="input" value="Email" size="20"}
        </label>
    </p>
    <p>
        <label class="reg">{translate key="Timezone"}<br />
                <select {formname key='TIMEZONE'} class="input">
                        {html_options values=$TimezoneValues output=$TimezoneOutput selected=$Timezone}
                </select>
        </label>
    </p>

    <div class="registrationHeader"><h3>{translate key=AdditionalInformation} ({translate key=Optional})</h3></div>
    <p>
        <label class="reg">{translate key="Phone"}<br />
        {textbox name="PHONE" class="input" value="Phone" size="20"}
        </label>
    </p>
    <p>
        <label class="reg">{translate key="Organization"}<br />
        {textbox name="ORGANIZATION" class="input" value="Organization" size="20"}
        </label>
    </p>
    <p>
        <label class="reg">{translate key="Position"}<br />
        {textbox name="POSITION" class="input" value="Position" size="20"}
        </label>
    </p>

    {if $Attributes|count > 0}
    <div class="registrationHeader"><h3>{translate key=AdditionalAttributes}</h3></div>
        {foreach from=$Attributes item=attribute}
        <p class="customAttribute">
            {control type="AttributeControl" attribute=$attribute}
        </p>
        {/foreach}
    {/if}

    <p class="regsubmit">
        <button type="button" class="button update" name="{Actions::SAVE}" id="btnUpdate">
            <img src="img/tick-circle.png" />{translate key='Update'}
        </button>
    </p>
</form>
</div>
{setfocus key='FIRST_NAME'}

{jsfile src="admin/edit.js"}
{jsfile src="js/jquery.form-3.09.min.js"}
{jsfile src="js/jquery.colorbox-min.js"}
{jsfile src="profile.js"}

<script type="text/javascript">

$(document).ready(function () {
    var profilePage = new Profile();
    profilePage.init();
});

</script>

<div id="modalDiv" style="display:none;text-align:center; top:15%;position:relative;">
    <h3>{translate key=Working}</h3>
    {html_image src="reservation_submitting.gif"}
</div>

{include file='globalfooter.tpl'}

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL