Changeset 4362 for contrib/Dms
- Timestamp:
- 05/12/11 11:52:50 (13 years ago)
- Location:
- contrib/Dms
- Files:
-
- 2 added
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/Dms/inc/class.uimydms.inc.php
r3526 r4362 13 13 14 14 /* $Id: class.uimydms.inc.php 22794 2006-11-06 05:53:11Z lkneschke $ */ 15 15 define('PHPGW_SERVER_ROOT','/var/www/expresso'); 16 16 require_once(PHPGW_SERVER_ROOT.'/mydms/inc/inc.Settings.php'); 17 17 require_once(PHPGW_SERVER_ROOT.'/mydms/inc/inc.DBAccess.php'); … … 759 759 $this->t->set_var('lang_comment',lang('comment')); 760 760 $this->t->set_var('lang_keywords',lang('keywords')); 761 $this->t->set_var('lang_download',lang(' download'));761 $this->t->set_var('lang_download',lang('Descargar Archivo')); 762 762 $this->t->set_var('lang_last_update',lang('last update')); 763 763 $this->t->set_var('lang_current_version',lang('current version')); … … 776 776 $this->t->set_var('lang_delete',lang('delete')); 777 777 $this->t->set_var('lang_view_online',lang('view online')); 778 $this->t->set_var('lang_confirm_delete',lang(' Do you really want to delete this document?'));778 $this->t->set_var('lang_confirm_delete',lang('Relmente quiere borrar el documento?')); 779 779 $this->t->set_var('lang_update_document',lang('update document')); 780 780 $this->t->set_var('lang_update',lang('update')); … … 865 865 { 866 866 $documentID = ($_documentID === false ? (int)$_GET['documentid'] : $_documentID); 867 867 868 //echo "documento".$documentID; 868 869 if(!$document = getDocument($documentID)) 869 870 { 870 871 print "Access denied!"; exit; 871 872 } 873 874 872 875 $user = getUser($GLOBALS['phpgw_info']['user']['account_id']); 873 876 $accessMode = $document->getAccessMode($user); -
contrib/Dms/inc/inc.ClassDocument.php
r3526 r4362 3 3 function getDocument($id) 4 4 { 5 6 // echo "aggggi".$id; 5 7 if (!is_numeric($id)) 6 8 die ("invalid documentid"); 7 9 8 10 $queryStr = "SELECT * FROM phpgw_mydms_Documents WHERE id = " . $id; 11 12 //echo "<br>documentos".$queryStr."<br>"; 9 13 $resArr = $GLOBALS['mydms']->db->getResultArray($queryStr); 10 14 if (is_bool($resArr) && $resArr == false) … … 15 19 16 20 $resArr = $resArr[0]; 17 $newDocument = new Document($resArr["id"], $resArr["name"], $resArr["comment"], $resArr["date"], $resArr["expires"], $resArr["owner"], $resArr["folder"], $resArr["inheritAccess"], $resArr["defaultAccess"], $resArr["locked"], $resArr["keywords"], $resArr["sequence"]); 18 21 $newDocument = new Document($resArr["id"], $resArr["name"], $resArr["comment"], $resArr["date"], $resArr["expires"], $resArr["owner"], $resArr["folder"], $resArr[7], $resArr[8], $resArr[9], $resArr["keywords"], $resArr["sequence"]); 22 23 19 24 if($newDocument->getAccessMode(getUser($GLOBALS['phpgw_info']['user']['account_id'])) > M_NONE) 20 25 return $newDocument; … … 419 424 return M_NONE; 420 425 } 421 426 return $this->getAccessList2(); 422 427 //Berechtigung erben?? 423 428 // wird ï¿œber GetAccessList() bereits realisiert. … … 431 436 } 432 437 */ 433 $highestPrivileged = M_NONE;438 /* $highestPrivileged = M_NONE; 434 439 435 440 //ACLs durchforsten … … 465 470 466 471 //Standard-Berechtigung verwenden 467 return $this->getDefaultAccess(); 468 } 469 472 return $this->getDefaultAccess();*/ 473 } 474 function getAccessList2() 475 { 476 477 $grupos=read_repository2($GLOBALS['phpgw_info']['user']['account_id']); 478 // echo "".$GLOBALS['phpgw_info']['user']['account_id']; 479 480 if($grupos!=''){ 481 $queryStr = "SELECT * FROM phpgw_mydms_acls WHERE targettype = ".T_FOLDER." AND target in ( select folder from phpgw_mydms_Documents WHERE id=" . $this->_id . ") and (userid=".$GLOBALS['phpgw_info']['user']['account_id']." or groupid in (".$grupos.")) ORDER BY targettype"; 482 }else{ 483 $queryStr = "SELECT * FROM phpgw_mydms_acls WHERE targettype = ".T_FOLDER." AND target in ( select folder from phpgw_mydms_Documents WHERE id=" . $this->_id . ") and (userid=".$GLOBALS['phpgw_info']['user']['account_id']." ) ORDER BY targettype"; 484 485 } 486 //echo "aqui".$queryStr ; 487 $resArr = $GLOBALS['mydms']->db->getResultArray($queryStr); 488 489 490 if (is_bool($resArr) && !$resArr) 491 return false; 492 493 //$this->_accessList = array("groups" => array(), "users" => array()); 494 foreach ($resArr as $row) 495 { 496 497 //echo "el grupo de acceso es".$row[4]." ".$row["groupid"]."<br>"; 498 return $row["mode"]; 499 /*if ($row["userid"] != -1) 500 array_push($this->_accessList["users"], new UserAccess($row["userid"], $row["mode"])); 501 else //if ($row["groupID"] != -1) 502 array_push($this->_accessList["groups"], new GroupAccess($row["groupid"], $row["mode"]));*/ 503 } 504 505 506 return $this->_accessList; 507 } 470 508 function getNotifyList() 471 509 { … … 683 721 ); 684 722 685 if(!$this->db->select('phpgw_mydms_DocumentContent', $cols, $where, __LINE__, __FILE__ )) {723 if(!$this->db->select('phpgw_mydms_DocumentContent', $cols, $where, __LINE__, __FILE__, false, 'ORDER BY version,id desc')) { 686 724 return false; 687 725 } -
contrib/Dms/inc/inc.ClassFolder.php
r3526 r4362 4 4 if (!is_numeric($id)) 5 5 die ("invalid folderid"); 6 7 $queryStr = "SELECT * FROM phpgw_mydms_Folders WHERE id = " . $id; 6 $queryStr = "SELECT id,name,parent,comment,owner,inheritaccess,defaultaccess,sequence FROM phpgw_mydms_folders WHERE id = " . $id; 7 8 //echo "<br>folderrrrr".$queryStr."<br>"; 8 9 $resArr = $GLOBALS['mydms']->db->getResultArray($queryStr); 9 10 … … 15 16 $resArr = $resArr[0]; 16 17 if($id == 1) { 17 $resArr[ "defaultAccess"] = M_READ;18 } 19 $newFolder = new Folder($resArr["id"], $resArr["name"], $resArr["parent"], $resArr["comment"], $resArr["owner"], $resArr["inheritAccess"], $resArr["defaultAccess"], $resArr["sequence"]);18 $resArr[6] = M_READ; 19 } 20 // echo $resArr["id"]." ".$resArr[6]." ".$resArr["parent"]." ".$id." ".$GLOBALS['phpgw_info']['user']['account_id']." dddd ".$resArr[5]." dddd ".$resArr["defaultAccess"]; 20 21 22 $newFolder = new Folder($resArr["id"], $resArr["name"], $resArr["parent"], $resArr["comment"], $resArr["owner"], $resArr["inheritaccess"], $resArr["defaultaccess"], $resArr["sequence"]); 23 //echo "llll".$GLOBALS['phpgw_info']['user']['account_id']." ".$resArr["inheritaccess"]; 21 24 #print $resArr["name"]."<br>"; 22 25 #print $newFolder->getAccessMode(getUser($GLOBALS['phpgw_info']['user']['account_id']))."<br>"; 23 if($newFolder->getAccessMode(getUser($GLOBALS['phpgw_info']['user']['account_id'])) > 1) 24 return $newFolder; 25 else 26 if($newFolder->getAccessMode(getUser($GLOBALS['phpgw_info']['user']['account_id'])) > 1){ 27 //echo "retornoooo"; 28 return $newFolder; 29 } 30 else{ 26 31 return false; 32 } 27 33 } 28 34 … … 45 51 function Folder($id, $name, $parentID, $comment, $ownerID, $inheritAccess, $defaultAccess, $sequence) 46 52 { 53 //echo "aaaaaccccseexxx".$inheritAccess; 54 if($inheritAccess=='f'){ 55 unset($inheritAccess); 56 } 47 57 $this->_id = $id; 48 58 $this->_name = $name; … … 53 63 $this->_defaultAccess = $defaultAccess; 54 64 $this->_sequence = $sequence; 55 56 65 $this->db = clone($GLOBALS['phpgw']->db); 57 66 $this->db->set_app('mydms'); 67 // echo"accc".$defaultAccess."lll{ñ{{ñ".$inheritAccess; 58 68 } 59 69 … … 67 77 $where = array('id' => $this->_id); 68 78 69 if(!$this->db->update('phpgw_mydms_ Folders', $data, $where, __LINE__, __FILE__))79 if(!$this->db->update('phpgw_mydms_folders', $data, $where, __LINE__, __FILE__)) 70 80 return false; 71 81 … … 82 92 $where = array('id' => $this->_id); 83 93 84 if(!$this->db->update('phpgw_mydms_ Folders', $data, $where, __LINE__, __FILE__))94 if(!$this->db->update('phpgw_mydms_folders', $data, $where, __LINE__, __FILE__)) 85 95 return false; 86 96 … … 105 115 $where = array('id' => $this->_id); 106 116 107 if(!$this->db->update('phpgw_mydms_ Folders', $data, $where, __LINE__, __FILE__))117 if(!$this->db->update('phpgw_mydms_folders', $data, $where, __LINE__, __FILE__)) 108 118 return false; 109 119 … … 126 136 $where = array('id' => $this->_id); 127 137 128 if(!$this->db->update('phpgw_mydms_ Folders', $data, $where, __LINE__, __FILE__))138 if(!$this->db->update('phpgw_mydms_folders', $data, $where, __LINE__, __FILE__)) 129 139 return false; 130 140 … … 151 161 $where = array('id' => $this->_id); 152 162 153 if(!$this->db->update('phpgw_mydms_ Folders', $data, $where, __LINE__, __FILE__))163 if(!$this->db->update('phpgw_mydms_folders', $data, $where, __LINE__, __FILE__)) 154 164 return false; 155 165 … … 167 177 $where = array('id' => $this->_id); 168 178 169 if(!$this->db->update('phpgw_mydms_ Folders', $data, $where, __LINE__, __FILE__))179 if(!$this->db->update('phpgw_mydms_folders', $data, $where, __LINE__, __FILE__)) 170 180 return false; 171 181 … … 181 191 $where = array('id' => $this->_id); 182 192 183 if(!$this->db->update('phpgw_mydms_ Folders', $data, $where, __LINE__, __FILE__))193 if(!$this->db->update('phpgw_mydms_folders', $data, $where, __LINE__, __FILE__)) 184 194 return false; 185 195 … … 192 202 if (!isset($this->_subFolders)) 193 203 { 194 $queryStr = "SELECT * FROM phpgw_mydms_ Folders WHERE parent = " . $this->_id . " ORDER BY sequence";204 $queryStr = "SELECT * FROM phpgw_mydms_folders WHERE parent = " . $this->_id . " ORDER BY sequence"; 195 205 196 206 … … 226 236 'sequence' => $sequence, 227 237 ); 228 $res = $this->db->insert('phpgw_mydms_ Folders', $insertData, '', __LINE__, __FILE__, 'mydms');238 $res = $this->db->insert('phpgw_mydms_folders', $insertData, '', __LINE__, __FILE__, 'mydms'); 229 239 230 240 if (!$res) … … 233 243 unset($this->_subFolders); 234 244 235 return getFolder($this->db->get_last_insert_id('phpgw_mydms_ Folders','id'));245 return getFolder($this->db->get_last_insert_id('phpgw_mydms_folders','id')); 236 246 } 237 247 … … 307 317 function getDocuments() 308 318 { 319 320 // echo "aaaaaaaquoooooo"; 309 321 if (!isset($this->_documents)) 310 322 { 311 $queryStr = "SELECT * FROM phpgw_mydms_Documents WHERE folder = " . $this->_id . " ORDER BY sequence"; 323 $queryStr = "SELECT * FROM phpgw_mydms_documents WHERE folder = " . $this->_id . " ORDER BY id desc,sequence"; 324 // echo "eeeeee".$queryStr; 312 325 $resArr = $GLOBALS['mydms']->db->getResultArray($queryStr); 313 326 if (is_bool($resArr) && !$resArr) … … 341 354 'sequence' => $sequence, 342 355 ); 343 $res = $this->db->insert('phpgw_mydms_ Documents', $insertData, '', __LINE__, __FILE__, 'mydms');356 $res = $this->db->insert('phpgw_mydms_documents', $insertData, '', __LINE__, __FILE__, 'mydms'); 344 357 345 358 if (!$res) … … 355 368 # return false; 356 369 357 $document = getDocument($this->db->get_last_insert_id('phpgw_mydms_ Documents','id'));370 $document = getDocument($this->db->get_last_insert_id('phpgw_mydms_documents','id')); 358 371 359 372 $res = $document->addContent($comment, $owner, $tmpFile, $orgFileName, $fileType, $mimeType); 360 373 if (is_bool($res) && !$res) 361 374 { 362 $queryStr = "DELETE FROM phpgw_mydms_ Documents WHERE id = " . $document->getID();375 $queryStr = "DELETE FROM phpgw_mydms_documents WHERE id = " . $document->getID(); 363 376 $GLOBALS['mydms']->db->getResult($queryStr); 364 377 return false; … … 389 402 390 403 //Entfernen der Datenbankeintrï¿œge 391 $queryStr = "DELETE FROM phpgw_mydms_ Folders WHERE id = " . $this->_id;392 if (!$GLOBALS['mydms']->db->getResult($queryStr)) 393 return false; 394 $queryStr = "DELETE FROM phpgw_mydms_ ACLs WHERE target = ". $this->_id. " AND targetType = " . T_FOLDER;395 if (!$GLOBALS['mydms']->db->getResult($queryStr)) 396 return false; 397 $queryStr = "DELETE FROM phpgw_mydms_ Notify WHERE target = ". $this->_id. " AND targetType = " . T_FOLDER;404 $queryStr = "DELETE FROM phpgw_mydms_folders WHERE id = " . $this->_id; 405 if (!$GLOBALS['mydms']->db->getResult($queryStr)) 406 return false; 407 $queryStr = "DELETE FROM phpgw_mydms_acls WHERE target = ". $this->_id. " AND targettype = " . T_FOLDER; 408 if (!$GLOBALS['mydms']->db->getResult($queryStr)) 409 return false; 410 $queryStr = "DELETE FROM phpgw_mydms_notify WHERE target = ". $this->_id. " AND targettype = " . T_FOLDER; 398 411 if (!$GLOBALS['mydms']->db->getResult($queryStr)) 399 412 return false; … … 415 428 if (!isset($this->_accessList)) 416 429 { 417 $queryStr = "SELECT * FROM phpgw_mydms_ ACLs WHERE targetType = ".T_FOLDER." AND target = " . $this->_id . " ORDER BY targetType";418 430 $queryStr = "SELECT * FROM phpgw_mydms_acls WHERE targettype = ".T_FOLDER." AND target = " . $this->_id . " ORDER BY targettype"; 431 //echo "aqui".$queryStr ; 419 432 $resArr = $GLOBALS['mydms']->db->getResultArray($queryStr); 420 433 … … 426 439 foreach ($resArr as $row) 427 440 { 441 //echo "el grupo de acceso es".$row[4]." ".$row["groupid"]."<br>"; 442 428 443 if ($row["userid"] != -1) 429 444 array_push($this->_accessList["users"], new UserAccess($row["userid"], $row["mode"])); … … 435 450 return $this->_accessList; 436 451 } 452 453 454 455 function getAccessList2() 456 { 457 458 $grupos=read_repository2($GLOBALS['phpgw_info']['user']['account_id']); 459 // echo "".$GLOBALS['phpgw_info']['user']['account_id']; 460 461 if($grupos!=''){ 462 $queryStr = "SELECT * FROM phpgw_mydms_acls WHERE targettype = ".T_FOLDER." AND target = " . $this->_id . " and (userid=".$GLOBALS['phpgw_info']['user']['account_id']." or groupid in (".$grupos.")) ORDER BY targettype"; 463 }else{ 464 $queryStr = "SELECT * FROM phpgw_mydms_acls WHERE targettype = ".T_FOLDER." AND target = " . $this->_id . " and (userid=".$GLOBALS['phpgw_info']['user']['account_id']." ) ORDER BY targettype"; 465 466 } 467 //echo "<br>aqui".$queryStr ; 468 $resArr = $GLOBALS['mydms']->db->getResultArray($queryStr); 469 470 471 if (is_bool($resArr) && !$resArr) 472 return false; 473 474 //$this->_accessList = array("groups" => array(), "users" => array()); 475 foreach ($resArr as $row) 476 { 477 //echo "acceso".$row["mode"]; 478 //echo "el grupo de acceso es".$row[4]." ".$row["groupid"]."<br>"; 479 return $row["mode"]; 480 /*if ($row["userid"] != -1) 481 array_push($this->_accessList["users"], new UserAccess($row["userid"], $row["mode"])); 482 else //if ($row["groupID"] != -1) 483 array_push($this->_accessList["groups"], new GroupAccess($row["groupid"], $row["mode"]));*/ 484 } 485 486 return false; 487 } 437 488 438 489 function clearAccessList() 439 490 { 440 $queryStr = "DELETE FROM phpgw_mydms_ ACLs WHERE targetType = " . T_FOLDER . " AND target = " . $this->_id;491 $queryStr = "DELETE FROM phpgw_mydms_acls WHERE targettype = " . T_FOLDER . " AND target = " . $this->_id; 441 492 if (!$GLOBALS['mydms']->db->getResult($queryStr)) 442 493 return false; … … 450 501 $userOrGroup = ($isUser) ? "userid" : "groupid"; 451 502 452 $queryStr = "INSERT INTO phpgw_mydms_ ACLs (target, targetType, ".$userOrGroup.", mode) VALUES503 $queryStr = "INSERT INTO phpgw_mydms_acls (target, targettype, ".$userOrGroup.", mode) VALUES 453 504 (".$this->_id.", ".T_FOLDER.", " . $userOrGroupID . ", " .$mode. ")"; 454 505 if (!$GLOBALS['mydms']->db->getResult($queryStr)) … … 463 514 $userOrGroup = ($isUser) ? "userID" : "groupID"; 464 515 465 $queryStr = "UPDATE phpgw_mydms_ ACLs SET mode = " . $newMode . " WHERE targetType = ".T_FOLDER." AND target = " . $this->_id . " AND " . $userOrGroup . " = " . $userOrGroupID;516 $queryStr = "UPDATE phpgw_mydms_acls SET mode = " . $newMode . " WHERE targettype = ".T_FOLDER." AND target = " . $this->_id . " AND " . $userOrGroup . " = " . $userOrGroupID; 466 517 if (!$GLOBALS['mydms']->db->getResult($queryStr)) 467 518 return false; … … 475 526 $userOrGroup = ($isUser) ? "userID" : "groupID"; 476 527 477 $queryStr = "DELETE FROM phpgw_mydms_ ACLs WHERE targetType = ".T_FOLDER." AND target = ".$this->_id." AND ".$userOrGroup." = " . $userOrGroupID;528 $queryStr = "DELETE FROM phpgw_mydms_acls WHERE targettype = ".T_FOLDER." AND target = ".$this->_id." AND ".$userOrGroup." = " . $userOrGroupID; 478 529 if (!$GLOBALS['mydms']->db->getResult($queryStr)) 479 530 return false; … … 492 543 function getAccessMode($user) 493 544 { 545 494 546 GLOBAL $settings; 495 547 … … 532 584 //ACLs durchforsten 533 585 $foundInACL = false; 534 $accessList = $this->getAccessList(); 586 587 return $this->getAccessList2(); 588 /*$accessList = $this->getAccessList(); 535 589 if (!$accessList) { 536 590 return false; … … 552 606 foreach ($accessList["groups"] as $groupAccess) 553 607 { 608 554 609 if ($user->isMemberOfGroup($groupAccess->getGroup())) 555 610 { 611 612 // echo "entro grupoooo<br>";//.$groupAccess->getGroup()." <br>"; 613 556 614 $foundInACL = true; 557 615 if ($groupAccess->getMode() > $highestPrivileged) … … 562 620 } 563 621 if ($foundInACL) 564 return $highestPrivileged; 622 return $highestPrivileged;*/ 565 623 566 624 //Standard-Berechtigung verwenden 567 return $this->getDefaultAccess();625 //return $this->getDefaultAccess(); 568 626 } 569 627 … … 572 630 if (!isset($this->_notifyList)) 573 631 { 574 $queryStr ="SELECT * FROM phpgw_mydms_ Notify WHERE targetType = " . T_FOLDER . " AND target = " . $this->_id;632 $queryStr ="SELECT * FROM phpgw_mydms_notify WHERE targettype = " . T_FOLDER . " AND target = " . $this->_id; 575 633 $resArr = $GLOBALS['mydms']->db->getResultArray($queryStr); 576 634 if (is_bool($resArr) && $resArr == false) … … 593 651 $userOrGroup = ($isUser) ? "userID" : "groupID"; 594 652 595 $queryStr = "INSERT INTO phpgw_mydms_ Notify (target, targetType, " . $userOrGroup . ") VALUES (" . $this->_id . ", " . T_FOLDER . ", " . $userOrGroupID . ")";653 $queryStr = "INSERT INTO phpgw_mydms_notify (target, targettype, " . $userOrGroup . ") VALUES (" . $this->_id . ", " . T_FOLDER . ", " . $userOrGroupID . ")"; 596 654 if (!$GLOBALS['mydms']->db->getResult($queryStr)) 597 655 return false; … … 605 663 $userOrGroup = ($isUser) ? "userID" : "groupID"; 606 664 607 $queryStr = "DELETE FROM phpgw_mydms_ Notify WHERE target = " . $this->_id . " AND targetType = " . T_FOLDER . " AND " . $userOrGroup . " = " . $userOrGroupID;665 $queryStr = "DELETE FROM phpgw_mydms_notify WHERE target = " . $this->_id . " AND targettype = " . T_FOLDER . " AND " . $userOrGroup . " = " . $userOrGroupID; 608 666 if (!$GLOBALS['mydms']->db->getResult($queryStr)) 609 667 return false; -
contrib/Dms/inc/inc.ClassGroup.php
r3526 r4362 10 10 11 11 $name = $GLOBALS['phpgw']->accounts->id2name($id); 12 12 // echo" el grupo es".$name." ".$id."<br>"; 13 13 return new Group($id, $name, ''); 14 14 } … … 144 144 { 145 145 //Wenn die User bereits abgefragt wurden, geht's so schneller: 146 147 //echo "usuariooooo".$user->getID()."<br>"; 148 146 149 if (isset($this->_users)) 147 150 { … … 154 157 155 158 $members = $GLOBALS['phpgw']->accounts->member((int)$this->_id); 159 156 160 $phpgw_group_member = array(); 157 161 158 162 if (is_array($members)) 159 163 { 160 foreach($members as $member)164 /* foreach($members as $member) 161 165 { 162 166 if(!in_array($member['account_id'],$phpgw_group_member)) 163 167 { 164 168 $phpgw_group_member[] = $member['account_id']; 165 } 166 } 169 //echo "grupomiembro".$member['account_id']." ".$this->_id."<br>"; 170 }//else{ 171 //echo "<br>arrreglo<br>".$member['account_id']." ".$phpgw_group_member->id."<br>"; 172 //} 173 }*/ 167 174 } 168 175 … … 177 184 178 185 } 186 187 188 179 189 180 190 /** -
contrib/Dms/inc/inc.ClassUser.php
r3526 r4362 49 49 } 50 50 51 52 53 54 55 function read_repository2($id) 56 { 57 58 $login=$GLOBALS['phpgw']->accounts->id2name($id); 59 $ds = $GLOBALS['phpgw']->common->ldapConnect(); 60 $user_context = $GLOBALS['phpgw_info']['server']['ldap_context']; 61 $group_context = $GLOBALS['phpgw_info']['server']['ldap_context']; 62 $justthese = array("gidnumber"); 63 $sri = @ldap_search($ds, $group_context, ("(&(memberUid=" . $login.")(phpgwaccounttype=g))"), $justthese); 64 65 if(!$sri) 66 return null; 67 $allValues = ldap_get_entries($ds, $sri); 68 69 70 while (list($null,$allVals) = @each($allValues)) 71 { 72 settype($allVals,'array'); 73 74 if($data!=""){ 75 $data=$data.","; 76 } 77 $data=$data. $allVals['gidnumber'][0]; 78 79 80 81 } 82 83 //echo "<br>".$data; 84 return $data; 85 } 86 87 88 function get_account_name($account_id,$valor) 89 { 90 // $acct_type = $this->get_type($account_id); 91 $acct_type ='u'; 92 /* jakjr: using justthese with ldap_search */ 93 //$justthese = array("cn","uid","givenname","sn","gecos"); 94 95 /* search the dn for the given uid */ 96 $ds = $GLOBALS['phpgw']->common->ldapConnect(); 97 $user_context = $GLOBALS['phpgw_info']['server']['ldap_context']; 98 99 $justthese = array("uidnumber", "cn", "mail","gecos","dn"); 100 // $sri = @ldap_search($this->ds, "ou=usuarios,ou=cnti,dc=gob,dc=ve", ("(&(sn=*)(mail=*@*)(structuralObjectClass=inetOrgPerson)(deliveryMode=virtual))"), $justthese); 101 102 //if(($acct_type == 'g') && $this->group_context) 103 // { 104 // $sri = @ldap_search($this->ds, $this->group_context, '(gidnumber=' . (int)$account_id . ')', $justthese); 105 // } 106 // else 107 // { 108 $sri = @ldap_search($ds, $user_context, '(uidnumber=' . (int)$account_id . ')', $justthese); 109 //} 110 111 //echo $this->ds.",". $this->user_context.",". '(uidnumber=' . (int)$account_id . ')'.",". $justthese; 112 if(!$sri) 113 return False; 114 $allValues = ldap_get_entries($ds, $sri); 115 $retorna=""; 116 if($acct_type =='g') 117 { 118 if($valor=='gecos') { 119 $retorna=$GLOBALS['phpgw']->translation->convert($allValues[0]['gecos'][0],'utf-8'); 120 } 121 if($valor=='uidnumber') { 122 $retorna=$GLOBALS['phpgw']->translation->convert($allValues[0]['uidnumber'][0],'utf-8'); 123 } 124 if($valor=='cn') { 125 $retorna=$GLOBALS['phpgw']->translation->convert($allValues[0]['cn'][0],'utf-8'); 126 } 127 128 if($valor=='mail') { 129 $retorna=$GLOBALS['phpgw']->translation->convert($allValues[0]['mail'][0],'utf-8'); 130 } 131 if($valor=='dn') { 132 $retorna=$GLOBALS['phpgw']->translation->convert($allValues[0]['dn'][0],'utf-8'); 133 } 134 135 } 136 else 137 { 138 if($valor=='gecos') { 139 $retorna=$GLOBALS['phpgw']->translation->convert($allValues[0]['gecos'][0],'utf-8'); 140 } 141 if($valor=='uidnumber') { 142 $retorna=$GLOBALS['phpgw']->translation->convert($allValues[0]['uidnumber'][0],'utf-8'); 143 } 144 if($valor=='cn') { 145 $retorna=$GLOBALS['phpgw']->translation->convert($allValues[0]['cn'][0],'utf-8'); 146 } 147 148 if($valor=='mail') { 149 $retorna=$GLOBALS['phpgw']->translation->convert($allValues[0]['mail'][0],'utf-8'); 150 } 151 if($valor=='dn') { 152 $retorna=$GLOBALS['phpgw']->translation->convert($allValues[0]['dn'][0],'utf-8'); 153 } 154 155 156 157 158 } 159 return $retorna; 160 } 161 51 162 function getUser($id) 52 163 { 164 //echo "llego"; 53 165 $resArr["id"] = $id; 54 $resArr["login"] = phpgw_id2name($id);166 $resArr["login"] = phpgw_id2name($id);//get_account_name($id,'dn'); 55 167 $resArr["fullName"] = phpgw_get_accname($id); 56 168 $resArr["email"] = phpgw_get_accemail($id); … … 59 171 $resArr["pwd"] = ''; 60 172 $resArr["comment"] = ''; 173 // echo "hhh".$resArr["login"]." ".$resArr["fullName"]." ".$resArr["isAdmin"]; 61 174 return new User($resArr["id"], $resArr["login"], $resArr["pwd"], $resArr["fullName"], $resArr["email"], $resArr["comment"], $resArr["isAdmin"]); 62 175 } … … 137 250 $this->_isAdmin = $isAdmin; 138 251 } 252 253 254 function add($id,$login,$fullName,$email,$isAdmin,$pwd,$comment) 255 { 256 $this->User = new User($id, $login, $pwd, $fullName, $email, $comment, $isAdmin); 257 } 258 259 function sortDataSet($s) 260 { 261 //Sort by the given parameter 262 switch($s) 263 { 264 case "fullName": 265 //Note use of array to reference member method of this object in callback 266 uasort($this->User,array($this,"cmpName")); 267 break; 268 269 case "login": 270 uasort($this->User,array($this,"cmpX")); 271 break; 272 273 case "id": 274 uasort($this->User,array($this,"cmpY")); 275 break; 276 277 case "added": 278 default: 279 //Re-sort array by original keys 280 ksort($this->User); 281 } 282 } 283 284 //Callback function for sorting by name 285 //$a and $b are dataItem objects 286 function cmpName($a,$b) 287 { 288 //Use sort() for simple alphabetical comparison 289 //Convert to lowercase to ensure consistent behaviour 290 $sortable = array(strtolower($a->_fullName),strtolower($b->_fullName)); 291 $sorted = $sortable; 292 sort($sorted); 293 294 //If the names have switched position, return -1. Otherwise, return 1. 295 return ($sorted[0] == $sortable[0]) ? -1 : 1; 296 } 297 298 //Callback function for sorting by x 299 //$a and $b are dataItem objects 300 function cmpX($a,$b) 301 { 302 //Use sort() for simple alphabetical comparison 303 //Convert to lowercase to ensure consistent behaviour 304 $sortable = array(strtolower($a->x),strtolower($b->x)); 305 $sorted = $sortable; 306 sort($sorted); 307 308 //If the names have switched position, return -1. Otherwise, return 1. 309 return ($sorted[0] == $sortable[0]) ? -1 : 1; 310 } 311 312 //Callback function for sorting by y 313 //$a and $b are dataItem objects 314 function cmpY($a,$b) 315 { 316 //If $a's y attribute >= $b's y attribute, return 1. Otherwise, return -1. 317 return ($a->y >= $b->y) ? 1 : -1; 318 } 139 319 140 320 function getID() { return $this->_id; } … … 339 519 function isMemberOfGroup($group) 340 520 { 521 //echo "es miembro de".$this."<br>"; 341 522 return $group->isMember($this); 342 523 } -
contrib/Dms/out/out.AddDocument.php
r3526 r4362 15 15 16 16 $folderid = (isset($_GET['folderid'])) ? (int) $_GET['folderid'] : 1; 17 $folder = getFolder($folderid); 17 //$folder = getFolder($folderid); 18 19 //if ($folder->getAccessMode($user) < M_READWRITE) 20 //die("access denied"); 21 22 if(!$folder = getFolder($folderid)) { 23 $GLOBALS['phpgw']->redirect_link('out/out.ViewFolder.php?error=accesso denegado!'); 24 25 } 18 26 19 27 if ($folder->getAccessMode($user) < M_READWRITE) 20 die("access denied"); 28 $GLOBALS['phpgw']->redirect_link('out/out.ViewFolder.php?error=accesso denegado!'); 29 21 30 22 31 printHTMLHead( getMLText("folder_title", array("foldername" => $folder->getName()) ) ); … … 48 57 printStartBox(getMLText("add_document")); 49 58 ?> 59 60 <font color="red"><b>NOTA:</b> El documento hereda el permiso correspondiente de la carpeta que lo contiene </font><br></br> 61 62 50 63 51 64 <form action="../op/op.AddDocument.php" enctype="multipart/form-data" method="post" name="form1" onsubmit="return checkForm();"> -
contrib/Dms/out/out.AddSubFolder.php
r3526 r4362 18 18 19 19 $folderid = (isset($_GET['folderid'])) ? (int) $_GET['folderid'] : 1; 20 $folder = getFolder($folderid);21 20 21 //echo "<br>folderid".$folderid; 22 //$folder = getFolder($folderid); 23 if(!$folder = getFolder($folderid)) { 24 $GLOBALS['phpgw']->redirect_link('out/out.ViewFolder.php?error=accesso denegado!'); 25 26 } 22 27 23 28 if ($folder->getAccessMode($user) < M_READWRITE) 24 die("accesso denegado");29 $GLOBALS['phpgw']->redirect_link('out/out.ViewFolder.php?error=accesso denegado!'); 25 30 26 31 -
contrib/Dms/out/out.EditFolder.php
r3526 r4362 15 15 16 16 $folderid = (isset($_GET['folderid'])) ? (int) $_GET['folderid'] : 1; 17 $folder = getFolder($folderid); 17 //$folder = getFolder($folderid); 18 19 20 if(!$folder = getFolder($folderid)) { 21 $GLOBALS['phpgw']->redirect_link('out/out.ViewFolder.php?error=accesso denegado!'); 22 23 } 24 25 if ($folder->getAccessMode($user) < M_READWRITE) 26 $GLOBALS['phpgw']->redirect_link('out/out.ViewFolder.php?error=accesso denegado!'); 18 27 19 28 $parent = ($folder->getID() == $settings->_rootFolderID) ? false : $folder->getParent(); 20 29 21 if ($folder->getAccessMode($user) < M_READWRITE)22 die ("Access denied");30 //if ($folder->getAccessMode($user) < M_READWRITE) 31 //die ("Access denied"); 23 32 24 33 -
contrib/Dms/out/out.FolderAccess.php
r3526 r4362 13 13 14 14 include("../inc/inc.Authentication.php"); 15 // 15 16 16 17 … … 26 27 27 28 $folderid = (isset($_GET['folderid'])) ? (int) $_GET['folderid'] : NULL; 28 $folder = getFolder($folderid); 29 30 $allUsers = getAllUsers(); 31 32 if ($folder->getAccessMode($user) < M_ALL) 33 die ("Access denied"); 29 //$folder = getFolder($folderid); 30 31 if(!$folder = getFolder($folderid)) { 32 $GLOBALS['phpgw']->redirect_link('out/out.ViewFolder.php?error=accesso denegado!'); 33 34 } 35 36 if ($folder->getAccessMode($user) < M_READWRITE) 37 $GLOBALS['phpgw']->redirect_link('out/out.ViewFolder.php?error=accesso denegado!'); 38 39 40 //$allUsers = getAllUsers(); 41 //foreach($allUsers as $c=>$v) 42 // echo "<p>El vector con indice $c tiene el valor $v </p>"; 43 //while (list($clave, $valor) = each($allUsers)) { 44 //echo "<p>El vector con indice $clave tiene el valor $valor </p>"; 45 //} 46 //asort($allUsers); 47 //uasort($allUsers,'ordenar'); 48 49 50 51 52 53 $accounts = $GLOBALS['phpgw']->accounts->get_list('accounts'); 54 $allUsers = array(); 55 for ($i = 0; $i < count($accounts); $i++) 56 { 57 $id = $accounts[$i]["account_id"]; 58 $login = $accounts[$i]["account_lid"]; 59 $fullName = $accounts[$i]['account_firstname'].' '.$accounts[$i]['account_lastname']; 60 $email = $accounts[$i]["account_email"]; 61 $isAdmin = phpgw_is_admin($id); 62 $pwd = ''; 63 $comment = ''; 64 //$myCollection->add($id,$login,$fullName,$email,$isAdmin,$pwd,$comment); 65 $allUsers[$i]=new User($id, $login, $pwd, $fullName, $email, $comment, $isAdmin); 66 } 67 //$allUsers->sortDataSet("fullName"); 68 69 70 function cmpNames($a,$b) 71 { 72 //Use sort() for simple alphabetical comparison 73 //Convert to lowercase to ensure consistent behaviour 74 $sortable = array(strtolower($a->_fullName),strtolower($b->_fullName)); 75 $sorted = $sortable; 76 sort($sorted); 77 78 //If the names have switched position, return -1. Otherwise, return 1. 79 return ($sorted[0] == $sortable[0]) ? -1 : 1; 80 } 81 uasort($allUsers, "cmpNames"); 82 83 84 // $allGroups = getAllGroups(); 85 $phpgw_groups = $GLOBALS['phpgw']->accounts->get_list('groups'); 86 87 $allGroups= array(); 88 89 90 for ($i = 0; $i < count($phpgw_groups); $i++) 91 $allGroups[$i] = new Group($phpgw_groups[$i]["account_id"], $phpgw_groups[$i]["account_lid"], ''); 92 93 function cmpNamesg($a,$b) 94 { 95 //Use sort() for simple alphabetical comparison 96 //Convert to lowercase to ensure consistent behaviour 97 $sortable = array(strtolower($a->_name),strtolower($b->_name)); 98 $sorted = $sortable; 99 sort($sorted); 100 101 //If the names have switched position, return -1. Otherwise, return 1. 102 return ($sorted[0] == $sortable[0]) ? -1 : 1; 103 } 104 105 uasort($allGroups, "cmpNamesg"); 106 107 108 //Sort by name: 109 //$myCollection->sortDataSet("fullName"); 110 //print_r($myCollection->dataSet); 111 //$allUsers[]->sortDataSet("fullName"); 112 113 //Sort by x 114 //$myCollection->sortDataSet("login"); 115 //print_r($myCollection->dataSet); 116 117 //Sort by y 118 //$myCollection->sortDataSet("id"); 119 //print_r($myCollection->dataSet); 120 121 //Sort by order added 122 //$myCollection->sortDataSet("added"); 123 //print_r($myCollection->dataSet); 124 125 126 127 //if ($folder->getAccessMode($user) < M_ALL) 128 //die ("Access denied"); 34 129 35 130 … … 58 153 printFolderPageStart($folder); 59 154 printPageHeader(getMLText("edit_folder_access") . ": " . $folder->getName()); 60 61 62 //Nur admin darf Besitzer ändern 155 $owner = $folder->getOwner(); 156 if($user->getID()==1120 ||$owner->getID()==$user->getID()){ 157 158 //Nur admin darf Besitzer ï¿œndern 63 159 if ($user->isAdmin()) 64 160 { … … 112 208 } 113 209 210 if($user->getID()==1120 ){ 114 211 printMLText("does_not_inherit_access_msg", array("inheriturl" => "../op/op.FolderAccess.php?folderid=".$folderid."&action=inherit")); 212 } 115 213 print "</div>"; 116 214 … … 118 216 $accessList = $folder->getAccessList(); 119 217 120 printNextBox(getMLText("default_access")); 121 ?> 122 123 <div class="defaultAccess"> 124 <form action="../op/op.FolderAccess.php"> 125 <input type="Hidden" name="folderid" value="<?php print $folderid;?>"> 126 <input type="Hidden" name="action" value="setdefault"> 127 128 <?php printAccessModeSelection($folder->getDefaultAccess()); ?> 129 <p> 130 <input type="Submit"> 131 </form> 132 </div> 218 //printNextBox(getMLText("default_access")); 219 ?> 220 221 133 222 134 223 <?php … … 227 316 <option value="none">------------------------------- 228 317 <?php 229 $allGroups = getAllGroups();230 318 foreach ($allGroups as $groupObj) 231 319 print "<option value=\"".$groupObj->getID()."\">" . $groupObj->getName() . "\n"; … … 251 339 252 340 printEndBox(); 341 342 253 343 printFolderPageEnd($folder); 344 345 } 254 346 printHTMLFoot(); 255 347 ?> -
contrib/Dms/out/out.FolderNotify.php
r3526 r4362 15 15 16 16 $folderid = (isset($_GET['folderid'])) ? (int) $_GET['folderid'] : 1; 17 $folder = getFolder($folderid); 17 //$folder = getFolder($folderid); 18 19 if(!$folder = getFolder($folderid)) { 20 $GLOBALS['phpgw']->redirect_link('out/out.ViewFolder.php?error=accesso denegado!'); 21 22 } 23 24 if ($folder->getAccessMode($user) < M_READWRITE) 25 $GLOBALS['phpgw']->redirect_link('out/out.ViewFolder.php?error=accesso denegado!'); 26 18 27 19 28 $notifyList = $folder->getNotifyList(); 20 29 21 if ($folder->getAccessMode($user) < M_READWRITE)22 die ("Access denied");30 //if ($folder->getAccessMode($user) < M_READWRITE) 31 //die ("Access denied"); 23 32 24 33 -
contrib/Dms/out/out.SetExpires.php
r3526 r4362 34 34 <td valign="top" class="inputDescription"><?php printMLText("expires");?>:</td> 35 35 <td class="standardText"> 36 <input type="Radio" name="expires" value="false"<?php if (!$document->expires()) print " checked";?>><?php printMLText("does_not_expire");?><br>37 <input type="radio" name="expires" value="true"<?php if ($document->expires()) print " checked";?>><?php if ($document->expires()) printDateChooser($document->getExpires(), "exp"); else printDateChooser(-1, "exp"); ?>36 <input type="Radio" name="expires" value="false"<?php if (!$document->expires()) print " checked";?>><?php printMLText("does_not_expire");?><br> 37 <input type="radio" name="expires" value="true"<?php if ($document->expires()) print " checked";?>><?php if ($document->expires()) printDateChooser($document->getExpires(), "exp"); else printDateChooser(-1, "exp"); ?> 38 38 </td> 39 39 </tr> -
contrib/Dms/out/out.UpdateDocument.php
r3526 r4362 87 87 <td valign="top" class="inputDescription"><?php printMLText("expires");?>:</td> 88 88 <td class="standardText"> 89 <input type="Radio" name="expires" value="false"<?php if (!$document->expires()) print " checked";?>><?php printMLText("does_not_expire");?><br>90 <input type="radio" name="expires" value="true"<?php if ($document->expires()) print " checked";?>><?php printDateChooser(-1, "exp");?>89 <input type="Radio" name="expires" value="false"<?php if (!$document->expires()) print " checked";?>><?php printMLText("does_not_expire");?><br> 90 <input type="radio" name="expires" value="true"<?php if ($document->expires()) print " checked";?>><?php printDateChooser(-1, "exp");?> 91 91 </td> 92 92 </tr> -
contrib/Dms/out/out.ViewDocument.php
r3526 r4362 19 19 $document = getDocument($documentid); 20 20 $folder = $document->getFolder(); 21 //echo $folder. "folder id<br>"; 22 //echo $document. "doc id<br>"; 23 //echo $documentid. "documentidid<br>"; 24 //echo $user. "user<br>"; 25 26 27 21 28 22 29 if ($document->getAccessMode($user) < M_READ) -
contrib/Dms/out/out.ViewFolder.php
r3526 r4362 1 1 <?php 2 3 4 2 5 include("../inc/inc.Settings.php"); 3 6 include("../inc/inc.AccessUtils.php"); … … 14 17 15 18 include("../inc/inc.Authentication.php"); 19 //include("../../phpgwapi/inc/class.accounts_ldap.inc.php"); 20 21 22 23 //echo"<br>".; 24 //read_repository2($GLOBALS['phpgw_info']['user']['account_id']); 25 26 27 $acceso=0; 16 28 17 29 $folderid = (isset($_GET['folderid'])) ? (int) $_GET['folderid'] : 1; 30 31 //echo "<br>a".$folderid." b ".$_GET['folderid']."<br>"; 32 18 33 if(!$folder = getFolder($folderid)) { 19 34 //die ("Accesso denegado!".$folderid." ".getFolder($folderid)); 20 35 $acceso=0; 21 36 $GLOBALS['phpgw']->redirect_link('out/out.ViewFolder.php?error=accesso denegado!'); 22 37 38 }else{ 39 $acceso=1; 23 40 } 41 42 //echo $folder->getAccessMode(); 24 43 25 44 if ($folder->getAccessMode($user) < M_READ) { 26 45 //die ("accesso denegado!"." ".$folder->getAccessMode($user)); 46 $acceso=0; 27 47 $GLOBALS['phpgw']->redirect_link('out/out.ViewFolder.php?error=accesso denegado!'); 48 }else{ 49 $acceso=1; 28 50 } 29 51 … … 68 90 </table> 69 91 70 92 <?php 93 //echo "acccceso".$acceso; 94 if (isset($_GET['folderid'])||$_GET['folderid']>1){ 95 ?> 71 96 72 97 … … 93 118 <td colspan="2" height="8" class="textSidebox"> </td> 94 119 </tr> 95 <tr class="divSideboxEntry">120 <!-- <tr class="divSideboxEntry"> 96 121 <td width="20" align="center" valign="middle" class="textSidebox"><img class="sideboxstar" src="<?php echo $GLOBALS['phpgw_info']['server']['webserver_url']?>/phpgwapi/templates/idots/images/orange-ball.png" width="9" height="9" alt="ball"/></td><td class="textSidebox"><a class="textSidebox" href="<?php echo $GLOBALS['phpgw_info']['server']['webserver_url'];?>/mydms/out/out.FolderNotify.php?folderid=<?php echo $folderid;?>">notificaciones</a></td> 97 </tr> 122 </tr> --> 98 123 <tr class="divSideboxEntry"> 99 124 <td width="20" align="center" valign="middle" class="textSidebox"><img class="sideboxstar" src="<?php echo $GLOBALS['phpgw_info']['server']['webserver_url']?>/phpgwapi/templates/idots/images/orange-ball.png" width="9" height="9" alt="ball"/></td><td class="textSidebox"><a class="textSidebox" href="<?php echo $GLOBALS['phpgw_info']['server']['webserver_url'];?>/mydms/out/out.FolderAccess.php?folderid=<?php echo $folderid;?>">derechos de acceso</a></td> 100 125 101 126 </tr> 127 128 <?php }?> 102 129 </table> 103 130 <table cellspacing="5" cellpadding="0" border="0"> 104 131 <?php 132 if($acceso>0){ 105 133 $documents = $folder->getDocuments(); 106 $documents = filterAccess($documents, $user, M_READ); 134 //echo "user".$user; 135 //$documents = filterAccess($documents, $user, M_READ); 107 136 if (count($documents) > 0) 108 137 { … … 149 178 print "<tr><td class=\"filelist\">".getMLText("no_documents")."</td></tr>"; 150 179 } 180 } 151 181 ?> 152 182 </table> -
contrib/Dms/templates/default/viewDocument.tpl
r3526 r4362 16 16 <th width="20%" id="tab1" class="activetab" onclick="javascript:tab.display(1);"><a href="#" tabindex="0" accesskey="1" onfocus="tab.display(1);" onclick="tab.display(1); return(false);" style="font-size:10px;">Información</a></th> 17 17 <th width="20%" id="tab2" class="activetab" onclick="javascript:tab.display(2);"><a href="#" tabindex="0" accesskey="2" onfocus="tab.display(2);" onclick="tab.display(2); return(false);" style="font-size:10px;">Todas las versiones</a></th> 18 < th width="20%" id="tab3" class="activetab" onclick="javascript:tab.display(3);"><a href="#" tabindex="0" accesskey="3" onfocus="tab.display(3);" onclick="tab.display(3); return(false);" style="font-size:10px;">Documentos relacionados</a></th>19 <th width="20%" id="tab4" class="activetab" onclick="javascript:tab.display(4);"><a href="#" tabindex="0" accesskey="4" onfocus="tab.display(4);" onclick="tab.display(4); return(false);" style="font-size:10px;">Notificaciones</a></th> 20 <th width="20%" id="tab5" class="activetab" onclick="javascript:tab.display(5);"><a href="#" tabindex="0" accesskey="5" onfocus="tab.display(5);" onclick="tab.display(5); return(false);" style="font-size:10px;">{lang_acl}</a></th> 18 <!--<th width="20%" id="tab3" class="activetab" onclick="javascript:tab.display(3);"><a href="#" tabindex="0" accesskey="3" onfocus="tab.display(3);" onclick="tab.display(3); return(false);" style="font-size:10px;">Documentos relacionados</a></th> 19 <th width="20%" id="tab4" class="activetab" onclick="javascript:tab.display(4);"><a href="#" tabindex="0" accesskey="4" onfocus="tab.display(4);" onclick="tab.display(4); return(false);" style="font-size:10px;">Notificaciones</a></th> 20 <th width="20%" id="tab5" class="activetab" onclick="javascript:tab.display(5);"><a href="#" tabindex="0" accesskey="5" onfocus="tab.display(5);" onclick="tab.display(5); return(false);" style="font-size:10px;">{lang_acl}</a></th>--> 21 21 </tr> 22 22 </table> … … 187 187 188 188 <!-- BEGIN lock_row --> 189 <tr class="row_on">189 <!-- <tr class="row_on"> 190 190 <td class="description" valign="top">Status de Bloqueo:</td> 191 191 <td class="infos" colspan="3"> … … 202 202 </div> 203 203 </td> 204 </tr> 204 </tr>--> 205 205 <!-- END lock_row --> 206 206 … … 298 298 <input type="hidden" id="targetid" name="targetid" value="unchanged"> 299 299 </td> 300 <td align="center" width="150px">< a href="#" onclick="selectFolder({current_folder_id},'info_form'); return(false);" style="font-size:10px;">Mover Documento</a></td>300 <td align="center" width="150px"></td> 301 301 </tr> 302 302 <tr class="row_on"> -
contrib/Dms/themes/default/DocumentPageEnd.html
r3526 r4362 20 20 </tr> 21 21 <tr> 22 <td width="45" background="<?php echo(printImgPath("line_vert.gif")) ?>">22 <td width="45" background="<?php echo(printImgPath("line_vert.gif")); ?>" > 23 23 24 24 </td>
Note: See TracChangeset
for help on using the changeset viewer.