aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-26 20:40:11 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-26 20:40:11 +0000
commit657295df1ff884ed9f00b001389978b142ac6ba7 (patch)
tree9c3edda7758002dfe550956b921075d5e20ff890 /mod
parent324896b9efc10eb78477ff3a892b1cab504eea2b (diff)
downloadelgg-657295df1ff884ed9f00b001389978b142ac6ba7.tar.gz
elgg-657295df1ff884ed9f00b001389978b142ac6ba7.tar.bz2
fixed notifications plugin's hacked up friends picker...shudder
git-svn-id: http://code.elgg.org/elgg/trunk@8494 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/notifications/views/default/notifications/subscriptions/forminternals.php16
1 files changed, 14 insertions, 2 deletions
diff --git a/mod/notifications/views/default/notifications/subscriptions/forminternals.php b/mod/notifications/views/default/notifications/subscriptions/forminternals.php
index 31fecf181..ab608d7ce 100644
--- a/mod/notifications/views/default/notifications/subscriptions/forminternals.php
+++ b/mod/notifications/views/default/notifications/subscriptions/forminternals.php
@@ -1,4 +1,12 @@
+<?php
+/**
+ * Hacked up friends picker that needs to be replaced
+ */
+
+elgg_register_js('js/lib/friends_picker.js', 'friendspicker', 'head');
+elgg_register_js('vendors/jquery/jquery.easing.1.3.packed.js', 'jquery.easing');
+?>
<div class="elgg-module elgg-module-info">
<div class="elgg-head">
<h3>
@@ -98,7 +106,7 @@ if (!$callback) {
?>
-<div class="friends-picker">
+<div class="friends-picker-main-wrapper">
<?php
@@ -318,6 +326,10 @@ if (!isset($vars['replacement'])) {
?>
<p class="bta">
- <input type="submit" value="<?php echo elgg_echo('save'); ?>" />
+<?php
+echo elgg_view('input/submit', array(
+ 'value' => elgg_echo('save'),
+));
+?>
</p>
</div>