Changeset 1590 for trunk/template


Ignore:
Timestamp:
Nov 1, 2006, 6:54:35 AM (18 years ago)
Author:
rvelices
Message:

plugins last modifications + events are triggered now from picture.php

Location:
trunk/template/yoga
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/header.tpl

    r1539 r1590  
    1616<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/theme.css">
    1717{themeconf:local_head}
    18 <!-- BEGIN next -->
    19 <link rel="prefetch" href="{next.U_IMG_SRC}">
    20 <!-- END next -->
     18<!-- BEGIN prefetch -->
     19<link rel="prefetch" href="{prefetch.URL}">
     20<!-- END prefetch -->
    2121<!-- BEGIN refresh -->
    2222<meta http-equiv="refresh" content="{REFRESH_TIME};url={U_REFRESH}">
  • trunk/template/yoga/picture.tpl

    r1344 r1590  
    55<div id="imageHeaderBar">
    66  <div class="browsePath">
    7     <a href="{U_HOME}" rel="home">{L_HOME}</a>
     7    <a href="{U_HOME}" rel="home">{lang:home}</a>
    88    {LEVEL_SEPARATOR}{SECTION_TITLE}
    99    {LEVEL_SEPARATOR}{PICTURE_TITLE}
     
    1818
    1919<div class="randomButtons">
    20   <a href="{U_SLIDESHOW}" title="{L_SLIDESHOW}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/slideshow.png" class="button" alt="{L_SLIDESHOW}"></a>
    21   <a href="{U_METADATA}" title="{L_PICTURE_METADATA}"><img src="{pwg_root}{themeconf:icon_dir}/metadata.png" class="button" alt="{L_PICTURE_METADATA}"></a>
     20  <a href="{U_SLIDESHOW}" title="{lang:slideshow}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/slideshow.png" class="button" alt="{lang:slideshow}"></a>
     21  <a href="{U_METADATA}" title="{lang:picture_show_metadata}"><img src="{pwg_root}{themeconf:icon_dir}/metadata.png" class="button" alt="{lang:picture_show_metadata}"></a>
    2222<!-- BEGIN representative -->
    2323  <a href="{representative.URL}" title="{lang:set as category representative}"><img src="{pwg_root}{themeconf:icon_dir}/representative.png" class="button" alt="{lang:representative}"/></a>
     
    2727<!-- END favorite -->
    2828<!-- BEGIN download -->
    29   <a href="{download.U_DOWNLOAD}" title="{L_DOWNLOAD}"><img src="{pwg_root}{themeconf:icon_dir}/save.png" class="button" alt="{L_DOWNLOAD}"></a>
     29  <a href="{download.U_DOWNLOAD}" title="{lang:download_hint}"><img src="{pwg_root}{themeconf:icon_dir}/save.png" class="button" alt="{lang:download}"></a>
    3030<!-- END download -->
    3131<!-- BEGIN admin -->
    32   <a href="{U_ADMIN}" title="{L_ADMIN}"><img src="{pwg_root}{themeconf:icon_dir}/preferences.png" class="button" alt="{L_ADMIN}"></a>
     32  <a href="{U_ADMIN}" title="{lang:link_info_image}"><img src="{pwg_root}{themeconf:icon_dir}/preferences.png" class="button" alt="{lang:link_info_image}"></a>
    3333<!-- END admin -->
    3434<!-- BEGIN caddie -->
     
    4242<!-- END last -->
    4343<!-- BEGIN next -->
    44   <a class="navButton next" href="{next.U_IMG}" title="{L_NEXT_IMG}{next.TITLE_IMG}" rel="next"><img src="{pwg_root}{themeconf:icon_dir}/right.png" class="button" alt="{lang:next_page}"></a>
     44  <a class="navButton next" href="{next.U_IMG}" title="{lang:next_page} : {next.TITLE_IMG}" rel="next"><img src="{pwg_root}{themeconf:icon_dir}/right.png" class="button" alt="{lang:next_page}"></a>
    4545<!-- END next -->
    46   <a class="navButton up" href="{U_UP}" title="{lang:thumbnails}" rel="up"><img src="{pwg_root}{themeconf:icon_dir}/up.png" class="button" alt="{L_UP_ALT}"></a>
     46  <a class="navButton up" href="{U_UP}" title="{lang:thumbnails}" rel="up"><img src="{pwg_root}{themeconf:icon_dir}/up.png" class="button" alt="{lang:home}"></a>
    4747<!-- BEGIN previous -->
    48   <a class="navButton prev" href="{previous.U_IMG}" title="{L_PREV_IMG}{previous.TITLE_IMG}" rel="prev"><img src="{pwg_root}{themeconf:icon_dir}/left.png" class="button" alt="{lang:previous_page}"></a>
     48  <a class="navButton prev" href="{previous.U_IMG}" title="{lang:previous_page} : {previous.TITLE_IMG}" rel="prev"><img src="{pwg_root}{themeconf:icon_dir}/left.png" class="button" alt="{lang:previous_page}"></a>
    4949<!-- END previous -->
    5050<!-- BEGIN first -->
     
    5656
    5757<div id="theImage">
    58 <!-- BEGIN high -->
    59 <a href="javascript:phpWGOpenWindow('{high.U_HIGH}','{high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')">
    60 <!-- END high -->
    61   <img src="{SRC_IMG}" style="width:{WIDTH_IMG}px;height:{HEIGHT_IMG}px;" alt="{ALT_IMG}">
    62 <!-- BEGIN high -->
    63 </a>
    64   <p>{L_PICTURE_HIGH}</p>
    65 <!-- END high -->
     58{ELEMENT_CONTENT}
    6659<!-- BEGIN legend -->
    6760<p>{legend.COMMENT_IMG}</p>
     
    6962<!-- BEGIN stop_slideshow -->
    7063<p>
    71   [ <a href="{stop_slideshow.U_SLIDESHOW}">{L_STOP_SLIDESHOW}</a> ]
     64  [ <a href="{stop_slideshow.U_SLIDESHOW}">{lang:slideshow_stop}</a> ]
    7265</p>
    7366<!-- END stop_slideshow -->
     
    7568
    7669<!-- BEGIN previous -->
    77 <a class="navThumb" id="thumbPrev" href="{previous.U_IMG}" title="{L_PREV_IMG}{previous.TITLE_IMG}" rel="prev">
     70<a class="navThumb" id="thumbPrev" href="{previous.U_IMG}" title="{lang:previous_page} : {previous.TITLE_IMG}" rel="prev">
    7871  <img src="{previous.IMG}" class="thumbLink" id="linkPrev" alt="{previous.TITLE_IMG}">
    7972</a>
    8073<!-- END previous -->
    8174<!-- BEGIN next -->
    82 <a class="navThumb" id="thumbNext" href="{next.U_IMG}" title="{L_NEXT_IMG}{next.TITLE_IMG}" rel="next">
     75<a class="navThumb" id="thumbNext" href="{next.U_IMG}" title="{lang:next_page} : {next.TITLE_IMG}" rel="next">
    8376  <img src="{next.IMG}" class="thumbLink" id="linkNext" alt="{next.TITLE_IMG}">
    8477</a>
     
    172165<!-- BEGIN comments -->
    173166<div id="comments">
    174   <h2>[{comments.NB_COMMENT}] {L_COMMENT_TITLE}</h2>
     167  <h2>[{comments.NB_COMMENT}] {lang:comments_title}</h2>
    175168
    176169  <div class="navigationBar">{comments.NAV_BAR}</div>
     
    180173    <!-- BEGIN delete -->
    181174    <p class="userCommentDelete">
    182     <a href="{comments.comment.delete.U_COMMENT_DELETE}" title="{L_DELETE_COMMENT}">
    183       <img src="{pwg_root}{themeconf:icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{L_DELETE}]"/>
     175    <a href="{comments.comment.delete.U_COMMENT_DELETE}" title="{lang:comments_del}">
     176      <img src="{pwg_root}{themeconf:icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{lang:delete}]"/>
    184177    </a>
    185178    </p>
     
    193186  <form  method="post" action="{U_ADD_COMMENT}" class="filter" id="addComment">
    194187    <fieldset>
    195       <legend>{L_ADD_COMMENT}</legend>
     188      <legend>{lang:comments_add}</legend>
    196189      <!-- BEGIN author_field -->
    197       <label>{L_AUTHOR}<input type="text" name="author"></label>
     190      <label>{lang:upload_author}<input type="text" name="author"></label>
    198191      <!-- END author_field -->
    199192      <!-- BEGIN author_known -->
    200193      <input type="hidden" name="author"  value="{comments.add_comment.author_known.KNOWN_AUTHOR}">
    201194      <!-- END author_known -->
    202       <label>{L_COMMENT}<textarea name="content" rows="10" cols="80"></textarea></label>
    203       <input type="submit" value="{L_SUBMIT}" {TAG_INPUT_ENABLED}>
     195      <label>{lang:comment}<textarea name="content" rows="10" cols="80"></textarea></label>
     196      <input type="submit" value="{lang:submit}">
    204197    </fieldset>
    205198  </form>
     
    208201</div>
    209202<!-- END comments -->
    210 
    211 
Note: See TracChangeset for help on using the changeset viewer.