svnno****@sourc*****
svnno****@sourc*****
2009年 11月 6日 (金) 07:34:42 JST
Revision: 289 http://sourceforge.jp/projects/xoopstokita/svn/view?view=rev&revision=289 Author: tokita Date: 2009-11-06 07:34:42 +0900 (Fri, 06 Nov 2009) Log Message: ----------- 携帯用ページでタグのリンクがPC用になっていた件を修正 Modified Paths: -------------- spicky/trunc/xoops_trust_path/modules/spicky/main/image.php Modified: spicky/trunc/xoops_trust_path/modules/spicky/main/image.php =================================================================== --- spicky/trunc/xoops_trust_path/modules/spicky/main/image.php 2009-10-28 14:13:34 UTC (rev 288) +++ spicky/trunc/xoops_trust_path/modules/spicky/main/image.php 2009-11-05 22:34:42 UTC (rev 289) @@ -122,14 +122,18 @@ $tag = ''; foreach ($tag_list as $val) { $tag .= ' <A HREF="'; - if (SPICKY_DIRCUT_URL) { - $tag .= XOOPS_URL . '/images/tag/' . urlencode($val['name']) . '/'; - } else if (SPICKY_SHORT_URL) { - $tag .= XOOPS_URL . '/modules/' . $mydirname . '/images/tag/' . urlencode($val['name']) . '/'; + if (@$_GET['m']) { + $tag .= 'index.php?page=image_list&tag=' . urlencode($val['name']) . '&m=1'; } else { - $tag .= 'index.php?page=image_list&tag=' . urlencode($val['name']); - if (@$_GET['m']) { - $tag .= '&m=1'; + if (SPICKY_DIRCUT_URL) { + $tag .= XOOPS_URL . '/images/tag/' . urlencode($val['name']) . '/'; + } else if (SPICKY_SHORT_URL) { + $tag .= XOOPS_URL . '/modules/' . $mydirname . '/images/tag/' . urlencode($val['name']) . '/'; + } else { + $tag .= 'index.php?page=image_list&tag=' . urlencode($val['name']); + if (@$_GET['m']) { + $tag .= '&m=1'; + } } } $tag .= '" style="text-decoration:underline;">';