Changeset 1704 for trunk/phpgwapi
- Timestamp:
- 11/24/09 16:07:27 (14 years ago)
- Location:
- trunk/phpgwapi
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.vfs_sql.inc.php
r1693 r1704 791 791 } 792 792 793 /*used to safe memory in downloads*/ 794 function print_content ($data) 795 { 796 if (!is_array ($data)) 797 { 798 $data = array (); 799 } 800 801 $default_values = array 802 ( 803 'relatives' => array (RELATIVE_CURRENT) 804 ); 805 806 $data = array_merge ($this->default_values ($data, $default_values), $data); 807 808 $p = $this->path_parts (array( 809 'string' => $data['string'], 810 'relatives' => array ($data['relatives'][0]) 811 ) 812 ); 813 814 if (!$this->acl_check (array( 815 'string' => $p->fake_full_path, 816 'relatives' => array ($p->mask), 817 'operation' => PHPGW_ACL_READ 818 )) 819 ) 820 { 821 return False; 822 } 823 824 $conf = CreateObject('phpgwapi.config', 'phpgwapi'); 825 $conf->read_repository(); 826 if ($this->file_actions || $p->outside) 827 { 828 if ($fp = fopen ($p->real_full_path, 'rb')) 829 { 830 for ($i=0; $i<=filesize($p->real_full_path); $i+=10240) 831 { 832 echo fread($fp, $i); 833 flush(); 834 } 835 fclose ($fp); 836 } 837 else 838 { 839 return False; 840 } 841 } 842 return True; 843 } 844 793 845 /* 794 846 * See vfs_shared -
trunk/phpgwapi/templates/default/css/azul.css
r1556 r1704 302 302 } 303 303 304 #fmStatusBar305 {306 margin-left:4px;307 margin-bottom:3px;308 font-size: 10px;309 }310 311 312 .fmButton313 {314 background-image:url(../images/buttonbackground.png);315 width:28px;316 height:28px;317 background-repeat: no-repeat;318 }319 320 #fmLocation321 {322 position:relative;323 margin-bottom:3px;324 height:27px;325 326 }327 328 #fmMenu329 {330 position:relative;331 }332 #fmFileWindow333 {334 background-color:#ffffff;335 margin-left:4px;336 padding:5px;337 position:relative;338 border-right: #cccccc 1px solid;339 border-top: #9c9c9c 2px solid;340 border-left: #9c9c9c 2px solid;341 border-bottom: #cccccc 1px solid342 }343 344 304 #user_info 345 305 { … … 373 333 text-align: center; 374 334 background-color:white; 335 } 336 337 .message_header { 338 background-color:#ABC6E1; 375 339 } 376 340 -
trunk/phpgwapi/templates/default/css/cataratas.css
r1195 r1704 344 344 345 345 346 .fmButton347 {348 background-image:url(../images/buttonbackground.png);349 width:28px;350 height:28px;351 background-repeat: no-repeat;352 }353 354 #fmLocation355 {356 position:relative;357 /*background-image:url(../images/buttonbackgroundscaled.png);358 background-repeat: repeat-x;*/359 /*margin-left:4px;*/360 margin-bottom:3px;361 height:27px;362 363 }364 365 #fmMenu366 {367 position:relative;368 }369 #fmFileWindow370 {371 background-color:#ffffff;372 margin-left:4px;373 padding:5px;374 position:relative;375 border-right: #cccccc 1px solid;376 border-top: #9c9c9c 2px solid;377 border-left: #9c9c9c 2px solid;378 border-bottom: #cccccc 1px solid379 }380 381 346 #user_info 382 347 { -
trunk/phpgwapi/templates/default/css/celepar.css
r1209 r1704 343 343 344 344 345 .fmButton346 {347 background-image:url(../images/buttonbackground.png);348 width:28px;349 height:28px;350 background-repeat: no-repeat;351 }352 353 #fmLocation354 {355 position:relative;356 /*background-image:url(../images/buttonbackgroundscaled.png);357 background-repeat: repeat-x;*/358 /*margin-left:4px;*/359 margin-bottom:3px;360 height:27px;361 362 }363 364 #fmMenu365 {366 position:relative;367 }368 #fmFileWindow369 {370 background-color:#ffffff;371 margin-left:4px;372 padding:5px;373 position:relative;374 border-right: #cccccc 1px solid;375 border-top: #9c9c9c 2px solid;376 border-left: #9c9c9c 2px solid;377 border-bottom: #cccccc 1px solid378 }379 380 345 #user_info 381 346 { -
trunk/phpgwapi/templates/default/css/escritorio.css
r1195 r1704 24 24 /*filter:progid:DXImageTransform.Microsoft.AlphaImageLoader; 25 25 */ 26 } 27 .dsused 28 { 29 background-image: url(../images/dsused.gif); 26 30 } 27 31 … … 340 344 } 341 345 342 343 .fmButton344 {345 background-image:url(../images/buttonbackground.png);346 width:28px;347 height:28px;348 background-repeat: no-repeat;349 }350 351 #fmLocation352 {353 position:relative;354 /*background-image:url(../images/buttonbackgroundscaled.png);355 background-repeat: repeat-x;*/356 /*margin-left:4px;*/357 margin-bottom:3px;358 height:27px;359 360 }361 362 #fmMenu363 {364 position:relative;365 }366 #fmFileWindow367 {368 background-color:#ffffff;369 margin-left:4px;370 padding:5px;371 position:relative;372 border-right: #cccccc 1px solid;373 border-top: #9c9c9c 2px solid;374 border-left: #9c9c9c 2px solid;375 border-bottom: #cccccc 1px solid376 }377 378 346 #user_info 379 347 { -
trunk/phpgwapi/templates/default/css/rochas.css
r1648 r1704 350 350 } 351 351 352 #fmStatusBar353 {354 margin-left:4px;355 margin-bottom:3px;356 font-size: 10px;357 /* font-family: Verdana, Arial, Helvetica, sans-serif;*/358 359 360 }361 362 363 .fmButton364 {365 background-image:url(../images/buttonbackground.png);366 width:28px;367 height:28px;368 background-repeat: no-repeat;369 }370 371 #fmLocation372 {373 position:relative;374 /*background-image:url(../images/buttonbackgroundscaled.png);375 background-repeat: repeat-x;*/376 /*margin-left:4px;*/377 margin-bottom:3px;378 height:27px;379 380 }381 382 #fmMenu383 {384 position:relative;385 }386 #fmFileWindow387 {388 background-color:#ffffff;389 margin-left:4px;390 padding:5px;391 position:relative;392 border-right: #cccccc 1px solid;393 border-top: #9c9c9c 2px solid;394 border-left: #9c9c9c 2px solid;395 border-bottom: #cccccc 1px solid396 }397 398 352 #user_info 399 353 {
Note: See TracChangeset
for help on using the changeset viewer.