Changeset 23393 for extensions/community


Ignore:
Timestamp:
Jun 20, 2013, 11:30:29 AM (11 years ago)
Author:
plg
Message:

compatibility with Smarty 3 (still compatible with Smart 2)

Location:
extensions/community
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/community/add_photos.tpl

    r23037 r23393  
    204204    jQuery(this).parent(".showFieldset").hide();
    205205    jQuery("#photoProperties").show();
    206     jQuery("input[name=set_photo_properties]").attr('checked', true);
     206    jQuery("input[name=set_photo_properties]").prop('checked', true);
    207207  });
    208208
     
    530530      <legend>{'Select files'|@translate}</legend>
    531531
    532     <p id="uploadWarningsSummary">{$upload_max_filesize_shorthand}B. {$upload_file_types}. {if isset($max_upload_resolution)}{$max_upload_resolution}Mpx.{/if} {$quota_summary}
     532    <p id="uploadWarningsSummary">{$upload_max_filesize_shorthand}B. {$upload_file_types}. {if isset($max_upload_resolution)}{$max_upload_resolution}Mpx.{/if} {if isset($quota_summary)}{$quota_summary}{/if}
    533533<a class="showInfo" title="{'Learn more'|@translate}">i</a></p>
    534534
     
    569569      <p>
    570570        {'Title'|@translate}<br>
    571         <input type="text" class="large" name="name" value="{$NAME}">
     571        <input type="text" class="large" name="name" value="">
    572572      </p>
    573573
    574574      <p>
    575575        {'Author'|@translate}<br>
    576         <input type="text" class="large" name="author" value="{$AUTHOR}">
     576        <input type="text" class="large" name="author" value="">
    577577      </p>
    578578
    579579      <p>
    580580        {'Description'|@translate}<br>
    581         <textarea name="description" id="description" class="description" style="margin:0">{$DESCRIPTION}</textarea>
     581        <textarea name="description" id="description" class="description" style="margin:0"></textarea>
    582582      </p>
    583583
    584584    </fieldset>
    585 
    586 {if $enable_permissions}
    587     <p class="showFieldset"><a id="showPermissions" href="#">{'Manage Permissions'|@translate}</a></p>
    588 
    589     <fieldset id="permissions" style="display:none">
    590       <legend>{'Who can see these photos?'|@translate}</legend>
    591 
    592       <select name="level" size="1">
    593         {html_options options=$level_options selected=$level_options_selected}
    594       </select>
    595     </fieldset>
    596 {/if}
    597585
    598586{if $upload_mode eq 'html'}
  • extensions/community/admin_pendings.tpl

    r23391 r23393  
    6969
    7070{if !empty($photos) }
    71 <form method="post" action="{$F_ACTION}">
     71<form method="post" action="">
    7272 
    7373  <fieldset>
Note: See TracChangeset for help on using the changeset viewer.