aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/smarty3
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-10 04:55:29 -0800
committerfriendica <info@friendica.com>2013-02-10 04:55:29 -0800
commit99c5f88963227a48544747e9dc8b13550b88c0f2 (patch)
tree115070a6941baf51a5388be67b312e499f800e2c /view/tpl/smarty3
parent260a012b02c4941655e897735eeac09dadcf98c4 (diff)
downloadvolse-hubzilla-99c5f88963227a48544747e9dc8b13550b88c0f2.tar.gz
volse-hubzilla-99c5f88963227a48544747e9dc8b13550b88c0f2.tar.bz2
volse-hubzilla-99c5f88963227a48544747e9dc8b13550b88c0f2.zip
mod_display - no fun. Not working at all. But a bit of progress.
Diffstat (limited to 'view/tpl/smarty3')
-rw-r--r--view/tpl/smarty3/build_query.tpl2
-rw-r--r--view/tpl/smarty3/rmagic.tpl16
2 files changed, 18 insertions, 0 deletions
diff --git a/view/tpl/smarty3/build_query.tpl b/view/tpl/smarty3/build_query.tpl
index 5520fb5b9..6df7f6589 100644
--- a/view/tpl/smarty3/build_query.tpl
+++ b/view/tpl/smarty3/build_query.tpl
@@ -27,6 +27,7 @@
var bParam_cats = "{{$cats}}";
var bParam_dend = "{{$dend}}";
var bParam_dbegin = "{{$dbegin}}";
+ var bParam_uri = "{{$uri}}";
function buildCmd() {
var udargs = ((page_load) ? "/load" : "");
@@ -47,6 +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_page != 1) bCmd = bCmd + "&page=" + bParam_page;
return(bCmd);
}
diff --git a/view/tpl/smarty3/rmagic.tpl b/view/tpl/smarty3/rmagic.tpl
new file mode 100644
index 000000000..7e4e563d9
--- /dev/null
+++ b/view/tpl/smarty3/rmagic.tpl
@@ -0,0 +1,16 @@
+{{*
+ * AUTOMATICALLY GENERATED TEMPLATE
+ * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<h3>{{$title}}</h3>
+
+<form action="rmagic" method="post" >
+
+ <label for="rmagic-address" id="label-rmagic-address" class="rmagic-label">{{$desc}}</label>
+ <input type="text" maxlength="255" size="32" name="address" id="rmagic-address" class="rmagic-input" value="" />
+
+ <input type="submit" name="submit" id="rmagic-submit-button" value="{{$submit}}" />
+ <div id="rmagic-submit-end" class="rmagic-field-end"></div>
+
+</form>