diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/default/page_elements/title.php | 18 | ||||
-rw-r--r-- | views/default/widgets/editwrapper.php | 2 |
2 files changed, 19 insertions, 1 deletions
diff --git a/views/default/page_elements/title.php b/views/default/page_elements/title.php new file mode 100644 index 000000000..df21df4e4 --- /dev/null +++ b/views/default/page_elements/title.php @@ -0,0 +1,18 @@ +<?php
+
+ /**
+ * Elgg title element
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ *
+ * @uses $vars['title'] The page title
+ */
+
+?>
+
+<h2 class="page_title"><?php echo $vars['title']; ?></h2>
\ No newline at end of file diff --git a/views/default/widgets/editwrapper.php b/views/default/widgets/editwrapper.php index 17be9480e..dd94fe27c 100644 --- a/views/default/widgets/editwrapper.php +++ b/views/default/widgets/editwrapper.php @@ -49,7 +49,7 @@ $(document).ready(function() { $("#submit<?php echo $guid; ?>").attr("disabled","disabled");
$("#submit<?php echo $guid; ?>").attr("value","<?php echo elgg_echo("saving"); ?>");
$("#widgetcontent<?php echo $guid; ?>").html('<?php echo elgg_view('ajax/loader',array('slashes' => true)); ?>');
- $("#widget<?php echo $guid; ?>").add(".toggle_box_edit_panel").click();
+ $("#widget<?php echo $guid; ?>.toggle_box_edit_panel").click();
var variables = $("#widgetform<?php echo $guid; ?>").serialize();
$.post($("#widgetform<?php echo $guid; ?>").attr("action"),variables,function() {
|