$draft_warning
-<p>
+<div>
<label for="blog_title">$title_label</label>
$title_input
-</p>
+</div>
-<p>
+<div>
<label for="blog_excerpt">$excerpt_label</label>
$excerpt_input
-</p>
+</div>
<label for="blog_description">$body_label</label>
$body_input
<br />
-<p>
+<div>
<label for="blog_tags">$tags_label</label>
$tags_input
-</p>
+</div>
-<p>
+<div>
<label for="blog_comments_on">$comments_label</label>
$comments_input
-</p>
+</div>
-<p>
+<div>
<label for="blog_access_id">$access_label</label>
$access_input
-</p>
+</div>
-<p>
+<div>
<label for="blog_status">$status_label</label>
$status_input
-</p>
+</div>
$categories_input
-<p class="elgg-subtext pvm mbn bta">
+<div class="elgg-subtext pvm mbn bta">
$save_status <span class="blog-save-status-time">$saved</span>
-</p>
+</div>
$guid_input
$container_guid_input
$dropdown = elgg_view('input/dropdown', $params);
?>
-<p>
+<div>
<?php echo elgg_echo('blog:numbertodisplay'); ?>:
<?php echo $dropdown; ?>
-</p>
+</div>
?>
-<p class="categories">
+<div class="categories">
<label><?php echo elgg_echo('categories'); ?></label><br />
<?php
echo elgg_view('input/checkboxes', array(
?>
<input type="hidden" name="universal_category_marker" value="on" />
-</p>
+</div>
<?php
<?php
+/**
+ * Diagnostics download form
+ */
echo elgg_view('input/submit', array('value' => elgg_echo('diagnostics:download')));
\ No newline at end of file
}
?>
-<p>
+<div>
<label><?php echo $file_label; ?></label><br />
<?php echo elgg_view('input/file', array('internalname' => 'upload')); ?>
-</p>
-<p>
+</div>
+<div>
<label><?php echo elgg_echo('title'); ?></label><br />
<?php echo elgg_view('input/text', array('internalname' => 'title', 'value' => $title)); ?>
-</p>
-<p>
+</div>
+<div>
<label><?php echo elgg_echo('description'); ?></label>
<?php echo elgg_view('input/longtext', array('internalname' => 'description', 'value' => $desc)); ?>
-</p>
-<p>
+</div>
+<div>
<label><?php echo elgg_echo('tags'); ?></label>
<?php echo elgg_view('input/tags', array('internalname' => 'tags', 'value' => $tags)); ?>
-</p>
+</div>
<?php
$categories = elgg_view('input/categories', $vars);
if ($categories) {
- echo "<p>$categories</p>";
+ echo $categories;
}
?>
-<p>
+<div>
<label><?php echo elgg_echo('access'); ?></label><br />
<?php echo elgg_view('input/access', array('internalname' => 'access_id', 'value' => $access_id)); ?>
-</p>
-<p>
+</div>
+<div>
<?php
echo elgg_view('input/hidden', array('internalname' => 'container_guid', 'value' => $container_guid));
echo elgg_view('input/submit', array('value' => elgg_echo("save")));
?>
-</p>
+</div>
$dropdown = elgg_view('input/dropdown', $params);
?>
-<p>
+<div>
<?php echo elgg_echo('file:num_files'); ?>:
<?php echo $dropdown; ?>
-</p>
+</div>
$dropdown = elgg_view('input/dropdown', $params);
?>
-<p>
+<div>
<?php echo elgg_echo('groups:widget:num_display'); ?>:
<?php echo $dropdown; ?>
-</p>
+</div>
$default = elgg_echo('invitefriends:message:default', array($site->name));
echo <<< HTML
-<p class="margin-top">
+<div>
<label>
$introduction
<textarea class="elgg-input-textarea" name="emails" ></textarea>
</label>
-</p>
-<p>
+</div>
+<div>
<label>
$message
<textarea class="elgg-input-textarea" name="emailmessage" >$default</textarea>
</label>
-</p>
+</div>
HTML;
echo elgg_view('input/submit', array('value' => elgg_echo('send')));
));
?>
-<p>
+<div>
<label><?php echo elgg_echo("messages:title"); ?>: <br /></label>
<?php echo elgg_view('input/text', array(
'internalname' => 'subject',
'value' => $reply_title,
));
?>
-</p>
-<p>
+</div>
+<div>
<label><?php echo elgg_echo("messages:message"); ?>:</label>
<?php echo elgg_view("input/longtext", array(
'internalname' => 'body',
'value' => '',
));
?>
-</p>
-<p>
+</div>
+<div>
<?php echo elgg_view('input/submit', array('value' => elgg_echo('messages:send'))); ?>
-</p>
+</div>
<script type="text/javascript">
$(document).ready(function() {
));
?>
-<p>
+<div>
<label><?php echo elgg_echo("messages:to"); ?>: </label>
<?php echo $recipient_drop_down; ?>
-</p>
-<p>
+</div>
+<div>
<label><?php echo elgg_echo("messages:title"); ?>: <br /></label>
<?php echo elgg_view('input/text', array(
'internalname' => 'subject',
'value' => $subject,
));
?>
-</p>
-<p>
+</div>
+<div>
<label><?php echo elgg_echo("messages:message"); ?>:</label>
<?php echo elgg_view("input/longtext", array(
'internalname' => 'body',
'value' => $body,
));
?>
-</p>
-<p>
+</div>
+<div>
<?php echo elgg_view('input/submit', array('value' => elgg_echo('messages:send'))); ?>
-</p>
+</div>
*/
global $NOTIFICATION_HANDLERS;
-foreach($NOTIFICATION_HANDLERS as $method => $foo) {
+foreach ($NOTIFICATION_HANDLERS as $method => $foo) {
$subsbig[$method] = elgg_get_entities_from_relationship(array('relationship' => 'notify' . $method, 'relationship_guid' => elgg_get_logged_in_user_guid(), 'types' => 'group', 'limit' => 99999));
$tmparray = array();
if ($subsbig[$method]) {
<?php
echo elgg_view('notifications/subscriptions/jsfuncs',$vars);
?>
-
- <p>
+ <div>
<?php
-
echo elgg_echo('notifications:subscriptions:groups:description');
-
?>
- </p>
+ </div>
<?php
if (isset($vars['groups']) && !empty($vars['groups'])) {
?>
- <table id="notificationstable" cellspacing="0" cellpadding="4" border="0" width="100%">
- <tr>
- <td> </td>
+ <table id="notificationstable" cellspacing="0" cellpadding="4" width="100%">
+ <tr>
+ <td> </td>
<?php
$i = 0;
echo "<td class='spacercolumn'> </td>";
}
?>
- <td class="<?php echo $method; ?>togglefield"><?php echo elgg_echo('notification:method:'.$method); ?></td>
+ <td class="<?php echo $method; ?>togglefield"><?php echo elgg_echo('notification:method:'.$method); ?></td>
<?php
$i++;
}
?>
- <td> </td>
- </tr>
+ <td> </td>
+ </tr>
<?php
foreach($vars['groups'] as $group) {
}
?>
- <tr>
- <td class="namefield">
- <p>
+ <tr>
+ <td class="namefield">
+ <div>
<?php echo $group->name; ?>
- </p>
- </td>
-<?php
- echo $fields;
-?>
- <td> </td>
- </tr>
+ </div>
+ </td>
+ <?php echo $fields; ?>
+ <td> </td>
+ </tr>
<?php
}
?>
- </table>
+ </table>
<?php
}
?>
- <input type="submit" value="<?php echo elgg_echo('save'); ?>" />
+ <input type="submit" value="<?php echo elgg_echo('save'); ?>" />
</div>
</div>
<?php
+/**
+ * Personal notifications form body
+ */
echo elgg_view('notifications/subscriptions/personal');
echo elgg_view('notifications/subscriptions/collections');
<p class="margin-none">
<?php echo elgg_echo('notifications:subscriptions:friends:description'); ?>
</p>
-<table id="notificationstable" cellspacing="0" cellpadding="4" border="0" width="100%">
+<table id="notificationstable" cellspacing="0" cellpadding="4" width="100%">
<tr>
<td> </td>
<?php
</h3>
</div>
</div>
-<table id="notificationstable" cellspacing="0" cellpadding="4" border="0" width="100%">
+<table id="notificationstable" cellspacing="0" cellpadding="4" width="100%">
<tr>
<td> </td>
<?php
<?php
/**
- * Page edit form.
+ * Page edit form body
*
* @package ElggPages
*/
$variables = elgg_get_config('pages');
foreach ($variables as $name => $type) {
?>
-<p>
+<div>
<label><?php echo elgg_echo("pages:$name") ?></label><br />
<?php echo elgg_view("input/$type", array(
'internalname' => $name,
'value' => $vars[$name],
));
?>
-</p>
+</div>
<?php
}
$cats = elgg_view('categories', $vars);
if (!empty($cats)) {
- echo "<p>$cats</p>";
+ echo $cats;
}
-echo '<p>';
+echo '<div>';
if ($vars['guid']) {
echo elgg_view('input/hidden', array(
'internalname' => 'page_guid',
echo elgg_view('input/submit', array('value' => elgg_echo('save')));
-echo '</p>';
+echo '</div>';
$dropdown = elgg_view('input/dropdown', $params);
?>
-<p>
+<div>
<?php echo elgg_echo('pages:num'); ?>:
<?php echo $dropdown; ?>
-</p>
+</div>
<form action="<?php echo elgg_get_site_url(); ?>action/reportedcontent/add" method="post" class="mtm">
<?php echo elgg_view('input/securitytoken'); ?>
- <p>
+ <div>
<label>
<?php echo elgg_echo('reportedcontent:title'); ?>
<?php
?>
</label>
- </p>
- <p>
+ </div>
+ <div>
<label>
<?php echo elgg_echo('reportedcontent:address'); ?>
<?php
?>
</label>
- </p>
- <p>
+ </div>
+ <div>
<label>
<?php echo elgg_echo('reportedcontent:description'); ?>
</label>
));
?>
- </p>
- <p>
+ </div>
+ <div>
<input type="submit" value="<?php echo elgg_echo('reportedcontent:report'); ?>" />
- </p>
-
+ </div>
</form>
$dropdown = elgg_view('input/dropdown', $params);
?>
-<p>
+<div>
<?php echo elgg_echo('reportedcontent:numbertodisplay'); ?>:
<?php echo $dropdown; ?>
-</p>
-
+</div>
$access_secret = get_plugin_usersetting('access_secret', $user_id, 'twitterservice');
$site_name = elgg_get_site_entity()->name;
-echo '<p>' . elgg_echo('twitterservice:usersettings:description', array($site_name)) . '</p>';
+echo '<div>' . elgg_echo('twitterservice:usersettings:description', array($site_name)) . '</div>';
if (!$access_key || !$access_secret) {
// send user off to validate account
$request_link = twitterservice_get_authorize_url();
- echo '<p>' . elgg_echo('twitterservice:usersettings:request', array($request_link, $site_name)) . '</p>';
+ echo '<div>' . elgg_echo('twitterservice:usersettings:request', array($request_link, $site_name)) . '</div>';
} else {
$url = elgg_get_site_url() . "pg/twitterservice/revoke";
- echo '<p class="twitter_anywhere">' . elgg_echo('twitterservice:usersettings:authorized', array($site_name, $twitter_name)) . '</p>';
- echo '<p>' . sprintf(elgg_echo('twitterservice:usersettings:revoke'), $url) . '</p>';
+ echo '<div class="twitter_anywhere">' . elgg_echo('twitterservice:usersettings:authorized', array($site_name, $twitter_name)) . '</div>';
+ echo '<div>' . sprintf(elgg_echo('twitterservice:usersettings:revoke'), $url) . '</div>';
}