aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views/default
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-07-15 16:45:06 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-07-15 16:45:06 +0000
commit3b29bf9a2f9e95a03753f063bbe170e7081c6c99 (patch)
treeba0277d49c8edcf95dffd14c27057863ce3d40cb /mod/pages/views/default
parent5696bea39a9be7f8c44e0d4abf7ca776db711bfa (diff)
downloadelgg-3b29bf9a2f9e95a03753f063bbe170e7081c6c99.tar.gz
elgg-3b29bf9a2f9e95a03753f063bbe170e7081c6c99.tar.bz2
Converting spaces to tabs without the stray t.
git-svn-id: http://code.elgg.org/elgg/trunk@6714 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages/views/default')
-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 dc8c24b3e..39d8d05ca 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']){
-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}
+ foreach($vars['entity'] as $welcome){
+ $current_message = $welcome->description;
+ $object_guid = $welcome->guid;
+ $access_id = $welcome->access_id;
+ }
}else{
-t $current_message = '';
-t $object_guid = '';
-t $access_id = ACCESS_PRIVATE;
+ $current_message = '';
+ $object_guid = '';
+ $access_id = ACCESS_PRIVATE;
}
$page_owner = $vars['owner']->guid;
@@ -27,7 +27,7 @@ t $access_id = ACCESS_PRIVATE;
?>
<form action="<?php echo $vars['url']; ?>action/pages/editwelcome" method="post">
-t<p class="longtext_inputarea">
+ <p class="longtext_inputarea">
<label>
<?php echo elgg_view("input/longtext",array(
'internalname' => "pages_welcome",
@@ -47,13 +47,13 @@ t<p class="longtext_inputarea">
<?php
echo elgg_view('input/securitytoken');
- 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; ?>" />
+ //if it is editing, include the object guid
+ if($object_guid != ''){
+ ?>
+ <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 eddcfa7df..a6626ca39 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 = '';
- 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}
+
+ $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>";
+ }
?>
diff --git a/mod/pages/views/default/pages/css.php b/mod/pages/views/default/pages/css.php
index 0320836b9..c396d45f7 100644
--- a/mod/pages/views/default/pages/css.php
+++ b/mod/pages/views/default/pages/css.php
@@ -84,19 +84,19 @@
}
#pages_page .strapline {
-ttext-align:right;
-tborder-top:1px solid #efefef;
-tmargin:10px 0 10px 0;
-tcolor:#666666;
+ text-align:right;
+ border-top:1px solid #efefef;
+ margin:10px 0 10px 0;
+ color:#666666;
}
#pages_page .categories {
-tborder:none !important;
-tpadding:0 !important;
+ border:none !important;
+ padding:0 !important;
}
#pages_page .tags {
-tpadding:0 0 0 16px;
-tmargin:10px 0 4px 0;
+ padding:0 0 0 16px;
+ margin:10px 0 4px 0;
background:transparent url(<?php echo $vars['url']; ?>_graphics/icon_tag.gif) no-repeat scroll left 2px;
}
@@ -117,8 +117,8 @@ tmargin:10px 0 4px 0;
background:white;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
-tpadding:10px;
-tmargin:0 10px 10px 10px;
+ padding:10px;
+ margin: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 323b02f2b..006a05877 100644
--- a/mod/pages/views/default/pages/groupprofile_pages.php
+++ b/mod/pages/views/default/pages/groupprofile_pages.php
@@ -1,9 +1,9 @@
<?php
-t// pages on the group index page
+ // pages on the group index page
-t//check to make sure this group forum has been activated
-tif($vars['entity']->pages_enable != 'no'){
+ //check to make sure this group forum has been activated
+ if($vars['entity']->pages_enable != 'no'){
?>
@@ -11,9 +11,9 @@ tif($vars['entity']->pages_enable != 'no'){
<h2><?php echo elgg_echo("pages:groupprofile"); ?></h2>
<?php
-t$objects = elgg_list_entities(array('types' => 'object', 'subtypes' => 'page_top', 'container_guid' => page_owner(), 'limit' => 5, 'full_view' => FALSE));
+ $objects = elgg_list_entities(array('types' => 'object', 'subtypes' => 'page_top', 'container_guid' => page_owner(), 'limit' => 5, 'full_view' => FALSE));
-tif($objects)
+ if($objects)
echo $objects;
else
echo "<div class=\"forum_latest\">" . elgg_echo("pages:nogroup") . "</div>";
@@ -23,5 +23,5 @@ tif($objects)
</div>
<?php
-t}
+ }
?>
diff --git a/mod/pages/views/default/pages/pageprofile.php b/mod/pages/views/default/pages/pageprofile.php
index 93191967c..b1081d9f7 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 768127e9c..07de1beb5 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">
- t<h3><?php echo elgg_echo("pages:navigation"); ?></h3>
+ <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 beb58bef3..a390a9d65 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 @@ t/**
*/
if($vars['entity']){
-t
-t foreach($vars['entity'] as $welcome){
-t
-t techo "<div class=\"contentWrapper pageswelcome\">" . $welcome->description . "</div>";
-t t
- t}
-t
+
+ foreach($vars['entity'] as $welcome){
+
+ echo "<div class=\"contentWrapper pageswelcome\">" . $welcome->description . "</div>";
+
+ }
+
} 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 e08a26b85..2b20a9ed8 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 1e7333515..febe2965d 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) . " ";
-t$string .= elgg_echo("pages:river:update") . " <a href=\"" . $object->getURL() . "\">" . $object->title . "</a>";
+ $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 ccef69c06..6459a0373 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 0ea1e2056..d975dcdc0 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 {
-tdisplay:none;
+ display:none;
}
</style>
<?php
-t /**
+ /**
* Elgg pages widget edit
*
* @package ElggPages
@@ -14,19 +14,19 @@ t /**
* @copyright Curverider Ltd 2008-2010
* @link http://elgg.com/
*/
-t
-t $num_display = (int) $vars['entity']->pages_num;
+
+ $num_display = (int) $vars['entity']->pages_num;
if (!$num_display) {
$num_display = 4;
}
-t
-t $pages = elgg_list_entities(array('types' => 'object', 'subtypes' => 'page_top', 'container_guid' => page_owner(), 'limit' => $num_display, 'full_view' => FALSE));
+
+ $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>";
}
-t echo "<div id=\"pages_widget\">" . $pages . "</div>";
-t
+ echo "<div id=\"pages_widget\">" . $pages . "</div>";
+
?>