1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

admin UI corrections

This commit is contained in:
secretr
2009-11-04 23:47:15 +00:00
parent a069e7d17c
commit a15e43d1d1
2 changed files with 8 additions and 8 deletions

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/comment.php,v $
| $Revision: 1.8 $
| $Date: 2009-11-04 03:37:56 $
| $Author: e107coders $
| $Revision: 1.9 $
| $Date: 2009-11-04 23:47:15 $
| $Author: secretr $
+----------------------------------------------------------------------------+
*/
require_once("../class2.php");
@@ -65,7 +65,7 @@ class comments_admin_ui extends e_admin_ui
'comment_id' => array('title'=> ID, 'type' => 'int', 'width' =>'5%', 'forced'=> TRUE, 'primary'=>TRUE),
'comment_item_id' => array('title'=> "item id", 'type' => 'text', 'width' => 'auto'),
'comment_subject' => array('title'=> "subject", 'type' => 'text', 'width' => 'auto', 'thclass' => 'left first'), // Display name
'comment_comment' => array('title'=> "comment", 'type' => 'text', 'width' => 'auto'), // Display name
'comment_comment' => array('title'=> "comment", 'type' => 'textarea', 'width' => '30%', 'readParms' => 'expand=...&truncate=50'), // Display name
'comment_author_id' => array('title'=> "authorID", 'type' => 'text', 'width' => 'auto'), // User name
'comment_author_name' => array('title'=> "authorName", 'type' => 'text', 'width' => 'auto'), // User name
'comment_datestamp' => array('title'=> "datestamp", 'type' => 'text', 'width' => 'auto'), // User name
@@ -96,7 +96,7 @@ class comments_admin_ui extends e_admin_ui
class comments_admin_form_ui extends e_admin_form_ui
{
function comment_type($curVal,$mode) // not really necessary since we can use 'dropdown' - but just an example of a custom function.
{
{
if($mode == 'list')
{
return e107::getComment()->getTable($curVal);

View File

@@ -9,8 +9,8 @@
* Form Handler
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/form_handler.php,v $
* $Revision: 1.66 $
* $Date: 2009-11-04 21:42:03 $
* $Revision: 1.67 $
* $Date: 2009-11-04 23:47:14 $
* $Author: secretr $
*
*/
@@ -941,7 +941,7 @@ class e_form
if(!vartrue($parms['noparse'])) $value = $tp->toHTML($value, (vartrue($parms['bb']) ? true : false), vartrue($parms['parse']));
if(vartrue($parms['expand']))
{
$expand = '<a href="#'.$id.'-expand" class="e-show-if-js expandit">'.defset($parms['expand'], $parms['expand'])."</a>";
$expand = '&nbsp;<a href="#'.$id.'-expand" class="e-show-if-js e-expandit">'.defset($parms['expand'], $parms['expand'])."</a>";
}
$oldval = $value;