wwjw_links - Version 2.1.3

Version Notes

fixed some bugs

Download this release

Release Info

Developer wwjw
Extension wwjw_links
Version 2.1.3
Comparing to
See all releases


Code changes from version 2.1.2 to 2.1.3

app/design/frontend/default/default/template/links/.DS_Store ADDED
Binary file
app/design/frontend/default/default/template/links/links.phtml CHANGED
@@ -158,7 +158,7 @@ margin-left: 5px;
158
  <ul>
159
  <?php
160
  foreach ((array)$data as $key=>$value) {?>
161
- <li><a href="<?php echo $this->getUrl('wwjw_links/index/post');?>?id=<?php echo $value[ID];?>&type=<?php echo $value[TYPE];?>"><?php echo $value[TITLE];?></a></li>
162
  <?php } ?>
163
  </ul>
164
  </div>
158
  <ul>
159
  <?php
160
  foreach ((array)$data as $key=>$value) {?>
161
+ <li><a href="<?php echo $this->getUrl('wwjw_links/index/post');?>?id=<?php echo $value['ID'];?>&type=<?php echo $value['TYPE'];?>"><?php echo $value['TITLE'];?></a></li>
162
  <?php } ?>
163
  </ul>
164
  </div>
app/design/frontend/default/default/template/links/post.phtml CHANGED
@@ -80,11 +80,11 @@ function page($num, $perpage, $curpage, $operation) {
80
  return $multipage;
81
  }
82
 
83
- $id = intval($_GET['id']);
84
- $title = $_GET['TITLE'];
85
- $page = intval($_GET['page']) ? intval($_GET['page']) : 1;
86
- $type = intval($_GET['type']);
87
- $sort = $_GET['sort'];
88
  if (!in_array($sort, array('P', 'H', 'L'))) {
89
  $sort = 'H';
90
  }
80
  return $multipage;
81
  }
82
 
83
+ $id = intval(@$_GET['id']);
84
+ $title = @$_GET['TITLE'];
85
+ $page = intval(@$_GET['page']) ? intval(@$_GET['page']) : 1;
86
+ $type = intval(@$_GET['type']);
87
+ $sort = @$_GET['sort'];
88
  if (!in_array($sort, array('P', 'H', 'L'))) {
89
  $sort = 'H';
90
  }
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>wwjw_links</name>
4
- <version>2.1.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0">OSL v3.0</license>
7
  <channel>community</channel>
@@ -34,8 +34,8 @@ It can also bring plenty of visitors for you.&#xD;
34
  <notes>fixed some bugs</notes>
35
  <authors><author><name>wwjw</name><user>wwjw</user><email>admin@wwjw.com</email></author></authors>
36
  <date>2013-03-05</date>
37
- <time>15:32:05</time>
38
- <contents><target name="magelocal"><dir name="Wwjw"><dir name="Links"><dir name="Block"><file name="Links.php" hash="6d54064c18b2f22f2e8c7243e65562d2"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Helper"><file name="Data.php" hash="18f2abce0adeae151bea45173c16891e"/></dir><dir name="controllers"><file name="IndexController.php" hash="a474de7e88d4b9b8129fbc940e083ec9"/></dir><dir name="etc"><file name="config.xml" hash="ed6f7610a9564daca908bc0ef007037f"/><file name="system.xml" hash="5f94ccdce9c476b84fd69534d994b1d3"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Wwjw_Links.xml" hash="16294301134768bf39cf39d6210be6d2"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="links.xml" hash="12fd07806392355bd470d73cb054c263"/></dir><dir name="template"><dir name="links"><file name="links.phtml" hash="80877326e8d2e5aae5f19e6d9e05e696"/><file name="post.phtml" hash="1be3f72a59b62dc411ca34fdceb5a60c"/></dir></dir></dir></dir></dir></target></contents>
39
  <compatible/>
40
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
41
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>wwjw_links</name>
4
+ <version>2.1.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0">OSL v3.0</license>
7
  <channel>community</channel>
34
  <notes>fixed some bugs</notes>
35
  <authors><author><name>wwjw</name><user>wwjw</user><email>admin@wwjw.com</email></author></authors>
36
  <date>2013-03-05</date>
37
+ <time>16:21:44</time>
38
+ <contents><target name="magelocal"><dir name="Wwjw"><dir name="Links"><dir name="Block"><file name="Links.php" hash="6d54064c18b2f22f2e8c7243e65562d2"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Helper"><file name="Data.php" hash="18f2abce0adeae151bea45173c16891e"/></dir><dir name="controllers"><file name="IndexController.php" hash="a474de7e88d4b9b8129fbc940e083ec9"/></dir><dir name="etc"><file name="config.xml" hash="ed6f7610a9564daca908bc0ef007037f"/><file name="system.xml" hash="5f94ccdce9c476b84fd69534d994b1d3"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Wwjw_Links.xml" hash="16294301134768bf39cf39d6210be6d2"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="links.xml" hash="12fd07806392355bd470d73cb054c263"/></dir><dir name="template"><dir name="links"><file name="links.phtml" hash="df0dc71e9975020ada2ec372d03c8169"/><file name="post.phtml" hash="ac7974928c40bf2f300adb3d6ac3d254"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir></dir></dir></dir></dir></target></contents>
39
  <compatible/>
40
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
41
  </package>