Fix for 0000629: Adding display differences between physical and virtual categories

(Icon is displayed for people who have deficient vision).

git-svn-id: http://piwigo.org/svn/trunk@1755 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
vdigital 2007-01-25 07:26:28 +00:00
commit 4bcb544d8b
9 changed files with 23 additions and 2 deletions

View file

@ -295,6 +295,12 @@ foreach ($categories as $category)
'URL'=>$self_url.'&delete='.$category['id']
)
);
$template->assign_block_vars(
'categories.category.virtual',
array(
'CLASS' => 'virtual_cat',
)
);
}
if ($category['nb_images'] > 0)

View file

@ -479,6 +479,7 @@ $lang['user_status_normal'] = 'User';
$lang['user_status_webmaster'] = 'Webmaster';
$lang['username'] = 'username';
$lang['users'] = 'Users';
$lang['virtual_category'] = 'Virtual category';
$lang['visitors'] = 'Visitors';
$lang['w_day'] = 'Day';
$lang['waiting'] = 'Waiting';

View file

@ -479,6 +479,7 @@ $lang['user_status_normal'] = 'Visiteur';
$lang['user_status_webmaster'] = 'Webmestre';
$lang['username'] = 'nom utilisateur';
$lang['users'] = 'Utilisateurs';
$lang['virtual_category'] = 'Catégorie virtuelle';
$lang['visitors'] = 'Visiteurs';
$lang['w_day'] = 'Jour';
$lang['waiting'] = 'En attente';

View file

@ -18,7 +18,11 @@
<ul class="categoryUl">
<!-- BEGIN category -->
<li class="categoryLi"> <!-- category {category.ID} -->
<li class="categoryLi
<!-- BEGIN virtual -->
{categories.category.virtual.CLASS}
<!-- END virtual -->
"> <!-- category {category.ID} -->
<ul class="categoryActions">
<li><a href="{categories.category.U_JUMPTO}" title="{lang:jump to category}"><img src="{themeconf:icon_dir}/category_jump-to.png" class="button" alt="{lang:jump to category}" /></a></li>
@ -35,7 +39,12 @@
<!-- END delete -->
</ul>
<p><strong><a href="{categories.category.U_CHILDREN}" title="{lang:manage sub-categories}">{categories.category.NAME}</a></strong></p>
<p>
<strong><a href="{categories.category.U_CHILDREN}" title="{lang:manage sub-categories}">{categories.category.NAME}</a></strong>
<!-- BEGIN virtual -->
<img src="{themeconf:icon_dir}/virt_category.png" class="button" alt="{lang:virtual_category}" /></a></li>
<!-- END virtual -->
</p>
<p>
<label>

Binary file not shown.

After

Width:  |  Height:  |  Size: 796 B

View file

@ -94,3 +94,4 @@ TD.calDayCellEmpty { color: silver; }
.calBackDate { color: #000; }
.calForeDate { color: #fff; }
.virtual_cat { background: #fff !important; }

View file

@ -133,3 +133,4 @@ TD.calDayCellEmpty { color: silver; }
.calBackDate { color: #000; }
.calForeDate { color: #fff; }
.virtual_cat { background: #3f3f3f !important; }

View file

@ -255,3 +255,4 @@ TD.calDayCellEmpty { color: silver; }
.calBackDate { color: #000; }
.calForeDate { color: #fff; }
.virtual_cat { background: #fff !important; }

View file

@ -245,3 +245,4 @@ TD.calDayCellEmpty { color: silver; }
.calBackDate { color: #000; }
.calForeDate { color: #fff; }
.virtual_cat { background: #222 !important; }