| 1 |
<?php |
<?php |
| 2 |
// $Id: views_bookmark.views.inc,v 1.1.2.4 2008/03/10 09:51:16 mooffie Exp $ |
// $Id: views_bookmark.views.inc,v 1.1.2.5 2008/03/10 10:29:56 mooffie Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 143 |
'help' => t('If you choose <em>Display the count in a phrase</em>, use the Option field plus the <code>@count</code> placeholder to craft your phrase. A pipe character may separate the singular form from the plural form. Another pipe may separate a leading zero phrase --which may well be an empty string-- from the aforementioned two. Examples: <code>"@count", "1 vote|@count votes", "needs voting|1 vote|@count votes", "|1 vote|@count votes", "|@count|@count"</code>.'), |
'help' => t('If you choose <em>Display the count in a phrase</em>, use the Option field plus the <code>@count</code> placeholder to craft your phrase. A pipe character may separate the singular form from the plural form. Another pipe may separate a leading zero phrase --which may well be an empty string-- from the aforementioned two. Examples: <code>"@count", "1 vote|@count votes", "needs voting|1 vote|@count votes", "|1 vote|@count votes", "|@count|@count"</code>.'), |
| 144 |
), |
), |
| 145 |
), |
), |
| 146 |
|
'filters' => array( |
| 147 |
|
'count' => array( |
| 148 |
|
'name' => t('Bookmark: Count for @s', array('@s' => $bookmark->title)), |
| 149 |
|
'help' => t('This will filter by the number of times that a node has been been bookmarked.'), |
| 150 |
|
'operator' => 'views_handler_operator_gtlt', |
| 151 |
|
'option' => 'integer', |
| 152 |
|
), |
| 153 |
|
), |
| 154 |
'sorts' => array( |
'sorts' => array( |
| 155 |
'count' => array( |
'count' => array( |
| 156 |
'name' => t('Bookmark: @s Count', array('@s' => $bookmark->title)), |
'name' => t('Bookmark: @s Count', array('@s' => $bookmark->title)), |