Changeset 633
- Timestamp:
- 10/13/06 02:33:47 (2 years ago)
- Files:
-
- devel/_templates/Default_Template/css (modified) (1 diff)
- devel/mod/adash/lib.php (modified) (1 diff)
- devel/search/index.php (modified) (1 diff)
- devel/units/magpie/function_update.php (modified) (2 diffs)
- devel/units/weblogs/weblogs_posts_view.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/_templates/Default_Template/css
r560 r633 199 199 200 200 .clearme{clear:both;} 201 .clearing{clear:both;} 201 202 202 203 devel/mod/adash/lib.php
r630 r633 89 89 90 90 $value = get_record_sql("select * from ".$CFG->prefix."dashboard_data where name = $name and widget = $ident"); 91 if ( $value->value == false) {91 if (empty($value) || $value->value == false) { 92 92 $value->value = ""; 93 93 } devel/search/index.php
r545 r633 36 36 $querystring = $CFG->wwwroot . "search/index.php?" . $querystring; 37 37 38 $body .= "<p>" . gettext("Search for results from:") . " ";38 $body = "<p>" . gettext("Search for results from:") . " "; 39 39 40 40 if ($PAGE->search_type == "''") { devel/units/magpie/function_update.php
r601 r633 68 68 } elseif (isset($item['issued'])) { 69 69 $posted = stripslashes($item['issued']); 70 } elseif (isset($item['pubdate'])) { 71 $posted = stripslashes($item['pubdate']); 70 72 } else { 71 $posted = stripslashes($item['pubdate']);73 $posted = ""; 72 74 } 73 75 $posted = str_replace("T"," ",$posted); … … 87 89 $added = (int) $item['date_timestamp']; 88 90 } 89 if ( !$added&& ($posted == "" || !($added = @strtotime($posted))) ) {91 if (empty($added) && ($posted == "" || !($added = @strtotime($posted))) ) { 90 92 $added = $timenow; 91 93 } devel/units/weblogs/weblogs_posts_view.php
r597 r633 128 128 // looking at an individual post and its comments 129 129 130 $commentsbody .= "";130 $commentsbody = ""; 131 131 132 132 if ($post->ident > 0) { … … 142 142 $commentmenu = <<< END 143 143 144 <p>144 <p> 145 145 [<a href="{$CFG->wwwroot}_weblog/action_redirection.php?action=weblog_comment_delete&weblog_comment_delete={$comment->ident}" onclick="return confirm('$returnConfirm')">$Delete</a>] 146 </p>146 </p> 147 147 END; 148 148 }
