commit 27775fc204892c1064a1ca653a1dfea3139d1f33
parent ec8594987be10e8c388a147beef59122475a5010
Author: dankert <devnull@localhost>
Date: Mon, 20 Dec 2004 23:04:25 +0100
kein Lesen der Benutzer
Diffstat:
1 file changed, 9 insertions(+), 32 deletions(-)
diff --git a/actionClasses/LinkAction.class.php b/actionClasses/LinkAction.class.php
@@ -20,7 +20,10 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// ---------------------------------------------------------------------------
// $Log$
-// Revision 1.5 2004-12-15 23:23:11 dankert
+// Revision 1.6 2004-12-20 22:04:25 dankert
+// kein Lesen der Benutzer
+//
+// Revision 1.5 2004/12/15 23:23:11 dankert
// Anpassung an Session-Funktionen
//
// Revision 1.4 2004/11/24 21:28:36 dankert
@@ -116,6 +119,8 @@ class LinkAction extends ObjectAction
}
$this->link->save();
+ $this->link->setTimestamp();
+ Session::setObject( $this->link );
}
}
@@ -129,34 +134,6 @@ class LinkAction extends ObjectAction
{
$this->setTemplateVars( $this->link->getProperties() );
- if ( is_numeric($this->link->lastchange_userid) )
- {
- $user = new User( $this->link->lastchange_userid );
- $user->load();
- $this->setTemplateVar('lastchange_user',array('name'=>$user->name,
- 'url' =>Html::url(array('action'=>'user',
- 'userid'=>$user->userid))));
- }
- else
- {
- $this->setTemplateVar('lastchange_user',array('name'=>lang('UNKNOWN')));
- }
-
- if ( is_numeric($this->link->create_userid) )
- {
- $user = new User( $this->link->create_userid );
- $user->load();
- $this->setTemplateVar('create_user',array('name'=>$user->name,
- 'url' =>Html::url(array('action'=>'user',
- 'userid'=>$user->userid))));
- }
- else
- {
- $this->setTemplateVar('create_user',array('name'=>lang('UNKNOWN')));
- }
-
-
-
// Typ der Verkn?pfung
$this->setTemplateVar('type' ,$this->link->getType() );
$this->setTemplateVar('act_linkobjectid',$this->link->linkedObjectId);
@@ -176,9 +153,9 @@ class LinkAction extends ObjectAction
$folder = new Folder( $o->parentid );
$folder->linknames = false;
$folder->load();
- $list[$oid] = lang( $o->getType() );
- $list[$oid] .= implode(' » ',$folder->parentObjectNames( false,true ) );
- $list[$oid] .= ' » '.$o->name;
+ $list[$oid] = lang( 'GLOBAL_'.$o->getType() ).': ';
+ $list[$oid] .= implode( FILE_SEP,$folder->parentObjectNames( false,true ) );
+ $list[$oid] .= FILE_SEP.$o->name;
}
}
asort( $list );