Changeset 2823
- Timestamp:
- Nov 4, 2008, 2:46:17 AM (15 years ago)
- Location:
- branches/2.0
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/include/common.inc.php
r2765 r2823 144 144 145 145 // template instance 146 if 147 ( 148 defined('IN_ADMIN') and IN_ADMIN 149 ) 150 { 151 // Admin template 152 //$template = new Template(PHPWG_ROOT_PATH.'template/'.$user['admin_template'], $user['admin_theme'] ); 146 if ( defined('IN_ADMIN') and IN_ADMIN ) 147 {// Admin template 153 148 list($user['admin_template'], $user['admin_theme']) = 154 149 explode ('/', $conf['admin_layout']); … … 157 152 } 158 153 else 159 { 160 // Classic template 154 { // Classic template 161 155 $template = new Template(PHPWG_ROOT_PATH.'template/' 162 156 . $user['template'], $user['theme'] ); -
branches/2.0/include/constants.php
r2774 r2823 33 33 define('REQUIRED_PHP_VERSION', '5.0.0'); 34 34 define('REQUIRED_MYSQL_VERSION', '4.1.22'); 35 36 // Error codes37 define('GENERAL_MESSAGE', 200);38 define('GENERAL_ERROR', 202);39 define('CRITICAL_MESSAGE', 203);40 define('CRITICAL_ERROR', 204);41 35 42 36 // Access codes -
branches/2.0/include/functions_user.inc.php
r2756 r2823 211 211 // calculation of the number of picture to display per page 212 212 $user['nb_image_page'] = $user['nb_image_line'] * $user['nb_line_page']; 213 214 if (is_admin($user['status']))215 {216 list($user['admin_template'], $user['admin_theme']) =217 explode ('/', $conf['admin_layout']);218 }219 213 220 214 list($user['template'], $user['theme']) = explode('/', $user['template']); … … 1374 1368 else 1375 1369 { 1376 if ($force_one_condition) 1377 { 1378 $sql = '1 = 1'; 1379 } 1380 else 1381 { 1382 $sql = ''; 1383 } 1370 $sql = $force_one_condition ? '1 = 1' : ''; 1384 1371 } 1385 1372 -
branches/2.0/template/yoga/default-layout.css
r2794 r2823 47 47 } 48 48 49 /** General defaults **/50 49 INPUT, SELECT { 51 50 margin: 0; … … 58 57 } 59 58 60 /** forms **/61 59 62 60 FORM { padding: 0; margin: 0; } … … 71 69 margin-top: 1em; 72 70 margin-bottom: 0; 73 }74 75 TEXTAREA.description {76 height: 6em;77 width: 40em;78 overflow: auto;79 71 } 80 72 … … 275 267 #theHeader {text-align: center;} 276 268 277 #theNotificationPage dl,278 #thePopuphelpPage dl{ margin: 0 25px 25px; }279 #content #comments ul.thumbnailCategories li{ width:99%; }269 #theNotificationPage DL, 270 #thePopuphelpPage DL { margin: 0 25px 25px; } 271 #content #comments UL.thumbnailCategories LI { width:99%; } 280 272 /* jQuery datepicker */ 281 img.ui-datepicker-trigger {273 IMG.ui-datepicker-trigger { 282 274 cursor : pointer; 283 275 } -
branches/2.0/template/yoga/picture.css
r2760 r2823 56 56 #linkPrev { 57 57 float: left; 58 margin-right: 10px; 59 margin-left: 5px; 58 60 } 59 61 60 62 #linkNext { 61 63 float: right; 62 }63 64 #linkPrev IMG {65 margin-right: 10px;66 margin-left: 5px;67 }68 69 #linkNext IMG {70 64 margin-right: 5px; 71 65 margin-left: 10px; … … 84 78 } 85 79 86 .thumbnailCategories li{ list-style: none; }80 .thumbnailCategories LI { list-style: none; } 87 81 88 82 .rateButton, .rateButtonSelected, .rateButtonStarFull, .rateButtonStarEmpty { -
branches/2.0/template/yoga/theme/dark/theme.css
r2648 r2823 2 2 3 3 /* text color */ 4 BODY, H1, H3, DT,4 BODY, H1, H3, 5 5 INPUT.rateButtonSelected /* <= why IE doesn't inherit this ? */ { 6 6 color:#d0d0d0;
Note: See TracChangeset
for help on using the changeset viewer.