mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
- remove compatibility with old template ...
git-svn-id: http://piwigo.org/svn/trunk@2290 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -32,7 +32,7 @@ function get_icon($date, $is_child_date = false)
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
if (isset($page['get_icon_cache'][$date]))
|
||||
{
|
||||
if (! $page['get_icon_cache'][$date] )
|
||||
@@ -713,19 +713,6 @@ function set_status_header($code, $text='')
|
||||
trigger_action('set_status_header', $code, $text);
|
||||
}
|
||||
|
||||
/**
|
||||
* set a class to display a counter
|
||||
* .zero .one .plural
|
||||
*/
|
||||
function set_span_class($count)
|
||||
{
|
||||
if ($count > 1)
|
||||
{
|
||||
return 'plural';
|
||||
}
|
||||
return ( $count == 0 ) ? 'zero':'one';
|
||||
}
|
||||
|
||||
/** returns the category comment for rendering in html.
|
||||
* this is an event handler. don't call directly
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user