- Timestamp:
- May 5, 2007 8:56:36 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/css/admin.inc.css
r106 r254 34 34 35 35 .help, 36 .sc-help, 36 37 .commandtext { font-size: 70%; } 37 38 … … 172 173 td { 173 174 vertical-align: top; 174 padding: 8px 6px 0 0; 175 /* 176 padding: 8px 6px 0 0; 177 Why was this here? /// 178 */ 175 179 } 176 180 … … 193 197 border-bottom: 1px dotted #000; 194 198 } 199 200 table.list tr:hover { 201 background: #FAF8C7; 202 } 203 195 204 196 205 /* BEAU: The old stuff that was here... -
trunk/css/utilities.inc.css
r168 r254 40 40 .sc-padright { padding: 0 10px 0 0; } 41 41 .sc-right { text-align: right; } 42 .sc-normal { font-weight: normal; } 42 43 43 44 /* .sc-pkg class wraps enclosing block element around inner floated elements */ -
trunk/lib/Prefs.inc.php
r242 r254 183 183 // - there isn't a default. 184 184 // - the new value is different than the default 185 // - there is a previously existing pe sistent key.185 // - there is a previously existing persistent key. 186 186 if (!isset($_SESSION['_prefs'][$this->_ns]['defaults'][$key]) || $_SESSION['_prefs'][$this->_ns]['defaults'][$key] != $val || isset($_SESSION['_prefs'][$this->_ns]['persistent'][$key])) { 187 187 $_SESSION['_prefs'][$this->_ns]['persistent'][$key] = $val; -
trunk/lib/TemplateGlue.inc.php
r253 r254 422 422 // Print a cell with basic named checkboxes. 423 423 $html_name = $val_column . '[' . $box[$val_column] . ']'; 424 $html_id = $val_column . '-' . $box[$val_column] . ''; 424 425 ?> 425 <td><input type="checkbox" name="<?php echo $html_name ?>" id="<?php echo $html_ name?>"<?php echo $checked; ?> /></td>426 <td><label for="<?php echo $html_ name ?>" class="normal"><?php echo oTxt($box[$key_column]); ?></label></td>427 <?php /// FIXME: class=normal?426 <td><input type="checkbox" name="<?php echo $html_name ?>" id="<?php echo $html_id ?>"<?php echo $checked; ?> /></td> 427 <td><label for="<?php echo $html_id ?>" class="sc-normal"><?php echo oTxt($box[$key_column]); ?></label></td> 428 <?php 428 429 } 429 430 -
trunk/services/logs.php
r247 r254 43 43 'log_file' => $app->getParam('log_filename') 44 44 )); 45 $tmp_prefs->set('log_file', getFormData('log')); 45 if (getFormData('log', false)) { 46 $tmp_prefs->set('log_file', getFormData('log')); 47 } 46 48 47 49 // Titles and navigation header. … … 230 232 $app =& App::getInstance(); 231 233 234 $log = array(); 235 232 236 if (!is_file($app->getParam('log_directory') . '/' . $log_file)) { 233 237 $app->raiseMsg(sprintf(_("Log file %s not found."), $log_file), MSG_WARNING, __FILE__, __LINE__); 234 238 $app->logMsg(sprintf('Log file %s not found.', $app->getParam('log_directory') . '/' . $log_file), LOG_WARNING, __FILE__, __LINE__); 235 return false;239 return $log; 236 240 } 237 241 $log = file($app->getParam('log_directory') . '/' . $log_file); … … 244 248 } 245 249 } 246 return array_values($log); 250 $log = array_values($log); 251 return $log; 247 252 } 248 253 … … 266 271 if (is_array($list) && !empty($list)) { 267 272 sort($list); 268 return $list; 269 } else { 270 return false; 271 } 273 } 274 return $list; 272 275 } 273 276 -
trunk/services/templates/versions_view.ihtml
r136 r254 1 1 <div id="commandbox"> 2 <span class="sc-nowrap commandtext"><a href="<?php echo $app->ohref(oTxt($_SERVER['PHP_SELF'])); ?>"><?php echo _("Back to the Versions List"); ?></a></span> 2 3 <?php if (!getFormData('current', false)) { ?> 3 4 <span class="sc-nowrap commandtext"><a href="<?php echo $app->oHREF($_SERVER['PHP_SELF'] . '?op=restore', array('version_id', 'version_title')); ?>"><?php echo _("Restore this saved version"); ?></a></span> 4 <?php } else { ?>5 <span class="sc-nowrap commandtext"> </span>6 5 <?php } ?> 7 6 </div>
Note: See TracChangeset
for help on using the changeset viewer.