Changeset 310 for branches/1.1dev
- Timestamp:
- Jan 31, 2008 9:54:13 AM (16 years ago)
- Location:
- branches/1.1dev
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1dev/config/boot.inc.php
r183 r310 92 92 die; 93 93 } 94 94 95 95 /** 96 96 * A wrapper for mysql_query. Allows us to set the database link_identifier, … … 126 126 return $qid; 127 127 } 128 129 $mysql_character_sets = array( 130 'utf-8' => 'utf8', 131 'iso-8859-1' => 'latin1', 132 ); 133 134 // Tell MySQL what character set we're useing. Available only on MySQL verions > 4.01.01. 135 if ('' != $CFG->character_set && isset($mysql_character_sets[strtolower($CFG->character_set)])) { 136 dbQuery("/*!40101 SET NAMES '" . $mysql_character_sets[strtolower($CFG->character_set)] . "' */"); 137 } else { 138 logMsg(sprintf('%s is not a known character_set.', $CFG->character_set), LOG_ERR, __FILE__, __LINE__); 139 } 128 140 129 141 } // End enable MySQL._________________________________________________________ -
branches/1.1dev/css/admin.inc.css
r308 r310 122 122 123 123 /*_____________________ NAVIGATION ____________________*/ 124 #leftnav 125 { 124 #leftnav { 126 125 float: left; 127 126 width: 9em; 128 margin: 0 ;129 border-right: 1px solid gray; 127 margin: 0 0 10px 0; 128 /* border-right: 1px solid gray; */ 130 129 padding: 0; 131 130 background-color: #EEE; 132 131 } 133 132 134 #leftnav ul 135 { 133 #leftnav ul { 136 134 padding: 0; 137 135 margin: 0; … … 139 137 } 140 138 141 #leftnav #navlist li 142 { 139 #leftnav #navlist li { 143 140 list-style: none; 144 141 margin: 0; 145 border-bottom: 1px solid gray;142 border-bottom: 1px solid #ccc; 146 143 margin-left: 0em; 147 144 padding: 1px 0 2px 6px; 148 font : bold 60% Verdana, sans-serif;149 } 150 151 #leftnav #navlist li a 152 {145 font-size: 70%; 146 font-weight: bold; 147 } 148 149 #leftnav #navlist li a { 153 150 text-decoration: none; 154 151 padding: 1px; 155 152 } 156 153 157 #leftnav #navlist li a:link, #navlist li a:visited 158 { 159 color: #336; 160 } 161 162 #leftnav #navlist li a:hover, #navlist li a:active 163 { 154 #leftnav #navlist li.label { 155 color: #999; 156 padding-top: 15px; 157 font-size: 90%; 158 font-weight: bold; 159 } 160 161 #leftnav a.addlink { 162 margin-left: 0.5em; 163 font-weight: normal; 164 } 165 166 #leftnav #navlist li a:link, #navlist li a:visited { 167 color: #336; 168 } 169 170 #leftnav #navlist li a:hover, #navlist li a:active { 164 171 color: #C00; 165 }166 167 #leftnav a.addlink168 {169 margin-left: 0.5em;170 172 } 171 173 -
branches/1.1dev/css/utilities.inc.css
r308 r310 65 65 width: 121px; 66 66 /* 125 minus 4 to account for the 4px padding on the right */ 67 } 68 69 input.texttiny, textarea.texttiny 70 { 71 width: 71px; 72 /* 75 minus 4 to account for the 4px padding on the right */ 67 73 } 68 74 -
branches/1.1dev/lib/Email.inc.php
r292 r310 260 260 // Ensure all placeholders have been replaced. Find anything with {...} characters. 261 261 if (preg_match('/({[^}]+})/', $final_body, $unreplaced_match)) { 262 logMsg(sprintf('Cannot send email. Variablesleft unreplaced in template: %s', (isset($unreplaced_match[1]) ? $unreplaced_match[1] : '')), LOG_ERR, __FILE__, __LINE__);262 logMsg(sprintf('Cannot send email. At least one variable left unreplaced in template: %s', (isset($unreplaced_match[1]) ? $unreplaced_match[1] : '')), LOG_ERR, __FILE__, __LINE__); 263 263 return false; 264 264 } -
branches/1.1dev/lib/Upload.inc.php
r287 r310 561 561 $file_name = trim($file_name); 562 562 $file_name = strtr($file_name, $bad, $good); 563 $file_name = preg_replace('/[^-\w.,~_=+ \(\)]/', '_', $file_name);563 $file_name = preg_replace('/[^-\w.,~_=+]+/', '_', $file_name); 564 564 $file_name = substr($file_name, 0, 250); 565 565 return $file_name;
Note: See TracChangeset
for help on using the changeset viewer.