Changeset 5931


Ignore:
Timestamp:
04/20/10 23:41:07 (9 years ago)
Author:
nikrou
Message:

Fix some errors in generated html

Location:
trunk
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/cat_list.tpl

    r5530 r5931  
    2727 
    2828<form id="addVirtual" action="{$F_ACTION}" method="post"> 
    29   <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}" /> 
    3029  <p> 
     30    <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> 
    3131    {'Add a virtual category'|@translate} : <input type="text" name="virtual_name"> 
    3232    <input class="submit" type="submit" value="{'Submit'|@translate}" name="submitAdd" {$TAG_INPUT_ENABLED}> 
     
    4040{if count($categories) } 
    4141<form id="categoryOrdering" action="{$F_ACTION}" method="post"> 
    42   <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}" /> 
    4342  <p> 
     43    <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> 
    4444    <input class="submit" name="submitOrder" type="submit" value="{'Save order'|@translate}" {$TAG_INPUT_ENABLED}> 
    4545    <input class="submit" name="submitOrderAlphaNum" type="submit" value="{'Order alphanumerically'|@translate}" {$TAG_INPUT_ENABLED}> 
  • trunk/admin/themes/default/template/comments.tpl

    r5569 r5931  
    11{literal} 
    2 <script> 
     2<script type="text/javascript"> 
    33$(document).ready(function(){ 
    44  $(".checkComment").click(function(event) { 
  • trunk/admin/themes/default/template/element_set_unit.tpl

    r5198 r5931  
    44 
    55{known_script id="jquery.fcbkcomplete" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.fcbkcomplete.js"} 
     6{html_head} 
    67<script type="text/javascript"> 
    78  var tag_boxes_selector = ""; 
     
    2930</script> 
    3031{/literal} 
    31  
     32{/html_head} 
    3233 
    3334<h2>{'Batch management'|@translate}</h2> 
  • trunk/admin/themes/default/template/group_list.tpl

    r5195 r5931  
    44 
    55<form method="post" name="add_user" action="{$F_ADD_ACTION}" class="properties"> 
    6   <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}" /> 
    76  <fieldset> 
    87    <legend>{'Add group'|@translate}</legend> 
    9  
    108    <span class="property"> 
    119      <label for="groupname">{'Group name'|@translate}</label> 
     
    1513    <p> 
    1614      <input class="submit" type="submit" name="submit_add" value="{'Add'|@translate}" {$TAG_INPUT_ENABLED}> 
     15      <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">  
    1716    </p> 
    1817  </fieldset> 
  • trunk/admin/themes/default/template/include/tag_selection.inc.tpl

    r5366 r5931  
    11{literal} 
    2 <script> 
     2<script type="text/javascript"> 
    33$(document).ready(function(){ 
    44  $(".tagSelection label").click(function () { 
  • trunk/admin/themes/default/template/photos_add_direct.tpl

    r5848 r5931  
    66<script type="text/javascript" src="{$uploadify_path}/jquery.uploadify.v2.1.0.min.js"></script> 
    77{/if} 
    8  
     8{html_head} 
    99<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/default/uploadify.jGrowl.css"> 
     10{/html_head} 
    1011 
    1112{literal} 
     
    6364{literal} 
    6465  function addUploadBox() { 
    65     var uploadBox = '<p class="file"><input type="file" size="60" name="image_upload[]" /></p>'; 
     66    var uploadBox = '<p class="file"><input type="file" size="60" name="image_upload[]"></p>'; 
    6667    $(uploadBox).appendTo("#uploadBoxes"); 
    6768  } 
     
    234235 
    235236<form id="uploadForm" enctype="multipart/form-data" method="post" action="{$F_ACTION}" class="properties"> 
    236 {if $upload_mode eq 'multiple'} 
    237 <input name="upload_id" value="{$upload_id}" type="hidden"> 
    238 {/if} 
    239  
    240237    <fieldset> 
    241238      <legend>{'Drop into category'|@translate}</legend> 
    242        
     239      {if $upload_mode eq 'multiple'} 
     240      <input name="upload_id" value="{$upload_id}" type="hidden"> 
     241      {/if} 
     242 
    243243      <label><input type="radio" name="category_type" value="existing"> {'existing category'|@translate}</label> 
    244244      <label><input type="radio" name="category_type" value="new" checked="checked"> {'create a new category'|@translate}</label> 
     
    295295 
    296296    <p> 
    297       <input class="submit" type="submit" name="submit_upload" value="{'Upload'|@translate}" {$TAG_INPUT_ENABLED}/> 
     297      <input class="submit" type="submit" name="submit_upload" value="{'Upload'|@translate}" {$TAG_INPUT_ENABLED}> 
    298298    </p> 
    299299{elseif $upload_mode eq 'multiple'} 
    300     </table> 
    301  
    302300    <p> 
    303       <input type="file" name="uploadify" id="uploadify" /> 
     301      <input type="file" name="uploadify" id="uploadify"> 
    304302    </p> 
    305303 
     
    310308    </fieldset> 
    311309    <p> 
    312       <input class="submit" type="button" value="{'Upload'|@translate}"/> 
    313       <input type="submit" name="submit_upload" style="display:none"/> 
     310      <input class="submit" type="button" value="{'Upload'|@translate}"> 
     311      <input type="submit" name="submit_upload" style="display:none"> 
    314312    </p> 
    315313{/if} 
  • trunk/admin/themes/default/template/photos_add_ploader.tpl

    r5284 r5931  
     1{html_head} 
    12{literal} 
    23<script type="text/javascript"> 
     
    1516</script> 
    1617 
    17 <style> 
     18<style type="text/css"> 
    1819#pLoaderPage { 
    1920  width:600px; 
     
    4748</style> 
    4849{/literal} 
     50{/html_head} 
    4951 
    5052<div class="titrePage"> 
     
    6365    <td> 
    6466      <a href="{$URL_DOWNLOAD_WINDOWS}"> 
    65         <img src="http://piwigo.org/screenshots/windows.png"/> 
     67        <img src="http://piwigo.org/screenshots/windows.png" alt="windows"> 
    6668        <br>Windows 
    6769      </a> 
     
    6971    <td> 
    7072      <a href="{$URL_DOWNLOAD_MAC}"> 
    71         <img src="http://piwigo.org/screenshots/mac.png" /> 
     73        <img src="http://piwigo.org/screenshots/mac.png" alt="mac"> 
    7274        <br>Mac 
    7375      </a> 
     
    7577    <td> 
    7678      <a href="{$URL_DOWNLOAD_LINUX}"> 
    77         <img src="http://piwigo.org/screenshots/linux.png" /> 
     79        <img src="http://piwigo.org/screenshots/linux.png" alt="linux"> 
    7880        <br>Linux 
    7981      </a> 
  • trunk/admin/themes/default/template/photos_add_settings.tpl

    r5284 r5931  
    11{literal} 
    2 <script> 
     2<script type="text/javascript"> 
    33$(document).ready(function(){ 
    44  function toggleResizeFields() { 
  • trunk/admin/themes/default/template/profile_content.tpl

    r5306 r5931  
    6464      <li> 
    6565        <span class="property"> 
    66           <label for="Language">{'Language'|@translate}</label> 
     66          <label for="language">{'Language'|@translate}</label> 
    6767        </span> 
    6868        {html_options id=language name=language options=$language_options selected=$language_selection} 
     
    7070      <li> 
    7171        <span class="property"> 
    72           <label for="Recent period">{'Recent period'|@translate}</label> 
     72          <label for="recent_period">{'Recent period'|@translate}</label> 
    7373        </span> 
    7474        <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$RECENT_PERIOD}"> 
     
    8888      <li> 
    8989        <span class="property"> 
    90           <label for="Maximum width of the pictures">{'Maximum width of the pictures'|@translate}</label> 
     90          <label for="maxwidth">{'Maximum width of the pictures'|@translate}</label> 
    9191        </span> 
    9292        <input type="text" size="4" maxlength="4" name="maxwidth" id="maxwidth" value="{$MAXWIDTH}"> 
     
    9494      <li> 
    9595        <span class="property"> 
    96           <label for="Maximum height of the pictures">{'Maximum height of the pictures'|@translate}</label> 
     96          <label for="maxheight">{'Maximum height of the pictures'|@translate}</label> 
    9797        </span> 
    9898        <input type="text" size="4" maxlength="4" name="maxheight" id="maxheight" value="{$MAXHEIGHT}"> 
  • trunk/admin/themes/default/template/site_manager.tpl

    r5529 r5931  
    1717{if isset($local_listing.CREATE)} 
    1818<form action="{$F_ACTION}" method="post"> 
    19   <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}" /> 
    2019  <p> 
     20    <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> 
    2121    {'Create this site'|@translate}: 
    2222    <input type="hidden" name="no_check" value="1"> 
     
    6565 
    6666<form action="{$F_ACTION}" method="post"> 
    67   <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}" /> 
    6867  <p> 
     68    <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> 
    6969    <label for="galleries_url" >{'Create a new site : (give its URL to create_listing_file.php)'|@translate}</label> 
    7070    <input type="text" name="galleries_url" id="galleries_url"> 
  • trunk/admin/themes/default/template/tags.tpl

    r5366 r5931  
    66 
    77<form action="{$F_ACTION}" method="post"> 
    8   <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}" /> 
    9  
    108  {if isset($EDIT_TAGS_LIST)} 
    119  <fieldset> 
     
    2624 
    2725    <p> 
     26      <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> 
    2827      <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}> 
    2928      <input class="submit" type="reset" value="{'Reset'|@translate}"> 
  • trunk/admin/themes/default/template/themes_installed.tpl

    r5446 r5931  
    1212  <div class="themeBox{if $theme.is_default} themeDefault{/if}"> 
    1313    <div class="themeName">{$theme.name}{if $theme.is_default} <em>({'default'|@translate})</em>{/if}</div> 
    14     <div class="themeShot"><img src="{$theme.screenshot}"></div> 
     14    <div class="themeShot"><img src="{$theme.screenshot}" alt=""></div> 
    1515    <div class="themeActions"> 
    1616      <div> 
     
    4242  <div class="themeBox"> 
    4343    <div class="themeName">{$theme.name}</div> 
    44     <div class="themeShot"><img src="{$theme.screenshot}"></div> 
     44    <div class="themeShot"><img src="{$theme.screenshot}" alt=""></div> 
    4545    <div class="themeActions"> 
    4646      <div> 
  • trunk/admin/themes_installed.php

    r5874 r5931  
    141141$template->assign( 
    142142    array( 
    143       'activate_baseurl' => $base_url.'&action=activate&theme=', 
    144       'deactivate_baseurl' => $base_url.'&action=deactivate&theme=', 
    145       'set_default_baseurl' => $base_url.'&action=set_default&theme=', 
    146       'delete_baseurl' => $base_url.'&action=delete&theme=', 
     143      'activate_baseurl' => $base_url.'&amp;action=activate&amp;theme=', 
     144      'deactivate_baseurl' => $base_url.'&amp;action=deactivate&amp;theme=', 
     145      'set_default_baseurl' => $base_url.'&amp;action=set_default&amp;theme=', 
     146      'delete_baseurl' => $base_url.'&amp;action=delete&amp;theme=', 
    147147 
    148148      'active_themes' => $active_themes, 
  • trunk/themes/default/template/picture.tpl

    r5875 r5931  
    253253<table id="Metadata" class="infoTable2" summary="{'Some more (technical) info about this picture'|@translate}"> 
    254254{foreach from=$metadata item=meta} 
    255   <tr id="{$meta.TITLE}"> 
     255  <tr> 
    256256    <th colspan="2">{$meta.TITLE}</th> 
    257257  </tr> 
    258258  {foreach from=$meta.lines item=value key=label} 
    259   <tr id="{$label}" > 
     259  <tr> 
    260260    <td class="label">{$label}</td> 
    261261    <td class="value">{$value}</td> 
Note: See TracChangeset for help on using the changeset viewer.