[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: /sitemgr/sitemgr-site/inc class.bo.inc.php,1.6,1
From: |
Patrick Walsh <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: /sitemgr/sitemgr-site/inc class.bo.inc.php,1.6,1.6.2.1 class.ui.inc.php,1.7.2.1,1.7.2.2 phpnuke.compat.inc.php,1.5,1.5.2.1 |
Date: |
Fri, 18 Oct 2002 19:22:24 -0400 |
Update of /cvsroot/phpgroupware//sitemgr/sitemgr-site/inc
In directory subversions:/tmp/cvs-serv4366/inc
Modified Files:
Tag: Version-0_9_14-branch
class.bo.inc.php class.ui.inc.php phpnuke.compat.inc.php
Log Message:
Lang'ed sitemgr-site (thanks to Michael Totschnig)
Index: class.bo.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware//sitemgr/sitemgr-site/inc/class.bo.inc.php,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -C2 -r1.6 -r1.6.2.1
*** class.bo.inc.php 14 Sep 2002 07:25:21 -0000 1.6
--- class.bo.inc.php 18 Oct 2002 23:22:22 -0000 1.6.2.1
***************
*** 37,41 ****
function loadIndex()
{
! $this->page->title = 'Site Index';
$this->page->subtitle = '';
$indexarray = $this->getIndex();
--- 37,41 ----
function loadIndex()
{
! $this->page->title = lang('Site Index');
$this->page->subtitle = '';
$indexarray = $this->getIndex();
***************
*** 68,72 ****
if (count($indexarray)==0)
{
! $content='You do not have access to any content
on this site.';
}
$this->page->content = $content;
--- 68,72 ----
if (count($indexarray)==0)
{
! $content=lang('You do not have access to any
content on this site.');
}
$this->page->content = $content;
***************
*** 108,112 ****
'catdescrip'=>$cat['description'],
'catlink'=>$cat['link'],
! 'pagelink'=>'No pages
available'
);
}
--- 108,112 ----
'catdescrip'=>$cat['description'],
'catlink'=>$cat['link'],
! 'pagelink'=>lang('No
pages available')
);
}
***************
*** 132,138 ****
if ($cat)
{
! $this->page->title = 'Category
'.$cat->name;
$this->page->subtitle =
'<i>'.$cat->description.'</i>';
! $content .= '<b><a
href="'.sitemgr_link2('/index.php','toc=1').'">Up to table of contents</a></b>';
if ($cat->depth)
{
--- 132,138 ----
if ($cat)
{
! $this->page->title =
lang('Category').' '.$cat->name;
$this->page->subtitle =
'<i>'.$cat->description.'</i>';
! $content .= '<b><a
href="'.sitemgr_link2('/index.php','toc=1').'">' . lang('Up to table of
contents') . '</a></b>';
if ($cat->depth)
{
***************
*** 142,146 ****
if (count($children))
{
! $content .=
'<br><br><b>Subcategories:</b><br>';
foreach ($children as
$child)
{
--- 142,146 ----
if (count($children))
{
! $content .=
'<br><br><b>' . lang('Subcategories') . ':</b><br>';
foreach ($children as
$child)
{
***************
*** 149,153 ****
}
}
! $content .=
'<br><br><b>Pages:</b><br>';
$links =
$this->getPageLinks($category_id,true);
if (count($links)>0)
--- 149,153 ----
}
}
! $content .= '<br><br><b>' .
lang('Pages') . ':</b><br>';
$links =
$this->getPageLinks($category_id,true);
if (count($links)>0)
***************
*** 166,170 ****
else
{
! $content .= '<li>There
are no pages in this section</li>';
}
$this->page->content=$content;
--- 166,170 ----
else
{
! $content .= '<li>' .
lang('There are no pages in this section') . '</li>';
}
$this->page->content=$content;
***************
*** 187,193 ****
else
{
! $this->page->title = 'Table of Contents';
$this->page->subtitle = '';
! $content = '<b>Choose a category:</b><br>';
$links = $this->getCatLinks();
if (count($links)>0)
--- 187,193 ----
else
{
! $this->page->title = lang('Table of Contents');
$this->page->subtitle = '';
! $content = '<b>' . lang('Choose a category') .
':</b><br>';
$links = $this->getCatLinks();
if (count($links)>0)
***************
*** 206,210 ****
else
{
! $content .= 'There are no sections
available to you.';
}
$this->page->content=$content;
--- 206,210 ----
else
{
! $content .= lang('There are no sections
available to you.');
}
$this->page->content=$content;
Index: class.ui.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware//sitemgr/sitemgr-site/inc/class.ui.inc.php,v
retrieving revision 1.7.2.1
retrieving revision 1.7.2.2
diff -C2 -r1.7.2.1 -r1.7.2.2
*** class.ui.inc.php 12 Oct 2002 20:27:28 -0000 1.7.2.1
--- class.ui.inc.php 18 Oct 2002 23:22:22 -0000 1.7.2.2
***************
*** 95,99 ****
else
{
! die("Selected theme '$themesel' does not
exist.");
}
--- 95,99 ----
else
{
! die(lang("Selected theme %1 does not
exist.",$themesel));
}
***************
*** 126,130 ****
if (!file_exists($templatedir.$themesel.'/main.tpl'))
{
! die("Selected template '$themesel' does not
exist.");
}
$this->t->set_root($templatedir);
--- 126,130 ----
if (!file_exists($templatedir.$themesel.'/main.tpl'))
{
! die(lang("Selected template %1 does not
exist.",$themesel));
}
$this->t->set_root($templatedir);
***************
*** 190,194 ****
if (!$content)
{
! $content = 'No content found';
}
}
--- 190,194 ----
if (!$content)
{
! $content = lang('No content found');
}
}
***************
*** 199,203 ****
else
{
! $content = 'Block not found';
}
return $content;
--- 199,203 ----
else
{
! $content = lang('Block not found');
}
return $content;
Index: phpnuke.compat.inc.php
===================================================================
RCS file:
/cvsroot/phpgroupware//sitemgr/sitemgr-site/inc/phpnuke.compat.inc.php,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -C2 -r1.5 -r1.5.2.1
*** phpnuke.compat.inc.php 2 Sep 2002 23:08:13 -0000 1.5
--- phpnuke.compat.inc.php 18 Oct 2002 23:22:22 -0000 1.5.2.1
***************
*** 97,102 ****
else
{
! $title = 'Block not found';
! $content = 'Contact the administrator.';
}
--- 97,102 ----
else
{
! $title = lang('Block not found');
! $content = lang('Contact the administrator.');
}
***************
*** 394,398 ****
if (!$file)
{
! $content = 'Block not found.';
}
else
--- 394,398 ----
if (!$file)
{
! $content = lang('Block not found.');
}
else
***************
*** 402,406 ****
if ($content == '')
{
! $content = 'Block returned no content.';
}
if ($side == 1)
--- 402,406 ----
if ($content == '')
{
! $content = lang('Block returned no content.');
}
if ($side == 1)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: /sitemgr/sitemgr-site/inc class.bo.inc.php,1.6,1.6.2.1 class.ui.inc.php,1.7.2.1,1.7.2.2 phpnuke.compat.inc.php,1.5,1.5.2.1,
Patrick Walsh <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: /sitemgr/inc class.Admin_ManageCategories_UI.inc.php,1.5,1.5.2.1 class.Categories_BO.inc.php,1.4,1.4.2.1 class.Categories_SO.inc.php,1.10,1.10.2.1 class.Common_UI.inc.php,1.6,1.6.2.1 class.admin_ManageSiteContent_UI.inc.php,1.1.1.1,1.1.1.1.2.1 class.contributor_ManagePage_UI.inc.php,1.7,1.7.2.1
- Next by Date:
[Phpgroupware-cvs] CVS: property/inc functions.inc.php,1.6,1.7
- Previous by thread:
[Phpgroupware-cvs] CVS: /sitemgr/inc class.Admin_ManageCategories_UI.inc.php,1.5,1.5.2.1 class.Categories_BO.inc.php,1.4,1.4.2.1 class.Categories_SO.inc.php,1.10,1.10.2.1 class.Common_UI.inc.php,1.6,1.6.2.1 class.admin_ManageSiteContent_UI.inc.php,1.1.1.1,1.1.1.1.2.1 class.contributor_ManagePage_UI.inc.php,1.7,1.7.2.1
- Next by thread:
[Phpgroupware-cvs] CVS: property/inc functions.inc.php,1.6,1.7
- Index(es):