Changeset 19722


Ignore:
Timestamp:
01/02/13 19:15:23 (7 years ago)
Author:
mistic100
Message:

undefined function get_tag_ids(), css tweaks

Location:
extensions/SmartAlbums
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/SmartAlbums/admin/album.php

    r19446 r19722  
    123123    $template->assign('IMAGE_COUNT', l10n_dec('%d photo', '%d photos', count($associated_images))); 
    124124     
    125     array_push($page['infos'], sprintf('%d photos associated to the album %s', count($associated_images), '')); 
     125    array_push($page['infos'], sprintf(l10n('%d photos associated to album %s'), count($associated_images), '')); 
    126126     
    127127    define('SMART_NOT_UPDATE', 1); 
  • extensions/SmartAlbums/admin/template/album.tpl

    r19446 r19722  
    249249  <h2><span style="letter-spacing:0">{$CATEGORIES_NAV}</span> &#8250; {'Edit album'|@translate} [SmartAlbum]</h2> 
    250250</div> 
     251 
     252<noscript> 
     253<div class="errors"><ul><li>JavaScript required!</li></ul></div> 
     254</noscript> 
    251255 
    252256<div id="batchManagerGlobal"> 
     
    422426 
    423427    <span class="filter-value"> 
     428      <span class="dimension_width"> 
    424429      <span class="filter_dimension_info"></span> 
    425       <span class="dimension_width"> 
    426430        | <a class="dimensions-choice" data-type="width" data-min="{$dimensions.bounds.min_width}" data-max="{$dimensions.bounds.max_width}">{'Reset'|@translate}</a> 
    427431        <div class="filter_dimension_width_slider"></div> 
     
    429433 
    430434      <span class="filter-value dimension_height"> 
     435      <span class="filter_dimension_info"></span> 
    431436        | <a class="dimensions-choice" data-type="height" data-min="{$dimensions.bounds.min_height}" data-max="{$dimensions.bounds.max_height}">{'Reset'|@translate}</a> 
    432437        <div class="filter_dimension_height_slider"></div> 
     
    434439 
    435440      <span class="filter-value dimension_ratio"> 
     441      <span class="filter_dimension_info"></span> 
    436442{if isset($dimensions.ratio_portrait)} 
    437443        | <a class="dimensions-choice" data-type="ratio" data-min="{$dimensions.ratio_portrait.min}" data-max="{$dimensions.ratio_portrait.max}">{'Portrait'|@translate}</a> 
  • extensions/SmartAlbums/admin/template/style.css

    r19446 r19722  
    1212 
    1313#batchManagerGlobal .filter_dimensions .ui-slider-horizontal { 
    14     margin: 5px 0 10px; 
     14    margin: 5px 0 3px 0; 
    1515    width: 500px; 
    1616} 
     
    2424} 
    2525 
     26#filtersList { 
     27  padding-left:0px; 
     28} 
    2629#filtersList li { 
    27   padding:2px; 
     30  padding:3px 0; 
    2831  border-bottom:1px dotted rgba(100, 100, 100, 0.5); 
    2932  display:block; 
     
    3134#filtersList li>span { 
    3235  display:inline-block; 
    33 } 
    34 #filtersList li span * { 
    3536  vertical-align:middle; 
    3637} 
     
    3839.filter-title { 
    3940  padding-left:10px; 
    40   width:220px; 
     41  width:200px; 
    4142} 
    4243.filter-title:after { 
     
    4445} 
    4546.filter-cond { 
    46   width:220px; 
     47  width:200px; 
    4748} 
    4849 
  • extensions/SmartAlbums/include/functions.inc.php

    r19446 r19722  
    501501      else 
    502502      { 
     503        include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 
    503504        $filter['value'] = implode(',', get_tag_ids($filter['value'])); 
    504505      } 
Note: See TracChangeset for help on using the changeset viewer.