diff options
author | Sem <sembrestels@riseup.net> | 2013-11-09 16:19:23 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2013-11-09 16:19:23 +0100 |
commit | d44f0965e80edd003dca4c85f5bdbc462affbe8a (patch) | |
tree | 9ef0b1374ab77f3512e10335107175f2281b80cf /mod/custom_index_widgets/views/default/plugins | |
parent | ed6d980dcb06a66e1746fe4959aa138c39fb4e9e (diff) | |
parent | c76018e381332ccb4aed03fbebd80a6b151cd5e5 (diff) | |
download | elgg-d44f0965e80edd003dca4c85f5bdbc462affbe8a.tar.gz elgg-d44f0965e80edd003dca4c85f5bdbc462affbe8a.tar.bz2 |
Add 'mod/custom_index_widgets/' from commit 'c76018e381332ccb4aed03fbebd80a6b151cd5e5'
git-subtree-dir: mod/custom_index_widgets
git-subtree-mainline: ed6d980dcb06a66e1746fe4959aa138c39fb4e9e
git-subtree-split: c76018e381332ccb4aed03fbebd80a6b151cd5e5
Diffstat (limited to 'mod/custom_index_widgets/views/default/plugins')
-rw-r--r-- | mod/custom_index_widgets/views/default/plugins/custom_index_widgets/settings.php | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/mod/custom_index_widgets/views/default/plugins/custom_index_widgets/settings.php b/mod/custom_index_widgets/views/default/plugins/custom_index_widgets/settings.php new file mode 100644 index 000000000..ef70eeb8d --- /dev/null +++ b/mod/custom_index_widgets/views/default/plugins/custom_index_widgets/settings.php @@ -0,0 +1,61 @@ +<?php
+
+?>
+<div>
+ <div class="contentWrapper">
+ <table>
+ <tr>
+ <td style="width:50%"><?php echo elgg_echo("custom_index_widgets:layout"); ?></td>
+ <td>
+ <?php echo elgg_view('input/dropdown', array(
+ 'name' => 'params[ciw_layout]',
+ 'options_values' => array(
+ 'index' => 'Default',
+ 'index_2rmsb' => elgg_echo('custom_index_widgets:index_2rmsb'),
+ 'index_2rsmb' => elgg_echo('custom_index_widgets:index_2rsmb'),
+ 'index_2rhhb' => elgg_echo('custom_index_widgets:index_2rhhb'),
+ 'index_2rbhh' => elgg_echo('custom_index_widgets:index_2rbhh'),
+
+ 'index_2rbsm' => elgg_echo('custom_index_widgets:index_2rbsm'),
+ 'index_2rbms' => elgg_echo('custom_index_widgets:index_2rbms'),
+
+ 'index_1rsss' => elgg_echo('custom_index_widgets:index_1rsss')
+
+ ),
+ 'value' => $vars["entity"]->ciw_layout
+ ));
+ ?>
+ </td>
+ </tr>
+ <tr>
+ <td style="width:50%"><?php echo elgg_echo("custom_index_widgets:login_style"); ?></td>
+ <td>
+ <?php echo elgg_view('input/dropdown', array(
+ 'name' => 'params[login_style]',
+ 'options_values' => array(
+ 'inlayout' => elgg_echo('custom_index_widgets:inlayout'),
+ 'topbar' => elgg_echo('custom_index_widgets:topbar'),
+ ),
+ 'value' => $vars["entity"]->login_style
+ ));
+ ?>
+ </td>
+ </tr>
+ <tr>
+ <td style="width:50%"><?php echo elgg_echo("custom_index_widgets:showdashboard"); ?></td>
+ <td>
+ <?php echo elgg_view('input/dropdown', array(
+ 'name' => 'params[ciw_showdashboard]',
+ 'options_values' => array(
+ 'yes' => elgg_echo('custom_index_widgets:showdashboard_yes'),
+ 'no' => elgg_echo('custom_index_widgets:showdashboard_no'),
+ ),
+ 'value' => $vars["entity"]->ciw_showdashboard
+ ));
+ ?>
+ </td>
+ </tr>
+
+ </table>
+ </div>
+</div>
|