Changeset 11436
- Timestamp:
- Jun 20, 2011, 5:30:32 AM (13 years ago)
- 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"> 3 41 {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"> </spacer> 47 </legend> 48 <div class="actions" style="float:right"> 16 49 {if isset($comment.U_DELETE)} 17 50 <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"> … … 30 63 {/if} 31 64 </div> 32 {/if} 65 <table> 66 <tbody> 67 <tr> 33 68 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"> </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 51 91 </li> 52 92 {/foreach} -
extensions/PaysonsPlaces/template/footer.tpl
r11378 r11436 1 <link rel="stylesheet" type="text/css" href="../theme.css">" 2 3 </td> 1 {*</td> 4 2 </tr> 5 <tr><td id="footer"><div id="copyright"> 3 <tr> 4 <td id="footer"> *}<div id="copyright">Name:1 6 5 {if isset($debug.TIME)} 7 6 {'Page generated in'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|@translate} {$debug.SQL_TIME}) - … … 33 32 {/if} 34 33 34 {php} 35 $this->assign('string1',str_replace($this->get_template_vars('string1'),'Name:1 ','1')); 36 {/php} 37 38 39 35 40 </td> 36 41 </tr> -
extensions/PaysonsPlaces/theme.css
r11378 r11436 347 347 border-left-width: thick; 348 348 } 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 ; 352 box-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 ; 358 box-shadow: 0px 0px 0px 0px ; 359 } -
extensions/PaysonsPlaces/themeconf.inc.php
r11378 r11436 2 2 /* 3 3 Theme Name: paysonsplaces 4 Version: .0.0.24 Version: 11379 5 5 Description: 6 6 Theme URI: http://piwigo.org/ext/extension_view.php?eid=557 … … 8 8 Author URI: http://tearran.deviantart.com 9 9 */ 10 11 10 12 $themeconf = array( 11 13 'name' => 'paysonsplaces', … … 44 46 } 45 47 } 48 49 50 46 51 ?>
Note: See TracChangeset
for help on using the changeset viewer.