]> git.andy128k.dev Git - ipf.git/commitdiff
page_title() for admin
authoravl <alex.litovchenko@gmail.com>
Fri, 27 Nov 2009 12:06:04 +0000 (14:06 +0200)
committeravl <alex.litovchenko@gmail.com>
Fri, 27 Nov 2009 12:06:04 +0000 (14:06 +0200)
ipf/admin/model.php

index cb38aa1aa881e35ef72a3fc37976b8f1387c9552..46c66848d8e53731c4bbf5718a4bbf4176efbb4b 100644 (file)
@@ -550,7 +550,7 @@ class IPF_Admin_Model{
 
         $context = array(
                'orderable'=>$this->_orderable(),
-            'page_title'=>$this->verbose_name().' List',
+               'page_title'=>$this->page_title(),
             'header'=>$this->header,
             'objects'=>$objects,
             'pager'=>$pager,
@@ -565,4 +565,8 @@ class IPF_Admin_Model{
         );
         return IPF_Shortcuts::RenderToResponse('admin/items.html', $context, $request);
     }
+    
+    function page_title(){
+        return $this->verbose_name().' List';
+    }
 }