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/Ajax      ( Reset | Go to )
File Name: resourcedetails.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/>.
*}
<div id="resourceDetailsPopup">
    <h4>{$resourceName}</h4>

    <div style="clear"></div>
    {if $imageUrl neq ''}
        <div class="resourceImage">
            <img style="max-height:200px; max-width:200px;" src="{$imageUrl}" alt="{$resourceName|escape}"/>
        </div>
    {/if}
    <div class="description">
        <span class="bold">{translate key=Description}</span>
        {if $description neq ''}
            {$description|html_entity_decode|url2link|nl2br}
        {else}
            {translate key=NoDescriptionLabel}
        {/if}
        <br/>
        <span class="bold">{translate key=Notes}</span>
        {if $notes neq ''}
            {$notes|html_entity_decode|url2link|nl2br}
        {else}
            {translate key=NoNotesLabel}
        {/if}
        <br/>
        <span class="bold">{translate key=Contact}</span>
        {if $contactInformation neq ''}
            {$contactInformation}
        {else}
            {translate key=NoContactLabel}
        {/if}
        <br/>
        <span class="bold">{translate key=Location}</span>
        {if $locationInformation neq ''}
            {$locationInformation}
        {else}
            {translate key=NoLocationLabel}
        {/if}
        <br/>
        <span class="bold">{translate key=ResourceType}</span>
        {if $resourceType neq ''}
            {$resourceType}
        {else}
            {translate key=NoResourceTypeLabel}
        {/if}
    </div>
    <div class="attributes">
        <ul>
            <li>
                {if $minimumDuration neq ''}
                    {translate key='ResourceMinLength' args=$minimumDuration}
                {else}
                    {translate key='ResourceMinLengthNone'}
                {/if}
            </li>
            <li>
                {if $maximumDuration neq ''}
                    {translate key='ResourceMaxLength' args=$maximumDuration}
                {else}
                    {translate key='ResourceMaxLengthNone'}
                {/if}
            </li>
            <li>
                {if $requiresApproval}
                    {translate key='ResourceRequiresApproval'}
                {else}
                    {translate key='ResourceRequiresApprovalNone'}
                {/if}
            </li>
            <li>
                {if $minimumNotice neq ''}
                    {translate key='ResourceMinNotice' args=$minimumNotice}
                {else}
                    {translate key='ResourceMinNoticeNone'}
                {/if}
            </li>
            <li>
                {if $maximumNotice neq ''}
                    {translate key='ResourceMaxNotice' args=$maximumNotice}
                {else}
                    {translate key='ResourceMaxNoticeNone'}
                {/if}
            </li>
            <li>
                {if $allowMultiday}
                    {translate key='ResourceAllowMultiDay'}
                {else}
                    {translate key='ResourceNotAllowMultiDay'}
                {/if}
            </li>
            <li>
                {if $maxParticipants neq ''}
                    {translate key='ResourceCapacity' args=$maxParticipants}
                {else}
                    {translate key='ResourceCapacityNone'}
                {/if}
            </li>
            {if $Attributes|count > 0}
                {foreach from=$Attributes item=attribute}
                    <li>
                        {control type="AttributeControl" attribute=$attribute readonly=true}
                    </li>
                {/foreach}
            {/if}
            {if $ResourceTypeAttributes|count > 0}
                {foreach from=$ResourceTypeAttributes item=attribute}
                    <li>
                        {control type="AttributeControl" attribute=$attribute readonly=true}
                    </li>
                {/foreach}
            {/if}

        </ul>
    </div>
    <div style="clear"></div>
</div>

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

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL