- $LINK = "<div class=\"admin_note\">{!_IS_CURRENT_HOME!}</div>";
- $atitle = "<div class=\"admin_note\">".$atitle."</div>";
- $wtitle = "<div class=\"admin_note\">".$wtitle."</div>";
- }
-
- // Add row...
- $OUT .= "<tr>
- <td class=\"switch_sw".$SW." bottom right\"> ".$id."</td>
- <td class=\"switch_sw".$SW." bottom right\"> ".$wtitle."</td>
- <td class=\"switch_sw".$SW." bottom\" align=\"center\">
- ".$LINK."
- </td>
- </tr>\n";
+ $LINK = "<div class=\"admin_note\">{!_IS_CURRENT_HOME!}</div>";
+ $content['title'] = "<div class=\"admin_note\">".$content['title']."</div>";
+ } // END - if
+
+ // Prepare content
+ $content['sw'] = $SW;
+ $content['link'] = $LINK;
+
+ // Load row template
+ $OUT .= LOAD_TEMPLATE("admin_config_home_row", true, $content);