Ignore:
Timestamp:
Sep 11, 2013, 6:44:54 PM (11 years ago)
Author:
mistic100
Message:

new system for shares : password protection, link timeout, management popup + for mails
handle lightbox conflicts
menublock is visible by AMM

Location:
extensions/UserCollections/admin/template
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserCollections/admin/template/config.tpl

    r20090 r24421  
    11{combine_css path=$USER_COLLEC_PATH|@cat:"admin/template/style.css"}
     2
     3{footer_script}{literal}
     4$("input[name='allow_public']").on("change", function() {
     5    $("#allow_mails").toggle($(this).is(":checked"));
     6});
     7{/literal}{/footer_script}
    28
    39<div class="titrePage">
     
    1420      </label>
    1521    </li>
    16     <li>
     22    <li id="allow_mails" {if not $user_collections.allow_public}style="display:none;"{/if}>
    1723      <label>
    1824        <input type="checkbox" name="allow_mails" {if $user_collections.allow_mails}checked="checked"{/if}>
  • extensions/UserCollections/admin/template/sets.tpl

    r23551 r24421  
    3838      <td class="name">{'Name'|@translate}</td>
    3939      <td class="user">{'Username'|@translate}</td>
    40       <td class="status">{'Public'|@translate}</td>
    4140      <td class="date">{'Creation date'|@translate}</td>
    4241      <td class="images">{'Number of images'|@translate}</td>
     
    4847  <tr class="{if $smarty.foreach.sets_loop.index is odd}row1{else}row2{/if}">
    4948    <td>
    50       <a href="{$set.U_PUBLIC}">{$set.NAME}</a>
     49      <a href="{$set.U_EDIT}">{$set.NAME}</a>
    5150    </td>
    5251    <td>{$set.USERNAME}</td>
    53     <td style="text-align:center;">{if $set.IS_PUBLIC}{'Yes'|@translate}{else}{'No'|@translate}{/if}</td>
    5452    <td style="text-align:center;">{$set.DATE_CREATION}</td>
    5553    <td>{$set.NB_IMAGES}</td>
Note: See TracChangeset for help on using the changeset viewer.