- if ($size > 0) $content['alternate'] .= " (".TRANSLATE_COMMA(round($size/102.4)/10)." {--KBYTES--})";
-
- // Load banner data
- // @TODO Rewritings: alt->alternate,cnt->counter,cks->clicks,uid->userid in template
- $content = array(
- 'sw' => $SW,
- 'url' => $content['url'],
- 'alt' => $content['alternate'],
- 'cnt' => $content['counter'],
- 'cks' => $content['clicks'],
- 'uid' => getUserId(),
- 'id' => $content['id'],
- );
+ // Empty alternative text?
+ if (empty($row['alternate'])) {
+ // Then set default
+ $row['alternate'] = '{?MAIN_TITLE?} - {?SLOGAN?}';
+ } // END - if