| @@ 80-83 (lines=4) @@ | ||
| 77 | $xoopsTpl->assign('lang_themechanger', _MD_MYLINKS_THEMECHANGER); |
|
| 78 | ||
| 79 | $mymylinkstheme_options = ''; |
|
| 80 | foreach ($GLOBALS['mylinks_allowed_theme'] as $mymylinkstheme) { |
|
| 81 | $thisSelected = ($mymylinkstheme == $GLOBALS['mylinks_theme']) ? " selected='selected'" : ''; |
|
| 82 | $mymylinkstheme_options .= "<option value='{$mymylinkstheme}'{$thisSelected}>{$mymylinkstheme}</option>"; |
|
| 83 | } |
|
| 84 | ||
| 85 | $mylinkstheme_select = "<select name='mylinks_theme_select' onchange='submit();' size='1'>{$mymylinkstheme_options}</select>"; |
|
| 86 | $xoopsTpl->assign('mylinksthemeoption', $mylinkstheme_select); |
|
| @@ 142-148 (lines=7) @@ | ||
| 139 | $xoopsTpl->assign('lang_themechanger', _MD_MYLINKS_THEMECHANGER); |
|
| 140 | $mymylinkstheme_options = ''; |
|
| 141 | ||
| 142 | foreach ($GLOBALS['mylinks_allowed_theme'] as $mymylinkstheme) { |
|
| 143 | $mymylinkstheme_options .= "<option value='{$mymylinkstheme}'"; |
|
| 144 | if ($mymylinkstheme == $GLOBALS['mylinks_theme']) { |
|
| 145 | $mymylinkstheme_options .= " selected='selected'"; |
|
| 146 | } |
|
| 147 | $mymylinkstheme_options .= ">{$mymylinkstheme}</option>"; |
|
| 148 | } |
|
| 149 | ||
| 150 | $mylinkstheme_select = "<select name='mylinks_theme_select' onchange='submit();' size='1'>{$mymylinkstheme_options}</select>"; |
|
| 151 | ||
| @@ 210-216 (lines=7) @@ | ||
| 207 | $xoopsTpl->assign('lang_themechanger', _MD_MYLINKS_THEMECHANGER); |
|
| 208 | $mymylinkstheme_options = ''; |
|
| 209 | ||
| 210 | foreach ($GLOBALS['mylinks_allowed_theme'] as $mymylinkstheme) { |
|
| 211 | $mymylinkstheme_options .= "<option value='{$mymylinkstheme}'"; |
|
| 212 | if ($mymylinkstheme == $GLOBALS['mylinks_theme']) { |
|
| 213 | $mymylinkstheme_options .= " selected='selected'"; |
|
| 214 | } |
|
| 215 | $mymylinkstheme_options .= ">{$mymylinkstheme}</option>"; |
|
| 216 | } |
|
| 217 | ||
| 218 | $mylinkstheme_select = "<select name='mylinks_theme_select' onchange='submit();' size='1'>{$mymylinkstheme_options}</select>"; |
|
| 219 | ||
| @@ 138-144 (lines=7) @@ | ||
| 135 | $xoopsTpl->assign('lang_themechanger', _MD_MYLINKS_THEMECHANGER); |
|
| 136 | $mymylinkstheme_options = ''; |
|
| 137 | ||
| 138 | foreach ($GLOBALS['mylinks_allowed_theme'] as $mymylinkstheme) { |
|
| 139 | $mymylinkstheme_options .= "<option value='{$mymylinkstheme}'"; |
|
| 140 | if ($mymylinkstheme == $GLOBALS['mylinks_theme']) { |
|
| 141 | $mymylinkstheme_options .= " selected='selected'"; |
|
| 142 | } |
|
| 143 | $mymylinkstheme_options .= ">{$mymylinkstheme}</option>"; |
|
| 144 | } |
|
| 145 | ||
| 146 | $mylinkstheme_select = "<select name='mylinks_theme_select' onchange='submit();' size='1'>{$mymylinkstheme_options}</select>"; |
|
| 147 | ||
| @@ 181-187 (lines=7) @@ | ||
| 178 | $xoopsTpl->assign('lang_themechanger', _MD_MYLINKS_THEMECHANGER); |
|
| 179 | $mymylinkstheme_options = ''; |
|
| 180 | ||
| 181 | foreach ($GLOBALS['mylinks_allowed_theme'] as $mymylinkstheme) { |
|
| 182 | $mymylinkstheme_options .= "<option value='{$mymylinkstheme}'"; |
|
| 183 | if ($mymylinkstheme == $GLOBALS['mylinks_theme']) { |
|
| 184 | $mymylinkstheme_options .= ' selected="selected"'; |
|
| 185 | } |
|
| 186 | $mymylinkstheme_options .= ">{$mymylinkstheme}</option>"; |
|
| 187 | } |
|
| 188 | ||
| 189 | $mylinkstheme_select = "<select name='mylinks_theme_select' onchange='submit();' size='1'>{$mymylinkstheme_options}</select>"; |
|
| 190 | ||
| @@ 151-157 (lines=7) @@ | ||
| 148 | $xoopsTpl->assign('lang_themechanger', _MD_MYLINKS_THEMECHANGER); |
|
| 149 | $mymylinkstheme_options = ''; |
|
| 150 | ||
| 151 | foreach ($GLOBALS['mylinks_allowed_theme'] as $mymylinkstheme) { |
|
| 152 | $mymylinkstheme_options .= "<option value='{$mymylinkstheme}'"; |
|
| 153 | if ($mymylinkstheme == $GLOBALS['mylinks_theme']) { |
|
| 154 | $mymylinkstheme_options .= " selected='selected'"; |
|
| 155 | } |
|
| 156 | $mymylinkstheme_options .= ">{$mymylinkstheme}</option>"; |
|
| 157 | } |
|
| 158 | ||
| 159 | $mylinkstheme_select = "<select name='mylinks_theme_select' onchange='submit();' size='1'>{$mymylinkstheme_options}</select>"; |
|
| 160 | ||
| @@ 141-147 (lines=7) @@ | ||
| 138 | $xoopsTpl->assign('lang_themechanger', _MD_MYLINKS_THEMECHANGER); |
|
| 139 | $mymylinkstheme_options = ''; |
|
| 140 | ||
| 141 | foreach ($GLOBALS['mylinks_allowed_theme'] as $mymylinkstheme) { |
|
| 142 | $mymylinkstheme_options .= "<option value='{$mymylinkstheme}'"; |
|
| 143 | if ($mymylinkstheme == $GLOBALS['mylinks_theme']) { |
|
| 144 | $mymylinkstheme_options .= " selected='selected'"; |
|
| 145 | } |
|
| 146 | $mymylinkstheme_options .= ">{$mymylinkstheme}</option>"; |
|
| 147 | } |
|
| 148 | ||
| 149 | $mylinkstheme_select = '<select name="mylinks_theme_select" onchange="submit();" size="1">' . $mymylinkstheme_options . '</select>'; |
|
| 150 | ||
| @@ 318-324 (lines=7) @@ | ||
| 315 | $xoopsTpl->assign('lang_themechanger', _MD_MYLINKS_THEMECHANGER); |
|
| 316 | $mymylinkstheme_options = ''; |
|
| 317 | ||
| 318 | foreach ($GLOBALS['mylinks_allowed_theme'] as $mymylinkstheme) { |
|
| 319 | $mymylinkstheme_options .= "<option value='{$mymylinkstheme}'"; |
|
| 320 | if ($mymylinkstheme == $GLOBALS['mylinks_theme']) { |
|
| 321 | $mymylinkstheme_options .= " selected='selected'"; |
|
| 322 | } |
|
| 323 | $mymylinkstheme_options .= ">{$mymylinkstheme}</option>"; |
|
| 324 | } |
|
| 325 | ||
| 326 | $mylinkstheme_select = "<select name='mylinks_theme_select' onchange='submit();' size='1'>{$mymylinkstheme_options}</select>"; |
|
| 327 | ||