cvs: docweb /include lib_general.inc.php
[email protected] ("Nuno Lopes")
| Newsgroups | php.doc.web |
|---|---|
| Message-ID | <cvsnlopess1106678932@cvsserver> |
nlopess Tue Jan 25 13:48:52 2005 EDT
Modified files:
/docweb/include lib_general.inc.php
Log:
enable gtk checkent. enable revcheck for all languages, as it was templated
http://cvs.php.net/diff.php/docweb/include/lib_general.inc.php?r1=1.38&r2=1.39&ty=u
Index: docweb/include/lib_general.inc.php
diff -u docweb/include/lib_general.inc.php:1.38 docweb/include/lib_general.inc.php:1.39
--- docweb/include/lib_general.inc.php:1.38 Sun Jan 23 18:02:38 2005
+++ docweb/include/lib_general.inc.php Tue Jan 25 13:48:51 2005
@@ -18,7 +18,7 @@
| Gabor Hojtsy <[email protected]> |
| Sean Coates <[email protected]> |
+----------------------------------------------------------------------+
-$Id: lib_general.inc.php,v 1.38 2005/01/23 23:02:38 sean Exp $
+$Id: lib_general.inc.php,v 1.39 2005/01/25 18:48:51 nlopess Exp $
*/
function is_translation($project, $language)
@@ -215,6 +215,15 @@
$links['doc-howto'] = BASE_URL . '/dochowto/index.php';
}
+ switch(SITE) {
+ case 'php':
+ case 'pear':
+ case 'smarty':
+ case 'gtk':
+ $links['checkent'] = BASE_URL . '/checkent.php';
+ break;
+ }
+
// English only
if (LANGC == 'all' || LANGC == 'en') {
@@ -224,8 +233,6 @@
case 'pear':
case 'smarty':
- $links['checkent'] = BASE_URL . '/checkent.php';
- break;
}
}