Changeset 4517


Ignore:
Timestamp:
Dec 19, 2009, 2:20:19 PM (14 years ago)
Author:
grum
Message:

[Template:Gally] Fixes some bugs

Location:
extensions/gally
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • extensions/gally/comment_list.tpl

    r4446 r4517  
     1{*
     2 The comment list is defined inside a tabsheet made with the jQuery $().tabs()
     3 With jQuery 1.2.6 (don't know how other release manage this) all the anchors <A> tags are considered as a tab.
     4 So, can't use <A href="link"> because href is modified by the jQuery function.
     5 Links are managed by an event onclick="document.location='link';"
     6*}
    17
    28<ul class="commentList">
    39{foreach from=$comments item=comment}
    410<li>
    5         <div class="commentDetail">
     11  <div class="commentDetail">
    612    {if isset($comment.TN_SRC)}
    713    <div class="illustration">
     
    1622        {if isset($comment.U_DELETE)}
    1723        <li>
    18           <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}">
    19             <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" />
    20           </a>
     24          <img style="cursor:pointer;" src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" onclick="document.location='{$comment.U_DELETE}';" title="{'delete this comment'|@translate}"/>
    2125        </li>
    2226        {/if}
    2327        {if isset($comment.U_VALIDATE)}
    2428        <li>
    25           <a href="{$comment.U_VALIDATE}" title="validate this comment">
    26             <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]" />
    27           </a>
     29          <img style="cursor:pointer;" src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]" onclick="document.location='{$comment.U_VALIDATE}';" title="{'validate this comment'|@translate}"/>
    2830        </li>
    2931        {/if}
  • extensions/gally/gallyjs-tpp.js

    r4489 r4517  
    8989  if(options.animateDelay>0)
    9090  {
    91     $("#theTabs").tabs({ fx: { opacity: 'toggle', duration:options.animateDelay } });
     91    $("#theTabs").tabs({ fx: { opacity: 'toggle', duration:options.animateDelay } } );
    9292  }
    9393  else
  • extensions/gally/picture.tpl

    r4489 r4517  
    252252      "pwg.images.setPrivacyLevel", {image_id: id, level:level} ,
    253253      {
     254        method: "POST",
    254255        onFailure: function(num, text) { selectElement.disabled = false; alert(num + " " + text); },
    255256        onSuccess: function(result) { selectElement.disabled = false; }
  • extensions/gally/release_notes.txt

    r4489 r4517  
    4949  |         |            | * Compatibility with the plugin VD language switch
    5050  |         |            | * report some changes made on the "yoga" template
    51   |         |            |   . r3060, r3121, r3137, r3147, r3196, r3538
     51  |         |            |   . r3060, r3121, r3137, r3147, r3196, r3538, r4512
    5252  |         |            |
    5353  |         |            |
  • extensions/gally/theme/graphite/theme.css

    r4489 r4517  
    454454
    455455/*
     456 * page :profile
     457*/
     458form#profile {
     459  padding-bottom:20px;
     460}
     461
     462
     463/*
    456464 * page :search
    457465*/
     
    481489#menubar {
    482490 border:1px #606060 solid;
     491 padding-bottom:30px;
    483492}
    484493
  • extensions/gally/theme/grum-dark-II/theme.css

    r4489 r4517  
    513513
    514514/*
     515 * page :profile
     516*/
     517form#profile {
     518  padding-bottom:20px;
     519}
     520
     521/*
    515522 * page :search
    516523*/
     
    540547#menubar {
    541548  border:1px #303030 solid;
     549  padding-bottom:30px;
    542550}
    543551
Note: See TracChangeset for help on using the changeset viewer.