[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: chora addsite.php,1.6,1.7 editsite.php,1.6,1.7
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: chora addsite.php,1.6,1.7 editsite.php,1.6,1.7 |
Date: |
Fri, 28 Feb 2003 10:28:29 -0500 |
Update of /cvsroot/phpgroupware/chora
In directory subversions:/tmp/cvs-serv26834
Modified Files:
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.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** addsite.php 28 Apr 2002 19:47:55 -0000 1.6
--- addsite.php 28 Feb 2003 15:28:26 -0000 1.7
***************
*** 71,75 ****
if ($errorcount) {
$t->set_var('message',$GLOBALS['phpgw']->common->error_list($error)); }
! if (($submit) && (! $error) && (! $errorcount)) {
$t->set_var('message',lang('Repository x has been added !', $site_name)); }
if ((! $submit) && (! $error) && (! $errorcount)) {
$t->set_var('message',''); }
--- 71,75 ----
if ($errorcount) {
$t->set_var('message',$GLOBALS['phpgw']->common->error_list($error)); }
! if (($submit) && (! $error) && (! $errorcount)) {
$t->set_var('message',lang('Repository %1 has been added !', $site_name)); }
if ((! $submit) && (! $error) && (! $errorcount)) {
$t->set_var('message',''); }
Index: editsite.php
===================================================================
RCS file: /cvsroot/phpgroupware/chora/editsite.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** editsite.php 28 Apr 2002 19:47:55 -0000 1.6
--- editsite.php 28 Feb 2003 15:28:26 -0000 1.7
***************
*** 45,52 ****
{
$errorcount = 0;
! if(!$site_name)
! {
! $error[$errorcount++] = lang('Please enter a name for
that site!');
! }
$GLOBALS['phpgw']->db->query("SELECT count(*) from
phpgw_chora_sites WHERE name='$site_name' AND id !='$site_id'");
--- 45,49 ----
{
$errorcount = 0;
! if (!$site_name) { $error[$errorcount++] = lang('Please enter a
name for that site !'); }
$GLOBALS['phpgw']->db->query("SELECT count(*) from
phpgw_chora_sites WHERE name='$site_name' AND id !='$site_id'");
***************
*** 88,92 ****
if ($errorcount) {
$t->set_var('message',$GLOBALS['phpgw']->common->error_list($error)); }
! if (($submit) && (! $error) && (! $errorcount)) {
$t->set_var('message',lang("Repository $site_name has been updated !")); }
if ((! $submit) && (! $error) && (! $errorcount)) {
$t->set_var('message',''); }
--- 85,89 ----
if ($errorcount) {
$t->set_var('message',$GLOBALS['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.6,1.7 editsite.php,1.6,1.7,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: chora/setup phpgw_fr.lang,1.3.2.5,1.3.2.6
- Next by Date:
[Phpgroupware-cvs] CVS: chora/setup phpgw_de.lang,1.1,1.2 phpgw_en.lang,1.2,1.3 phpgw_fr.lang,1.3,1.4
- Previous by thread:
[Phpgroupware-cvs] CVS: chora/setup phpgw_fr.lang,1.3.2.5,1.3.2.6
- Next by thread:
[Phpgroupware-cvs] CVS: chora/setup phpgw_de.lang,1.1,1.2 phpgw_en.lang,1.2,1.3 phpgw_fr.lang,1.3,1.4
- Index(es):