diff options
author | friendica <info@friendica.com> | 2012-12-08 15:14:32 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-12-08 15:14:32 -0800 |
commit | 75ea0cfa32ea490314331100281183d775861789 (patch) | |
tree | 2f13e4360fecca7c46af1c6bdb01a77815a42c9e /view/tpl | |
parent | c70777e19c6b48fe128e7ee9cbcaefb1de84c793 (diff) | |
download | volse-hubzilla-75ea0cfa32ea490314331100281183d775861789.tar.gz volse-hubzilla-75ea0cfa32ea490314331100281183d775861789.tar.bz2 volse-hubzilla-75ea0cfa32ea490314331100281183d775861789.zip |
make permission quick links work
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/abook_edit.tpl | 9 | ||||
-rw-r--r-- | view/tpl/field_acheckbox.tpl | 4 |
2 files changed, 8 insertions, 5 deletions
diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl index b9664835f..abded1979 100644 --- a/view/tpl/abook_edit.tpl +++ b/view/tpl/abook_edit.tpl @@ -22,11 +22,14 @@ $slide <input id="contact-closeness-mirror" type="hidden" name="closeness" value="$close" /> <br /> -<b>Quick Links:</b> -<a href="" style="background-color: #CCC; padding: 3px; border-radius: 5px; margin-left: 15px;">Full Sharing</a><a href="" style="background-color: #CCC; padding: 3px; border-radius: 5px; margin-left: 15px;">Cautious Sharing</a><a href="" style="background-color: #CCC; padding: 3px; border-radius: 5px; margin-left: 15px;">Follow Only</a><br /> +<b>$quick</b> +<ul> +<li><a href="#" onclick="connectFullShare(); return false;">$full</a></li> +<li><a href="#" onclick="connectCautiousShare(); return false;">$cautious</a></li> +<li><a href="#" onclick="connectFollowOnly(); return false;">$follow</a></li> <br /> -<div id="abook-advanced" class="fakelink" onclick="openClose('abook-advanced-panel');">Advanced Permissions</div> +<div id="abook-advanced" class="fakelink" onclick="openClose('abook-advanced-panel');">$advanced</div> <div id="abook-advanced-panel" style="display: none;"> diff --git a/view/tpl/field_acheckbox.tpl b/view/tpl/field_acheckbox.tpl index b1edd782e..06bed38e7 100644 --- a/view/tpl/field_acheckbox.tpl +++ b/view/tpl/field_acheckbox.tpl @@ -1,7 +1,7 @@ <div class='field acheckbox'> <label for='id_$field.0'>$field.1</label> - <input type="checkbox" class="abook-edit-them" name='$field.0' id='id_$field.0' value="1" disabled="disabled" {{ if $field.2 }}checked="checked"{{ endif }} /> - <input type="checkbox" class="abook-edit-me" name='$field.0' id='id_$field.0' value="$field.4" {{ if $field.3 }}checked="checked"{{ endif }} {{ if $field.5 }} disabled="disabled" {{ endif }}/> + <input type="checkbox" class="abook-edit-them" name='$field.0' id='them_id_$field.0' value="1" disabled="disabled" {{ if $field.2 }}checked="checked"{{ endif }} /> + <input type="checkbox" class="abook-edit-me" name='$field.0' id='me_id_$field.0' value="$field.4" {{ if $field.3 }}checked="checked"{{ endif }} {{ if $field.5 }} disabled="disabled" {{ endif }}/> <span class='field_abook_help'>$field.6</span> </div> |