From: avl Date: Sun, 24 May 2009 18:59:50 +0000 (+0300) Subject: more human readable admin X-Git-Tag: 0.5~397 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=5e67390354ed7471c58f1975f7a977bbed8200fc;p=ipf.git more human readable admin --- diff --git a/ipf/admin/model.php b/ipf/admin/model.php index 5e49108..340abb1 100644 --- a/ipf/admin/model.php +++ b/ipf/admin/model.php @@ -357,7 +357,7 @@ class IPF_Admin_Model{ $context = array( 'mode'=>'add', - 'page_title'=>'Add '.$this->modelName, + 'page_title'=>'Add '.$this->verbose_name(), 'classname'=>$this->verbose_name(), 'form'=>$form, 'inlineInstances'=>$this->inlineInstances, @@ -406,7 +406,7 @@ class IPF_Admin_Model{ $context = array( 'mode'=>'change', - 'page_title'=>'Edit '.$this->modelName, + 'page_title'=>'Edit '.$this->verbose_name(), 'classname'=>$this->verbose_name(), 'object'=>$o, 'form'=>$form, @@ -540,7 +540,7 @@ class IPF_Admin_Model{ $context = array( 'orderable'=>$this->_orderable(), - 'page_title'=>$this->modelName.' List', + 'page_title'=>$this->verbose_name().' List', 'header'=>$this->header, 'objects'=>$objects, 'pager'=>$pager,