Changeset 790 for trunk/phpgwapi
- Timestamp:
- 05/05/09 15:52:22 (15 years ago)
- Location:
- trunk/phpgwapi
- Files:
-
- 7 edited
- 8 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.common.inc.php
r368 r790 736 736 while ($entry=$d->read()) 737 737 { 738 if ($entry != 'CVS' && $entry != '.' && $entry != '..' 739 && $entry != 'phpgw_website' 740 && is_dir(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $entry)) 741 { 738 if ($entry != '.' && $entry != '..' && is_dir(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $entry) && file_exists(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $entry . '/head.inc.php')) 739 { 740 $list[$entry]['title'] = $entry; 742 741 $list[$entry]['name'] = $entry; 742 743 743 $f = PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $entry . '/details.inc.php'; 744 744 if (file_exists ($f)) 745 745 { 746 746 include($f); 747 $list[$entry]['title'] = 'Use '.$GLOBALS['phpgw_info']['template'][$entry]['title'].'interface'; 748 } 749 else 750 { 751 $list[$entry]['title'] = $entry; 747 if ( defined( $entry.'_TEMPLATE_TITLE' ) ) 748 $list[$entry]['title'] = utf8_decode( constant($entry.'_TEMPLATE_TITLE') ); 752 749 } 753 750 } -
trunk/phpgwapi/inc/functions.inc.php
r440 r790 385 385 { 386 386 $GLOBALS['phpgw']->template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); 387 preg_match('/(.*)\/(.*)/', PHPGW_APP_TPL, $matches); 388 389 if ($GLOBALS['phpgw_info']['flags']['currentapp'] != "jabberit_messenger") 390 $_SESSION['phpgw_info'][$GLOBALS['phpgw_info']['flags']['currentapp']]['user']['preferences']['common']['template_set'] = $matches[2]; 387 391 } 388 392 -
trunk/phpgwapi/js/dftree/dftree.css
r2 r790 37 37 /* link */ 38 38 .l { 39 padding: 0px 13px 0px 0px; 39 background-repeat: no-repeat; 40 background-position: left; 41 padding: 0 2em; 40 42 font-weight: bold; 41 43 font-size: 10px; 42 color: # 666666;44 color: #4a79b1; 43 45 text-decoration: none; 44 46 cursor: pointer; … … 54 56 /* selected link */ 55 57 .sl { 56 padding: 0px 13px 0px 0px; 58 background-repeat: no-repeat; 59 background-position: left; 60 padding: 0 2em; 57 61 font-weight: bold; 58 62 font-size: 10px; 59 color: # 0000FF;63 color: #fc6103; 60 64 text-decoration: none; 61 65 cursor: pointer; -
trunk/phpgwapi/js/dftree/dftree.js
r709 r790 228 228 captionSpan.style.backgroundColor = 'white'; 229 229 captionSpan.style.border = '1px solid black'; 230 captionSpan.style.paddingTop = '0px'; 231 captionSpan.style.paddingBottom = '0px'; 230 232 } 231 233 } … … 237 239 captionSpan = getObjectById("l"+this.id+this._myTree.name); 238 240 captionSpan.style.backgroundColor = ''; 239 captionSpan.style.border = '1px solid #f7f7f7'; 241 captionSpan.style.border = '0px'; 242 captionSpan.style.paddingTop = '1px'; 243 captionSpan.style.paddingBottom = '1px'; 240 244 } 241 245 } … … 326 330 spanL.onmouseover = function () { _this._onMouseOver(); }; 327 331 spanL.onmouseout = function () { _this._onMouseOut(); }; 328 spanL.style.border = '1px solid #f7f7f7';332 // spanL.style.border = '1px solid #f7f7f7'; 329 333 spanL.innerHTML = this.caption; 330 334 //spanL.style.border = '1px solid red'; -
trunk/phpgwapi/templates/celepar/head.inc.php
r12 r790 43 43 $pngfix_src = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/celepar/js/pngfix.js'; 44 44 $pngfix ='<!-- This solves the Internet Explorer PNG-transparency bug, but only for IE 5.5 and higher --> 45 <!--[if gte IE 5.5000]>45 <!--[if lt IE 7]> 46 46 <script src="'.$pngfix_src.'" type="text/javascript"> 47 47 </script> -
trunk/phpgwapi/templates/celepar/navbar.inc.php
r549 r790 163 163 } 164 164 165 $app_icons .= '<td width="74px" height="40" valign=" top" align="left" onclick="location.href=\''.$GLOBALS['phpgw_info']['navbar']['logout']['url'].'\'" style="cursor:pointer;cursor:hand;background-repeat:no-repeat;padding-left:20px;background-image:url('.$var['img_root'].'/back_app.png)">'.$icon.'</td>';165 $app_icons .= '<td width="74px" height="40" valign="center" align="center" onclick="location.href=\''.$GLOBALS['phpgw_info']['navbar']['logout']['url'].'\'" style="cursor:pointer;cursor:hand;background-repeat:no-repeat;padding-bottom:20px;background-image:url('.$var['img_root'].'/back_app.png)">'.$icon.'</td>'; 166 166 } // window.location.href=\''.$GLOBALS['phpgw_info']['navbar']['logout']['url'].'\' 167 167
Note: See TracChangeset
for help on using the changeset viewer.