Changeset 11436


Ignore:
Timestamp:
Jun 20, 2011, 5:30:32 AM (13 years ago)
Author:
tearran
Message:

Replaced Comment blocks in the comment_list.tpl
Removed Table cell from footer.tpl

Location:
extensions/PaysonsPlaces
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/PaysonsPlaces/template/comment_list.tpl

    r11346 r11436  
    1 <link rel="stylesheet" type="text/css" href="../theme.css">{* $Id$ *}
    2 <ul class="thumbnailCategories">
     1<link href="../theme.css" rel="stylesheet" type="text/css" />
     2{* $Id$ *}
     3{*
     4                {if isset($comment.IN_EDIT)}
     5                <a name="edit_comment"></a>
     6                <form  method="post" action="{$comment.U_EDIT}" class="filter" id="editComment">
     7                        <fieldset>
     8                                <legend>{'Edit a comment'|@translate}</legend>
     9                                <label>{'Comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></label>
     10                                <input type="hidden" name="key" value="{$comment.KEY}">
     11                                <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}">
     12                                <input class="submit" type="submit" value="{'Submit'|@translate}">
     13                        </fieldset>
     14                </form>
     15                {else}
     16<table>
     17        <tr>
     18        <td id="des_m_p" class="padding">
     19                <div class="text" id="scroll">
     20                               
     21               
     22                        </div>
     23            {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT) }
     24
     25                {/if}
     26                </td>
     27        </tr>
     28</table>
     29               
     30                {/if}
     31</fieldset>
     32</li>
     33{/foreach}
     34</ul>
     35
     36                *}
     37
     38
     39
     40<ul class="thumbnailCategories">
    341{foreach from=$comments item=comment name=comment_loop}
    4 <li>
    5         <div class="thumbnailCategory {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}" id="coment_box"><div class="padding">
    6         {if isset($comment.TN_SRC)}
    7         <div class="illustration">
    8                 <a href="{$comment.U_PICTURE}">
    9                 <img src="{$comment.TN_SRC}" alt="{$comment.ALT}">
    10                 </a>
    11         </div>
    12         {/if}
    13         <div class="description"{if isset($comment.IN_EDIT)} style="height:200px"{/if}>
    14                 {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT) }
    15                 <div class="actions" style="float:right">
     42        <li>
     43        <fieldset>     
     44                <legend>
     45<b>{$comment.AUTHOR}</b> - {$comment.DATE}             
     46                <spacer height="18" width="44">&nbsp;</spacer>
     47        </legend>
     48<div class="actions" style="float:right">
    1649                {if isset($comment.U_DELETE)}
    1750                        <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">
     
    3063                {/if}
    3164                </div>
    32                 {/if}
     65<table>
     66 <tbody>
     67 <tr>
    3368
    34                 <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
    35                 {if isset($comment.IN_EDIT)}
    36                 <a name="edit_comment"></a>
    37                 <form  method="post" action="{$comment.U_EDIT}" class="filter" id="editComment">
    38                         <fieldset>
    39                                 <legend>{'Edit a comment'|@translate}</legend>
    40                                 <label>{'Comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></label>
    41                                 <input type="hidden" name="key" value="{$comment.KEY}">
    42                                 <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}">
    43                                 <input class="submit" type="submit" value="{'Submit'|@translate}">
    44                         </fieldset>
    45                 </form>
    46                 {else}
    47                 <blockquote><div>{$comment.CONTENT}</div></blockquote>
    48                 {/if}
    49         </div>
    50         </div></div>
     69    <td class="padding">
     70        {* image *}
     71{if isset($comment.TN_SRC)}
     72        <a href="{$comment.U_PICTURE}">
     73                <img src="{$comment.TN_SRC}" alt="{$comment.ALT}">
     74        </a>
     75    {else}
     76<spacer height="18" width="44">&nbsp;</spacer>
     77{/if}   </td>
     78
     79        <td id="des_m_p" class="padding">
     80        <div class="text" id="scroll">
     81        {* comment *}
     82  {$comment.CONTENT}     
     83       
     84                </div>
     85        </td>
     86</tr>
     87 
     88</tbody></table>
     89</fieldset>     
     90
    5191</li>
    5292{/foreach}
  • extensions/PaysonsPlaces/template/footer.tpl

    r11378 r11436  
    1 <link rel="stylesheet" type="text/css" href="../theme.css">"
    2 
    3 </td>
     1{*</td>
    42                </tr>
    5   <tr><td id="footer"><div id="copyright">
     3  <tr>
     4  <td id="footer"> *}<div id="copyright">Name:1
    65{if isset($debug.TIME)}
    76        {'Page generated in'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|@translate} {$debug.SQL_TIME}) -
     
    3332{/if}
    3433
     34{php}
     35$this->assign('string1',str_replace($this->get_template_vars('string1'),'Name:1 ','1'));
     36{/php}
     37
     38
     39
    3540</td>
    3641        </tr>
  • extensions/PaysonsPlaces/theme.css

    r11378 r11436  
    347347        border-left-width: thick;
    348348}
     349#theImage img, #imageInfos img, .padding img, .wrap2 img {
     350-webkit-box-shadow: 2px 2px 2px 2px #666666 ;
     351-moz-box-shadow: 2px 2px 2px 2px #666666 ;
     352box-shadow: 2px 2px 2px 2px #666666 ;
     353}
     354
     355.actions {
     356-webkit-box-shadow: 0px 0px0px 0px ;
     357-moz-box-shadow: 0px 0px 0px 0px ;
     358box-shadow: 0px 0px 0px 0px ;
     359}
  • extensions/PaysonsPlaces/themeconf.inc.php

    r11378 r11436  
    22/*
    33Theme Name: paysonsplaces
    4 Version: .0.0.2
     4Version: 11379
    55Description:
    66Theme URI: http://piwigo.org/ext/extension_view.php?eid=557
     
    88Author URI: http://tearran.deviantart.com
    99*/
     10
     11
    1012$themeconf = array(
    1113        'name'  => 'paysonsplaces',
     
    4446        }
    4547}
     48
     49
     50
    4651?>
Note: See TracChangeset for help on using the changeset viewer.