| @@ 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); |
|
| @@ 205-211 (lines=7) @@ | ||
| 202 | $xoopsTpl->assign('lang_themechanger', _MD_MYLINKS_THEMECHANGER); |
|
| 203 | $mymylinkstheme_options = ''; |
|
| 204 | ||
| 205 | foreach ($GLOBALS['mylinks_allowed_theme'] as $mymylinkstheme) { |
|
| 206 | $mymylinkstheme_options .= "<option value='{$mymylinkstheme}'"; |
|
| 207 | if ($mymylinkstheme == $GLOBALS['mylinks_theme']) { |
|
| 208 | $mymylinkstheme_options .= " selected='selected'"; |
|
| 209 | } |
|
| 210 | $mymylinkstheme_options .= ">{$mymylinkstheme}</option>"; |
|
| 211 | } |
|
| 212 | ||
| 213 | $mylinkstheme_select = "<select name='mylinks_theme_select' onchange='submit();' size='1'>{$mymylinkstheme_options}</select>"; |
|
| 214 | ||
| @@ 136-142 (lines=7) @@ | ||
| 133 | $xoopsTpl->assign('lang_themechanger', _MD_MYLINKS_THEMECHANGER); |
|
| 134 | $mymylinkstheme_options = ''; |
|
| 135 | ||
| 136 | foreach ($GLOBALS['mylinks_allowed_theme'] as $mymylinkstheme) { |
|
| 137 | $mymylinkstheme_options .= "<option value='{$mymylinkstheme}'"; |
|
| 138 | if ($mymylinkstheme == $GLOBALS['mylinks_theme']) { |
|
| 139 | $mymylinkstheme_options .= " selected='selected'"; |
|
| 140 | } |
|
| 141 | $mymylinkstheme_options .= ">{$mymylinkstheme}</option>"; |
|
| 142 | } |
|
| 143 | ||
| 144 | $mylinkstheme_select = "<select name='mylinks_theme_select' onchange='submit();' size='1'>{$mymylinkstheme_options}</select>"; |
|
| 145 | ||
| @@ 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 | ||
| @@ 179-185 (lines=7) @@ | ||
| 176 | $xoopsTpl->assign('lang_themechanger', _MD_MYLINKS_THEMECHANGER); |
|
| 177 | $mymylinkstheme_options = ''; |
|
| 178 | ||
| 179 | foreach ($GLOBALS['mylinks_allowed_theme'] as $mymylinkstheme) { |
|
| 180 | $mymylinkstheme_options .= "<option value='{$mymylinkstheme}'"; |
|
| 181 | if ($mymylinkstheme == $GLOBALS['mylinks_theme']) { |
|
| 182 | $mymylinkstheme_options .= ' selected="selected"'; |
|
| 183 | } |
|
| 184 | $mymylinkstheme_options .= ">{$mymylinkstheme}</option>"; |
|
| 185 | } |
|
| 186 | ||
| 187 | $mylinkstheme_select = "<select name='mylinks_theme_select' onchange='submit();' size='1'>{$mymylinkstheme_options}</select>"; |
|
| 188 | ||
| @@ 152-158 (lines=7) @@ | ||
| 149 | $xoopsTpl->assign('lang_themechanger', _MD_MYLINKS_THEMECHANGER); |
|
| 150 | $mymylinkstheme_options = ''; |
|
| 151 | ||
| 152 | foreach ($GLOBALS['mylinks_allowed_theme'] as $mymylinkstheme) { |
|
| 153 | $mymylinkstheme_options .= "<option value='{$mymylinkstheme}'"; |
|
| 154 | if ($mymylinkstheme == $GLOBALS['mylinks_theme']) { |
|
| 155 | $mymylinkstheme_options .= " selected='selected'"; |
|
| 156 | } |
|
| 157 | $mymylinkstheme_options .= ">{$mymylinkstheme}</option>"; |
|
| 158 | } |
|
| 159 | ||
| 160 | $mylinkstheme_select = "<select name='mylinks_theme_select' onchange='submit();' size='1'>{$mymylinkstheme_options}</select>"; |
|
| 161 | ||
| @@ 143-149 (lines=7) @@ | ||
| 140 | $xoopsTpl->assign('lang_themechanger', _MD_MYLINKS_THEMECHANGER); |
|
| 141 | $mymylinkstheme_options = ''; |
|
| 142 | ||
| 143 | foreach ($GLOBALS['mylinks_allowed_theme'] as $mymylinkstheme) { |
|
| 144 | $mymylinkstheme_options .= "<option value='{$mymylinkstheme}'"; |
|
| 145 | if ($mymylinkstheme == $GLOBALS['mylinks_theme']) { |
|
| 146 | $mymylinkstheme_options .= " selected='selected'"; |
|
| 147 | } |
|
| 148 | $mymylinkstheme_options .= ">{$mymylinkstheme}</option>"; |
|
| 149 | } |
|
| 150 | ||
| 151 | $mylinkstheme_select = '<select name="mylinks_theme_select" onchange="submit();" size="1">'.$mymylinkstheme_options.'</select>'; |
|
| 152 | ||
| @@ 315-321 (lines=7) @@ | ||
| 312 | $xoopsTpl->assign('lang_themechanger', _MD_MYLINKS_THEMECHANGER); |
|
| 313 | $mymylinkstheme_options = ''; |
|
| 314 | ||
| 315 | foreach ($GLOBALS['mylinks_allowed_theme'] as $mymylinkstheme) { |
|
| 316 | $mymylinkstheme_options .= "<option value='{$mymylinkstheme}'"; |
|
| 317 | if ($mymylinkstheme == $GLOBALS['mylinks_theme']) { |
|
| 318 | $mymylinkstheme_options .= " selected='selected'"; |
|
| 319 | } |
|
| 320 | $mymylinkstheme_options .= ">{$mymylinkstheme}</option>"; |
|
| 321 | } |
|
| 322 | ||
| 323 | $mylinkstheme_select = "<select name='mylinks_theme_select' onchange='submit();' size='1'>{$mymylinkstheme_options}</select>"; |
|
| 324 | ||