Changeset 13282


Ignore:
Timestamp:
Feb 20, 2012, 8:28:43 PM (9 years ago)
Author:
plg
Message:

feature 2581: new design on albums list management.

icons removed, replaced by text links visible on :hover

better ergonomy for automatic order: the "save manual order" submit button
only appears when a change is detected in the album ordering. The "automatic
sort order" becomes a dedicated fieldset, hidden by default, displayed "on
user demand".

new virtual album form displayed only "on user demand"

cat_list, cat_move and permalinks are 3 tabs for the "Albums > Manage" link
in the menubar.

permalinks admin page slightly redesign: fieldsets instead of centered h3,
"on user demand" form to add/modify permalinks.

Location:
trunk
Files:
1 added
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin.php

    r13258 r13282  
    197197    'U_CONFIG_THEMES'=> $link_start.'themes',
    198198    'U_CATEGORIES'=> $link_start.'cat_list',
    199     'U_MOVE'=> $link_start.'cat_move',
    200199    'U_CAT_OPTIONS'=> $link_start.'cat_options',
    201200    'U_CAT_UPDATE'=> $link_start.'site_update&site=1',
     
    206205    'U_USERS'=> $link_start.'user_list',
    207206    'U_GROUPS'=> $link_start.'group_list',
    208     'U_PERMALINKS'=> $link_start.'permalinks',
    209207    'U_RETURN'=> get_gallery_home_url(),
    210208    'U_ADMIN'=> PHPWG_ROOT_PATH.'admin.php',
  • trunk/admin/cat_list.php

    r13025 r13282  
    101101
    102102// +-----------------------------------------------------------------------+
     103// | tabs                                                                  |
     104// +-----------------------------------------------------------------------+
     105
     106$page['tab'] = 'list';
     107include(PHPWG_ROOT_PATH.'admin/include/albums_tab.inc.php');
     108
     109// +-----------------------------------------------------------------------+
    103110// |                    virtual categories management                      |
    104111// +-----------------------------------------------------------------------+
     
    135142}
    136143// save manual category ordering
    137 else if (isset($_POST['submitOrder']))
    138 {
    139   if ('manual' == $_POST['order_type'])
    140   {
    141     asort($_POST['catOrd'], SORT_NUMERIC);
    142     save_categories_order(array_keys($_POST['catOrd']));
    143 
    144     array_push(
    145       $page['infos'],
    146       l10n('Album manual order was saved')
    147       );
    148   }
    149   else
    150   {
    151     $query = '
     144else if (isset($_POST['submitManualOrder']))
     145{
     146  asort($_POST['catOrd'], SORT_NUMERIC);
     147  save_categories_order(array_keys($_POST['catOrd']));
     148
     149  array_push(
     150    $page['infos'],
     151    l10n('Album manual order was saved')
     152    );
     153}
     154else if (isset($_POST['submitAutoOrder']))
     155{
     156  $query = '
    152157SELECT id
    153158  FROM '.CATEGORIES_TABLE.'
     
    155160    (!isset($_GET['parent_id']) ? 'IS NULL' : '= '.$_GET['parent_id']).'
    156161;';
    157     $category_ids = array_from_query($query, 'id');
    158 
    159     if (isset($_POST['recursive']))
    160     {
    161       $category_ids = get_subcat_ids($category_ids);
    162     }
    163 
    164     $categories = array();
    165     $names = array();
    166     $id_uppercats = array();
     162  $category_ids = array_from_query($query, 'id');
     163
     164  if (isset($_POST['recursive']))
     165  {
     166    $category_ids = get_subcat_ids($category_ids);
     167  }
    167168 
    168     $query = '
     169  $categories = array();
     170  $names = array();
     171  $id_uppercats = array();
     172 
     173  $query = '
    169174SELECT id, name, id_uppercat
    170175  FROM '.CATEGORIES_TABLE.'
    171176  WHERE id IN ('.implode(',', $category_ids).')
    172177;';
    173     $result = pwg_query($query);
    174     while ($row = pwg_db_fetch_assoc($result))
    175     {
    176       array_push(
    177         $categories,
    178         array(
    179           'id' => $row['id'],
    180           'id_uppercat' => $row['id_uppercat'],
    181           )
    182         );
    183       array_push(
    184         $names,
    185         $row['name']
    186         );
    187     }
    188 
    189     array_multisort(
     178  $result = pwg_query($query);
     179  while ($row = pwg_db_fetch_assoc($result))
     180  {
     181    array_push(
     182      $categories,
     183      array(
     184        'id' => $row['id'],
     185        'id_uppercat' => $row['id_uppercat'],
     186        )
     187      );
     188    array_push(
    190189      $names,
    191       SORT_REGULAR,
    192       'asc' == $_POST['ascdesc'] ? SORT_ASC : SORT_DESC,
    193       $categories
     190      $row['name']
    194191      );
    195     save_categories_order($categories);
    196 
    197     array_push(
    198       $page['infos'],
    199       l10n('Albums automatically sorted')
    200       );
    201   }
     192  }
     193
     194  array_multisort(
     195    $names,
     196    SORT_REGULAR,
     197    'asc' == $_POST['ascdesc'] ? SORT_ASC : SORT_DESC,
     198    $categories
     199    );
     200  save_categories_order($categories);
     201
     202  array_push(
     203    $page['infos'],
     204    l10n('Albums automatically sorted')
     205    );
    202206}
    203207
  • trunk/admin/cat_move.php

    r12922 r13282  
    7272 
    7373// +-----------------------------------------------------------------------+
     74// | tabs                                                                  |
     75// +-----------------------------------------------------------------------+
     76
     77$page['tab'] = 'move';
     78include(PHPWG_ROOT_PATH.'admin/include/albums_tab.inc.php');
     79
     80// +-----------------------------------------------------------------------+
    7481// |                          Categories display                           |
    7582// +-----------------------------------------------------------------------+
  • trunk/admin/permalinks.php

    r12922 r13282  
    5050  {
    5151    $url = $base_url;
    52     $disp = '⇓'; // TODO: an small image is better
     52    $disp = ''; // TODO: an small image is better
    5353
    5454    if ( $field !== @$_GET[$get_param] )
     
    106106
    107107$template->set_filename('permalinks', 'permalinks.tpl' );
     108
     109// +-----------------------------------------------------------------------+
     110// | tabs                                                                  |
     111// +-----------------------------------------------------------------------+
     112
     113$page['tab'] = 'permalinks';
     114include(PHPWG_ROOT_PATH.'admin/include/albums_tab.inc.php');
     115
    108116
    109117$query = '
  • trunk/admin/themes/clear/theme.css

    r13244 r13282  
    117117label { cursor:pointer }
    118118.categoryLi, .menuLi { background: #ddd }
    119 .virtual_cat, .menuLi_hidden { background: #ccc !important; }
     119.menuLi_hidden { background: #ccc !important; }
    120120a.Piwigo {
    121121  font-family: verdana, arial, helvetica, sans-serif !important;
     
    312312  color:white;
    313313}
     314
     315p.albumTitle img {margin-bottom:-3px;}
  • trunk/admin/themes/default/template/admin.tpl

    r13168 r13282  
    5050      <ul>
    5151        <li><a href="{$U_CATEGORIES}">{'Manage'|@translate}</a></li>
    52         <li><a href="{$U_MOVE}">{'Move'|@translate}</a></li>
    5352        <li><a href="{$U_CAT_OPTIONS}">{'Properties'|@translate}</a></li>
    54         <li><a href="{$U_PERMALINKS}">{'Permalinks'|@translate}</a></li>
    5553      </ul>
    5654    </dd>
  • trunk/admin/themes/default/template/cat_list.tpl

    r12677 r13282  
    1 {footer_script require='jquery.ui.sortable'}
    2 jQuery(document).ready(function(){ldelim}
    3         jQuery(".catPos").hide();
    4         jQuery(".drag_button").show();
    5         jQuery(".categoryLi").css("cursor","move");
    6         jQuery(".categoryUl").sortable({ldelim}
    7                 axis: "y",
    8                 opacity: 0.8
    9         });
    10         jQuery("#categoryOrdering").submit(function(){ldelim}
    11                 ar = jQuery('.categoryUl').sortable('toArray');
    12                 for(i=0;i<ar.length;i++) {ldelim}
    13                         cat = ar[i].split('cat_');
    14                         document.getElementsByName('catOrd[' + cat[1] + ']')[0].value = i;
    15                 }
    16         });
     1{footer_script require='jquery.ui.sortable'}{literal}
     2jQuery(document).ready(function(){
     3  jQuery(".catPos").hide();
     4  jQuery(".drag_button").show();
     5  jQuery(".categoryLi").css("cursor","move");
     6  jQuery(".categoryUl").sortable({
     7    axis: "y",
     8    opacity: 0.8,
     9    update : function() {
     10      jQuery("#manualOrder").show();
     11      jQuery("#notManualOrder").hide();
     12      jQuery("#autoOrder").hide();
     13      jQuery("#createAlbum").hide();
     14    },
     15  });
    1716
    18         jQuery("input[name=order_type]").click(function () {ldelim}
    19                 jQuery("#automatic_order_params").hide();
    20                 if (jQuery("input[name=order_type]:checked").val() == "automatic") {ldelim}
    21                         jQuery("#automatic_order_params").show();
    22                 }
    23         });
     17  jQuery("#categoryOrdering").submit(function(){
     18    ar = jQuery('.categoryUl').sortable('toArray');
     19    for(i=0;i<ar.length;i++) {
     20      cat = ar[i].split('cat_');
     21      document.getElementsByName('catOrd[' + cat[1] + ']')[0].value = i;
     22    }
     23  });
     24
     25  jQuery("input[name=order_type]").click(function () {
     26    jQuery("#automatic_order_params").hide();
     27    if (jQuery("input[name=order_type]:checked").val() == "automatic") {
     28      jQuery("#automatic_order_params").show();
     29    }
     30  });
     31
     32  jQuery("#addAlbumOpen").click(function(){
     33    jQuery("#createAlbum").toggle();
     34    jQuery("input[name=virtual_name]").focus();
     35    jQuery("#autoOrder").hide();
     36  });
     37
     38  jQuery("#addAlbumClose").click(function(){
     39    jQuery("#createAlbum").hide();
     40  });
     41
     42
     43  jQuery("#autoOrderOpen").click(function(){
     44    jQuery("#autoOrder").toggle();
     45    jQuery("#createAlbum").hide();
     46  });
     47
     48  jQuery("#autoOrderClose").click(function(){
     49    jQuery("#autoOrder").hide();
     50  });
     51
     52  jQuery("#cancelManualOrder").click(function(){
     53    jQuery(".categoryUl").sortable("cancel");
     54    jQuery("#manualOrder").hide();
     55    jQuery("#notManualOrder").show();
     56  });
    2457});
    25 {/footer_script}
     58{/literal}{/footer_script}
    2659
    27 <h2>{'Album list management'|@translate}</h2>
     60<h2><span style="letter-spacing:0">{$CATEGORIES_NAV}</span> &#8250; {'Album list management'|@translate}</h2>
    2861
    29 <h3>{$CATEGORIES_NAV}</h3>
     62<form id="categoryOrdering" action="{$F_ACTION}" method="post">
     63<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
    3064
    31 <form id="addVirtual" action="{$F_ACTION}" method="post">
    32   <p>
    33     <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
    34     {'Add a virtual album'|@translate} : <input type="text" name="virtual_name">
    35     <input class="submit" type="submit" value="{'Submit'|@translate}" name="submitAdd">
    36     {if count($categories)>9 }
    37     <a href="#EoP" class="button" style="border:0;">
    38                 <img src="{$themeconf.admin_icon_dir}/page_end.png" title="{'Page end'|@translate}" alt="page_end" style="margin-bottom:-0.6em;"></a>
    39     {/if}
     65<p class="showCreateAlbum">
     66  <span id="notManualOrder">
     67    <a href="#" id="addAlbumOpen">{'create a new album'|@translate}</a>
     68    | <a href="#" id="autoOrderOpen">{'apply automatic sort order'|@translate}</a>
     69  </span>
     70  <span id="manualOrder" style="display:none;">
     71    <input class="submit" name="submitManualOrder" type="submit" value="{'Save manual order'|@translate}">
     72    {'... or '|@translate} <a href="#" id="cancelManualOrder">{'cancel manual order'|@translate}</a>
     73  </span>
     74</p>
     75
     76<fieldset id="createAlbum" style="display:none;">
     77  <legend>{'create a new album'|@translate}</legend>
     78  <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
     79
     80  <p><strong>{'Album name'|@translate}</strong>
     81    <br><input type="text" name="virtual_name">
    4082  </p>
    41 </form>
     83  <p class="actionButtons">
     84    <input class="submit" type="submit" value="{'Create'|@translate}" name="submitAdd">
     85    <a href="#" id="addAlbumClose">{'Cancel'|@translate}</a>
     86  </p>
     87</fieldset>
    4288
    4389{if count($categories) }
    44 <form id="categoryOrdering" action="{$F_ACTION}" method="post">
    45   <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
    4690
    47   <div class="orderParams">
    48     <input class="submit" name="submitOrder" type="submit" value="{'Save order'|@translate}">
    49     <label><input type="radio" name="order_type" value="manual" checked="checked"> {'manual order'|@translate}</label>
    50     <label><input type="radio" name="order_type" value="automatic"> {'automatic order'|@translate}</label>
    51     <span id="automatic_order_params" style="display:none">
    52       <select name="ascdesc">
    53         <option value="asc">{'ascending'|@translate}</option>
    54         <option value="desc">{'descending'|@translate}</option>
    55       </select>
    56       <label><input type="checkbox" name="recursive"> {'Apply to sub-albums'|@translate}</label>
    57     </span>
    58   </div>
     91<fieldset id="autoOrder" style="display:none;">
     92  <legend>{'Automatic sort order'|@translate}</legend>
     93  <p><strong>{'Sort order'|@translate}</strong>
     94    <br><label><input type="radio" value="asc" name="ascdesc" checked="checked">{'ascending'|@translate}</label>
     95    <br><label><input type="radio" value="desc" name="ascdesc">{'descending'|@translate}</label>
     96  </p>
     97
     98  <p>
     99    <label><input type="checkbox" name="recursive"> <strong>{'Apply to sub-albums'|@translate}</strong></label>
     100  </p>
     101
     102  <p class="actionButtons">
     103    <input class="submit" name="submitAutoOrder" type="submit" value="{'Save order'|@translate}">
     104    <a href="#" id="autoOrderClose">{'Cancel'|@translate}</a>
     105  </p>
     106</fieldset>
    59107
    60108  <ul class="categoryUl">
     
    63111    <li class="categoryLi{if $category.IS_VIRTUAL} virtual_cat{/if}" id="cat_{$category.ID}">
    64112      <!-- category {$category.ID} -->
    65       <ul class="categoryActions">
    66         {if cat_admin_access($category.ID)}
    67         <li><a href="{$category.U_JUMPTO}" title="{'jump to album'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_jump-to.png" alt="{'jump to album'|@translate}"></a></li>
    68         {/if}
    69         <li><a href="{$category.U_EDIT}" title="{'Edit album'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_edit.png" alt="{'Edit'|@translate}"></a></li>
    70         {if isset($category.U_MANAGE_ELEMENTS) }
    71         <li><a href="{$category.U_MANAGE_ELEMENTS}" title="{'manage album photos'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_elements.png" alt="{'Photos'|@translate}"></a></li>
    72         {/if}
    73         <li><a href="{$category.U_CHILDREN}" title="{'manage sub-albums'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_children.png" alt="{'sub-albums'|@translate}"></a></li>
    74         {if isset($category.U_MANAGE_PERMISSIONS) }
    75         <li><a href="{$category.U_MANAGE_PERMISSIONS}" title="{'Edit album permissions'|@translate}" ><img src="{$themeconf.admin_icon_dir}/category_permissions.png" alt="{'Permissions'|@translate}"></a></li>
    76         {/if}
    77         {if isset($category.U_SYNC) }
    78         <li><a href="{$category.U_SYNC}" title="{'Synchronize'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/synchronize.png" alt="{'Synchronize'|@translate}"></a></li>
    79         {/if}
    80         {if isset($category.U_DELETE) }
    81         <li><a href="{$category.U_DELETE}" title="{'delete album'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"><img src="{$themeconf.admin_icon_dir}/category_delete.png" alt="{'delete album'|@translate}"></a></li>
    82         {/if}
    83       </ul>
    84 
    85       <p>
    86       <img src="{$themeconf.admin_icon_dir}/cat_move.png" class="button drag_button" style="display:none;" alt="{'Drag to re-order'|@translate}" title="{'Drag to re-order'|@translate}">
     113      <p class="albumTitle">
     114<img src="{$themeconf.admin_icon_dir}/cat_move.png" class="button drag_button" style="display:none;" alt="{'Drag to re-order'|@translate}" title="{'Drag to re-order'|@translate}">
    87115      <strong><a href="{$category.U_CHILDREN}" title="{'manage sub-albums'|@translate}">{$category.NAME}</a></strong>
    88       {if $category.IS_VIRTUAL}
    89       <img src="{$themeconf.admin_icon_dir}/virt_category.png" alt="{'Virtual album'|@translate}">
    90       {/if}
    91116      </p>
    92117
     
    98123      </p>
    99124
     125<p class="albumActions">
     126        <a href="{$category.U_EDIT}">{'Edit'|@translate}</a>
     127        {if isset($category.U_MANAGE_ELEMENTS) }
     128        | <a href="{$category.U_MANAGE_ELEMENTS}">{'manage album photos'|@translate}</a>
     129        {/if}
     130        | <a href="{$category.U_CHILDREN}">{'manage sub-albums'|@translate}</a>
     131        {if isset($category.U_MANAGE_PERMISSIONS) }
     132        | <a href="{$category.U_MANAGE_PERMISSIONS}">{'Permissions'|@translate}</a>
     133        {/if}
     134        {if isset($category.U_SYNC) }
     135        | <a href="{$category.U_SYNC}">{'Synchronize'|@translate}</a>
     136        {/if}
     137        {if isset($category.U_DELETE) }
     138        | <a href="{$category.U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">{'delete album'|@translate}</a>
     139{/if}
     140{if cat_admin_access($category.ID)}
     141|
     142<a href="{$category.U_JUMPTO}">{'jump to album'|@translate} →</a>
     143{/if}
     144</p>
     145
    100146    </li>
    101147    {/foreach}
    102148  </ul>
     149{/if}
    103150</form>
    104 
    105 <a name="EoP"></a>
    106 {/if}
  • trunk/admin/themes/default/template/cat_move.tpl

    r8128 r13282  
    1 
    2 {include file='include/resize.inc.tpl'}
    3 
    41<div class="titrePage">
    52  <h2>{'Move albums'|@translate}</h2>
     
    2926  </fieldset>
    3027
    31   <p>
     28  <p style="text-align:left;">
    3229    <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}">
    33     <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}">
    3430  </p>
    3531
  • trunk/admin/themes/default/template/permalinks.tpl

    r12482 r13282  
     1{footer_script require='jquery.ui.sortable'}{literal}
     2jQuery(document).ready(function(){
     3  jQuery("#addPermalinkOpen").click(function(){
     4    jQuery("#addPermalink").show();
     5    jQuery("#showAddPermalink").hide();
     6  });
     7
     8  jQuery("#addPermalinkClose").click(function(){
     9    jQuery("#addPermalink").hide();
     10    jQuery("#showAddPermalink").show();
     11  });
     12});
     13{/literal}{/footer_script}
     14
     15{literal}
     16<style>
     17#showAddPermalink {text-align:left;margin-left:1em;margin-top:0;}
     18form fieldset p {margin:0 0 1em 0;}
     19form fieldset p.actionButtons {margin-bottom:0}
     20</style>
     21{/literal}
     22
    123<div class="titrePage">
    224  <h2>{'Permalinks'|@translate}</h2>
    325</div>
    426
    5 <form method="post" action="">
    6 <fieldset><legend>{'Add/delete a permalink'|@translate}</legend>
    7   <label>{'Album'|@translate}:
     27<p id="showAddPermalink"><a href="#" id="addPermalinkOpen">{'Add/delete a permalink'|@translate}</a></p>
     28
     29<form method="post" action="" id="addPermalink" style="display:none">
     30<fieldset>
     31  <legend>{'Add/delete a permalink'|@translate}</legend>
     32  <p>
     33    <strong>{'Album'|@translate}</strong>
     34    <br>
    835    <select name="cat_id">
    936      <option value="0">------</option>
    1037      {html_options options=$categories selected=$categories_selected}
    1138    </select>
    12   </label>
    13 
    14   <label>{'Permalink'|@translate}:
    15     <input name="permalink">
    16   </label>
    17 
    18   <label>{'Save to permalink history'|@translate}:
    19     <input type="checkbox" name="save" checked="checked">
    20   </label>
     39  </p>
    2140
    2241  <p>
     42    <strong>{'Permalink'|@translate}</strong>
     43    <br><input name="permalink">
     44  </p>
     45
     46  <p>
     47    <label><input type="checkbox" name="save" checked="checked"> <strong>{'Save to permalink history'|@translate}</strong></label>
     48  </p>
     49
     50  <p class="actionButtons">
    2351    <input type="submit" class="submit" name="set_permalink" value="{'Submit'|@translate}">
     52    <a href="#" id="addPermalinkClose">{'Cancel'|@translate}</a>
    2453  </p>
    25   </fieldset>
     54</fieldset>
    2655</form>
    2756
    28 <h3>{'Permalinks'|@translate}</h3>
    29 <table class="table2">
     57<fieldset>
     58  <legend>{'Permalinks'|@translate}</legend>
     59<table class="table2" style="margin:0">
    3060        <tr class="throw">
    3161                <td>Id {$SORT_ID}</td>
     
    4171{/foreach}
    4272</table>
     73</fieldset>
    4374
    44 <h3>{'Permalink history'|@translate} <a name="old_permalinks"></a></h3>
    45 <table class="table2">
     75<fieldset>
     76  <legend>{'Permalink history'|@translate} <a name="old_permalinks"></a></legend>
     77<table class="table2" style="margin:0">
    4678        <tr class="throw">
    4779                <td>Id {$SORT_OLD_CAT_ID}</td>
     
    5082                <td>{'Deleted on'|@translate} {$SORT_OLD_DATE_DELETED}</td>
    5183                <td>{'Last hit'|@translate} {$SORT_OLD_LAST_HIT}</td>
    52                 <td style="width:20px;">{'Hit'|@translate} {$SORT_OLD_HIT}</td>
     84                <td>{'Hit'|@translate} {$SORT_OLD_HIT}</td>
    5385                <td style="width:5px;"></td>
    5486        </tr>
     
    6597{/foreach}
    6698</table>
     99</fieldset>
  • trunk/admin/themes/default/theme.css

    r13244 r13282  
    152152}
    153153
    154 FORM#categoryOrdering {
    155         padding-left: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
    156         padding-right: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
    157 }
    158154FORM#categoryOrdering p {
    159155        text-align: left;
    160         margin-top: 1em;
    161         margin-bottom: 1em;
     156        /* margin-top: 1em; */
     157        /* margin-bottom: 1em; */
    162158}
    163159UL.categoryUl {
    164160        list-style: none;
    165161        padding: 0;
    166         margin: 0;
     162        margin: 1em;
    167163}
    168164
    169165LI.categoryLi {
     166/*
    170167        width: 100%;
    171         border: 1px solid #666;
    172         padding: 0px 5px;
     168*/
     169        padding: 5px;
    173170        margin-bottom: 5px;
     171  border-radius:5px;
    174172}
    175173
     
    10741072  text-align:left;
    10751073}
     1074
     1075FORM#categoryOrdering p.albumTitle {margin:0;}
     1076FORM#categoryOrdering p.albumActions {visibility:hidden; margin:0}
     1077FORM#categoryOrdering .categoryLi:hover p.albumActions {visibility:visible;}
     1078
     1079.showCreateAlbum {text-align:left; margin:0 1em 1em 1em;line-height:22px;}
     1080#autoOrder p, #createAlbum p {text-align:left; margin:0 0 1em 0;}
     1081#autoOrder p.actionButtons, #createAlbum p.actionButtons {margin-bottom:0;}
  • trunk/admin/themes/roma/theme.css

    r13244 r13282  
    8686.throw  { font-size: 120%; line-height: 26px; padding-top: 10px; font-weight: bold; color: #ff3363; }
    8787label { cursor:pointer }
    88 .categoryLi, .menuLi { background: #222 }
    89 .virtual_cat, .menuLi_hidden { background: #333 !important; }
     88.categoryLi, .menuLi { background: #333 }
     89.menuLi_hidden { background: #333 !important; }
    9090a.Piwigo {
    9191  font-family: verdana, arial, helvetica, sans-serif !important;
  • trunk/language/en_UK/admin.lang.php

    r13234 r13282  
    847847$lang['Move to album'] = 'Move to album';
    848848$lang['You can activate only one mobile theme.'] = 'You can activate only one mobile theme.';
     849$lang['Automatic sort order'] = 'Automatic sort order';
     850$lang['apply automatic sort order'] = 'apply automatic sort order';
     851$lang['Save manual order'] = 'Save manual order';
     852$lang['cancel manual order'] = 'cancel manual order';
     853$lang['Cancel'] = 'Cancel';
     854$lang['List'] = 'List';
    849855?>
  • trunk/language/fr_FR/admin.lang.php

    r13234 r13282  
    848848$lang['Not cropped correctly?'] = 'La photo n\'est pas recadrée corectement ?';
    849849$lang['Photo name'] = 'Nom de la photo';
     850$lang['Automatic sort order'] = 'Ordre de tri automatique';
     851$lang['apply automatic sort order'] = 'appliquer un ordre de tri automatique';
     852$lang['Save manual order'] = 'Sauvegarder l\'ordre manuel';
     853$lang['cancel manual order'] = 'annuler l\'ordre manuel';
     854$lang['Cancel'] = 'Annuler';
     855$lang['List'] = 'Liste';
    850856?>
Note: See TracChangeset for help on using the changeset viewer.