[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: chora addsite.php,1.5.2.2,1.5.2.3 editsite.php,
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: chora addsite.php,1.5.2.2,1.5.2.3 editsite.php,1.5.2.2,1.5.2.3 |
Date: |
Fri, 28 Feb 2003 10:24:13 -0500 |
Update of /cvsroot/phpgroupware/chora
In directory subversions:/tmp/cvs-serv26112
Modified Files:
Tag: Version-0_9_14-branch
addsite.php editsite.php
Log Message:
added some more phrases from the source and made one translatable
Index: addsite.php
===================================================================
RCS file: /cvsroot/phpgroupware/chora/addsite.php,v
retrieving revision 1.5.2.2
retrieving revision 1.5.2.3
diff -C2 -r1.5.2.2 -r1.5.2.3
*** addsite.php 27 Feb 2003 21:35:08 -0000 1.5.2.2
--- addsite.php 28 Feb 2003 15:24:10 -0000 1.5.2.3
***************
*** 36,45 ****
if ($phpgw->db->next_record())
{
! $error[$errorcount++] = lang('That site name has been
used already!');
}
if (!$site_name)
{
! $error[$errorcount++] = lang('Please enter a name for
that site!');
}
--- 36,45 ----
if ($phpgw->db->next_record())
{
! $error[$errorcount++] = lang('That site name has been
used already !');
}
if (!$site_name)
{
! $error[$errorcount++] = lang('Please enter a name for
that site !');
}
Index: editsite.php
===================================================================
RCS file: /cvsroot/phpgroupware/chora/editsite.php,v
retrieving revision 1.5.2.2
retrieving revision 1.5.2.3
diff -C2 -r1.5.2.2 -r1.5.2.3
*** editsite.php 28 Feb 2003 15:11:40 -0000 1.5.2.2
--- editsite.php 28 Feb 2003 15:24:10 -0000 1.5.2.3
***************
*** 49,53 ****
$phpgw->db->query("SELECT count(*) from phpgw_chora_sites WHERE
name='$site_name' AND id !='$site_id'");
$phpgw->db->next_record();
! if ($phpgw->db->f(0) != 0) { $error[$errorcount++] = lang('That
site name has been used already!'); }
$site_name = addslashes($site_name);
--- 49,53 ----
$phpgw->db->query("SELECT count(*) from phpgw_chora_sites WHERE
name='$site_name' AND id !='$site_id'");
$phpgw->db->next_record();
! if ($phpgw->db->f(0) != 0) { $error[$errorcount++] = lang('That
site name has been used already !'); }
$site_name = addslashes($site_name);
***************
*** 79,83 ****
if ($errorcount) {
$t->set_var('message',$phpgw->common->error_list($error)); }
! if (($submit) && (! $error) && (! $errorcount)) {
$t->set_var('message',lang('Repository %1 has been updated !',$site_name)); }
if ((! $submit) && (! $error) && (! $errorcount)) {
$t->set_var('message',''); }
--- 79,83 ----
if ($errorcount) {
$t->set_var('message',$phpgw->common->error_list($error)); }
! if (($submit) && (! $error) && (! $errorcount)) {
$t->set_var('message',lang('Repository %1 has been updated!',$site_name)); }
if ((! $submit) && (! $error) && (! $errorcount)) {
$t->set_var('message',''); }
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: chora addsite.php,1.5.2.2,1.5.2.3 editsite.php,1.5.2.2,1.5.2.3,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: chora/setup phpgw_de.lang,1.1,1.1.2.1 phpgw_en.lang,1.2.2.3,1.2.2.4 phpgw_fr.lang,1.3.2.4,1.3.2.5
- Next by Date:
[Phpgroupware-cvs] CVS: chora/setup phpgw_fr.lang,1.3.2.5,1.3.2.6
- Previous by thread:
[Phpgroupware-cvs] CVS: chora/setup phpgw_de.lang,1.1,1.1.2.1 phpgw_en.lang,1.2.2.3,1.2.2.4 phpgw_fr.lang,1.3.2.4,1.3.2.5
- Next by thread:
[Phpgroupware-cvs] CVS: chora/setup phpgw_fr.lang,1.3.2.5,1.3.2.6
- Index(es):