aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-07-15 16:38:16 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-07-15 16:38:16 +0000
commit5696bea39a9be7f8c44e0d4abf7ca776db711bfa (patch)
tree8e3fb8e7e3109315c532d8a127c9f72aa6fd9ba8 /mod/pages/views
parent4ece630febf2c1275c7781e8cb9d4f4321aacfc1 (diff)
downloadelgg-5696bea39a9be7f8c44e0d4abf7ca776db711bfa.tar.gz
elgg-5696bea39a9be7f8c44e0d4abf7ca776db711bfa.tar.bz2
Convert spaces to tabs.
git-svn-id: http://code.elgg.org/elgg/trunk@6713 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages/views')
-rw-r--r--mod/pages/views/default/forms/pages/editwelcome.php32
-rw-r--r--mod/pages/views/default/pages/breadcrumbs.php40
-rw-r--r--mod/pages/views/default/pages/css.php20
-rw-r--r--mod/pages/views/default/pages/groupprofile_pages.php12
-rw-r--r--mod/pages/views/default/pages/pageprofile.php2
-rw-r--r--mod/pages/views/default/pages/sidebar/tree.php2
-rw-r--r--mod/pages/views/default/pages/welcome.php20
-rw-r--r--mod/pages/views/default/river/object/page/update.php2
-rw-r--r--mod/pages/views/default/river/object/page_top/update.php4
-rw-r--r--mod/pages/views/default/widgets/pages/edit.php2
-rw-r--r--mod/pages/views/default/widgets/pages/view.php16
11 files changed, 76 insertions, 76 deletions
diff --git a/mod/pages/views/default/forms/pages/editwelcome.php b/mod/pages/views/default/forms/pages/editwelcome.php
index 39d8d05ca..dc8c24b3e 100644
--- a/mod/pages/views/default/forms/pages/editwelcome.php
+++ b/mod/pages/views/default/forms/pages/editwelcome.php
@@ -11,15 +11,15 @@
//set some variables
if($vars['entity']){
- foreach($vars['entity'] as $welcome){
- $current_message = $welcome->description;
- $object_guid = $welcome->guid;
- $access_id = $welcome->access_id;
- }
+t foreach($vars['entity'] as $welcome){
+t t$current_message = $welcome->description;
+t t$object_guid = $welcome->guid;
+t t$access_id = $welcome->access_id;
+ t}
}else{
- $current_message = '';
- $object_guid = '';
- $access_id = ACCESS_PRIVATE;
+t $current_message = '';
+t $object_guid = '';
+t $access_id = ACCESS_PRIVATE;
}
$page_owner = $vars['owner']->guid;
@@ -27,7 +27,7 @@
?>
<form action="<?php echo $vars['url']; ?>action/pages/editwelcome" method="post">
- <p class="longtext_inputarea">
+t<p class="longtext_inputarea">
<label>
<?php echo elgg_view("input/longtext",array(
'internalname' => "pages_welcome",
@@ -47,13 +47,13 @@
<?php
echo elgg_view('input/securitytoken');
- //if it is editing, include the object guid
- if($object_guid != ''){
- ?>
- <input type="hidden" name="object_guid" value="<?php echo $object_guid; ?>" />
+ t//if it is editing, include the object guid
+ tif($object_guid != ''){
+t?>
+ t<input type="hidden" name="object_guid" value="<?php echo $object_guid; ?>" />
<?php
- }
- ?>
-
+tt}
+t?>
+t
<input type="submit" class="submit_button" value="<?php echo elgg_echo("save"); ?>" />
</form>
diff --git a/mod/pages/views/default/pages/breadcrumbs.php b/mod/pages/views/default/pages/breadcrumbs.php
index a6626ca39..eddcfa7df 100644
--- a/mod/pages/views/default/pages/breadcrumbs.php
+++ b/mod/pages/views/default/pages/breadcrumbs.php
@@ -4,25 +4,25 @@
$parent = $vars['parent'];
$breadcrumbs = '';
-
- $owner_url = $CONFIG->wwwroot . "pg/pages/owned/" . get_entity($page_owner)->username;
- echo "<div id='breadcrumbs'><b><a href=\"{$owner_url}\">" . elgg_echo('pages:user') . "</a></b>";
-
- //see if the new page's parent has a parent
- $getparent = get_entity($parent->parent_guid);
- while ($getparent instanceof ElggObject){
-
- $breadcrumbs = " &gt; <a href=\"{$getparent->getURL()}\">$getparent->title</a>" . $breadcrumbs;
- $getparent = get_entity($getparent->parent_guid);
-
- }
-
- echo $breadcrumbs;
- //if it is adding a page, make the last page a link, otherwise, don't
- if($vars['add']){
- echo " &gt; <a href=\"{$parent->getURL()}\">$parent->title</a></div>";
- }else{
- echo " &gt; $parent->title</div>";
- }
+ t
+ t$owner_url = $CONFIG->wwwroot . "pg/pages/owned/" . get_entity($page_owner)->username;
+ techo "<div id='breadcrumbs'><b><a href=\"{$owner_url}\">" . elgg_echo('pages:user') . "</a></b>";
+ t
+ t//see if the new page's parent has a parent
+tt$getparent = get_entity($parent->parent_guid);
+ttwhile ($getparent instanceof ElggObject){
+ttt
+ttt $breadcrumbs = " &gt; <a href=\"{$getparent->getURL()}\">$getparent->title</a>" . $breadcrumbs;
+ttt $getparent = get_entity($getparent->parent_guid);
+ttt
+tt}
+tt
+ttecho $breadcrumbs;
+tt//if it is adding a page, make the last page a link, otherwise, don't
+ttif($vars['add']){
+ ttecho " &gt; <a href=\"{$parent->getURL()}\">$parent->title</a></div>";
+tt}else{
+tttecho " &gt; $parent->title</div>";
+tt}
?>
diff --git a/mod/pages/views/default/pages/css.php b/mod/pages/views/default/pages/css.php
index c396d45f7..0320836b9 100644
--- a/mod/pages/views/default/pages/css.php
+++ b/mod/pages/views/default/pages/css.php
@@ -84,19 +84,19 @@
}
#pages_page .strapline {
- text-align:right;
- border-top:1px solid #efefef;
- margin:10px 0 10px 0;
- color:#666666;
+ttext-align:right;
+tborder-top:1px solid #efefef;
+tmargin:10px 0 10px 0;
+tcolor:#666666;
}
#pages_page .categories {
- border:none !important;
- padding:0 !important;
+tborder:none !important;
+tpadding:0 !important;
}
#pages_page .tags {
- padding:0 0 0 16px;
- margin:10px 0 4px 0;
+tpadding:0 0 0 16px;
+tmargin:10px 0 4px 0;
background:transparent url(<?php echo $vars['url']; ?>_graphics/icon_tag.gif) no-repeat scroll left 2px;
}
@@ -117,8 +117,8 @@
background:white;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
- padding:10px;
- margin:0 10px 10px 10px;
+tpadding:10px;
+tmargin:0 10px 10px 10px;
}
#sidebar_page_tree h3 {
background: none;
diff --git a/mod/pages/views/default/pages/groupprofile_pages.php b/mod/pages/views/default/pages/groupprofile_pages.php
index 006a05877..323b02f2b 100644
--- a/mod/pages/views/default/pages/groupprofile_pages.php
+++ b/mod/pages/views/default/pages/groupprofile_pages.php
@@ -1,9 +1,9 @@
<?php
- // pages on the group index page
+t// pages on the group index page
- //check to make sure this group forum has been activated
- if($vars['entity']->pages_enable != 'no'){
+t//check to make sure this group forum has been activated
+tif($vars['entity']->pages_enable != 'no'){
?>
@@ -11,9 +11,9 @@
<h2><?php echo elgg_echo("pages:groupprofile"); ?></h2>
<?php
- $objects = elgg_list_entities(array('types' => 'object', 'subtypes' => 'page_top', 'container_guid' => page_owner(), 'limit' => 5, 'full_view' => FALSE));
+t$objects = elgg_list_entities(array('types' => 'object', 'subtypes' => 'page_top', 'container_guid' => page_owner(), 'limit' => 5, 'full_view' => FALSE));
- if($objects)
+tif($objects)
echo $objects;
else
echo "<div class=\"forum_latest\">" . elgg_echo("pages:nogroup") . "</div>";
@@ -23,5 +23,5 @@
</div>
<?php
- }
+t}
?>
diff --git a/mod/pages/views/default/pages/pageprofile.php b/mod/pages/views/default/pages/pageprofile.php
index b1081d9f7..93191967c 100644
--- a/mod/pages/views/default/pages/pageprofile.php
+++ b/mod/pages/views/default/pages/pageprofile.php
@@ -66,7 +66,7 @@
<p class="strapline">
<?php
-
+tttt
$time_updated = $latest->time_created;
$owner_guid = $latest->owner_guid;
$owner = get_entity($owner_guid);
diff --git a/mod/pages/views/default/pages/sidebar/tree.php b/mod/pages/views/default/pages/sidebar/tree.php
index 07de1beb5..768127e9c 100644
--- a/mod/pages/views/default/pages/sidebar/tree.php
+++ b/mod/pages/views/default/pages/sidebar/tree.php
@@ -2,7 +2,7 @@
?>
<div id="sidebar_page_tree">
- <h3><?php echo elgg_echo("pages:navigation"); ?></h3>
+ t<h3><?php echo elgg_echo("pages:navigation"); ?></h3>
<div id="pagesTree" class="pagesTreeContainer"></div>
</div>
<br class="clearfloat" />
diff --git a/mod/pages/views/default/pages/welcome.php b/mod/pages/views/default/pages/welcome.php
index a390a9d65..beb58bef3 100644
--- a/mod/pages/views/default/pages/welcome.php
+++ b/mod/pages/views/default/pages/welcome.php
@@ -1,6 +1,6 @@
<?php
- /**
+t/**
* Elgg Pages welcome message
*
* @package ElggPages
@@ -11,19 +11,19 @@
*/
if($vars['entity']){
-
- foreach($vars['entity'] as $welcome){
-
- echo "<div class=\"contentWrapper pageswelcome\">" . $welcome->description . "</div>";
-
- }
-
+t
+t foreach($vars['entity'] as $welcome){
+t
+t techo "<div class=\"contentWrapper pageswelcome\">" . $welcome->description . "</div>";
+t t
+ t}
+t
} else {
?>
<div class="contentWrapper pageswelcome"><p><?php echo sprintf(elgg_echo('pages:welcomemessage'), $vars['config']->sitename); ?></p></div>
-
+t
<?php
- }
+t}
?>
diff --git a/mod/pages/views/default/river/object/page/update.php b/mod/pages/views/default/river/object/page/update.php
index 2b20a9ed8..e08a26b85 100644
--- a/mod/pages/views/default/river/object/page/update.php
+++ b/mod/pages/views/default/river/object/page/update.php
@@ -8,7 +8,7 @@
$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
$string = sprintf(elgg_echo("pages:river:updated"),$url) . " ";
$string .= elgg_echo("pages:river:update") . " <a href=\"" . $object->getURL() . "\">" . $object->title . "</a>";
-
+t
?>
<?php echo $string; ?>
diff --git a/mod/pages/views/default/river/object/page_top/update.php b/mod/pages/views/default/river/object/page_top/update.php
index febe2965d..1e7333515 100644
--- a/mod/pages/views/default/river/object/page_top/update.php
+++ b/mod/pages/views/default/river/object/page_top/update.php
@@ -6,9 +6,9 @@
$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
$string = sprintf(elgg_echo("pages:river:updated"),$url) . " ";
- $string .= elgg_echo("pages:river:update") . " <a href=\"" . $object->getURL() . "\">" . $object->title . "</a>";
+t$string .= elgg_echo("pages:river:update") . " <a href=\"" . $object->getURL() . "\">" . $object->title . "</a>";
//$string .= "<div class=\"river_content\">Title: " . $object->title . "</div>";
-
+t
?>
<?php echo $string; ?>
diff --git a/mod/pages/views/default/widgets/pages/edit.php b/mod/pages/views/default/widgets/pages/edit.php
index 6459a0373..ccef69c06 100644
--- a/mod/pages/views/default/widgets/pages/edit.php
+++ b/mod/pages/views/default/widgets/pages/edit.php
@@ -1,6 +1,6 @@
<?php
- /**
+t/**
* Elgg pages widget edit
*
* @package ElggPages
diff --git a/mod/pages/views/default/widgets/pages/view.php b/mod/pages/views/default/widgets/pages/view.php
index d975dcdc0..0ea1e2056 100644
--- a/mod/pages/views/default/widgets/pages/view.php
+++ b/mod/pages/views/default/widgets/pages/view.php
@@ -1,11 +1,11 @@
<style type="text/css">
#pages_widget .pagination {
- display:none;
+tdisplay:none;
}
</style>
<?php
- /**
+t /**
* Elgg pages widget edit
*
* @package ElggPages
@@ -14,19 +14,19 @@
* @copyright Curverider Ltd 2008-2010
* @link http://elgg.com/
*/
-
- $num_display = (int) $vars['entity']->pages_num;
+t
+t $num_display = (int) $vars['entity']->pages_num;
if (!$num_display) {
$num_display = 4;
}
-
- $pages = elgg_list_entities(array('types' => 'object', 'subtypes' => 'page_top', 'container_guid' => page_owner(), 'limit' => $num_display, 'full_view' => FALSE));
+t
+t $pages = elgg_list_entities(array('types' => 'object', 'subtypes' => 'page_top', 'container_guid' => page_owner(), 'limit' => $num_display, 'full_view' => FALSE));
if ($pages) {
$pagesurl = $vars['url'] . "pg/pages/owned/" . page_owner_entity()->username;
$pages .= "<div class=\"pages_widget_singleitem_more\"><a href=\"{$pagesurl}\">" . elgg_echo('pages:more') . "</a></div>";
}
- echo "<div id=\"pages_widget\">" . $pages . "</div>";
-
+t echo "<div id=\"pages_widget\">" . $pages . "</div>";
+t
?>