diff options
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/build_query.tpl | 4 | ||||
-rw-r--r-- | view/tpl/smarty3/build_query.tpl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/view/tpl/build_query.tpl b/view/tpl/build_query.tpl index f4795acb2..0f4905638 100644 --- a/view/tpl/build_query.tpl +++ b/view/tpl/build_query.tpl @@ -22,7 +22,7 @@ var bParam_cats = "$cats"; var bParam_dend = "$dend"; var bParam_dbegin = "$dbegin"; - var bParam_uri = "$uri"; + var bParam_mid = "$mid"; function buildCmd() { var udargs = ((page_load) ? "/load" : ""); @@ -43,7 +43,7 @@ if(bParam_cats != "") bCmd = bCmd + "&cats=" + bParam_cats; if(bParam_dend != "") bCmd = bCmd + "&dend=" + bParam_dend; if(bParam_dbegin != "") bCmd = bCmd + "&dbegin=" + bParam_dbegin; - if(bParam_uri != "") bCmd = bCmd + "&uri=" + bParam_uri; + if(bParam_mid != "") bCmd = bCmd + "&mid=" + bParam_mid; if(bParam_page != 1) bCmd = bCmd + "&page=" + bParam_page; return(bCmd); } diff --git a/view/tpl/smarty3/build_query.tpl b/view/tpl/smarty3/build_query.tpl index 6df7f6589..a84f09031 100644 --- a/view/tpl/smarty3/build_query.tpl +++ b/view/tpl/smarty3/build_query.tpl @@ -27,7 +27,7 @@ var bParam_cats = "{{$cats}}"; var bParam_dend = "{{$dend}}"; var bParam_dbegin = "{{$dbegin}}"; - var bParam_uri = "{{$uri}}"; + var bParam_mid = "{{$mid}}"; function buildCmd() { var udargs = ((page_load) ? "/load" : ""); @@ -48,7 +48,7 @@ if(bParam_cats != "") bCmd = bCmd + "&cats=" + bParam_cats; if(bParam_dend != "") bCmd = bCmd + "&dend=" + bParam_dend; if(bParam_dbegin != "") bCmd = bCmd + "&dbegin=" + bParam_dbegin; - if(bParam_uri != "") bCmd = bCmd + "&uri=" + bParam_uri; + if(bParam_mid != "") bCmd = bCmd + "&mid=" + bParam_mid; if(bParam_page != 1) bCmd = bCmd + "&page=" + bParam_page; return(bCmd); } |