Changeset 21327 for extensions/reply_to/reply_to.inc.php
- Timestamp:
- Mar 7, 2013, 6:45:33 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/reply_to/reply_to.inc.php
r15117 r21327 37 37 foreach ($comments as $tpl_var) 38 38 { 39 $replyto_links[ $tpl_var['ID'] ] = get_absolute_root_url().$tpl_var['U_PICTURE'].'&rt='.$tpl_var['ID'].'&rta='.$tpl_var['AUTHOR'].'#commentform'; 39 $replyto_links[ $tpl_var['ID'] ] = add_url_params( 40 $tpl_var['U_PICTURE'], 41 array( 42 'rt' => $tpl_var['ID'], 43 'rta' =>$tpl_var['AUTHOR'], 44 ) 45 ).'#commentform'; 40 46 } 41 47 … … 109 115 .replyTo {ldelim} 110 116 display:none; 111 background:url({$R EPLYTO_PATH}reply.png) left top no-repeat;117 background:url({$ROOT_URL}{$REPLYTO_PATH}reply.png) left top no-repeat; 112 118 height:16px; 113 119 margin-left:20px; … … 151 157 .replyTo {ldelim} 152 158 display:none; 153 background:url({$R EPLYTO_PATH}reply.png) left top no-repeat;159 background:url({$ROOT_URL}{$REPLYTO_PATH}reply.png) left top no-repeat; 154 160 height:16px; 155 161 margin-left:20px; … … 228 234 'image_id' => $image['id'], 229 235 'image_file' => $image['file'], 230 )); 236 )); 231 237 232 $replace = '@ <a href="'. get_absolute_root_url().$image['url'].'#comment-$1">$2</a> :';238 $replace = '@ <a href="'.$image['url'].'#comment-$1">$2</a> :'; 233 239 } 234 240 else … … 262 268 $category['url'] = make_index_url(array( 263 269 'category' => $category, 264 )); 265 266 $replace = '@ <a href="'. get_absolute_root_url().$category['url'].'#comment-$1">$2</a> :';270 )); 271 272 $replace = '@ <a href="'.$category['url'].'#comment-$1">$2</a> :'; 267 273 } 268 274 else
Note: See TracChangeset
for help on using the changeset viewer.