# incremented the version number to 0.2.0
# switched PHP short open tags to the full open tags. # included pecl-svn into the project # fixed various RPM packaging problems for PHP 5.3 and SELinux
This commit is contained in:
parent
af181f9d71
commit
acf94fa650
@ -143,6 +143,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -186,6 +188,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -1,10 +1,13 @@
|
|||||||
ACLOCAL_AMFLAGS = -I ac/m4
|
ACLOCAL_AMFLAGS = -I ac/m4
|
||||||
AUTOMAKE_OPTION = foreign
|
AUTOMAKE_OPTION = foreign
|
||||||
|
|
||||||
SUBDIRS = etc src sbin
|
SUBDIRS = etc src sbin pecl-svn
|
||||||
|
|
||||||
EXTRA_DIST = README mkmf.sh DEBIAN
|
EXTRA_DIST = README mkmf.sh DEBIAN
|
||||||
|
|
||||||
|
PHP_PACKAGE_NAME ?= php
|
||||||
|
TARGET_ARCH ?= $(shell uname -m)
|
||||||
|
|
||||||
install-data-hook:
|
install-data-hook:
|
||||||
$(INSTALL) -d "$(DESTDIR)@DEPOTDIR@"
|
$(INSTALL) -d "$(DESTDIR)@DEPOTDIR@"
|
||||||
$(INSTALL) -d "$(DESTDIR)@DEPOTDIR@/svnrepo"
|
$(INSTALL) -d "$(DESTDIR)@DEPOTDIR@/svnrepo"
|
||||||
@ -26,6 +29,7 @@ uninstall-hook:
|
|||||||
distclean-local:
|
distclean-local:
|
||||||
$(RM) -r autom4te.cache config.h.in~ "$(PACKAGE)-$(VERSION)"
|
$(RM) -r autom4te.cache config.h.in~ "$(PACKAGE)-$(VERSION)"
|
||||||
|
|
||||||
|
|
||||||
deb: dist-gzip
|
deb: dist-gzip
|
||||||
tar -zxvf "$(PACKAGE)-$(VERSION).tar.gz"
|
tar -zxvf "$(PACKAGE)-$(VERSION).tar.gz"
|
||||||
cd "$(PACKAGE)-$(VERSION)"; ./configure \
|
cd "$(PACKAGE)-$(VERSION)"; ./configure \
|
||||||
@ -52,4 +56,4 @@ rpm: dist
|
|||||||
mkdir -p "@abs_top_builddir@/RPM/SRPMS"
|
mkdir -p "@abs_top_builddir@/RPM/SRPMS"
|
||||||
mkdir -p "@abs_top_builddir@/RPM/RPMS"
|
mkdir -p "@abs_top_builddir@/RPM/RPMS"
|
||||||
cp codepot-@VERSION@.tar.gz "@abs_top_builddir@/RPM/SOURCES"
|
cp codepot-@VERSION@.tar.gz "@abs_top_builddir@/RPM/SOURCES"
|
||||||
rpmbuild --define "_topdir @abs_top_builddir@/RPM" -ba codepot.spec --target noarch
|
rpmbuild --define "_topdir @abs_top_builddir@/RPM" --define "php_package_name $(PHP_PACKAGE_NAME)" -ba codepot.spec --target="$(TARGET_ARCH)"
|
||||||
|
@ -168,6 +168,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -211,6 +213,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
@ -225,7 +229,7 @@ top_srcdir = @top_srcdir@
|
|||||||
wwwdir = @wwwdir@
|
wwwdir = @wwwdir@
|
||||||
ACLOCAL_AMFLAGS = -I ac/m4
|
ACLOCAL_AMFLAGS = -I ac/m4
|
||||||
AUTOMAKE_OPTION = foreign
|
AUTOMAKE_OPTION = foreign
|
||||||
SUBDIRS = etc src sbin
|
SUBDIRS = etc src sbin pecl-svn
|
||||||
EXTRA_DIST = README mkmf.sh DEBIAN
|
EXTRA_DIST = README mkmf.sh DEBIAN
|
||||||
all: config.h
|
all: config.h
|
||||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||||
@ -734,6 +738,9 @@ uninstall-am:
|
|||||||
uninstall-hook
|
uninstall-hook
|
||||||
|
|
||||||
|
|
||||||
|
PHP_PACKAGE_NAME ?= php
|
||||||
|
TARGET_ARCH ?= $(shell uname -m)
|
||||||
|
|
||||||
install-data-hook:
|
install-data-hook:
|
||||||
$(INSTALL) -d "$(DESTDIR)@DEPOTDIR@"
|
$(INSTALL) -d "$(DESTDIR)@DEPOTDIR@"
|
||||||
$(INSTALL) -d "$(DESTDIR)@DEPOTDIR@/svnrepo"
|
$(INSTALL) -d "$(DESTDIR)@DEPOTDIR@/svnrepo"
|
||||||
@ -781,7 +788,7 @@ rpm: dist
|
|||||||
mkdir -p "@abs_top_builddir@/RPM/SRPMS"
|
mkdir -p "@abs_top_builddir@/RPM/SRPMS"
|
||||||
mkdir -p "@abs_top_builddir@/RPM/RPMS"
|
mkdir -p "@abs_top_builddir@/RPM/RPMS"
|
||||||
cp codepot-@VERSION@.tar.gz "@abs_top_builddir@/RPM/SOURCES"
|
cp codepot-@VERSION@.tar.gz "@abs_top_builddir@/RPM/SOURCES"
|
||||||
rpmbuild --define "_topdir @abs_top_builddir@/RPM" -ba codepot.spec --target noarch
|
rpmbuild --define "_topdir @abs_top_builddir@/RPM" --define "php_package_name $(PHP_PACKAGE_NAME)" -ba codepot.spec --target="$(TARGET_ARCH)"
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
|
109
codepot/README
109
codepot/README
@ -3,30 +3,110 @@ CODEPOT
|
|||||||
|
|
||||||
Codepot is a simple web-based source code manager. It incorporates the
|
Codepot is a simple web-based source code manager. It incorporates the
|
||||||
subversion revision control system and wiki-based documentation, and supports
|
subversion revision control system and wiki-based documentation, and supports
|
||||||
authentication via LDAP.
|
authentication via LDAP or DBMS.
|
||||||
|
|
||||||
INSTALLATION
|
INSTALLATION ON CENTOS
|
||||||
|
|
||||||
A RPM package is provided for RedHat/CentOS Linux. The RPM package specifies
|
A RPM package is provided for RedHat/CentOS Linux. The RPM package specifies
|
||||||
dependency which must be met prior to or at the same time as the installation
|
dependency which must be met prior to or at the same time as the installation
|
||||||
of the rpm package.
|
of the rpm package. Some required packages are available in RPMforge. You may
|
||||||
|
have to add the RPMforge repository for automatic installation with yum.
|
||||||
|
|
||||||
rpm -ivh codepot-X.X.X-X.noarch.rpm
|
$ rpm -ivh codepot-X.X.X-Y.Y.Y.Y.rpm
|
||||||
|
|
||||||
You can use the yum utility to be hassle-free instead.
|
You can use the yum utility to be hassle-free instead. However, some required
|
||||||
|
packages are not available in the base CentOS repository but in the RPMforge
|
||||||
|
repository. You may be required to add the RPMforge repository to the system.
|
||||||
|
View http://wiki.centos.org/AdditionalResources/Repositories/RPMForge for
|
||||||
|
RPMforge set-up.
|
||||||
|
|
||||||
yum localinstall --nogpgcheck codepot-X.X.X-X.noarch.rpm
|
$ yum localinstall --nogpgcheck codepot-X.X.X-Y.Y.Y.Y.rpm
|
||||||
|
|
||||||
You should perform the following tasks after the RPM installation.
|
Once you have all required package installed, you can proceed to configure
|
||||||
|
the system. The following steps shown assume the default installation of
|
||||||
|
CentOS 5.
|
||||||
|
|
||||||
* Initialize the mysql database using /etc/codepot/codepot.mysql.
|
X.X.X is the version number and Y.Y.Y.Y is the release number. For example,
|
||||||
* Add the following switch to /etc/httpd/conf.d/perl.conf
|
to install Codepot 0.2.0 for a 32-bit x86 CentOS 5 server running PHP 5.3,
|
||||||
PerlSwitches -Mlib=/etc/codepot/perl
|
you should get the RPM package file - codepot-0.2.0-php53.1.el5.i686.rpm.
|
||||||
* Configure /etc/httpd/conf.d/codepot.conf
|
|
||||||
* Configure /etc/codepot/codepot.ini
|
1. Add the following line to /etc/httpd/conf.d/perl.conf. It must be placed
|
||||||
* Restart httpd
|
after 'LoadModule perl_module modules/mod_perl.so'.
|
||||||
|
|
||||||
|
PerlSwitches -Mlib=/etc/codepot/perl
|
||||||
|
|
||||||
|
2. Customize the Subversion WebDAV access in /etc/httpd/conf.d/codepot.conf
|
||||||
|
which the RPM package copies from /etc/codepot/codepot.http upon fresh
|
||||||
|
installation. You can skip this step if you don't need any customizations.
|
||||||
|
|
||||||
|
3. Create a database named 'codepot' into the running MySQL server. The
|
||||||
|
schema is defined in /etc/codepot/codepot.mysql. You can execute the following
|
||||||
|
in the MySQL command prompt.
|
||||||
|
|
||||||
|
mysql> create database codepot;
|
||||||
|
mysql> use codepot;
|
||||||
|
mysql> source /etc/codepot/codepot.mysql;
|
||||||
|
|
||||||
|
4. Customize various configuration items in /etc/codepot/codepot.ini.
|
||||||
|
Set all items beginning with database_ to match the database settings.
|
||||||
|
Customize the values to match your system database.
|
||||||
|
|
||||||
|
database_hostname = "localhost"
|
||||||
|
database_username = "root"
|
||||||
|
database_password = ""
|
||||||
|
database_name = "codepot"
|
||||||
|
database_driver = "mysql"
|
||||||
|
database_prefix = ""
|
||||||
|
|
||||||
|
5. Add a local user using the 'codepot-user' command. This command is used
|
||||||
|
to add a user to the database and a user entry added is effective if codepot
|
||||||
|
is configured to use 'DbLoginModel'. You can change it by chaning the value
|
||||||
|
of 'login_mode' in /etc/codepot/codepot.ini.
|
||||||
|
|
||||||
|
$ codepot-user add username password username@your.domain
|
||||||
|
|
||||||
|
6. Enable the user added.
|
||||||
|
|
||||||
Here is how to install Codepot into the standard locations under Ubuntu Linux.
|
$ codepot-user enable username
|
||||||
|
|
||||||
|
7. Optionally, you can set this user to be a system administrator
|
||||||
|
in /etc/codepot/codepot.ini.
|
||||||
|
|
||||||
|
sysadmin_userids = "username"
|
||||||
|
|
||||||
|
8. If you don't have the right subversion extension for PHP installed, you can
|
||||||
|
install the codepot-peclsvn package. Codepot requires the 'svn.so' extension
|
||||||
|
built of at least r333800 from http://svn.php.net/repository/pecl/svn/trunk.
|
||||||
|
|
||||||
|
$ rpm -ivh codepot-peclsvn-X.X.X-Y.Y.Y.Y.rpm
|
||||||
|
|
||||||
|
9. If you have SELinux on in the enforcing mode, check if the data directories
|
||||||
|
used by Codepot has the right context set. The 'httpd_sys_content_t' context
|
||||||
|
type should be set. The Codepot RPM package sets the context type upon fresh
|
||||||
|
installation only.
|
||||||
|
|
||||||
|
$ ls -Zd /var/lib/codepot
|
||||||
|
drwxr-xr-x root root user_u:object_r:httpd_sys_content_t /var/lib/codepot
|
||||||
|
|
||||||
|
$ ls -Z /var/lib/codepot
|
||||||
|
drwxr-xr-x apache apache system_u:object_r:httpd_sys_content_t attachments
|
||||||
|
drwxr-xr-x apache apache system_u:object_r:httpd_sys_content_t files
|
||||||
|
drwxr-xr-x apache apache system_u:object_r:httpd_sys_content_t svnrepo
|
||||||
|
drwxr-xr-x apache apache system_u:object_r:httpd_sys_content_t usericons
|
||||||
|
|
||||||
|
$ ls -lZd /var/cache/codepot
|
||||||
|
drwxr-xr-x apache apache system_u:object_r:httpd_sys_content_t /var/cache/codepot
|
||||||
|
|
||||||
|
10. Restart httpd.
|
||||||
|
|
||||||
|
$ service httpd restart
|
||||||
|
|
||||||
|
11. Access http://your-server/codepot/
|
||||||
|
|
||||||
|
|
||||||
|
INSTALLATION ON DEBIAN
|
||||||
|
|
||||||
|
Here is how to install Codepot into the standard locations under Debian Linux.
|
||||||
|
|
||||||
* Install required packages.
|
* Install required packages.
|
||||||
$ sudo apt-get install subversion
|
$ sudo apt-get install subversion
|
||||||
@ -78,6 +158,7 @@ INSTALLATION
|
|||||||
|
|
||||||
Note that make-ssl-cert is provided by the ssl-cert package.
|
Note that make-ssl-cert is provided by the ssl-cert package.
|
||||||
|
|
||||||
|
|
||||||
LICENSE
|
LICENSE
|
||||||
|
|
||||||
This software is licensed under the GNU General Public License.
|
This software is licensed under the GNU General Public License.
|
||||||
|
@ -1,34 +1,55 @@
|
|||||||
%define _prefix /usr
|
%define _prefix /usr
|
||||||
%define _sysconfdir /etc
|
%define _sysconfdir /etc
|
||||||
|
|
||||||
|
%if %{?php_package_name:0}%{!?php_package_name:1}
|
||||||
|
# if php_package_name is not defined
|
||||||
|
%define php_package_name php
|
||||||
|
%endif
|
||||||
|
|
||||||
Summary: Codepot code repository manager
|
Summary: Codepot code repository manager
|
||||||
Name: @PACKAGE_NAME@
|
Name: @PACKAGE_NAME@
|
||||||
Version: @PACKAGE_VERSION@
|
Version: @PACKAGE_VERSION@
|
||||||
Release: 1
|
Release: %{php_package_name}.1%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/Utilities
|
Group: Applications/Utilities
|
||||||
|
#BuildArch: noarch
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
Requires: httpd php php-ldap php-mysql php-gd subversion subversion-perl mod_dav_svn mod_perl perl perl-LDAP perl-Config-Simple perl-URI perl-DBI perl-Digest-SHA1
|
Requires: httpd %{php_package_name} %{php_package_name}-ldap %{php_package_name}-mysql %{php_package_name}-gd subversion subversion-perl mod_dav_svn mod_perl perl perl-LDAP perl-Config-Simple perl-URI perl-DBI perl-Digest-SHA1
|
||||||
|
# %{php_package_name}-pecl-svn > 1.2.0
|
||||||
|
|
||||||
#BuildRequires:
|
BuildRequires: subversion-devel neon-devel %{php_package_name}-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Codepot code repository manager
|
Codepot code repository manager
|
||||||
|
|
||||||
|
%package peclsvn
|
||||||
|
Summary: PHP Subversion extension
|
||||||
|
Group: Development/Languages
|
||||||
|
#BuildArch: %{_target_platform}
|
||||||
|
Requires: @PACKAGE_NAME@ = %{PACKAGE_VERSION}
|
||||||
|
Conflicts: %{php_package_name}-pecl-svn
|
||||||
|
|
||||||
|
%description peclsvn
|
||||||
|
This package contains svn.so for PHP. You can install this package
|
||||||
|
if your system doesn't have a proper Subversion extenstion for PHP.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--libdir=%{_libdir} \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--with-wwwdir=/var/www/html/codepot \
|
--with-wwwdir=/var/www/html/codepot \
|
||||||
--with-cfgdir=/etc/codepot \
|
--with-cfgdir=/etc/codepot \
|
||||||
--with-depotdir=/var/lib/codepot \
|
--with-depotdir=/var/lib/codepot \
|
||||||
--with-logdir=/var/log/codepot \
|
--with-logdir=/var/log/codepot \
|
||||||
--with-cachedir=/var/cache/codepot
|
--with-cachedir=/var/cache/codepot \
|
||||||
|
--with-phpextdir=%{_libdir}/php/modules \
|
||||||
|
--with-phpextinidir=%{_sysconfdir}/php.d
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -69,13 +90,23 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%dir /var/log/codepot
|
%dir /var/log/codepot
|
||||||
%dir /var/cache/codepot
|
%dir /var/cache/codepot
|
||||||
|
|
||||||
|
%files peclsvn
|
||||||
|
%{_libdir}/php/modules/svn.so
|
||||||
|
%config(noreplace) %{_sysconfdir}/php.d/svn.ini
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%post
|
%post
|
||||||
[ $1 -eq 0 ] && {
|
[ $1 -eq 1 ] && {
|
||||||
|
# Fresh installation.
|
||||||
|
|
||||||
# install the httpd configuration file for the first installation
|
# install the httpd configuration file for the first installation
|
||||||
install -D -m 0644 %{_sysconfdir}/codepot/codepot.httpd %{_sysconfdir}/httpd/conf.d/codepot.conf
|
install -D -m 0644 %{_sysconfdir}/codepot/codepot.httpd %{_sysconfdir}/httpd/conf.d/codepot.conf
|
||||||
|
|
||||||
|
# change the selinux context on data directories
|
||||||
|
chcon -Rv --type=httpd_sys_content_t /var/lib/codepot >/dev/null 2>&1
|
||||||
|
chcon -Rv --type=httpd_sys_content_t /var/cache/codepot >/dev/null 2>&1
|
||||||
}
|
}
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
@ -84,6 +115,7 @@ exit 0
|
|||||||
|
|
||||||
%postun
|
%postun
|
||||||
[ $1 -eq 0 ] && {
|
[ $1 -eq 0 ] && {
|
||||||
|
# Uninstallation
|
||||||
rm -f %{_sysconfdir}/httpd/conf.d/codepot.conf
|
rm -f %{_sysconfdir}/httpd/conf.d/codepot.conf
|
||||||
}
|
}
|
||||||
exit 0
|
exit 0
|
||||||
|
124
codepot/configure
vendored
124
codepot/configure
vendored
@ -1,8 +1,6 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.69 for codepot 0.1.2.
|
# Generated by GNU Autoconf 2.69 for codepot 0.2.0.
|
||||||
#
|
|
||||||
# Report bugs to <Hyung-Hwan Chung <hyunghwan.chung@gmail.com>>.
|
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
|
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
|
||||||
@ -265,8 +263,7 @@ fi
|
|||||||
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
||||||
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
||||||
else
|
else
|
||||||
$as_echo "$0: Please tell bug-autoconf@gnu.org and Hyung-Hwan Chung
|
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
|
||||||
$0: <hyunghwan.chung@gmail.com> about your system,
|
|
||||||
$0: including any error possibly output before this
|
$0: including any error possibly output before this
|
||||||
$0: message. Then install a modern shell, or manually run
|
$0: message. Then install a modern shell, or manually run
|
||||||
$0: the script under such a shell if you do have one."
|
$0: the script under such a shell if you do have one."
|
||||||
@ -579,13 +576,15 @@ MAKEFLAGS=
|
|||||||
# Identity of this package.
|
# Identity of this package.
|
||||||
PACKAGE_NAME='codepot'
|
PACKAGE_NAME='codepot'
|
||||||
PACKAGE_TARNAME='codepot'
|
PACKAGE_TARNAME='codepot'
|
||||||
PACKAGE_VERSION='0.1.2'
|
PACKAGE_VERSION='0.2.0'
|
||||||
PACKAGE_STRING='codepot 0.1.2'
|
PACKAGE_STRING='codepot 0.2.0'
|
||||||
PACKAGE_BUGREPORT='Hyung-Hwan Chung <hyunghwan.chung@gmail.com>'
|
PACKAGE_BUGREPORT=''
|
||||||
PACKAGE_URL='http://www.abiyo.net/codepot'
|
PACKAGE_URL='http://code.abiyo.net/@codepot'
|
||||||
|
|
||||||
ac_subst_vars='LTLIBOBJS
|
ac_subst_vars='LTLIBOBJS
|
||||||
LIBOBJS
|
LIBOBJS
|
||||||
|
PHPEXTINIDIR
|
||||||
|
PHPEXTDIR
|
||||||
CACHEDIR
|
CACHEDIR
|
||||||
LOGDIR
|
LOGDIR
|
||||||
WWWDIR
|
WWWDIR
|
||||||
@ -601,6 +600,8 @@ DATAROOTDIR
|
|||||||
LIBEXECDIR
|
LIBEXECDIR
|
||||||
LIBDIR
|
LIBDIR
|
||||||
PREFIX
|
PREFIX
|
||||||
|
phpextinidir
|
||||||
|
phpextdir
|
||||||
cachedir
|
cachedir
|
||||||
logdir
|
logdir
|
||||||
wwwdir
|
wwwdir
|
||||||
@ -680,6 +681,8 @@ with_cfgdir
|
|||||||
with_wwwdir
|
with_wwwdir
|
||||||
with_logdir
|
with_logdir
|
||||||
with_cachedir
|
with_cachedir
|
||||||
|
with_phpextdir
|
||||||
|
with_phpextinidir
|
||||||
'
|
'
|
||||||
ac_precious_vars='build_alias
|
ac_precious_vars='build_alias
|
||||||
host_alias
|
host_alias
|
||||||
@ -1224,7 +1227,7 @@ if test "$ac_init_help" = "long"; then
|
|||||||
# Omit some internal or obsolete options to make the list less imposing.
|
# Omit some internal or obsolete options to make the list less imposing.
|
||||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||||
cat <<_ACEOF
|
cat <<_ACEOF
|
||||||
\`configure' configures codepot 0.1.2 to adapt to many kinds of systems.
|
\`configure' configures codepot 0.2.0 to adapt to many kinds of systems.
|
||||||
|
|
||||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||||
|
|
||||||
@ -1290,7 +1293,7 @@ fi
|
|||||||
|
|
||||||
if test -n "$ac_init_help"; then
|
if test -n "$ac_init_help"; then
|
||||||
case $ac_init_help in
|
case $ac_init_help in
|
||||||
short | recursive ) echo "Configuration of codepot 0.1.2:";;
|
short | recursive ) echo "Configuration of codepot 0.2.0:";;
|
||||||
esac
|
esac
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
|
|
||||||
@ -1303,9 +1306,11 @@ Optional Packages:
|
|||||||
--with-wwwdir directory for www document files
|
--with-wwwdir directory for www document files
|
||||||
--with-logdir directory for log files
|
--with-logdir directory for log files
|
||||||
--with-cachedir directory for cache files
|
--with-cachedir directory for cache files
|
||||||
|
--with-phpextdir directory where a php extension file is stored
|
||||||
|
--with-phpextinidir directory where a php extension is enabled
|
||||||
|
|
||||||
Report bugs to <Hyung-Hwan Chung <hyunghwan.chung@gmail.com>>.
|
Report bugs to the package provider.
|
||||||
codepot home page: <http://www.abiyo.net/codepot>.
|
codepot home page: <http://code.abiyo.net/@codepot>.
|
||||||
_ACEOF
|
_ACEOF
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
fi
|
fi
|
||||||
@ -1368,7 +1373,7 @@ fi
|
|||||||
test -n "$ac_init_help" && exit $ac_status
|
test -n "$ac_init_help" && exit $ac_status
|
||||||
if $ac_init_version; then
|
if $ac_init_version; then
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
codepot configure 0.1.2
|
codepot configure 0.2.0
|
||||||
generated by GNU Autoconf 2.69
|
generated by GNU Autoconf 2.69
|
||||||
|
|
||||||
Copyright (C) 2012 Free Software Foundation, Inc.
|
Copyright (C) 2012 Free Software Foundation, Inc.
|
||||||
@ -1385,7 +1390,7 @@ cat >config.log <<_ACEOF
|
|||||||
This file contains any messages produced by compilers while
|
This file contains any messages produced by compilers while
|
||||||
running configure, to aid debugging if configure makes a mistake.
|
running configure, to aid debugging if configure makes a mistake.
|
||||||
|
|
||||||
It was created by codepot $as_me 0.1.2, which was
|
It was created by codepot $as_me 0.2.0, which was
|
||||||
generated by GNU Autoconf 2.69. Invocation command line was
|
generated by GNU Autoconf 2.69. Invocation command line was
|
||||||
|
|
||||||
$ $0 $@
|
$ $0 $@
|
||||||
@ -2204,7 +2209,7 @@ fi
|
|||||||
|
|
||||||
# Define the identity of the package.
|
# Define the identity of the package.
|
||||||
PACKAGE='codepot'
|
PACKAGE='codepot'
|
||||||
VERSION='0.1.2'
|
VERSION='0.2.0'
|
||||||
|
|
||||||
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<_ACEOF
|
||||||
@ -2763,6 +2768,26 @@ fi
|
|||||||
cachedir=$cachedir
|
cachedir=$cachedir
|
||||||
|
|
||||||
|
|
||||||
|
phpextdir="${libdir}/php/modules"
|
||||||
|
|
||||||
|
# Check whether --with-phpextdir was given.
|
||||||
|
if test "${with_phpextdir+set}" = set; then :
|
||||||
|
withval=$with_phpextdir; phpextdir=$withval
|
||||||
|
fi
|
||||||
|
|
||||||
|
phpextdir=$phpextdir
|
||||||
|
|
||||||
|
|
||||||
|
phpextinidir="${sysconfdir}/php.d"
|
||||||
|
|
||||||
|
# Check whether --with-phpextinidir was given.
|
||||||
|
if test "${with_phpextinidir+set}" = set; then :
|
||||||
|
withval=$with_phpextinidir; phpextinidir=$withval
|
||||||
|
fi
|
||||||
|
|
||||||
|
phpextinidir=$phpextinidir
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
EXP_VAR=PREFIX
|
EXP_VAR=PREFIX
|
||||||
FROM_VAR=$prefix
|
FROM_VAR=$prefix
|
||||||
@ -3185,8 +3210,64 @@ cachedir=$cachedir
|
|||||||
exec_prefix=$exec_prefix_save
|
exec_prefix=$exec_prefix_save
|
||||||
|
|
||||||
|
|
||||||
|
EXP_VAR=PHPEXTDIR
|
||||||
|
FROM_VAR=$phpextdir
|
||||||
|
|
||||||
ac_config_files="$ac_config_files Makefile codepot.spec etc/Makefile etc/codepot.ini etc/codepot.a2ldap etc/codepot.httpd etc/pre-commit etc/start-commit etc/post-commit etc/pre-revprop-change etc/post-revprop-change sbin/Makefile sbin/codepot-user DEBIAN/Makefile DEBIAN/control DEBIAN/postinst DEBIAN/postrm src/config.php src/codepot/config/Makefile src/codepot/controllers/Makefile src/codepot/errors/Makefile src/codepot/helpers/Makefile src/codepot/hooks/Makefile src/codepot/language/english/Makefile src/codepot/language/indonesian/Makefile src/codepot/language/korean/Makefile src/codepot/language/Makefile src/codepot/libraries/Makefile src/codepot/models/Makefile src/codepot/views/Makefile src/codepot/Makefile src/css/images/Makefile src/css/Makefile src/js/prettify/Makefile src/js/Makefile src/system/cache/Makefile src/system/codeigniter/Makefile src/system/database/drivers/mssql/Makefile src/system/database/drivers/mysql/Makefile src/system/database/drivers/mysqli/Makefile src/system/database/drivers/oci8/Makefile src/system/database/drivers/odbc/Makefile src/system/database/drivers/postgre/Makefile src/system/database/drivers/sqlite/Makefile src/system/database/drivers/Makefile src/system/database/Makefile src/system/fonts/Makefile src/system/helpers/Makefile src/system/language/english/Makefile src/system/language/korean/Makefile src/system/language/Makefile src/system/libraries/Makefile src/system/logs/Makefile src/system/plugins/Makefile src/system/scaffolding/images/Makefile src/system/scaffolding/views/Makefile src/system/scaffolding/Makefile src/system/Makefile src/Makefile"
|
prefix_save=$prefix
|
||||||
|
exec_prefix_save=$exec_prefix
|
||||||
|
|
||||||
|
if test "x$prefix" = "xNONE"; then
|
||||||
|
prefix="$ac_default_prefix"
|
||||||
|
fi
|
||||||
|
if test "x$exec_prefix" = "xNONE"; then
|
||||||
|
exec_prefix=$prefix
|
||||||
|
fi
|
||||||
|
|
||||||
|
full_var="$FROM_VAR"
|
||||||
|
while true; do
|
||||||
|
new_full_var="`eval echo $full_var`"
|
||||||
|
if test "x$new_full_var" = "x$full_var"; then break; fi
|
||||||
|
full_var=$new_full_var
|
||||||
|
done
|
||||||
|
|
||||||
|
full_var=$new_full_var
|
||||||
|
PHPEXTDIR="$full_var"
|
||||||
|
|
||||||
|
|
||||||
|
prefix=$prefix_save
|
||||||
|
exec_prefix=$exec_prefix_save
|
||||||
|
|
||||||
|
|
||||||
|
EXP_VAR=PHPEXTINIDIR
|
||||||
|
FROM_VAR=$phpextinidir
|
||||||
|
|
||||||
|
prefix_save=$prefix
|
||||||
|
exec_prefix_save=$exec_prefix
|
||||||
|
|
||||||
|
if test "x$prefix" = "xNONE"; then
|
||||||
|
prefix="$ac_default_prefix"
|
||||||
|
fi
|
||||||
|
if test "x$exec_prefix" = "xNONE"; then
|
||||||
|
exec_prefix=$prefix
|
||||||
|
fi
|
||||||
|
|
||||||
|
full_var="$FROM_VAR"
|
||||||
|
while true; do
|
||||||
|
new_full_var="`eval echo $full_var`"
|
||||||
|
if test "x$new_full_var" = "x$full_var"; then break; fi
|
||||||
|
full_var=$new_full_var
|
||||||
|
done
|
||||||
|
|
||||||
|
full_var=$new_full_var
|
||||||
|
PHPEXTINIDIR="$full_var"
|
||||||
|
|
||||||
|
|
||||||
|
prefix=$prefix_save
|
||||||
|
exec_prefix=$exec_prefix_save
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files Makefile codepot.spec etc/Makefile etc/codepot.ini etc/codepot.a2ldap etc/codepot.httpd etc/pre-commit etc/start-commit etc/post-commit etc/pre-revprop-change etc/post-revprop-change sbin/Makefile sbin/codepot-user pecl-svn/Makefile DEBIAN/Makefile DEBIAN/control DEBIAN/postinst DEBIAN/postrm src/config.php src/codepot/config/Makefile src/codepot/controllers/Makefile src/codepot/errors/Makefile src/codepot/helpers/Makefile src/codepot/hooks/Makefile src/codepot/language/english/Makefile src/codepot/language/indonesian/Makefile src/codepot/language/korean/Makefile src/codepot/language/Makefile src/codepot/libraries/Makefile src/codepot/models/Makefile src/codepot/views/Makefile src/codepot/Makefile src/css/images/Makefile src/css/Makefile src/js/prettify/Makefile src/js/Makefile src/system/cache/Makefile src/system/codeigniter/Makefile src/system/database/drivers/mssql/Makefile src/system/database/drivers/mysql/Makefile src/system/database/drivers/mysqli/Makefile src/system/database/drivers/oci8/Makefile src/system/database/drivers/odbc/Makefile src/system/database/drivers/postgre/Makefile src/system/database/drivers/sqlite/Makefile src/system/database/drivers/Makefile src/system/database/Makefile src/system/fonts/Makefile src/system/helpers/Makefile src/system/language/english/Makefile src/system/language/korean/Makefile src/system/language/Makefile src/system/libraries/Makefile src/system/logs/Makefile src/system/plugins/Makefile src/system/scaffolding/images/Makefile src/system/scaffolding/views/Makefile src/system/scaffolding/Makefile src/system/Makefile src/Makefile"
|
||||||
|
|
||||||
cat >confcache <<\_ACEOF
|
cat >confcache <<\_ACEOF
|
||||||
# This file is a shell script that caches the results of configure
|
# This file is a shell script that caches the results of configure
|
||||||
@ -3695,7 +3776,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|||||||
# report actual input values of CONFIG_FILES etc. instead of their
|
# report actual input values of CONFIG_FILES etc. instead of their
|
||||||
# values after options handling.
|
# values after options handling.
|
||||||
ac_log="
|
ac_log="
|
||||||
This file was extended by codepot $as_me 0.1.2, which was
|
This file was extended by codepot $as_me 0.2.0, which was
|
||||||
generated by GNU Autoconf 2.69. Invocation command line was
|
generated by GNU Autoconf 2.69. Invocation command line was
|
||||||
|
|
||||||
CONFIG_FILES = $CONFIG_FILES
|
CONFIG_FILES = $CONFIG_FILES
|
||||||
@ -3751,14 +3832,14 @@ $config_files
|
|||||||
Configuration headers:
|
Configuration headers:
|
||||||
$config_headers
|
$config_headers
|
||||||
|
|
||||||
Report bugs to <Hyung-Hwan Chung <hyunghwan.chung@gmail.com>>.
|
Report bugs to the package provider.
|
||||||
codepot home page: <http://www.abiyo.net/codepot>."
|
codepot home page: <http://code.abiyo.net/@codepot>."
|
||||||
|
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||||
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
||||||
ac_cs_version="\\
|
ac_cs_version="\\
|
||||||
codepot config.status 0.1.2
|
codepot config.status 0.2.0
|
||||||
configured by $0, generated by GNU Autoconf 2.69,
|
configured by $0, generated by GNU Autoconf 2.69,
|
||||||
with options \\"\$ac_cs_config\\"
|
with options \\"\$ac_cs_config\\"
|
||||||
|
|
||||||
@ -3896,6 +3977,7 @@ do
|
|||||||
"etc/post-revprop-change") CONFIG_FILES="$CONFIG_FILES etc/post-revprop-change" ;;
|
"etc/post-revprop-change") CONFIG_FILES="$CONFIG_FILES etc/post-revprop-change" ;;
|
||||||
"sbin/Makefile") CONFIG_FILES="$CONFIG_FILES sbin/Makefile" ;;
|
"sbin/Makefile") CONFIG_FILES="$CONFIG_FILES sbin/Makefile" ;;
|
||||||
"sbin/codepot-user") CONFIG_FILES="$CONFIG_FILES sbin/codepot-user" ;;
|
"sbin/codepot-user") CONFIG_FILES="$CONFIG_FILES sbin/codepot-user" ;;
|
||||||
|
"pecl-svn/Makefile") CONFIG_FILES="$CONFIG_FILES pecl-svn/Makefile" ;;
|
||||||
"DEBIAN/Makefile") CONFIG_FILES="$CONFIG_FILES DEBIAN/Makefile" ;;
|
"DEBIAN/Makefile") CONFIG_FILES="$CONFIG_FILES DEBIAN/Makefile" ;;
|
||||||
"DEBIAN/control") CONFIG_FILES="$CONFIG_FILES DEBIAN/control" ;;
|
"DEBIAN/control") CONFIG_FILES="$CONFIG_FILES DEBIAN/control" ;;
|
||||||
"DEBIAN/postinst") CONFIG_FILES="$CONFIG_FILES DEBIAN/postinst" ;;
|
"DEBIAN/postinst") CONFIG_FILES="$CONFIG_FILES DEBIAN/postinst" ;;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
dnl AC_PREREQ(2.59)
|
dnl AC_PREREQ(2.59)
|
||||||
|
|
||||||
AC_INIT([codepot],[0.1.2],[Hyung-Hwan Chung <hyunghwan.chung@gmail.com>],,[http://www.abiyo.net/codepot])
|
AC_INIT([codepot],[0.2.0],,,[http://code.abiyo.net/@codepot])
|
||||||
AC_CONFIG_HEADER([./config.h])
|
AC_CONFIG_HEADER([./config.h])
|
||||||
AC_CONFIG_AUX_DIR([ac/aux])
|
AC_CONFIG_AUX_DIR([ac/aux])
|
||||||
AC_CONFIG_MACRO_DIR([ac/m4])
|
AC_CONFIG_MACRO_DIR([ac/m4])
|
||||||
@ -63,6 +63,22 @@ AC_ARG_WITH(cachedir,
|
|||||||
[cachedir=$withval])
|
[cachedir=$withval])
|
||||||
AC_SUBST(cachedir, $cachedir)
|
AC_SUBST(cachedir, $cachedir)
|
||||||
|
|
||||||
|
phpextdir="${libdir}/php/modules"
|
||||||
|
AC_ARG_WITH(phpextdir,
|
||||||
|
AC_HELP_STRING(
|
||||||
|
[--with-phpextdir],
|
||||||
|
[directory where a php extension file is stored]),
|
||||||
|
[phpextdir=$withval])
|
||||||
|
AC_SUBST(phpextdir, $phpextdir)
|
||||||
|
|
||||||
|
phpextinidir="${sysconfdir}/php.d"
|
||||||
|
AC_ARG_WITH(phpextinidir,
|
||||||
|
AC_HELP_STRING(
|
||||||
|
[--with-phpextinidir],
|
||||||
|
[directory where a php extension is enabled]),
|
||||||
|
[phpextinidir=$withval])
|
||||||
|
AC_SUBST(phpextinidir, $phpextinidir)
|
||||||
|
|
||||||
AS_AC_EXPAND(PREFIX, $prefix)
|
AS_AC_EXPAND(PREFIX, $prefix)
|
||||||
AS_AC_EXPAND(LIBDIR, $libdir)
|
AS_AC_EXPAND(LIBDIR, $libdir)
|
||||||
AS_AC_EXPAND(LIBEXECDIR, $libexecdir)
|
AS_AC_EXPAND(LIBEXECDIR, $libexecdir)
|
||||||
@ -74,11 +90,13 @@ AS_AC_EXPAND(LOCALSTATEDIR, $localstatedir)
|
|||||||
AS_AC_EXPAND(BINDIR, $bindir)
|
AS_AC_EXPAND(BINDIR, $bindir)
|
||||||
AS_AC_EXPAND(SBINDIR, $sbindir)
|
AS_AC_EXPAND(SBINDIR, $sbindir)
|
||||||
|
|
||||||
AS_AC_EXPAND(DEPOTDIR, $depotdir)
|
AS_AC_EXPAND(DEPOTDIR, $depotdir)
|
||||||
AS_AC_EXPAND(CFGDIR, $cfgdir)
|
AS_AC_EXPAND(CFGDIR, $cfgdir)
|
||||||
AS_AC_EXPAND(WWWDIR, $wwwdir)
|
AS_AC_EXPAND(WWWDIR, $wwwdir)
|
||||||
AS_AC_EXPAND(LOGDIR, $logdir)
|
AS_AC_EXPAND(LOGDIR, $logdir)
|
||||||
AS_AC_EXPAND(CACHEDIR, $cachedir)
|
AS_AC_EXPAND(CACHEDIR, $cachedir)
|
||||||
|
AS_AC_EXPAND(PHPEXTDIR, $phpextdir)
|
||||||
|
AS_AC_EXPAND(PHPEXTINIDIR, $phpextinidir)
|
||||||
|
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
@ -95,6 +113,7 @@ AC_CONFIG_FILES([
|
|||||||
etc/post-revprop-change
|
etc/post-revprop-change
|
||||||
sbin/Makefile
|
sbin/Makefile
|
||||||
sbin/codepot-user
|
sbin/codepot-user
|
||||||
|
pecl-svn/Makefile
|
||||||
DEBIAN/Makefile
|
DEBIAN/Makefile
|
||||||
DEBIAN/control
|
DEBIAN/control
|
||||||
DEBIAN/postinst
|
DEBIAN/postinst
|
||||||
|
@ -148,6 +148,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -191,6 +193,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -98,7 +98,7 @@ api_base_url = "http://127.0.0.1"
|
|||||||
svn_base_url = "${REQUEST_PROTOCOL}://${HTTP_HOST}/svn"
|
svn_base_url = "${REQUEST_PROTOCOL}://${HTTP_HOST}/svn"
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
; Login model to use.
|
; Login model to use. LdapLoginModel or DbLoginModel.
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
#login_model = "LdapLoginModel"
|
#login_model = "LdapLoginModel"
|
||||||
login_model = "DbLoginModel"
|
login_model = "DbLoginModel"
|
||||||
@ -203,7 +203,9 @@ signin_for_code_search = "yes"
|
|||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
; customized footer
|
; customized footer
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
; Leave this empty for the default footer message
|
; Leave this empty for the default footer message. You can use a HTML tag as
|
||||||
|
; well as a plain text. For example,
|
||||||
|
; footer = "<u>Code Repository</u>"
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
footer = ""
|
footer = ""
|
||||||
|
|
||||||
@ -214,6 +216,13 @@ footer = ""
|
|||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
cloc_command_path = "@CFGDIR@/cloc.pl"
|
cloc_command_path = "@CFGDIR@/cloc.pl"
|
||||||
|
|
||||||
|
;------------------------------------------------------------------------------
|
||||||
|
; List of README files to show in the code folder view.
|
||||||
|
; The first file found is shown. You can specify multiple file name
|
||||||
|
; separated by a comma.
|
||||||
|
;------------------------------------------------------------------------------
|
||||||
|
code_folder_readme = "README.wiki,README.txt,README"
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
; Subversion read access is limited to the specified user type. The types
|
; Subversion read access is limited to the specified user type. The types
|
||||||
; include anonymous, authenticated, member. This applies to a public project
|
; include anonymous, authenticated, member. This applies to a public project
|
||||||
@ -240,8 +249,7 @@ svn_restriction_allowed_subdir_depth_min = 0
|
|||||||
svn_restriction_allowed_subdir_depth_max = 0
|
svn_restriction_allowed_subdir_depth_max = 0
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
; List of README files to show in the code folder view.
|
; Command separated list of user names who can execute /usr/sbin/codepot-user.
|
||||||
; The first file found is shown. You can specify multiple file name
|
; Set it to an empty string to allow all users.
|
||||||
; separated by a comma.
|
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
code_folder_readme = "README.wiki,README.txt,README";
|
codepot_user_executor = "root"
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
-- ---------------------------------------------------------
|
||||||
USE codepot;
|
-- This file is the Codepot database schema file for MySQL.
|
||||||
|
-- Note this file doesn't mandate which database to use.
|
||||||
|
-- ---------------------------------------------------------
|
||||||
|
|
||||||
CREATE TABLE site (
|
CREATE TABLE site (
|
||||||
id VARCHAR(32) PRIMARY KEY,
|
id VARCHAR(32) PRIMARY KEY,
|
||||||
|
2
codepot/pecl-svn/CREDITS
Executable file
2
codepot/pecl-svn/CREDITS
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
svn
|
||||||
|
Alan Knowles, Wez Furlong, Scott MacVicar
|
0
codepot/pecl-svn/EXPERIMENTAL
Executable file
0
codepot/pecl-svn/EXPERIMENTAL
Executable file
22
codepot/pecl-svn/Makefile.am
Normal file
22
codepot/pecl-svn/Makefile.am
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
EXTRA_DIST = config.m4 svn.c php_svn.h svn.ini
|
||||||
|
|
||||||
|
all-local:
|
||||||
|
mkdir -p @abs_builddir@/pecl
|
||||||
|
cp -pf @abs_srcdir@/svn.c @abs_builddir@/pecl/
|
||||||
|
cp -pf @abs_srcdir@/php_svn.h @abs_builddir@/pecl/
|
||||||
|
cp -pf @abs_srcdir@/config.m4 @abs_builddir@/pecl/
|
||||||
|
cd @abs_builddir@/pecl/; phpize
|
||||||
|
cd @abs_builddir@/pecl/; ./configure
|
||||||
|
cd @abs_builddir@/pecl/; make
|
||||||
|
|
||||||
|
clean-local:
|
||||||
|
-rm -rf @abs_builddir@/pecl
|
||||||
|
|
||||||
|
install-exec-hook:
|
||||||
|
$(INSTALL) -D @abs_builddir@/pecl/.libs/svn.so $(DESTDIR)@PHPEXTDIR@/svn.so
|
||||||
|
|
||||||
|
install-data-hook:
|
||||||
|
$(INSTALL) -D @abs_srcdir@/svn.ini $(DESTDIR)@PHPEXTINIDIR@/svn.ini
|
||||||
|
|
||||||
|
uninstall-hook:
|
||||||
|
-rm -f @PHPEXTDIR@/svn.so $(DESTDIR)@PHPEXTINIDIR@/svn.ini
|
384
codepot/pecl-svn/Makefile.in
Normal file
384
codepot/pecl-svn/Makefile.in
Normal file
@ -0,0 +1,384 @@
|
|||||||
|
# Makefile.in generated by automake 1.11.6 from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||||
|
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
|
||||||
|
# Foundation, Inc.
|
||||||
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||||
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
VPATH = @srcdir@
|
||||||
|
am__make_dryrun = \
|
||||||
|
{ \
|
||||||
|
am__dry=no; \
|
||||||
|
case $$MAKEFLAGS in \
|
||||||
|
*\\[\ \ ]*) \
|
||||||
|
echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
|
||||||
|
| grep '^AM OK$$' >/dev/null || am__dry=yes;; \
|
||||||
|
*) \
|
||||||
|
for am__flg in $$MAKEFLAGS; do \
|
||||||
|
case $$am__flg in \
|
||||||
|
*=*|--*) ;; \
|
||||||
|
*n*) am__dry=yes; break;; \
|
||||||
|
esac; \
|
||||||
|
done;; \
|
||||||
|
esac; \
|
||||||
|
test $$am__dry = yes; \
|
||||||
|
}
|
||||||
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
|
install_sh_DATA = $(install_sh) -c -m 644
|
||||||
|
install_sh_PROGRAM = $(install_sh) -c
|
||||||
|
install_sh_SCRIPT = $(install_sh) -c
|
||||||
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
|
transform = $(program_transform_name)
|
||||||
|
NORMAL_INSTALL = :
|
||||||
|
PRE_INSTALL = :
|
||||||
|
POST_INSTALL = :
|
||||||
|
NORMAL_UNINSTALL = :
|
||||||
|
PRE_UNINSTALL = :
|
||||||
|
POST_UNINSTALL = :
|
||||||
|
subdir = pecl-svn
|
||||||
|
DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in TODO
|
||||||
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
|
am__aclocal_m4_deps = $(top_srcdir)/ac/m4/as-ac-expand.m4 \
|
||||||
|
$(top_srcdir)/configure.ac
|
||||||
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||||
|
$(ACLOCAL_M4)
|
||||||
|
mkinstalldirs = $(install_sh) -d
|
||||||
|
CONFIG_HEADER = $(top_builddir)/./config.h
|
||||||
|
CONFIG_CLEAN_FILES =
|
||||||
|
CONFIG_CLEAN_VPATH_FILES =
|
||||||
|
SOURCES =
|
||||||
|
DIST_SOURCES =
|
||||||
|
am__can_run_installinfo = \
|
||||||
|
case $$AM_UPDATE_INFO_DIR in \
|
||||||
|
n|no|NO) false;; \
|
||||||
|
*) (install-info --version) >/dev/null 2>&1;; \
|
||||||
|
esac
|
||||||
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
ACLOCAL = @ACLOCAL@
|
||||||
|
AMTAR = @AMTAR@
|
||||||
|
AUTOCONF = @AUTOCONF@
|
||||||
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
AUTOMAKE = @AUTOMAKE@
|
||||||
|
AWK = @AWK@
|
||||||
|
BINDIR = @BINDIR@
|
||||||
|
CACHEDIR = @CACHEDIR@
|
||||||
|
CFGDIR = @CFGDIR@
|
||||||
|
CYGPATH_W = @CYGPATH_W@
|
||||||
|
DATADIR = @DATADIR@
|
||||||
|
DATAROOTDIR = @DATAROOTDIR@
|
||||||
|
DEFS = @DEFS@
|
||||||
|
DEPOTDIR = @DEPOTDIR@
|
||||||
|
DOCDIR = @DOCDIR@
|
||||||
|
ECHO_C = @ECHO_C@
|
||||||
|
ECHO_N = @ECHO_N@
|
||||||
|
ECHO_T = @ECHO_T@
|
||||||
|
GREP = @GREP@
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
|
LD = @LD@
|
||||||
|
LIBDIR = @LIBDIR@
|
||||||
|
LIBEXECDIR = @LIBEXECDIR@
|
||||||
|
LIBOBJS = @LIBOBJS@
|
||||||
|
LIBS = @LIBS@
|
||||||
|
LOCALSTATEDIR = @LOCALSTATEDIR@
|
||||||
|
LOGDIR = @LOGDIR@
|
||||||
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
|
MAKEINFO = @MAKEINFO@
|
||||||
|
MKDIR_P = @MKDIR_P@
|
||||||
|
PACKAGE = @PACKAGE@
|
||||||
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||||
|
PACKAGE_NAME = @PACKAGE_NAME@
|
||||||
|
PACKAGE_STRING = @PACKAGE_STRING@
|
||||||
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||||
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
|
PREFIX = @PREFIX@
|
||||||
|
RM = @RM@
|
||||||
|
RMDIR = @RMDIR@
|
||||||
|
SBINDIR = @SBINDIR@
|
||||||
|
SED = @SED@
|
||||||
|
SET_MAKE = @SET_MAKE@
|
||||||
|
SHELL = @SHELL@
|
||||||
|
STRIP = @STRIP@
|
||||||
|
SYSCONFDIR = @SYSCONFDIR@
|
||||||
|
VERSION = @VERSION@
|
||||||
|
WWWDIR = @WWWDIR@
|
||||||
|
abs_builddir = @abs_builddir@
|
||||||
|
abs_srcdir = @abs_srcdir@
|
||||||
|
abs_top_builddir = @abs_top_builddir@
|
||||||
|
abs_top_srcdir = @abs_top_srcdir@
|
||||||
|
am__leading_dot = @am__leading_dot@
|
||||||
|
am__tar = @am__tar@
|
||||||
|
am__untar = @am__untar@
|
||||||
|
bindir = @bindir@
|
||||||
|
build_alias = @build_alias@
|
||||||
|
builddir = @builddir@
|
||||||
|
cachedir = @cachedir@
|
||||||
|
cfgdir = @cfgdir@
|
||||||
|
datadir = @datadir@
|
||||||
|
datarootdir = @datarootdir@
|
||||||
|
depotdir = @depotdir@
|
||||||
|
docdir = @docdir@
|
||||||
|
dvidir = @dvidir@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
host_alias = @host_alias@
|
||||||
|
htmldir = @htmldir@
|
||||||
|
includedir = @includedir@
|
||||||
|
infodir = @infodir@
|
||||||
|
install_sh = @install_sh@
|
||||||
|
libdir = @libdir@
|
||||||
|
libexecdir = @libexecdir@
|
||||||
|
localedir = @localedir@
|
||||||
|
localstatedir = @localstatedir@
|
||||||
|
logdir = @logdir@
|
||||||
|
mandir = @mandir@
|
||||||
|
mkdir_p = @mkdir_p@
|
||||||
|
oldincludedir = @oldincludedir@
|
||||||
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
|
prefix = @prefix@
|
||||||
|
program_transform_name = @program_transform_name@
|
||||||
|
psdir = @psdir@
|
||||||
|
sbindir = @sbindir@
|
||||||
|
sharedstatedir = @sharedstatedir@
|
||||||
|
srcdir = @srcdir@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
target_alias = @target_alias@
|
||||||
|
top_build_prefix = @top_build_prefix@
|
||||||
|
top_builddir = @top_builddir@
|
||||||
|
top_srcdir = @top_srcdir@
|
||||||
|
wwwdir = @wwwdir@
|
||||||
|
EXTRA_DIST = config.m4 svn.c php_svn.h svn.ini
|
||||||
|
all: all-am
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||||
|
@for dep in $?; do \
|
||||||
|
case '$(am__configure_deps)' in \
|
||||||
|
*$$dep*) \
|
||||||
|
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||||
|
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||||
|
exit 1;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign pecl-svn/Makefile'; \
|
||||||
|
$(am__cd) $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign pecl-svn/Makefile
|
||||||
|
.PRECIOUS: Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
@case '$?' in \
|
||||||
|
*config.status*) \
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||||
|
*) \
|
||||||
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||||
|
esac;
|
||||||
|
|
||||||
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
|
|
||||||
|
$(top_srcdir)/configure: $(am__configure_deps)
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
|
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
|
$(am__aclocal_m4_deps):
|
||||||
|
tags: TAGS
|
||||||
|
TAGS:
|
||||||
|
|
||||||
|
ctags: CTAGS
|
||||||
|
CTAGS:
|
||||||
|
|
||||||
|
|
||||||
|
distdir: $(DISTFILES)
|
||||||
|
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||||
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||||
|
list='$(DISTFILES)'; \
|
||||||
|
dist_files=`for file in $$list; do echo $$file; done | \
|
||||||
|
sed -e "s|^$$srcdirstrip/||;t" \
|
||||||
|
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||||
|
case $$dist_files in \
|
||||||
|
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||||
|
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||||
|
sort -u` ;; \
|
||||||
|
esac; \
|
||||||
|
for file in $$dist_files; do \
|
||||||
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
if test -d $$d/$$file; then \
|
||||||
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test -d "$(distdir)/$$file"; then \
|
||||||
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||||
|
fi; \
|
||||||
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||||
|
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||||
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||||
|
fi; \
|
||||||
|
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||||
|
else \
|
||||||
|
test -f "$(distdir)/$$file" \
|
||||||
|
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||||
|
|| exit 1; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
|
check-am: all-am
|
||||||
|
check: check-am
|
||||||
|
all-am: Makefile all-local
|
||||||
|
installdirs:
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
|
install-am: all-am
|
||||||
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
|
|
||||||
|
installcheck: installcheck-am
|
||||||
|
install-strip:
|
||||||
|
if test -z '$(STRIP)'; then \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||||
|
install; \
|
||||||
|
else \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||||
|
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||||
|
fi
|
||||||
|
mostlyclean-generic:
|
||||||
|
|
||||||
|
clean-generic:
|
||||||
|
|
||||||
|
distclean-generic:
|
||||||
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||||
|
|
||||||
|
maintainer-clean-generic:
|
||||||
|
@echo "This command is intended for maintainers to use"
|
||||||
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
clean: clean-am
|
||||||
|
|
||||||
|
clean-am: clean-generic clean-local mostlyclean-am
|
||||||
|
|
||||||
|
distclean: distclean-am
|
||||||
|
-rm -f Makefile
|
||||||
|
distclean-am: clean-am distclean-generic
|
||||||
|
|
||||||
|
dvi: dvi-am
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
html: html-am
|
||||||
|
|
||||||
|
html-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am:
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-data-hook
|
||||||
|
install-dvi: install-dvi-am
|
||||||
|
|
||||||
|
install-dvi-am:
|
||||||
|
|
||||||
|
install-exec-am:
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
||||||
|
install-html: install-html-am
|
||||||
|
|
||||||
|
install-html-am:
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-info-am:
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
install-pdf: install-pdf-am
|
||||||
|
|
||||||
|
install-pdf-am:
|
||||||
|
|
||||||
|
install-ps: install-ps-am
|
||||||
|
|
||||||
|
install-ps-am:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
|
maintainer-clean: maintainer-clean-am
|
||||||
|
-rm -f Makefile
|
||||||
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
|
|
||||||
|
mostlyclean: mostlyclean-am
|
||||||
|
|
||||||
|
mostlyclean-am: mostlyclean-generic
|
||||||
|
|
||||||
|
pdf: pdf-am
|
||||||
|
|
||||||
|
pdf-am:
|
||||||
|
|
||||||
|
ps: ps-am
|
||||||
|
|
||||||
|
ps-am:
|
||||||
|
|
||||||
|
uninstall-am:
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
|
||||||
|
.MAKE: install-am install-data-am install-exec-am install-strip \
|
||||||
|
uninstall-am
|
||||||
|
|
||||||
|
.PHONY: all all-am all-local check check-am clean clean-generic \
|
||||||
|
clean-local distclean distclean-generic distdir dvi dvi-am \
|
||||||
|
html html-am info info-am install install-am install-data \
|
||||||
|
install-data-am install-data-hook install-dvi install-dvi-am \
|
||||||
|
install-exec install-exec-am install-exec-hook install-html \
|
||||||
|
install-html-am install-info install-info-am install-man \
|
||||||
|
install-pdf install-pdf-am install-ps install-ps-am \
|
||||||
|
install-strip installcheck installcheck-am installdirs \
|
||||||
|
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||||
|
mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
|
||||||
|
uninstall-hook
|
||||||
|
|
||||||
|
|
||||||
|
all-local:
|
||||||
|
mkdir -p @abs_builddir@/pecl
|
||||||
|
cp -pf @abs_srcdir@/svn.c @abs_builddir@/pecl/
|
||||||
|
cp -pf @abs_srcdir@/php_svn.h @abs_builddir@/pecl/
|
||||||
|
cp -pf @abs_srcdir@/config.m4 @abs_builddir@/pecl/
|
||||||
|
cd @abs_builddir@/pecl/; phpize
|
||||||
|
cd @abs_builddir@/pecl/; ./configure
|
||||||
|
cd @abs_builddir@/pecl/; make
|
||||||
|
|
||||||
|
clean-local:
|
||||||
|
-rm -rf @abs_builddir@/pecl
|
||||||
|
|
||||||
|
install-exec-hook:
|
||||||
|
$(INSTALL) -D @abs_builddir@/pecl/.libs/svn.so $(DESTDIR)@PHPEXTDIR@/svn.so
|
||||||
|
|
||||||
|
install-data-hook:
|
||||||
|
$(INSTALL) -D @abs_srcdir@/svn.ini $(DESTDIR)@PHPEXTINIDIR@/svn.ini
|
||||||
|
|
||||||
|
uninstall-hook:
|
||||||
|
-rm -f @PHPEXTDIR@/svn.so $(DESTDIR)@PHPEXTINIDIR@/svn.ini
|
||||||
|
|
||||||
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
|
.NOEXPORT:
|
9
codepot/pecl-svn/README
Normal file
9
codepot/pecl-svn/README
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
This directory contains the source code of the PECL Subversion module.
|
||||||
|
The whole directory has been checked out using the following command
|
||||||
|
except the 'tests' subdirectory.
|
||||||
|
|
||||||
|
svn checkout -r 333800 http://svn.php.net/repository/pecl/svn/trunk pecl-svn
|
||||||
|
|
||||||
|
I include this PHP extension as its package which is new enough to support
|
||||||
|
Codepot is not widely available on many Linux distros. Codepot requires
|
||||||
|
pecl-svn r333800 at least.
|
12
codepot/pecl-svn/TODO
Normal file
12
codepot/pecl-svn/TODO
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Functions that need to be added:
|
||||||
|
svn_merge
|
||||||
|
svn_propset
|
||||||
|
svn_url_from_path
|
||||||
|
svn_uuid_from_url
|
||||||
|
svn_uuid_from_path
|
||||||
|
|
||||||
|
|
||||||
|
New 1.5 functions that need to be added:
|
||||||
|
svn_add_to_changelist
|
||||||
|
svn_get_changelists
|
||||||
|
svn_remove_from_changelists
|
88
codepot/pecl-svn/config.m4
Executable file
88
codepot/pecl-svn/config.m4
Executable file
@ -0,0 +1,88 @@
|
|||||||
|
dnl $Id: config.m4 263540 2008-07-25 12:41:27Z tony2001 $
|
||||||
|
dnl config.m4 for extension svn
|
||||||
|
dnl vim:se ts=2 sw=2 et:
|
||||||
|
|
||||||
|
PHP_ARG_WITH(svn, for svn support,
|
||||||
|
|
||||||
|
[ --with-svn=[/path/to/svn-prefix] Include svn support])
|
||||||
|
|
||||||
|
PHP_ARG_WITH(svn-apr, for specifying the location of apr for svn,
|
||||||
|
|
||||||
|
[ --with-svn-apr=[/path/to/apr-prefix] Location of apr-1-config / apr-config])
|
||||||
|
|
||||||
|
|
||||||
|
if test "$PHP_SVN" != "no"; then
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([for svn includes])
|
||||||
|
for i in $PHP_SVN /usr/local /usr /opt /sw; do
|
||||||
|
if test -r $i/include/subversion-1/svn_client.h ; then
|
||||||
|
SVN_DIR=$i/include/subversion-1
|
||||||
|
PHP_SVN_INCLUDES="-I$SVN_DIR"
|
||||||
|
PHP_SVN_LDFLAGS="-lsvn_client-1 -lsvn_fs-1 -lsvn_repos-1 -lsvn_subr-1"
|
||||||
|
SVN_VER_MAJOR=`grep '#define SVN_VER_MAJOR' $SVN_DIR/svn_version.h|$SED 's/#define SVN_VER_MAJOR[ \t]*//;s/[ \t]*$//'`
|
||||||
|
SVN_VER_MINOR=`grep '#define SVN_VER_MINOR' $SVN_DIR/svn_version.h|$SED 's/#define SVN_VER_MINOR[ \t]*//;s/[ \t]*$//'`
|
||||||
|
SVN_VER_PATCH=`grep '#define SVN_VER_PATCH' $SVN_DIR/svn_version.h|$SED 's/#define SVN_VER_PATCH[ \t]*//;s/[ \t]*$//'`
|
||||||
|
AC_MSG_RESULT(Found libsvn $SVN_VER_MAJOR.$SVN_VER_MINOR.$SVN_VER_PATCH)
|
||||||
|
break;
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if test "$PHP_SVN_LDFLAGS" = ""; then
|
||||||
|
AC_MSG_ERROR([failed to find svn_client.h])
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl check SVN version, we need at least 1.3
|
||||||
|
if test "$SVN_VER_MAJOR" -le 1 -a "$SVN_VER_MINOR" -le 3; then
|
||||||
|
AC_MSG_ERROR([minimum libsvn is 1.3])
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([for apr and apr-util])
|
||||||
|
for i in $PHP_SVN_APR $PHP_SVN /usr/local /usr /opt /sw; do
|
||||||
|
dnl APR 1.0 tests
|
||||||
|
if test -r $i/bin/apr-1-config ; then
|
||||||
|
apr_config_path="$i/bin/apr-1-config"
|
||||||
|
break;
|
||||||
|
elif test -r $i/apache2/bin/apr-1-config ; then
|
||||||
|
apr_config_path="$i/apache2/bin/apr-1-config"
|
||||||
|
break;
|
||||||
|
elif test -r $i/apache/bin/apr-1-config ; then
|
||||||
|
apr_config_path="$i/apache/bin/apr-1-config"
|
||||||
|
break;
|
||||||
|
dnl APR 0.9 tests
|
||||||
|
elif test -r $i/bin/apr-config ; then
|
||||||
|
apr_config_path="$i/bin/apr-config"
|
||||||
|
break;
|
||||||
|
elif test -r $i/apache2/bin/apr-config ; then
|
||||||
|
apr_config_path="$i/apache2/bin/apr-config"
|
||||||
|
break;
|
||||||
|
elif test -r $i/apache/bin/apr-config ; then
|
||||||
|
apr_config_path="$i/apache/bin/apr-config"
|
||||||
|
break;
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if test "$apr_config_path" = ""; then
|
||||||
|
AC_MSG_ERROR([failed to find apr-config / apr-1-config])
|
||||||
|
fi
|
||||||
|
|
||||||
|
APR_VERSION=`$apr_config_path --version`
|
||||||
|
APR_INCLUDES=`$apr_config_path --includes --cppflags`
|
||||||
|
APR_LDFLAGS=`$apr_config_path --link-ld`
|
||||||
|
|
||||||
|
AC_MSG_RESULT(Found apr $APR_VERSION)
|
||||||
|
|
||||||
|
PHP_SVN_INCLUDES="$PHP_SVN_INCLUDES $APR_INCLUDES"
|
||||||
|
PHP_SVN_LDFLAGS="$PHP_SVN_LDFLAGS $APR_LDFLAGS"
|
||||||
|
|
||||||
|
echo libsvn includes: \"$PHP_SVN_INCLUDES\"
|
||||||
|
echo libsvn ldflags: \"$PHP_SVN_LDFLAGS\"
|
||||||
|
|
||||||
|
AC_DEFINE(HAVE_SVNLIB,1,[ ])
|
||||||
|
|
||||||
|
INCLUDES="$INCLUDES $PHP_SVN_INCLUDES"
|
||||||
|
|
||||||
|
PHP_EVAL_LIBLINE($PHP_SVN_LDFLAGS, SVN_SHARED_LIBADD)
|
||||||
|
PHP_SUBST(SVN_SHARED_LIBADD)
|
||||||
|
|
||||||
|
PHP_NEW_EXTENSION(svn, svn.c, $ext_shared,,$PHP_SVN_INCLUDES)
|
||||||
|
fi
|
40
codepot/pecl-svn/config.w32
Executable file
40
codepot/pecl-svn/config.w32
Executable file
@ -0,0 +1,40 @@
|
|||||||
|
// $Id: config.w32 257431 2008-04-14 06:10:46Z alan_k $
|
||||||
|
// vim:ft=javascript
|
||||||
|
|
||||||
|
|
||||||
|
ARG_WITH("svn", "for svn support", "no");
|
||||||
|
|
||||||
|
if (PHP_SVN != "no") {
|
||||||
|
if (CHECK_LIB("libsvn_client-1.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn;" + PHP_SVN) &&
|
||||||
|
CHECK_LIB("libsvn_subr-1.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn;" + PHP_SVN) &&
|
||||||
|
CHECK_LIB("libsvn_wc-1.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn;" + PHP_SVN) &&
|
||||||
|
CHECK_LIB("libsvn_delta-1.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn;" + PHP_SVN) &&
|
||||||
|
CHECK_LIB("libsvn_diff-1.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn;" + PHP_SVN) &&
|
||||||
|
CHECK_LIB("libsvn_ra-1.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn;" + PHP_SVN) &&
|
||||||
|
CHECK_LIB("libsvn_ra_dav-1.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn;" + PHP_SVN) &&
|
||||||
|
CHECK_LIB("libsvn_ra_local-1.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn;" + PHP_SVN) &&
|
||||||
|
CHECK_LIB("libsvn_ra_svn-1.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn;" + PHP_SVN) &&
|
||||||
|
CHECK_LIB("libsvn_fs-1.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn;" + PHP_SVN) &&
|
||||||
|
CHECK_LIB("libsvn_fs_fs-1.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn;" + PHP_SVN) &&
|
||||||
|
CHECK_LIB("libsvn_fs_base-1.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn;" + PHP_SVN) &&
|
||||||
|
CHECK_LIB("libsvn_repos-1.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn;" + PHP_SVN) &&
|
||||||
|
CHECK_HEADER_ADD_INCLUDE("svn_client.h", "CFLAGS_SVN", PHP_PHP_BUILD + "\\include\\svn") &&
|
||||||
|
CHECK_HEADER_ADD_INCLUDE("libintl.h", "CFLAGS_SVN", PHP_PHP_BUILD + "\\include\\svn") &&
|
||||||
|
CHECK_HEADER_ADD_INCLUDE("apr.h", "CFLAGS_SVN", PHP_PHP_BUILD + "\\include\\svn\\apr") &&
|
||||||
|
CHECK_HEADER_ADD_INCLUDE("apr_xlate.h", "CFLAGS_SVN", PHP_PHP_BUILD + "\\include\\svn\\apr-util") &&
|
||||||
|
CHECK_LIB("intl3_svn.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn\\apr;" + PHP_SVN) &&
|
||||||
|
CHECK_LIB("libdb43.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn\\apr;" + PHP_SVN) &&
|
||||||
|
CHECK_LIB("libneon.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn\\neon;" + PHP_SVN) &&
|
||||||
|
(CHECK_LIB("libapr.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn\\apr;" + PHP_SVN) ||
|
||||||
|
CHECK_LIB("libapr-1.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn\\apr;" + PHP_SVN)) &&
|
||||||
|
(CHECK_LIB("libaprutil.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn\\apr-util;" + PHP_SVN) ||
|
||||||
|
CHECK_LIB("libaprutil-1.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn\\apr-util;" + PHP_SVN)) &&
|
||||||
|
CHECK_LIB("xml.lib", "svn", PHP_PHP_BUILD + "\\lib\\svn\\apr-util;" + PHP_SVN)
|
||||||
|
) {
|
||||||
|
EXTENSION("svn", "svn.c");
|
||||||
|
AC_DEFINE('HAVE_SVN', 1, 'Have Subversion library');
|
||||||
|
} else {
|
||||||
|
WARNING("svn not enabled; libraries and headers not found");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
108
codepot/pecl-svn/examples/hook_copycommit.php
Executable file
108
codepot/pecl-svn/examples/hook_copycommit.php
Executable file
@ -0,0 +1,108 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
example copy on commit hook script
|
||||||
|
usage:
|
||||||
|
php ..path..to..this..file.. hook_copycommit.php "$REPOS" "$REV" "/target/location" >> /tmp/svnlog
|
||||||
|
|
||||||
|
*/
|
||||||
|
dl('svn.so');
|
||||||
|
|
||||||
|
class Subversion_CopyCommit {
|
||||||
|
var $repos;
|
||||||
|
var $rev;
|
||||||
|
var $target; // where the copy goes
|
||||||
|
|
||||||
|
|
||||||
|
function start($args) {
|
||||||
|
print_r($args);
|
||||||
|
list( $cmd , $this->repos, $this->rev , $this->target ) = $args;
|
||||||
|
if (empty($this->target)) {
|
||||||
|
echo "NO TARGET !";exit;
|
||||||
|
}
|
||||||
|
if ($this->repos{0} == '/') {
|
||||||
|
$this->repos = 'file://'. $this->repos;
|
||||||
|
}
|
||||||
|
$this->rev = (int) $this->rev;
|
||||||
|
$ar = svn_log($this->repos, $this->rev, $this->rev-1, 0, SVN_DISCOVER_CHANGED_PATHS);
|
||||||
|
|
||||||
|
|
||||||
|
//print_R($ar);
|
||||||
|
foreach($ar[0]['paths'] as $action) {
|
||||||
|
$this->processAction($action);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function processAction($action)
|
||||||
|
{
|
||||||
|
$this->debug("Action: {$action['action']} on {$action['path']}");
|
||||||
|
switch($action['action']) {
|
||||||
|
case 'M': // modified
|
||||||
|
case 'A': // added.
|
||||||
|
|
||||||
|
/* how to handle moves?? */
|
||||||
|
|
||||||
|
// is it a file or directory?
|
||||||
|
if ($this->isDir($action['path'])) {
|
||||||
|
if (!file_exists($this->target . $action['path'])) {
|
||||||
|
require_once 'System.php';
|
||||||
|
System::mkdir(array('-p',$this->target . $action['path']));
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->writeFile($this->target.$action['path'],
|
||||||
|
svn_cat($this->repos . $action['path'],$this->rev)) ;
|
||||||
|
return;
|
||||||
|
|
||||||
|
case 'D': // deleted.
|
||||||
|
if (file_exists($this->target . $action['path'])) {
|
||||||
|
require_once 'System.php';
|
||||||
|
System::rm($this->target . $action['path']);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
|
||||||
|
case 'R': // replaced????
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var $dircache = array();
|
||||||
|
|
||||||
|
function isDir($path)
|
||||||
|
{
|
||||||
|
if (!isset($this->dircache[dirname($path)])) {
|
||||||
|
echo "SVN:LS ".$this->repos.dirname($path) ."\n";
|
||||||
|
$p = strlen(dirname($path)) > 1 ? dirname($path) : '';
|
||||||
|
$this->dircache[dirname($path)]= svn_ls($this->repos.$p,$this->rev);
|
||||||
|
}
|
||||||
|
$ar= $this->dircache[dirname($path)];
|
||||||
|
//print_r($ar);
|
||||||
|
$match = basename($path);
|
||||||
|
foreach($ar as $info) {
|
||||||
|
if ($info['name'] != $match) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
return $info['type'] == 'dir';
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
function writeFile($target,$data)
|
||||||
|
{
|
||||||
|
if (!file_exists(dirname($target))) {
|
||||||
|
require_once 'System.php';
|
||||||
|
System::mkdir(array('-p', dirname($target)));
|
||||||
|
}
|
||||||
|
$fh = fopen($target,'w');
|
||||||
|
fwrite($fh, $data);
|
||||||
|
fclose($fh);
|
||||||
|
}
|
||||||
|
|
||||||
|
function debug($str)
|
||||||
|
{
|
||||||
|
echo $str."\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
ini_set('memory_limit','64M');
|
||||||
|
$x = new Subversion_CopyCommit;
|
||||||
|
$x->start($_SERVER['argv']);
|
157
codepot/pecl-svn/examples/hook_emailcommit.php
Executable file
157
codepot/pecl-svn/examples/hook_emailcommit.php
Executable file
@ -0,0 +1,157 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
example email on commit hook script
|
||||||
|
usage:
|
||||||
|
php ..path..to..this..file../hook_emailcommit.php "$REPOS" "$REV" who@gets.it >> /tmp/svnlog
|
||||||
|
|
||||||
|
Features:
|
||||||
|
- emails diff to email address
|
||||||
|
- adds error messages if it's a PHP file.
|
||||||
|
- sends popup messages to author on errors (using /hooks/popup.ini)
|
||||||
|
(use www.realpoup.it for winxp boxes)
|
||||||
|
|
||||||
|
TODO:
|
||||||
|
- write bindings for diff so that it doesnt have to use the command line..
|
||||||
|
|
||||||
|
|
||||||
|
*/
|
||||||
|
dl('svn.so');
|
||||||
|
|
||||||
|
class Subversion_EmailCommit {
|
||||||
|
|
||||||
|
var $repos;
|
||||||
|
var $rev;
|
||||||
|
var $email; //who gets the commit messages.
|
||||||
|
|
||||||
|
function start($args) {
|
||||||
|
print_r($args);
|
||||||
|
list( $cmd , $this->repos, $this->rev , $this->email ) = $args;
|
||||||
|
|
||||||
|
if ($this->repos{0} == '/') {
|
||||||
|
$this->repos = $this->repos = 'file://'. $this->repos;
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->rev = (int) $this->rev;
|
||||||
|
$last = $this->rev -1 ;
|
||||||
|
// techncially where the diff is!?
|
||||||
|
require_once 'System.php';
|
||||||
|
$svn = System::which('svn','/usr/bin/svn');
|
||||||
|
|
||||||
|
$cmd = "$svn diff -r{$last}:{$this->rev} $this->repos";
|
||||||
|
$this->log = svn_log($this->repos, $this->rev, $this->rev-1, 0, SVN_DISCOVER_CHANGED_PATHS);
|
||||||
|
|
||||||
|
$syntax = $this->checkSyntax();
|
||||||
|
//echo $cmd;
|
||||||
|
|
||||||
|
|
||||||
|
$diff = `$cmd`;
|
||||||
|
$diff = $this->log[0]['msg'] ."\n\n". $diff;
|
||||||
|
|
||||||
|
|
||||||
|
if ($syntax) {
|
||||||
|
$diff = $syntax ."\n\n". $diff;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$bits = explode('@', $this->email);
|
||||||
|
|
||||||
|
$headers['From'] = "{$this->log[0]['author']} <{$this->log[0]['author']}@{$bits[1]}>";
|
||||||
|
$headers['To'] = $this->email;
|
||||||
|
$headers['Subject'] = "[SVN {$bits[1]}] ".
|
||||||
|
($syntax ? "ERROR!" : "") .
|
||||||
|
$this->getFilenames() . " ({$this->rev})";
|
||||||
|
|
||||||
|
$headers['Date'] = date('r');
|
||||||
|
$headers['X-Mailer'] = 'svn hook';
|
||||||
|
// Create the mail object using the Mail::factory method
|
||||||
|
require_once 'Mail.php';
|
||||||
|
$mail_object =& Mail::factory('smtp', $params);
|
||||||
|
$mail_object->send($this->email, $headers, $diff);
|
||||||
|
|
||||||
|
$this->sendPopup($syntax);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function sendPopup($syntax) {
|
||||||
|
if (!$syntax) {
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (substr($this->repos,0,strlen("file://")) != "file://") {
|
||||||
|
// echo "repos is not file://";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
$file = substr($this->repos,strlen("file://")) . '/hooks/popup.ini';
|
||||||
|
if (!file_exists($file)) {
|
||||||
|
// echo "$file does not exist";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
$ar = parse_ini_file($file);
|
||||||
|
//print_r($ar);
|
||||||
|
if (!isset($ar[$this->log[0]['author']])) {
|
||||||
|
// no ip for this author.
|
||||||
|
echo "no match for author";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
$ip = $ar[$this->log[0]['author']];
|
||||||
|
$cmd = "/usr/bin/smbclient -M {$this->log[0]['author']} -I {$ip}";
|
||||||
|
//echo $cmd;
|
||||||
|
$fh = popen($cmd,'w');
|
||||||
|
fwrite($fh, $data);
|
||||||
|
// end
|
||||||
|
fwrite($fh,chr(04));
|
||||||
|
fclose($fh);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function checkSyntax()
|
||||||
|
{
|
||||||
|
$ret = '';
|
||||||
|
$ar = $this->log;
|
||||||
|
foreach($ar[0]['paths'] as $action) {
|
||||||
|
if (!in_array($action['action'],array('M','A'))) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if (!preg_match('#\.php$#', $action['path'])) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
$tmp = ini_get('session.save_path') . '/'.uniqid('tmp_php.').'.php';
|
||||||
|
|
||||||
|
$this->writeFile($tmp ,
|
||||||
|
svn_cat($this->repos . $action['path'],$this->rev));
|
||||||
|
|
||||||
|
$data = $data = `/usr/bin/php -l $tmp`;
|
||||||
|
unlink($tmp);
|
||||||
|
if (preg_match('/^No syntax errors/',$data)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
$ret .= "Error in {$action['path']}\n".$data;
|
||||||
|
}
|
||||||
|
return strlen($ret) ? $ret : false;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function writeFile($target,$data)
|
||||||
|
{
|
||||||
|
$fh = fopen($target,'w');
|
||||||
|
fwrite($fh, $data);
|
||||||
|
fclose($fh);
|
||||||
|
}
|
||||||
|
|
||||||
|
function getFileNames()
|
||||||
|
{
|
||||||
|
$ar = $this->log;
|
||||||
|
if (count($ar[0]['paths']) > 1) {
|
||||||
|
return "Multiple Files";
|
||||||
|
}
|
||||||
|
return $ar[0]['paths'][0]['path'];
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
ini_set('memory_limit','64M');
|
||||||
|
$x = new Subversion_EmailCommit;
|
||||||
|
$x->start($_SERVER['argv']);
|
350
codepot/pecl-svn/package.xml
Normal file
350
codepot/pecl-svn/package.xml
Normal file
@ -0,0 +1,350 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<package xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packagerversion="1.4.7" version="2.0" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
|
||||||
|
<name>svn</name>
|
||||||
|
<channel>pecl.php.net</channel>
|
||||||
|
<summary>PHP Bindings for the Subversion Revision control system.</summary>
|
||||||
|
|
||||||
|
<description>
|
||||||
|
Bindings for the Subversion revision control system, providing a method for manipulating
|
||||||
|
a working copy or repository with PHP.
|
||||||
|
</description>
|
||||||
|
<lead>
|
||||||
|
<name>Scott MacVicar</name>
|
||||||
|
<user>scottmac</user>
|
||||||
|
<email>scottmac@php.net</email>
|
||||||
|
<active>yes</active>
|
||||||
|
</lead>
|
||||||
|
|
||||||
|
<lead>
|
||||||
|
<name>Alan Knowles</name>
|
||||||
|
<user>alan_k</user>
|
||||||
|
<email>alan@akbkhome.com</email>
|
||||||
|
<active>yes</active>
|
||||||
|
</lead>
|
||||||
|
|
||||||
|
<lead>
|
||||||
|
<name>Wez Furlong</name>
|
||||||
|
<user>wez</user>
|
||||||
|
<email>wez@omniti.com</email>
|
||||||
|
<active>no</active>
|
||||||
|
</lead>
|
||||||
|
|
||||||
|
<!-- RELEASE SECTION -->
|
||||||
|
<date>2010-12-09</date>
|
||||||
|
<version>
|
||||||
|
<release>1.0.2</release>
|
||||||
|
<api>1.0.0</api>
|
||||||
|
</version>
|
||||||
|
|
||||||
|
<stability>
|
||||||
|
<release>stable</release>
|
||||||
|
<api>stable</api>
|
||||||
|
</stability>
|
||||||
|
|
||||||
|
<license uri="http://www.php.net/license">PHP License</license>
|
||||||
|
|
||||||
|
<notes>
|
||||||
|
Minor bug fix / feature release
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
#60583 - compile failing due to missing definition of svn_version_t in newer releases of libsvn
|
||||||
|
#59976 (svn build fails on PHP5.4)
|
||||||
|
#15505 - warning on errors
|
||||||
|
------ support for peg revisions in checkout, ls, log, blame, info, proplist, propget
|
||||||
|
extra error checks in checkout - thanks to Hyung-Hwan Chung
|
||||||
|
#22758 - support specifying revision in svn_copy (he dot chen at zte dot com dot cn)
|
||||||
|
#23649 - allow deletion of properties by using NULL as value (patch by Jonas Zeiger)
|
||||||
|
#22754 - add support for svn_delete
|
||||||
|
#22100 - segfault on shutdown when using multiple repositories - patch by jimmy at velsoft
|
||||||
|
|
||||||
|
|
||||||
|
</notes>
|
||||||
|
<!-- /RELEASE SECTION -->
|
||||||
|
|
||||||
|
|
||||||
|
<contents>
|
||||||
|
<dir name="/">
|
||||||
|
<dir name="examples">
|
||||||
|
<file baseinstalldir="/" name="hook_copycommit.php" role="doc" />
|
||||||
|
<file baseinstalldir="/" name="hook_emailcommit.php" role="doc" />
|
||||||
|
</dir>
|
||||||
|
<file name="config.m4" role="src" />
|
||||||
|
<file name="config.w32" role="src" />
|
||||||
|
<file name="CREDITS" role="doc" />
|
||||||
|
<file name="EXPERIMENTAL" role="doc" />
|
||||||
|
<file name="php_svn.h" role="src" />
|
||||||
|
<file name="svn.c" role="src" />
|
||||||
|
</dir>
|
||||||
|
</contents>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<required>
|
||||||
|
<php>
|
||||||
|
<min>4.0.0</min>
|
||||||
|
<max>6.0.0</max>
|
||||||
|
</php>
|
||||||
|
<pearinstaller>
|
||||||
|
<min>1.4.0</min>
|
||||||
|
</pearinstaller>
|
||||||
|
</required>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<providesextension>svn</providesextension>
|
||||||
|
<extsrcrelease>
|
||||||
|
<configureoption default="autodetect" name="with-svn" prompt="Please provide the prefix of Subversion installation" />
|
||||||
|
<configureoption default="autodetect" name="with-svn-apr" prompt="Please provide the prefix of the APR installation used with Subversion" />
|
||||||
|
</extsrcrelease>
|
||||||
|
<changelog>
|
||||||
|
|
||||||
|
<release>
|
||||||
|
|
||||||
|
|
||||||
|
<date>2010-12-09</date>
|
||||||
|
<version>
|
||||||
|
<release>1.0.1</release>
|
||||||
|
<api>1.0.0</api>
|
||||||
|
</version>
|
||||||
|
|
||||||
|
<stability>
|
||||||
|
<release>stable</release>
|
||||||
|
<api>stable</api>
|
||||||
|
</stability>
|
||||||
|
|
||||||
|
<license uri="http://www.php.net/license">PHP License</license>
|
||||||
|
|
||||||
|
<notes>
|
||||||
|
Minor bug fix release
|
||||||
|
|
||||||
|
#18513 - svn_info( working_copy, false, SVN_REVISION_UNSPECIFIED ) gives you a svn_info on the local copy
|
||||||
|
#20440 - svn_mkdir on working copy log message is optional
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</notes>
|
||||||
|
|
||||||
|
|
||||||
|
</release>
|
||||||
|
|
||||||
|
<release>
|
||||||
|
<date>2010-05-13</date>
|
||||||
|
<version>
|
||||||
|
<release>1.0.0</release>
|
||||||
|
<api>1.0.0</api>
|
||||||
|
</version>
|
||||||
|
|
||||||
|
<stability>
|
||||||
|
<release>stable</release>
|
||||||
|
<api>stable</api>
|
||||||
|
</stability>
|
||||||
|
|
||||||
|
<license uri="http://www.php.net/license">PHP License</license>
|
||||||
|
|
||||||
|
<notes>
|
||||||
|
Bumped release to stable, as not much is really changing and the API is pretty steady.
|
||||||
|
|
||||||
|
|
||||||
|
- not handling SVN_REVISION_COMMITTED, SVN_REVISION_PREV, SVN_REVISION_BASE properly
|
||||||
|
(svn_ls, svn_info, svn_update, svn_export) (Chung, Hyung-Hwan)
|
||||||
|
- not handling utf8 failure (Chung, Hyung-Hwan)
|
||||||
|
(svn_update, svn_export, svn_repos_create, svn_commit, svn_add, svn_status, svn_blame)
|
||||||
|
- using a wrong type for the 'l' parameter that can cause a problem on architectures where
|
||||||
|
sizeof(int) != sizeof(long) - ( svn_info, svn_ls ) (Chung, Hyung-Hwan)
|
||||||
|
- multiple utf8 check fixes - (Chung, Hyung-Hwan)
|
||||||
|
- add revision parameter to svn_propget and svn_proplist, do utf8 checks (Chung, Hyung-Hwan)
|
||||||
|
- fix bug #17080 - svn_mkdir requires log message, also added utf8 checks (Ivan P)
|
||||||
|
- req #14360 - support svn_export with revisions (lostoutfrog)
|
||||||
|
- php 5.3.0 TSRMLS_CC additions (Thomas Krause)
|
||||||
|
- update package xml to v2 (Pierre Joye)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</notes>
|
||||||
|
|
||||||
|
</release>
|
||||||
|
<release>
|
||||||
|
<date>2008-09-24</date>
|
||||||
|
<version>
|
||||||
|
<release>0.5.1</release>
|
||||||
|
<api>0.5.1</api>
|
||||||
|
</version>
|
||||||
|
|
||||||
|
<stability>
|
||||||
|
<release>beta</release>
|
||||||
|
<api>beta</api>
|
||||||
|
</stability>
|
||||||
|
|
||||||
|
<license uri="http://www.php.net/license">PHP License</license>
|
||||||
|
|
||||||
|
<notes>
|
||||||
|
fix for libsvn 1.6.2
|
||||||
|
|
||||||
|
</notes>
|
||||||
|
</release>
|
||||||
|
|
||||||
|
<release>
|
||||||
|
<date>2008-10-09</date>
|
||||||
|
<version>
|
||||||
|
<release>0.5.0</release>
|
||||||
|
<api>0.5.0</api>
|
||||||
|
</version>
|
||||||
|
|
||||||
|
<stability>
|
||||||
|
<release>beta</release>
|
||||||
|
<api>beta</api>
|
||||||
|
</stability>
|
||||||
|
|
||||||
|
<license uri="http://www.php.net/license">PHP License</license>
|
||||||
|
|
||||||
|
<notes>
|
||||||
|
- Add svn_lock()/svn_unlock()
|
||||||
|
- Add svn_config_ensure() for setting up a .svn storage directory
|
||||||
|
- Disable password storing unless a password is explicitly set
|
||||||
|
- Allow svn_auth_set_parameter() to unset an option with NULL
|
||||||
|
- svn_blame() returned -1 for a revision number
|
||||||
|
- Fix segfault caused by using an already destroyed pool
|
||||||
|
- Fix segfault when certain data types aren't returned from a commit
|
||||||
|
- Add check on module load that the APR version matches.
|
||||||
|
- Fix fatal error when the location of the HOME enviromental variable can't be read
|
||||||
|
</notes>
|
||||||
|
</release>
|
||||||
|
|
||||||
|
<release>
|
||||||
|
<date>2008-06-24</date>
|
||||||
|
<version>
|
||||||
|
<release>0.4.1</release>
|
||||||
|
<api>0.4.1</api>
|
||||||
|
</version>
|
||||||
|
|
||||||
|
<stability>
|
||||||
|
<release>beta</release>
|
||||||
|
<api>beta</api>
|
||||||
|
</stability>
|
||||||
|
|
||||||
|
<license uri="http://www.php.net/license">PHP License</license>
|
||||||
|
|
||||||
|
<notes>
|
||||||
|
- Add recurse option to svn_ls()
|
||||||
|
- Change array keys returned from svn_ls() to be filename
|
||||||
|
- Potential BC break with some lower case constants, these are now uppercase.
|
||||||
|
</notes>
|
||||||
|
</release>
|
||||||
|
<release>
|
||||||
|
<date>2008-06-04</date>
|
||||||
|
<version>
|
||||||
|
<release>0.4</release>
|
||||||
|
<api>0.4</api>
|
||||||
|
</version>
|
||||||
|
|
||||||
|
<stability>
|
||||||
|
<release>beta</release>
|
||||||
|
<api>beta</api>
|
||||||
|
</stability>
|
||||||
|
|
||||||
|
<license uri="http://www.php.net/license">PHP License</license>
|
||||||
|
|
||||||
|
<notes>
|
||||||
|
- Fix bug #13414 - Crash when SVN environment fails to initialise.
|
||||||
|
- Fix bug #13677,#13162 - Several functions fail to canonicalized resulting in an abort() call.
|
||||||
|
- Revert change that prevented libsvn 1.3 from being used.
|
||||||
|
- Add check during configure for minimum libsvn version.
|
||||||
|
- Add support for svn_delete(), svn_mkdir(), svn_move(), svn_proplist() and svn_propget().
|
||||||
|
- Allow svn_commit() to take a string instead of an array for paths.
|
||||||
|
- Revert backwards compatible break with svn_log()
|
||||||
|
</notes>
|
||||||
|
</release>
|
||||||
|
<release>
|
||||||
|
<version>
|
||||||
|
<release>0.3</release>
|
||||||
|
<api>0.3</api>
|
||||||
|
</version>
|
||||||
|
<stability>
|
||||||
|
<release>beta</release>
|
||||||
|
<api>beta</api>
|
||||||
|
</stability>
|
||||||
|
<date>2008-02-09</date>
|
||||||
|
<license uri="http://www.php.net/licence">PHP Licence</license>
|
||||||
|
<notes>
|
||||||
|
Backward Compatibilty Breaks:
|
||||||
|
Minimum subversion version is 1.4.
|
||||||
|
svn_status call arguments have changed - it now uses Flags.
|
||||||
|
|
||||||
|
New Constants:
|
||||||
|
|
||||||
|
SVN_REVISION_INITIAL
|
||||||
|
SVN_REVISION_HEAD
|
||||||
|
SVN_REVISION_BASE
|
||||||
|
SVN_REVISION_COMMITTED
|
||||||
|
SVN_REVISION_PREV
|
||||||
|
|
||||||
|
SVN_NON_RECURSIVE
|
||||||
|
SVN_DISCOVER_CHANGED_PATHS
|
||||||
|
SVN_OMIT_MESSAGES
|
||||||
|
SVN_STOP_ON_COPY
|
||||||
|
SVN_ALL
|
||||||
|
SVN_SHOW_UPDATES
|
||||||
|
SVN_NO_IGNORE
|
||||||
|
|
||||||
|
All constants are also available as Svn::REVISON_HEAD.
|
||||||
|
|
||||||
|
Win32 Compatibility:
|
||||||
|
Most functions have been fixed to work with Win32 paths.
|
||||||
|
|
||||||
|
- Fix bug #11153 - svn diff uses utf8 paths
|
||||||
|
- Fix bug #11157 - missing constants needed for svn_status
|
||||||
|
- Rewrite configure script to find APR and its compile flags
|
||||||
|
- Add support for svn_info() - patch by Marco Tabini
|
||||||
|
- Add support for svn_export() - patch by Scott MacVicar
|
||||||
|
- Add support for svn_copy() and svn_switch() - patch by Conny Dahlgren
|
||||||
|
- Add support for svn_blame() / svn_revert() - patch by Jerome Renard
|
||||||
|
- Add support for limiting results with svn_log() - patch by Edward Z. Yang
|
||||||
|
- Add support for limiting svn_checkout() - patch by Devlar
|
||||||
|
- Add constants for use as parameters to svn_cat() - patch by Devlar
|
||||||
|
- Add an OO interface to the extension - patch by Devlar
|
||||||
|
</notes>
|
||||||
|
</release>
|
||||||
|
<release>
|
||||||
|
<version>
|
||||||
|
<release>0.2</release>
|
||||||
|
<api>0.2</api>
|
||||||
|
</version>
|
||||||
|
<stability>
|
||||||
|
<release>beta</release>
|
||||||
|
<api>beta</api>
|
||||||
|
</stability>
|
||||||
|
<date>2006-03-20</date>
|
||||||
|
<license uri="http://www.php.net/licence">PHP Licence</license>
|
||||||
|
<notes>
|
||||||
|
|
||||||
|
- Compiles on Win32 + Netware (Thanks to Guenter Knauf)
|
||||||
|
- dependancy on svn-config removed (as recommended by Subversion developers)
|
||||||
|
- Pretty complete implementation.
|
||||||
|
|
||||||
|
Bugs
|
||||||
|
#6893 - correct types for strict compilers
|
||||||
|
|
||||||
|
|
||||||
|
Known issues:
|
||||||
|
There are bug reports about commit / checkout functionality. Any help
|
||||||
|
reproducing and fixing these is welcome.
|
||||||
|
|
||||||
|
</notes>
|
||||||
|
</release>
|
||||||
|
<release>
|
||||||
|
<version>
|
||||||
|
<release>0.1</release>
|
||||||
|
<api>0.1</api>
|
||||||
|
</version>
|
||||||
|
<stability>
|
||||||
|
<release>beta</release>
|
||||||
|
<api>beta</api>
|
||||||
|
</stability>
|
||||||
|
<date>2005-05-28</date>
|
||||||
|
<license uri="http://www.php.net/licence">PHP Licence</license>
|
||||||
|
<notes>
|
||||||
|
- First working release (works ok here!)
|
||||||
|
</notes>
|
||||||
|
</release>
|
||||||
|
</changelog>
|
||||||
|
|
||||||
|
</package>
|
169
codepot/pecl-svn/php_svn.h
Executable file
169
codepot/pecl-svn/php_svn.h
Executable file
@ -0,0 +1,169 @@
|
|||||||
|
/*
|
||||||
|
+----------------------------------------------------------------------+
|
||||||
|
| PHP Version 5 |
|
||||||
|
+----------------------------------------------------------------------+
|
||||||
|
| Copyright (c) 1997-2008 The PHP Group |
|
||||||
|
+----------------------------------------------------------------------+
|
||||||
|
| This source file is subject to version 3.01 of the PHP license, |
|
||||||
|
| that is bundled with this package in the file LICENSE, and is |
|
||||||
|
| available through the world-wide-web at the following url: |
|
||||||
|
| http://www.php.net/license/3_01.txt. |
|
||||||
|
| If you did not receive a copy of the PHP license and are unable to |
|
||||||
|
| obtain it through the world-wide-web, please send a note to |
|
||||||
|
| license@php.net so we can mail you a copy immediately. |
|
||||||
|
+----------------------------------------------------------------------+
|
||||||
|
| Authors: Alan Knowles <alan@akbkhome.com> |
|
||||||
|
| Wez Furlong <wez@omniti.com> |
|
||||||
|
| Luca Furini <lfurini@cs.unibo.it> |
|
||||||
|
| Jerome Renard <jerome.renard_at_gmail.com> |
|
||||||
|
| Develar <develar_at_gmail.com> |
|
||||||
|
+----------------------------------------------------------------------+
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* $Id: php_svn.h 333800 2014-06-16 05:22:31Z alan_k $ */
|
||||||
|
|
||||||
|
#ifndef PHP_SVN_H
|
||||||
|
#define PHP_SVN_H
|
||||||
|
|
||||||
|
extern zend_module_entry svn_module_entry;
|
||||||
|
#define phpext_svn_ptr &svn_module_entry
|
||||||
|
|
||||||
|
#define PHP_SVN_VERSION "1.0.3-dev"
|
||||||
|
|
||||||
|
#ifdef PHP_WIN32
|
||||||
|
#define PHP_SVN_API __declspec(dllexport)
|
||||||
|
#else
|
||||||
|
#define PHP_SVN_API
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef ZTS
|
||||||
|
#include "TSRM.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "svn_client.h"
|
||||||
|
|
||||||
|
PHP_MINIT_FUNCTION(svn);
|
||||||
|
PHP_MSHUTDOWN_FUNCTION(svn);
|
||||||
|
PHP_RINIT_FUNCTION(svn);
|
||||||
|
PHP_RSHUTDOWN_FUNCTION(svn);
|
||||||
|
PHP_MINFO_FUNCTION(svn);
|
||||||
|
|
||||||
|
PHP_FUNCTION(svn_checkout);
|
||||||
|
PHP_FUNCTION(svn_cat);
|
||||||
|
PHP_FUNCTION(svn_ls);
|
||||||
|
PHP_FUNCTION(svn_log);
|
||||||
|
PHP_FUNCTION(svn_auth_set_parameter);
|
||||||
|
PHP_FUNCTION(svn_auth_get_parameter);
|
||||||
|
PHP_FUNCTION(svn_client_version);
|
||||||
|
PHP_FUNCTION(svn_config_ensure);
|
||||||
|
PHP_FUNCTION(svn_diff);
|
||||||
|
PHP_FUNCTION(svn_cleanup);
|
||||||
|
PHP_FUNCTION(svn_revert);
|
||||||
|
PHP_FUNCTION(svn_resolved);
|
||||||
|
PHP_FUNCTION(svn_lock);
|
||||||
|
PHP_FUNCTION(svn_unlock);
|
||||||
|
|
||||||
|
PHP_FUNCTION(svn_commit);
|
||||||
|
PHP_FUNCTION(svn_add);
|
||||||
|
PHP_FUNCTION(svn_status);
|
||||||
|
PHP_FUNCTION(svn_update);
|
||||||
|
PHP_FUNCTION(svn_import);
|
||||||
|
PHP_FUNCTION(svn_info);
|
||||||
|
PHP_FUNCTION(svn_export);
|
||||||
|
PHP_FUNCTION(svn_copy);
|
||||||
|
PHP_FUNCTION(svn_switch);
|
||||||
|
PHP_FUNCTION(svn_blame);
|
||||||
|
PHP_FUNCTION(svn_delete);
|
||||||
|
PHP_FUNCTION(svn_mkdir);
|
||||||
|
PHP_FUNCTION(svn_move);
|
||||||
|
PHP_FUNCTION(svn_proplist);
|
||||||
|
PHP_FUNCTION(svn_propget);
|
||||||
|
PHP_FUNCTION(svn_revprop_get);
|
||||||
|
PHP_FUNCTION(svn_revprop_set);
|
||||||
|
PHP_FUNCTION(svn_revprop_delete);
|
||||||
|
|
||||||
|
PHP_FUNCTION(svn_repos_create);
|
||||||
|
PHP_FUNCTION(svn_repos_recover);
|
||||||
|
PHP_FUNCTION(svn_repos_hotcopy);
|
||||||
|
PHP_FUNCTION(svn_repos_open);
|
||||||
|
PHP_FUNCTION(svn_repos_fs);
|
||||||
|
PHP_FUNCTION(svn_repos_fs_begin_txn_for_commit);
|
||||||
|
PHP_FUNCTION(svn_repos_fs_commit_txn);
|
||||||
|
PHP_FUNCTION(svn_fs_revision_root);
|
||||||
|
PHP_FUNCTION(svn_fs_check_path);
|
||||||
|
PHP_FUNCTION(svn_fs_revision_prop);
|
||||||
|
PHP_FUNCTION(svn_fs_dir_entries);
|
||||||
|
PHP_FUNCTION(svn_fs_node_created_rev);
|
||||||
|
PHP_FUNCTION(svn_fs_youngest_rev);
|
||||||
|
PHP_FUNCTION(svn_fs_file_contents);
|
||||||
|
PHP_FUNCTION(svn_fs_file_length);
|
||||||
|
PHP_FUNCTION(svn_fs_txn_root);
|
||||||
|
PHP_FUNCTION(svn_fs_make_file);
|
||||||
|
PHP_FUNCTION(svn_fs_make_dir);
|
||||||
|
PHP_FUNCTION(svn_fs_apply_text);
|
||||||
|
PHP_FUNCTION(svn_fs_copy);
|
||||||
|
PHP_FUNCTION(svn_fs_delete);
|
||||||
|
PHP_FUNCTION(svn_fs_begin_txn2);
|
||||||
|
PHP_FUNCTION(svn_fs_is_dir);
|
||||||
|
PHP_FUNCTION(svn_fs_is_file);
|
||||||
|
PHP_FUNCTION(svn_fs_node_prop);
|
||||||
|
PHP_FUNCTION(svn_fs_change_node_prop);
|
||||||
|
PHP_FUNCTION(svn_fs_contents_changed);
|
||||||
|
PHP_FUNCTION(svn_fs_props_changed);
|
||||||
|
PHP_FUNCTION(svn_fs_abort_txn);
|
||||||
|
PHP_FUNCTION(svn_fs_open_txn);
|
||||||
|
PHP_FUNCTION(svn_fs_txn_prop);
|
||||||
|
|
||||||
|
/* TODO: */
|
||||||
|
|
||||||
|
|
||||||
|
PHP_FUNCTION(svn_merge);
|
||||||
|
PHP_FUNCTION(svn_propset);
|
||||||
|
PHP_FUNCTION(svn_url_from_path);
|
||||||
|
PHP_FUNCTION(svn_uuid_from_url);
|
||||||
|
PHP_FUNCTION(svn_uuid_from_path);
|
||||||
|
|
||||||
|
|
||||||
|
/** constants **/
|
||||||
|
|
||||||
|
#define SVN_REVISION_INITIAL 1
|
||||||
|
#define SVN_REVISION_HEAD -1
|
||||||
|
#define SVN_REVISION_BASE -2
|
||||||
|
#define SVN_REVISION_COMMITTED -3
|
||||||
|
#define SVN_REVISION_PREV -4
|
||||||
|
#define SVN_REVISION_UNSPECIFIED -5
|
||||||
|
|
||||||
|
#define SVN_NON_RECURSIVE 1 /* --non-recursive */
|
||||||
|
#define SVN_DISCOVER_CHANGED_PATHS 2 /* --verbose */
|
||||||
|
#define SVN_OMIT_MESSAGES 4 /* --quiet */
|
||||||
|
#define SVN_STOP_ON_COPY 8 /* --stop-on-copy */
|
||||||
|
#define SVN_ALL 16 /* --verbose in svn status */
|
||||||
|
#define SVN_SHOW_UPDATES 32 /* --show-updates */
|
||||||
|
#define SVN_NO_IGNORE 64 /* --no-ignore */
|
||||||
|
#define SVN_IGNORE_EXTERNALS 128 /* --ignore-externals */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ZEND_BEGIN_MODULE_GLOBALS(svn)
|
||||||
|
apr_pool_t *pool;
|
||||||
|
svn_client_ctx_t *ctx;
|
||||||
|
ZEND_END_MODULE_GLOBALS(svn)
|
||||||
|
|
||||||
|
#ifdef ZTS
|
||||||
|
#define SVN_G(v) TSRMG(svn_globals_id, zend_svn_globals *, v)
|
||||||
|
#else
|
||||||
|
#define SVN_G(v) (svn_globals.v)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* PHP_SVN_H */
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Local variables:
|
||||||
|
* tab-width: 4
|
||||||
|
* c-basic-offset: 4
|
||||||
|
* End:
|
||||||
|
* vim600: noet sw=4 ts=4 fdm=marker
|
||||||
|
* vim<600: noet sw=4 ts=4
|
||||||
|
*/
|
4442
codepot/pecl-svn/svn.c
Executable file
4442
codepot/pecl-svn/svn.c
Executable file
File diff suppressed because it is too large
Load Diff
2
codepot/pecl-svn/svn.ini
Normal file
2
codepot/pecl-svn/svn.ini
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
; Enable svn extension module
|
||||||
|
extension=svn.so
|
@ -140,6 +140,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -183,6 +185,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -28,7 +28,9 @@ sub get_config
|
|||||||
database_password => $cfg->param ("database_password"),
|
database_password => $cfg->param ("database_password"),
|
||||||
database_name => $cfg->param ("database_name"),
|
database_name => $cfg->param ("database_name"),
|
||||||
database_driver => $cfg->param ("database_driver"),
|
database_driver => $cfg->param ("database_driver"),
|
||||||
database_prefix => $cfg->param ("database_prefix")
|
database_prefix => $cfg->param ("database_prefix"),
|
||||||
|
|
||||||
|
codepot_user_executor => $cfg->param("codepot_user_executor")
|
||||||
};
|
};
|
||||||
|
|
||||||
return $config;
|
return $config;
|
||||||
@ -241,6 +243,31 @@ if (!defined($cfg))
|
|||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my $allowed_to_execute = 1;
|
||||||
|
my @executors = split (/\s*,\s*/, $cfg->{codepot_user_executor});
|
||||||
|
if (scalar(@executors) > 0)
|
||||||
|
{
|
||||||
|
for my $executor (@executors)
|
||||||
|
{
|
||||||
|
my $uid = getpwnam ($executor);
|
||||||
|
if (defined($uid) && $> == $uid)
|
||||||
|
{
|
||||||
|
$allowed_to_execute = 1;
|
||||||
|
last;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$allowed_to_execute = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($allowed_to_execute == 0)
|
||||||
|
{
|
||||||
|
print (STDERR "Not allowed to run this program\n");
|
||||||
|
exit (1);
|
||||||
|
}
|
||||||
|
|
||||||
my $dbh = open_database ($cfg);
|
my $dbh = open_database ($cfg);
|
||||||
if (!defined($dbh))
|
if (!defined($dbh))
|
||||||
{
|
{
|
||||||
|
@ -180,6 +180,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -223,6 +225,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -179,6 +179,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -222,6 +224,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -149,6 +149,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -192,6 +194,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -3,21 +3,21 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/code.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/code.css')?>" />
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/prettify.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/prettify.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-ada.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-ada.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-basic.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-basic.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-css.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-css.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-pascal.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-pascal.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
@ -28,9 +28,9 @@ $(function () {
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
if ($("#code_blame_mainarea_result_info").is(":visible"))
|
if ($("#code_blame_mainarea_result_info").is(":visible"))
|
||||||
btn_label = "<?=$this->lang->line('Hide details')?>";
|
btn_label = "<?php print $this->lang->line('Hide details')?>";
|
||||||
else
|
else
|
||||||
btn_label = "<?=$this->lang->line('Show details')?>";
|
btn_label = "<?php print $this->lang->line('Show details')?>";
|
||||||
|
|
||||||
btn = $("#code_blame_mainarea_details_button").button({"label": btn_label}).click (function () {
|
btn = $("#code_blame_mainarea_details_button").button({"label": btn_label}).click (function () {
|
||||||
|
|
||||||
@ -38,13 +38,13 @@ $(function () {
|
|||||||
{
|
{
|
||||||
$("#code_blame_mainarea_result_info").hide("blind",{},200);
|
$("#code_blame_mainarea_result_info").hide("blind",{},200);
|
||||||
$("#code_blame_mainarea_details_button").button(
|
$("#code_blame_mainarea_details_button").button(
|
||||||
"option", "label", "<?=$this->lang->line('Show details')?>");
|
"option", "label", "<?php print $this->lang->line('Show details')?>");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$("#code_blame_mainarea_result_info").show("blind",{},200);
|
$("#code_blame_mainarea_result_info").show("blind",{},200);
|
||||||
$("#code_blame_mainarea_details_button").button(
|
$("#code_blame_mainarea_details_button").button(
|
||||||
"option", "label", "<?=$this->lang->line('Hide details')?>");
|
"option", "label", "<?php print $this->lang->line('Hide details')?>");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -170,11 +170,11 @@ print anchor ("code/fetch/{$project->id}/${xpar}{$revreq}", $this->lang->line('D
|
|||||||
</div> <!-- code_blame_mainarea_menu -->
|
</div> <!-- code_blame_mainarea_menu -->
|
||||||
|
|
||||||
<div class="infostrip" id="code_blame_mainarea_infostrip">
|
<div class="infostrip" id="code_blame_mainarea_infostrip">
|
||||||
<?=anchor ("code/blame/{$project->id}/${xpar}/{$file['prev_rev']}", '<<')?>
|
<?php print anchor ("code/blame/{$project->id}/${xpar}/{$file['prev_rev']}", '<<')?>
|
||||||
<?=$this->lang->line('Revision')?>: <?=$file['created_rev']?>
|
<?php print $this->lang->line('Revision')?>: <?php print $file['created_rev']?>
|
||||||
<?=anchor ("code/blame/{$project->id}/${xpar}/{$file['next_rev']}", '>>')?> |
|
<?php print anchor ("code/blame/{$project->id}/${xpar}/{$file['next_rev']}", '>>')?> |
|
||||||
<?=$this->lang->line('Size')?>: <?=$file['size']?> |
|
<?php print $this->lang->line('Size')?>: <?php print $file['size']?> |
|
||||||
<a id="code_blame_mainarea_details_button" href='#'><?=$this->lang->line('Details')?></a>
|
<a id="code_blame_mainarea_details_button" href='#'><?php print $this->lang->line('Details')?></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="result" id="code_blame_mainarea_result">
|
<div class="result" id="code_blame_mainarea_result">
|
||||||
@ -192,7 +192,7 @@ if ($login['settings'] != NULL &&
|
|||||||
$login['settings']->code_hide_line_num == 'Y') $prettyprint_linenums = '';
|
$login['settings']->code_hide_line_num == 'Y') $prettyprint_linenums = '';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<pre class="prettyprint <?=$prettyprint_linenums?> <?=$prettyprint_lang?>" id="code_blame_mainarea_result_pre">
|
<pre class="prettyprint <?php print $prettyprint_linenums?> <?php print $prettyprint_lang?>" id="code_blame_mainarea_result_pre">
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$content = $file['content'];
|
$content = $file['content'];
|
||||||
@ -238,12 +238,12 @@ if ($login['settings'] != NULL &&
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<div id="code_blame_mainarea_result_info">
|
<div id="code_blame_mainarea_result_info">
|
||||||
<div class="title"><?= $this->lang->line('CODE_COMMIT') ?></div>
|
<div class="title"><?php print $this->lang->line('CODE_COMMIT') ?></div>
|
||||||
<?php printf ($this->lang->line('CODE_MSG_COMMITTED_BY_ON'), $file['last_author'], $file['time']); ?>
|
<?php printf ($this->lang->line('CODE_MSG_COMMITTED_BY_ON'), $file['last_author'], $file['time']); ?>
|
||||||
|
|
||||||
<div class="title"><?= $this->lang->line('Message') ?></div>
|
<div class="title"><?php print $this->lang->line('Message') ?></div>
|
||||||
<pre id="code_blame_mainarea_result_info_logmsg">
|
<pre id="code_blame_mainarea_result_info_logmsg">
|
||||||
<?= $file['logmsg'] ?>
|
<?php print $file['logmsg'] ?>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/code.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/code.css')?>" />
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/prettify.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/prettify.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-css.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-css.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
||||||
|
|
||||||
<title><?php
|
<title><?php
|
||||||
if ($headpath == '')
|
if ($headpath == '')
|
||||||
|
@ -3,21 +3,21 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/code.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/code.css')?>" />
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/prettify.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/prettify.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-ada.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-ada.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-basic.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-basic.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-css.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-css.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-pascal.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-pascal.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function () {
|
$(function () {
|
||||||
@ -27,9 +27,9 @@ $(function () {
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
if ($("#code_file_mainarea_result_info").is(":visible"))
|
if ($("#code_file_mainarea_result_info").is(":visible"))
|
||||||
btn_label = "<?=$this->lang->line('Hide details')?>";
|
btn_label = "<?php print $this->lang->line('Hide details')?>";
|
||||||
else
|
else
|
||||||
btn_label = "<?=$this->lang->line('Show details')?>";
|
btn_label = "<?php print $this->lang->line('Show details')?>";
|
||||||
|
|
||||||
|
|
||||||
btn = $("#code_file_mainarea_details_button").button({"label": btn_label}).click (function () {
|
btn = $("#code_file_mainarea_details_button").button({"label": btn_label}).click (function () {
|
||||||
@ -38,13 +38,13 @@ $(function () {
|
|||||||
{
|
{
|
||||||
$("#code_file_mainarea_result_info").hide("blind",{},200);
|
$("#code_file_mainarea_result_info").hide("blind",{},200);
|
||||||
$("#code_file_mainarea_details_button").button(
|
$("#code_file_mainarea_details_button").button(
|
||||||
"option", "label", "<?=$this->lang->line('Show details')?>");
|
"option", "label", "<?php print $this->lang->line('Show details')?>");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$("#code_file_mainarea_result_info").show("blind",{},200);
|
$("#code_file_mainarea_result_info").show("blind",{},200);
|
||||||
$("#code_file_mainarea_details_button").button(
|
$("#code_file_mainarea_details_button").button(
|
||||||
"option", "label", "<?=$this->lang->line('Hide details')?>");
|
"option", "label", "<?php print $this->lang->line('Hide details')?>");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -62,13 +62,13 @@ function showRawCode()
|
|||||||
if (showing_raw_code)
|
if (showing_raw_code)
|
||||||
{
|
{
|
||||||
|
|
||||||
$("#code_file_style_anchor").text("<?=$this->lang->line('Destyle')?>");
|
$("#code_file_style_anchor").text("<?php print $this->lang->line('Destyle')?>");
|
||||||
$("#code_file_mainarea_result_pre").removeClass("prettyprinted");
|
$("#code_file_mainarea_result_pre").removeClass("prettyprinted");
|
||||||
prettyPrint();
|
prettyPrint();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$("#code_file_style_anchor").text("<?=$this->lang->line('Enstyle')?>");
|
$("#code_file_style_anchor").text("<?php print $this->lang->line('Enstyle')?>");
|
||||||
$("#code_file_mainarea_result_pre").html($("#code_file_mainarea_result_raw").html());
|
$("#code_file_mainarea_result_pre").html($("#code_file_mainarea_result_raw").html());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -212,11 +212,11 @@ $this->load->view (
|
|||||||
</div> <!-- code_file_mainarea_menu -->
|
</div> <!-- code_file_mainarea_menu -->
|
||||||
|
|
||||||
<div class="infostrip" id="code_file_mainarea_infostrip">
|
<div class="infostrip" id="code_file_mainarea_infostrip">
|
||||||
<?=anchor ("code/file/{$project->id}/${xpar}/{$file['prev_rev']}", '<<')?>
|
<?php print anchor ("code/file/{$project->id}/${xpar}/{$file['prev_rev']}", '<<')?>
|
||||||
<?=$this->lang->line('Revision')?>: <?=$file['created_rev']?>
|
<?php print $this->lang->line('Revision')?>: <?php print $file['created_rev']?>
|
||||||
<?=anchor ("code/file/{$project->id}/${xpar}/{$file['next_rev']}", '>>')?> |
|
<?php print anchor ("code/file/{$project->id}/${xpar}/{$file['next_rev']}", '>>')?> |
|
||||||
<?=$this->lang->line('Size')?>: <?=$file['size']?> |
|
<?php print $this->lang->line('Size')?>: <?php print $file['size']?> |
|
||||||
<a id="code_file_mainarea_details_button" href='#'><?=$this->lang->line('Details')?></a>
|
<a id="code_file_mainarea_details_button" href='#'><?php print $this->lang->line('Details')?></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="result" id="code_file_mainarea_result">
|
<div class="result" id="code_file_mainarea_result">
|
||||||
@ -234,7 +234,7 @@ if ($login['settings'] != NULL &&
|
|||||||
$login['settings']->code_hide_line_num == 'Y') $prettyprint_linenums = '';
|
$login['settings']->code_hide_line_num == 'Y') $prettyprint_linenums = '';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<pre class="prettyprint <?=$prettyprint_linenums?> <?=$prettyprint_lang?>" id="code_file_mainarea_result_pre">
|
<pre class="prettyprint <?php print $prettyprint_linenums?> <?php print $prettyprint_lang?>" id="code_file_mainarea_result_pre">
|
||||||
<?php
|
<?php
|
||||||
$is_octet_stream = FALSE;
|
$is_octet_stream = FALSE;
|
||||||
if (array_key_exists('properties', $file) && count($file['properties']) > 0)
|
if (array_key_exists('properties', $file) && count($file['properties']) > 0)
|
||||||
@ -267,12 +267,12 @@ if ($login['settings'] != NULL &&
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<div id="code_file_mainarea_result_info">
|
<div id="code_file_mainarea_result_info">
|
||||||
<div class="title"><?= $this->lang->line('CODE_COMMIT') ?></div>
|
<div class="title"><?php print $this->lang->line('CODE_COMMIT') ?></div>
|
||||||
<?php printf ($this->lang->line('CODE_MSG_COMMITTED_BY_ON'), $file['last_author'], $file['time']); ?>
|
<?php printf ($this->lang->line('CODE_MSG_COMMITTED_BY_ON'), $file['last_author'], $file['time']); ?>
|
||||||
|
|
||||||
<div class="title"><?= $this->lang->line('Message') ?></div>
|
<div class="title"><?php print $this->lang->line('Message') ?></div>
|
||||||
<pre id="code_file_mainarea_result_info_logmsg">
|
<pre id="code_file_mainarea_result_info_logmsg">
|
||||||
<?= htmlspecialchars ($file['logmsg']) ?>
|
<?php print htmlspecialchars ($file['logmsg']) ?>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
@ -5,28 +5,28 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/code.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/code.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/prettify.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/prettify.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-css.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-css.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<!--[if lte IE 8]><script type="text/javascript" src="<?=base_url_make('/js/excanvas.min.js')?>"></script><![endif]-->
|
<!--[if lte IE 8]><script type="text/javascript" src="<?php print base_url_make('/js/excanvas.min.js')?>"></script><![endif]-->
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.flot.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.flot.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.flot.time.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.flot.time.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.flot.categories.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.flot.categories.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.flot.stack.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.flot.stack.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.flot.tickrotor.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.flot.tickrotor.js')?>"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -81,9 +81,9 @@ function show_loc_graph (response)
|
|||||||
|
|
||||||
var dataset =
|
var dataset =
|
||||||
[
|
[
|
||||||
{ label: "<?=$this->lang->line('Code')?>", data: code },
|
{ label: "<?php print $this->lang->line('Code')?>", data: code },
|
||||||
{ label: "<?=$this->lang->line('Comment')?>", data: comment },
|
{ label: "<?php print $this->lang->line('Comment')?>", data: comment },
|
||||||
{ label: "<?=$this->lang->line('Blank')?>", data: blank }
|
{ label: "<?php print $this->lang->line('Blank')?>", data: blank }
|
||||||
];
|
];
|
||||||
|
|
||||||
var options = {
|
var options = {
|
||||||
@ -150,9 +150,9 @@ $(function () {
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
if ($("#code_folder_mainarea_result_info").is(":visible"))
|
if ($("#code_folder_mainarea_result_info").is(":visible"))
|
||||||
btn_label = "<?=$this->lang->line('Hide details')?>";
|
btn_label = "<?php print $this->lang->line('Hide details')?>";
|
||||||
else
|
else
|
||||||
btn_label = "<?=$this->lang->line('Show details')?>";
|
btn_label = "<?php print $this->lang->line('Show details')?>";
|
||||||
|
|
||||||
btn = $("#code_folder_mainarea_details_button").button({"label": btn_label}).click (function () {
|
btn = $("#code_folder_mainarea_details_button").button({"label": btn_label}).click (function () {
|
||||||
|
|
||||||
@ -160,13 +160,13 @@ $(function () {
|
|||||||
{
|
{
|
||||||
$("#code_folder_mainarea_result_info").hide("blind",{},200);
|
$("#code_folder_mainarea_result_info").hide("blind",{},200);
|
||||||
$("#code_folder_mainarea_details_button").button(
|
$("#code_folder_mainarea_details_button").button(
|
||||||
"option", "label", "<?=$this->lang->line('Show details')?>");
|
"option", "label", "<?php print $this->lang->line('Show details')?>");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$("#code_folder_mainarea_result_info").show("blind",{},200);
|
$("#code_folder_mainarea_result_info").show("blind",{},200);
|
||||||
$("#code_folder_mainarea_details_button").button(
|
$("#code_folder_mainarea_details_button").button(
|
||||||
"option", "label", "<?=$this->lang->line('Hide details')?>");
|
"option", "label", "<?php print $this->lang->line('Hide details')?>");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -183,7 +183,7 @@ $(function () {
|
|||||||
//setTimeout (show_progress, 1000);
|
//setTimeout (show_progress, 1000);
|
||||||
|
|
||||||
var ajax_req = $.ajax ({
|
var ajax_req = $.ajax ({
|
||||||
url: '<?=site_url()?>/graph/folder_loc_json/<?=$project->id?>/<?=$this->converter->AsciiToHex($headpath)?><?=$revreq?>',
|
url: '<?php print site_url()?>/graph/folder_loc_json/<?php print $project->id?>/<?php print $this->converter->AsciiToHex($headpath)?><?php print $revreq?>',
|
||||||
context: document.body,
|
context: document.body,
|
||||||
success: show_loc_graph
|
success: show_loc_graph
|
||||||
});
|
});
|
||||||
@ -202,8 +202,8 @@ function renderReadme()
|
|||||||
creole_render_wiki (
|
creole_render_wiki (
|
||||||
"code_folder_mainarea_result_readme_text",
|
"code_folder_mainarea_result_readme_text",
|
||||||
"code_folder_mainarea_result_readme",
|
"code_folder_mainarea_result_readme",
|
||||||
"<?=site_url()?>/wiki/show/<?=$project->id?>/",
|
"<?php print site_url()?>/wiki/show/<?php print $project->id?>/",
|
||||||
"<?=site_url()?>/wiki/attachment0/<?=$project->id?>/"
|
"<?php print site_url()?>/wiki/attachment0/<?php print $project->id?>/"
|
||||||
);
|
);
|
||||||
prettyPrint();
|
prettyPrint();
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
@ -284,21 +284,21 @@ $this->load->view (
|
|||||||
<div class="infostrip" id="code_folder_mainarea_infostrip">
|
<div class="infostrip" id="code_folder_mainarea_infostrip">
|
||||||
|
|
||||||
<?php if (CODEPOT_SIGNIN_FOR_CODE_SEARCH === FALSE || (isset($login['id']) && $login['id'] != '')): ?>
|
<?php if (CODEPOT_SIGNIN_FOR_CODE_SEARCH === FALSE || (isset($login['id']) && $login['id'] != '')): ?>
|
||||||
<?=form_open("code/search/{$project->id}/", 'id="code_folder_search_form"')?>
|
<?php print form_open("code/search/{$project->id}/", 'id="code_folder_search_form"')?>
|
||||||
<?=form_hidden('search_folder', set_value('search_folder', $file['fullpath']), 'id="code_folder_search_folder"')?>
|
<?php print form_hidden('search_folder', set_value('search_folder', $file['fullpath']), 'id="code_folder_search_folder"')?>
|
||||||
<?=form_hidden('search_revision', set_value('search_revision', $revision), 'id="code_folder_search_revision"')?>
|
<?php print form_hidden('search_revision', set_value('search_revision', $revision), 'id="code_folder_search_revision"')?>
|
||||||
<?=form_input('search_pattern', set_value('search_pattern', ''), 'id="code_folder_search_pattern"')?>
|
<?php print form_input('search_pattern', set_value('search_pattern', ''), 'id="code_folder_search_pattern"')?>
|
||||||
<?=form_submit('search_submit', $this->lang->line('Search'), 'id="code_folder_search_submit"')?>
|
<?php print form_submit('search_submit', $this->lang->line('Search'), 'id="code_folder_search_submit"')?>
|
||||||
|
|
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?=$this->lang->line('Revision')?>: <?=$file['created_rev']?>
|
<?php print $this->lang->line('Revision')?>: <?php print $file['created_rev']?>
|
||||||
<?php if ($file_count > 0): ?>
|
<?php if ($file_count > 0): ?>
|
||||||
|
|
|
|
||||||
<a id="code_folder_mainarea_details_button" href='#'><?=$this->lang->line('Details')?></a>
|
<a id="code_folder_mainarea_details_button" href='#'><?php print $this->lang->line('Details')?></a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?=form_close()?>
|
<?php print form_close()?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="result" id="code_folder_mainarea_result">
|
<div class="result" id="code_folder_mainarea_result">
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/code.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/code.css')?>" />
|
||||||
|
|
||||||
<title><?php
|
<title><?php
|
||||||
if ($fullpath == '')
|
if ($fullpath == '')
|
||||||
@ -97,10 +97,10 @@ $this->load->view (
|
|||||||
|
|
||||||
<table id="code_history_mainarea_result_table">
|
<table id="code_history_mainarea_result_table">
|
||||||
<tr class='heading'>
|
<tr class='heading'>
|
||||||
<th><?=$this->lang->line('Revision')?></th>
|
<th><?php print $this->lang->line('Revision')?></th>
|
||||||
<th><?=$this->lang->line('Committer')?></th>
|
<th><?php print $this->lang->line('Committer')?></th>
|
||||||
<th><?=$this->lang->line('Date')?></th>
|
<th><?php print $this->lang->line('Date')?></th>
|
||||||
<th><?=$this->lang->line('Message')?></th>
|
<th><?php print $this->lang->line('Message')?></th>
|
||||||
<?php if ($file['type'] == 'file' || $file['type'] == 'dir') print '<th></th>'; ?>
|
<?php if ($file['type'] == 'file' || $file['type'] == 'dir') print '<th></th>'; ?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/code.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/code.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
@ -22,18 +22,18 @@
|
|||||||
$(function() {
|
$(function() {
|
||||||
$("#code_revision_edit_div").dialog (
|
$("#code_revision_edit_div").dialog (
|
||||||
{
|
{
|
||||||
title: '<?=$this->lang->line('Edit')?>',
|
title: '<?php print $this->lang->line('Edit')?>',
|
||||||
width: 'auto',
|
width: 'auto',
|
||||||
height: 'auto',
|
height: 'auto',
|
||||||
resizable: false,
|
resizable: false,
|
||||||
autoOpen: false,
|
autoOpen: false,
|
||||||
modal: true,
|
modal: true,
|
||||||
buttons: {
|
buttons: {
|
||||||
'<?=$this->lang->line('OK')?>': function () {
|
'<?php print $this->lang->line('OK')?>': function () {
|
||||||
$('#code_revision_edit_logmsg_form').submit ();
|
$('#code_revision_edit_logmsg_form').submit ();
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
},
|
},
|
||||||
'<?=$this->lang->line('Cancel')?>': function () {
|
'<?php print $this->lang->line('Cancel')?>': function () {
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -54,18 +54,18 @@ $(function() {
|
|||||||
$(function() {
|
$(function() {
|
||||||
$("#code_revision_new_review_comment_div").dialog (
|
$("#code_revision_new_review_comment_div").dialog (
|
||||||
{
|
{
|
||||||
title: '<?=$this->lang->line('Comment')?>',
|
title: '<?php print $this->lang->line('Comment')?>',
|
||||||
width: 'auto',
|
width: 'auto',
|
||||||
height: 'auto',
|
height: 'auto',
|
||||||
resizable: false,
|
resizable: false,
|
||||||
autoOpen: false,
|
autoOpen: false,
|
||||||
modal: true,
|
modal: true,
|
||||||
buttons: {
|
buttons: {
|
||||||
'<?=$this->lang->line('OK')?>': function () {
|
'<?php print $this->lang->line('OK')?>': function () {
|
||||||
$('#code_revision_new_review_comment_form').submit ();
|
$('#code_revision_new_review_comment_form').submit ();
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
},
|
},
|
||||||
'<?=$this->lang->line('Cancel')?>': function () {
|
'<?php print $this->lang->line('Cancel')?>': function () {
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -130,13 +130,13 @@ $(function() {
|
|||||||
<?php if (strlen($popup_error_message) > 0): ?>
|
<?php if (strlen($popup_error_message) > 0): ?>
|
||||||
$(function() {
|
$(function() {
|
||||||
$("#code_revision_popup_error_div").dialog( {
|
$("#code_revision_popup_error_div").dialog( {
|
||||||
title: '<?=$this->lang->line('Error')?>',
|
title: '<?php print $this->lang->line('Error')?>',
|
||||||
width: 'auto',
|
width: 'auto',
|
||||||
height: 'auto',
|
height: 'auto',
|
||||||
modal: true,
|
modal: true,
|
||||||
autoOpen: true,
|
autoOpen: true,
|
||||||
buttons: {
|
buttons: {
|
||||||
"<?=$this->lang->line('OK')?>": function() {
|
"<?php print $this->lang->line('OK')?>": function() {
|
||||||
$( this ).dialog( "close" );
|
$( this ).dialog( "close" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -153,7 +153,7 @@ function render_wiki()
|
|||||||
creole_render_wiki (
|
creole_render_wiki (
|
||||||
"code_revision_mainarea_result_msg_text",
|
"code_revision_mainarea_result_msg_text",
|
||||||
"code_revision_mainarea_result_msg",
|
"code_revision_mainarea_result_msg",
|
||||||
"<?=site_url()?>/wiki/show/<?=$project->id?>/",
|
"<?php print site_url()?>/wiki/show/<?php print $project->id?>/",
|
||||||
""
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -164,7 +164,7 @@ function render_wiki()
|
|||||||
creole_render_wiki (
|
creole_render_wiki (
|
||||||
"code_revision_mainarea_review_comment_text_" + (i + 1) ,
|
"code_revision_mainarea_review_comment_text_" + (i + 1) ,
|
||||||
"code_revision_mainarea_review_comment_" + (i + 1),
|
"code_revision_mainarea_review_comment_" + (i + 1),
|
||||||
"<?=site_url()?>/wiki/show/<?=$project->id?>/",
|
"<?php print site_url()?>/wiki/show/<?php print $project->id?>/",
|
||||||
""
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -281,20 +281,20 @@ $history = $file['history'];
|
|||||||
</div> <!-- code_revision_mainarea_menu -->
|
</div> <!-- code_revision_mainarea_menu -->
|
||||||
|
|
||||||
<div class="infostrip" id="code_revision_mainarea_infostrip">
|
<div class="infostrip" id="code_revision_mainarea_infostrip">
|
||||||
<?=anchor ("code/revision/{$project->id}/${xpar}/{$prev_revision}", '<<')?>
|
<?php print anchor ("code/revision/{$project->id}/${xpar}/{$prev_revision}", '<<')?>
|
||||||
<?=$this->lang->line('Revision')?>: <?=$history['rev']?>
|
<?php print $this->lang->line('Revision')?>: <?php print $history['rev']?>
|
||||||
<?=anchor ("code/revision/{$project->id}/${xpar}/{$next_revision}", '>>')?> |
|
<?php print anchor ("code/revision/{$project->id}/${xpar}/{$next_revision}", '>>')?> |
|
||||||
<?=$this->lang->line('Committer')?>: <?=htmlspecialchars($history['author'])?> |
|
<?php print $this->lang->line('Committer')?>: <?php print htmlspecialchars($history['author'])?> |
|
||||||
<?=$this->lang->line('Last updated on')?>: <?=date('r', strtotime($history['date']))?>
|
<?php print $this->lang->line('Last updated on')?>: <?php print date('r', strtotime($history['date']))?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="result" id="code_revision_mainarea_result">
|
<div class="result" id="code_revision_mainarea_result">
|
||||||
|
|
||||||
<div class="title"><?=$this->lang->line('Message')?>
|
<div class="title"><?php print $this->lang->line('Message')?>
|
||||||
<?php if ($can_edit): ?>
|
<?php if ($can_edit): ?>
|
||||||
<span class='anchor'>
|
<span class='anchor'>
|
||||||
<?=anchor ("#", $this->lang->line('Edit'),
|
<?php print anchor ("#", $this->lang->line('Edit'),
|
||||||
array ('id' => 'code_revision_edit_logmsg_button'));
|
array ('id' => 'code_revision_edit_logmsg_button'));
|
||||||
?>
|
?>
|
||||||
</span>
|
</span>
|
||||||
@ -307,7 +307,7 @@ $history = $file['history'];
|
|||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="title"><?=$this->lang->line('Files')?></div>
|
<div class="title"><?php print $this->lang->line('Files')?></div>
|
||||||
<table id="code_revision_mainarea_result_table">
|
<table id="code_revision_mainarea_result_table">
|
||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
@ -347,10 +347,10 @@ $history = $file['history'];
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="title"><?=$this->lang->line('Comment')?>
|
<div class="title"><?php print $this->lang->line('Comment')?>
|
||||||
<?php if ($is_loggedin): ?>
|
<?php if ($is_loggedin): ?>
|
||||||
<span class='anchor'>
|
<span class='anchor'>
|
||||||
<?=anchor ("#", $this->lang->line('New'),
|
<?php print anchor ("#", $this->lang->line('New'),
|
||||||
array ('id' => 'code_revision_new_review_comment_button'));
|
array ('id' => 'code_revision_new_review_comment_button'));
|
||||||
?>
|
?>
|
||||||
</span>
|
</span>
|
||||||
@ -408,8 +408,8 @@ $history = $file['history'];
|
|||||||
|
|
||||||
<?php if ($can_edit): ?>
|
<?php if ($can_edit): ?>
|
||||||
<div id="code_revision_edit_div">
|
<div id="code_revision_edit_div">
|
||||||
<?=form_open("code/revision/{$project->id}${revreqroot}", 'id="code_revision_edit_logmsg_form"')?>
|
<?php print form_open("code/revision/{$project->id}${revreqroot}", 'id="code_revision_edit_logmsg_form"')?>
|
||||||
<?=
|
<?php print
|
||||||
form_textarea (
|
form_textarea (
|
||||||
array ('name' => 'edit_log_message',
|
array ('name' => 'edit_log_message',
|
||||||
'value' => $history['msg'], 'rows'=> 10, 'cols' => 70,
|
'value' => $history['msg'], 'rows'=> 10, 'cols' => 70,
|
||||||
@ -417,7 +417,7 @@ $history = $file['history'];
|
|||||||
)
|
)
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<?=form_close()?>
|
<?php print form_close()?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?> <!-- $can_edit -->
|
<?php endif; ?> <!-- $can_edit -->
|
||||||
|
|
||||||
@ -462,7 +462,7 @@ $history = $file['history'];
|
|||||||
|
|
||||||
<?php if (strlen($popup_error_message) > 0): ?>
|
<?php if (strlen($popup_error_message) > 0): ?>
|
||||||
<div id="code_revision_popup_error_div">
|
<div id="code_revision_popup_error_div">
|
||||||
<?=$popup_error_message?>
|
<?php print $popup_error_message?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
@ -5,12 +5,12 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/code.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/code.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$file_count = count($file['content']);
|
$file_count = count($file['content']);
|
||||||
@ -98,14 +98,14 @@ $this->load->view (
|
|||||||
|
|
||||||
|
|
||||||
<div class="infostrip" id="code_search_mainarea_infostrip">
|
<div class="infostrip" id="code_search_mainarea_infostrip">
|
||||||
<?=form_open("code/search/{$project->id}/", 'id="code_search_search_form"')?>
|
<?php print form_open("code/search/{$project->id}/", 'id="code_search_search_form"')?>
|
||||||
<?=form_hidden ('search_folder', set_value('search_folder', $file['fullpath']), 'id="code_search_search_folder"')?>
|
<?php print form_hidden ('search_folder', set_value('search_folder', $file['fullpath']), 'id="code_search_search_folder"')?>
|
||||||
<?=form_hidden ('search_revision', set_value('search_revision', $revision), 'id="code_search_search_revision"')?>
|
<?php print form_hidden ('search_revision', set_value('search_revision', $revision), 'id="code_search_search_revision"')?>
|
||||||
<?=form_input ('search_pattern', set_value('search_pattern', ''), 'id="code_search_search_pattern"')?>
|
<?php print form_input ('search_pattern', set_value('search_pattern', ''), 'id="code_search_search_pattern"')?>
|
||||||
<?=form_submit ('search_submit', $this->lang->line('Search'), 'id="code_search_search_submit"')?>
|
<?php print form_submit ('search_submit', $this->lang->line('Search'), 'id="code_search_search_submit"')?>
|
||||||
|
|
|
|
||||||
<?=$this->lang->line('Revision')?>: <?=$file['created_rev']?>
|
<?php print $this->lang->line('Revision')?>: <?php print $file['created_rev']?>
|
||||||
<?=form_close()?>
|
<?php print form_close()?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="code_search_mainarea_result">
|
<div id="code_search_mainarea_result">
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/project.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/project.css')?>" />
|
||||||
<title><?=$title?></title>
|
<title><?php print $title?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -44,9 +44,9 @@ $this->load->view (
|
|||||||
<!---------------------------------------------------------------------------->
|
<!---------------------------------------------------------------------------->
|
||||||
<div class="mainarea" id="project_error_mainarea">
|
<div class="mainarea" id="project_error_mainarea">
|
||||||
<div class="title" id="project_error_title">
|
<div class="title" id="project_error_title">
|
||||||
<?= htmlspecialchars($title) ?>
|
<?php print htmlspecialchars($title) ?>
|
||||||
</div>
|
</div>
|
||||||
<?= htmlspecialchars($message) ?>
|
<?php print htmlspecialchars($message) ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php $this->load->view ('footer'); ?>
|
<?php $this->load->view ('footer'); ?>
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/file.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/file.css')?>" />
|
||||||
|
|
||||||
<title><title><?=htmlspecialchars($file->name)?></title></title>
|
<title><title><?php print htmlspecialchars($file->name)?></title></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -43,26 +43,26 @@ $this->load->view (
|
|||||||
<?php if ($message != "") print '<div id="file_delete_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
<?php if ($message != "") print '<div id="file_delete_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
||||||
|
|
||||||
<div class="form_container">
|
<div class="form_container">
|
||||||
<?=form_open("file/delete/{$project->id}/".$this->converter->AsciiToHex($file->name))?>
|
<?php print form_open("file/delete/{$project->id}/".$this->converter->AsciiToHex($file->name))?>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<?=form_checkbox('file_confirm', 'yes', set_checkbox('file_confirm', $file_confirm))?>
|
<?php print form_checkbox('file_confirm', 'yes', set_checkbox('file_confirm', $file_confirm))?>
|
||||||
<?=$this->lang->line('MSG_SURE_TO_DELETE_THIS') ?> - <?=htmlspecialchars($file->name)?>
|
<?php print $this->lang->line('MSG_SURE_TO_DELETE_THIS') ?> - <?php print htmlspecialchars($file->name)?>
|
||||||
<?=form_error('file_confirm')?>
|
<?php print form_error('file_confirm')?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_hidden('file_projectid', set_value('file_projectid', $file->projectid))?>
|
<?php print form_hidden('file_projectid', set_value('file_projectid', $file->projectid))?>
|
||||||
<?=form_hidden('file_name', set_value('file_name', $file->name))?>
|
<?php print form_hidden('file_name', set_value('file_name', $file->name))?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_submit('file', $this->lang->line('Delete'))?>
|
<?php print form_submit('file', $this->lang->line('Delete'))?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?=form_close();?>
|
<?php print form_close();?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -3,21 +3,21 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/file.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/file.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/prettify.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/prettify.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-css.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-css.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
@ -26,8 +26,8 @@ function render_wiki(input_text)
|
|||||||
creole_render_wiki_with_input_text (
|
creole_render_wiki_with_input_text (
|
||||||
input_text,
|
input_text,
|
||||||
"file_edit_mainarea_description_preview",
|
"file_edit_mainarea_description_preview",
|
||||||
"<?=site_url()?>/wiki/show/<?=$project->id?>/",
|
"<?php print site_url()?>/wiki/show/<?php print $project->id?>/",
|
||||||
"<?=site_url()?>/wiki/attachment0/<?=$project->id?>/"
|
"<?php print site_url()?>/wiki/attachment0/<?php print $project->id?>/"
|
||||||
);
|
);
|
||||||
|
|
||||||
prettyPrint ();
|
prettyPrint ();
|
||||||
@ -43,7 +43,7 @@ $(function () {
|
|||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<title><?=htmlspecialchars($file->name)?></title>
|
<title><?php print htmlspecialchars($file->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -80,10 +80,10 @@ $this->load->view (
|
|||||||
<?php if ($message != "") print '<div id="file_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
<?php if ($message != "") print '<div id="file_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
||||||
|
|
||||||
<div class="form_container">
|
<div class="form_container">
|
||||||
<?=form_open_multipart("file/$mode/{$project->id}/" . $this->converter->AsciiToHex($file->name))?>
|
<?php print form_open_multipart("file/$mode/{$project->id}/" . $this->converter->AsciiToHex($file->name))?>
|
||||||
|
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?=form_label($this->lang->line('Name').': ', 'file_name')?>
|
<?php print form_label($this->lang->line('Name').': ', 'file_name')?>
|
||||||
<?php
|
<?php
|
||||||
$extra = ($mode == 'update')? 'readonly="readonly"': '';
|
$extra = ($mode == 'update')? 'readonly="readonly"': '';
|
||||||
$extra .= 'maxlength="255" size="40"';
|
$extra .= 'maxlength="255" size="40"';
|
||||||
@ -92,46 +92,46 @@ $this->load->view (
|
|||||||
else
|
else
|
||||||
print form_upload('file_name', set_value('file_name', $file->name), $extra);
|
print form_upload('file_name', set_value('file_name', $file->name), $extra);
|
||||||
?>
|
?>
|
||||||
<?=form_error('file_name');?>
|
<?php print form_error('file_name');?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?=form_label($this->lang->line('Tag').': ', 'file_tag')?>
|
<?php print form_label($this->lang->line('Tag').': ', 'file_tag')?>
|
||||||
<?php
|
<?php
|
||||||
$extra = 'maxlength="50" size="25"';
|
$extra = 'maxlength="50" size="25"';
|
||||||
?>
|
?>
|
||||||
<?=form_input('file_tag', set_value('file_tag', $file->tag), $extra)?>
|
<?php print form_input('file_tag', set_value('file_tag', $file->tag), $extra)?>
|
||||||
<?=form_error('file_tag');?>
|
<?php print form_error('file_tag');?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('Summary').': ', 'file_summary')?>
|
<?php print form_label($this->lang->line('Summary').': ', 'file_summary')?>
|
||||||
<?=form_error('file_summary');?>
|
<?php print form_error('file_summary');?>
|
||||||
</div>
|
</div>
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?php
|
<?php
|
||||||
$extra = 'maxlength="255" size="80"';
|
$extra = 'maxlength="255" size="80"';
|
||||||
?>
|
?>
|
||||||
<?=form_input('file_summary', set_value('file_summary', $file->summary), $extra)?>
|
<?php print form_input('file_summary', set_value('file_summary', $file->summary), $extra)?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('Description').': ', 'file_description')?>
|
<?php print form_label($this->lang->line('Description').': ', 'file_description')?>
|
||||||
<a href='#' id='file_edit_mainarea_description_preview_button'><?=$this->lang->line('Preview')?></a>
|
<a href='#' id='file_edit_mainarea_description_preview_button'><?php print $this->lang->line('Preview')?></a>
|
||||||
<?=form_error('file_description');?>
|
<?php print form_error('file_description');?>
|
||||||
</div>
|
</div>
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?=form_textarea('file_description', set_value('file_description', $file->description), 'id=file_edit_mainarea_description')?>
|
<?php print form_textarea('file_description', set_value('file_description', $file->description), 'id=file_edit_mainarea_description')?>
|
||||||
</div>
|
</div>
|
||||||
<div id='file_edit_mainarea_description_preview' class='form_input_preview'></div>
|
<div id='file_edit_mainarea_description_preview' class='form_input_preview'></div>
|
||||||
|
|
||||||
|
|
||||||
<?=form_hidden('file_projectid', set_value('file_projectid', $file->projectid))?>
|
<?php print form_hidden('file_projectid', set_value('file_projectid', $file->projectid))?>
|
||||||
|
|
||||||
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
||||||
<?=form_submit('file', $caption)?>
|
<?php print form_submit('file', $caption)?>
|
||||||
|
|
||||||
<?=form_close();?>
|
<?php print form_close();?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div> <!-- file_mainarea -->
|
</div> <!-- file_mainarea -->
|
||||||
|
@ -5,10 +5,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/file.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/file.css')?>" />
|
||||||
|
|
||||||
<title><?=htmlspecialchars($project->name)?></title>
|
<title><?php print htmlspecialchars($project->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -43,7 +43,7 @@ $this->load->view (
|
|||||||
<!-- ============================================================ -->
|
<!-- ============================================================ -->
|
||||||
|
|
||||||
<div class="mainarea" id="file_home_mainarea">
|
<div class="mainarea" id="file_home_mainarea">
|
||||||
<div class="title"><?=$this->lang->line('Files')?></div>
|
<div class="title"><?php print $this->lang->line('Files')?></div>
|
||||||
|
|
||||||
<div class="result" id="file_home_mainarea_result">
|
<div class="result" id="file_home_mainarea_result">
|
||||||
<?php
|
<?php
|
||||||
|
@ -3,28 +3,28 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/file.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/file.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/prettify.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/prettify.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-css.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-css.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function () {
|
$(function () {
|
||||||
if ($("#file_show_mainarea_result_info").is(":visible"))
|
if ($("#file_show_mainarea_result_info").is(":visible"))
|
||||||
btn_label = "<?=$this->lang->line('Hide details')?>";
|
btn_label = "<?php print $this->lang->line('Hide details')?>";
|
||||||
else
|
else
|
||||||
btn_label = "<?=$this->lang->line('Show details')?>";
|
btn_label = "<?php print $this->lang->line('Show details')?>";
|
||||||
|
|
||||||
|
|
||||||
btn = $("#file_show_mainarea_details_button").button({"label": btn_label}).click (function () {
|
btn = $("#file_show_mainarea_details_button").button({"label": btn_label}).click (function () {
|
||||||
@ -33,13 +33,13 @@ $(function () {
|
|||||||
{
|
{
|
||||||
$("#file_show_mainarea_result_info").hide("blind",{},200);
|
$("#file_show_mainarea_result_info").hide("blind",{},200);
|
||||||
$("#file_show_mainarea_details_button").button(
|
$("#file_show_mainarea_details_button").button(
|
||||||
"option", "label", "<?=$this->lang->line('Show details')?>");
|
"option", "label", "<?php print $this->lang->line('Show details')?>");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$("#file_show_mainarea_result_info").show("blind",{},200);
|
$("#file_show_mainarea_result_info").show("blind",{},200);
|
||||||
$("#file_show_mainarea_details_button").button(
|
$("#file_show_mainarea_details_button").button(
|
||||||
"option", "label", "<?=$this->lang->line('Hide details')?>");
|
"option", "label", "<?php print $this->lang->line('Hide details')?>");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -49,15 +49,15 @@ function render_wiki()
|
|||||||
creole_render_wiki (
|
creole_render_wiki (
|
||||||
"file_show_mainarea_wiki_text",
|
"file_show_mainarea_wiki_text",
|
||||||
"file_show_mainarea_wiki",
|
"file_show_mainarea_wiki",
|
||||||
"<?=site_url()?>/wiki/show/<?=$project->id?>/",
|
"<?php print site_url()?>/wiki/show/<?php print $project->id?>/",
|
||||||
"<?=site_url()?>/wiki/attachment0/<?=$project->id?>/"
|
"<?php print site_url()?>/wiki/attachment0/<?php print $project->id?>/"
|
||||||
);
|
);
|
||||||
|
|
||||||
prettyPrint ();
|
prettyPrint ();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<title><?=htmlspecialchars($project->name)?> - <?=htmlspecialchars($file->name)?></title>
|
<title><?php print htmlspecialchars($project->name)?> - <?php print htmlspecialchars($file->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body onload="render_wiki()">
|
<body onload="render_wiki()">
|
||||||
@ -96,11 +96,11 @@ $this->load->view (
|
|||||||
|
|
||||||
|
|
||||||
<div class="mainarea" id="file_show_mainarea">
|
<div class="mainarea" id="file_show_mainarea">
|
||||||
<div class="title"><?=htmlspecialchars($file->name)?></div>
|
<div class="title"><?php print htmlspecialchars($file->name)?></div>
|
||||||
|
|
||||||
<div class="infostrip" id="wiki_show_mainarea_infostrip">
|
<div class="infostrip" id="wiki_show_mainarea_infostrip">
|
||||||
<?= anchor ("file/get/{$project->id}/". $this->converter->AsciiToHex($file->name), $this->lang->line('Download')) ?>
|
<?php print anchor ("file/get/{$project->id}/". $this->converter->AsciiToHex($file->name), $this->lang->line('Download')) ?>
|
||||||
| <a id="file_show_mainarea_details_button" href='#'><?=$this->lang->line('Details')?></a>
|
| <a id="file_show_mainarea_details_button" href='#'><?php print $this->lang->line('Details')?></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="file_show_mainarea_result">
|
<div id="file_show_mainarea_result">
|
||||||
@ -117,15 +117,15 @@ $this->load->view (
|
|||||||
<div id="file_show_mainarea_result_info">
|
<div id="file_show_mainarea_result_info">
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><?=$this->lang->line('Created on')?> <?= $file->createdon ?></li>
|
<li><?php print $this->lang->line('Created on')?> <?php print $file->createdon ?></li>
|
||||||
<li><?=$this->lang->line('Created by')?> <?= $file->createdby ?></li>
|
<li><?php print $this->lang->line('Created by')?> <?php print $file->createdby ?></li>
|
||||||
<li><?=$this->lang->line('Last updated on')?> <?= $file->updatedon ?></li>
|
<li><?php print $this->lang->line('Last updated on')?> <?php print $file->updatedon ?></li>
|
||||||
<li><?=$this->lang->line('Last updated by')?> <?= $file->updatedby ?></li>
|
<li><?php print $this->lang->line('Last updated by')?> <?php print $file->updatedby ?></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="title"><?=$this->lang->line('MD5')?></div>
|
<div class="title"><?php print $this->lang->line('MD5')?></div>
|
||||||
<ul>
|
<ul>
|
||||||
<li><?= $file->md5sum ?></li>
|
<li><?php print $file->md5sum ?></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</div> <!-- file_show_mainarea_result_info -->
|
</div> <!-- file_show_mainarea_result_info -->
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<div class="footer">
|
<div class="footer">
|
||||||
|
|
||||||
<?php if (CODEPOT_FOOTER == ''): ?>
|
<?php if (CODEPOT_FOOTER == ''): ?>
|
||||||
Codepot <?=CODEPOT_VERSION?> by Hyung-Hwan Chung
|
Codepot <?php print CODEPOT_VERSION?> by Hyung-Hwan Chung
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?=CODEPOT_FOOTER?>
|
<?php print CODEPOT_FOOTER?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -4,29 +4,29 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<meta name="keywords" content="<?=$project->id?>" />
|
<meta name="keywords" content="<?php print $project->id?>" />
|
||||||
<meta name="description" content="<?=htmlspecialchars($project->summary)?>" />
|
<meta name="description" content="<?php print htmlspecialchars($project->summary)?>" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/project.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/project.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/prettify.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/prettify.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-css.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-css.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
||||||
|
|
||||||
<!--[if lte IE 8]><script type="text/javascript" src="<?=base_url_make('/js/excanvas.min.js')?>"></script><![endif]-->
|
<!--[if lte IE 8]><script type="text/javascript" src="<?php print base_url_make('/js/excanvas.min.js')?>"></script><![endif]-->
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.flot.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.flot.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.flot.time.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.flot.time.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.flot.categories.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.flot.categories.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.flot.pie.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.flot.pie.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.flot.stack.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.flot.stack.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.flot.tickrotor.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.flot.tickrotor.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function show_tooltip(id, x, y, contents) {
|
function show_tooltip(id, x, y, contents) {
|
||||||
@ -408,14 +408,14 @@ function show_all_graphs (response)
|
|||||||
function render_graphs()
|
function render_graphs()
|
||||||
{
|
{
|
||||||
var ajax_req = $.ajax ({
|
var ajax_req = $.ajax ({
|
||||||
url: '<?=site_url()?>/graph/history_json/<?=$project->id?>/',
|
url: '<?php print site_url()?>/graph/history_json/<?php print $project->id?>/',
|
||||||
context: document.body,
|
context: document.body,
|
||||||
success: show_all_graphs
|
success: show_all_graphs
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<title><?=htmlspecialchars($project->name)?></title>
|
<title><?php print htmlspecialchars($project->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body onload="render_graphs()">
|
<body onload="render_graphs()">
|
||||||
@ -457,10 +457,10 @@ $this->load->view (
|
|||||||
<div class="sidebar" id="graph_main_sidebar">
|
<div class="sidebar" id="graph_main_sidebar">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<ul>
|
<ul>
|
||||||
<li><?=$this->lang->line('Created on')?> <?=$project->createdon?></li>
|
<li><?php print $this->lang->line('Created on')?> <?php print $project->createdon?></li>
|
||||||
<li><?=$this->lang->line('Created by')?> <?=$project->createdby?></li>
|
<li><?php print $this->lang->line('Created by')?> <?php print $project->createdby?></li>
|
||||||
<li><?=$this->lang->line('Last updated on')?> <?=$project->updatedon?></li>
|
<li><?php print $this->lang->line('Last updated on')?> <?php print $project->updatedon?></li>
|
||||||
<li><?=$this->lang->line('Last updated by')?> <?=$project->updatedby?></li>
|
<li><?php print $this->lang->line('Last updated by')?> <?php print $project->updatedby?></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div> --> <!-- graph_main_sidebar -->
|
</div> --> <!-- graph_main_sidebar -->
|
||||||
@ -471,7 +471,7 @@ $this->load->view (
|
|||||||
<div class="mainarea" id="graph_main_mainarea">
|
<div class="mainarea" id="graph_main_mainarea">
|
||||||
|
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<?=htmlspecialchars($project->name)?>
|
<?php print htmlspecialchars($project->name)?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/issue.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/issue.css')?>" />
|
||||||
|
|
||||||
<title><title><?=htmlspecialchars($issue->id)?></title></title>
|
<title><title><?php print htmlspecialchars($issue->id)?></title></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -43,26 +43,26 @@ $this->load->view (
|
|||||||
<?php if ($message != "") print '<div id="issue_delete_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
<?php if ($message != "") print '<div id="issue_delete_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
||||||
|
|
||||||
<div class="form_container">
|
<div class="form_container">
|
||||||
<?=form_open("issue/delete/{$project->id}/".$this->converter->AsciiToHex($issue->id))?>
|
<?php print form_open("issue/delete/{$project->id}/".$this->converter->AsciiToHex($issue->id))?>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<?=form_checkbox('issue_confirm', 'yes', set_checkbox('issue_confirm', $issue_confirm))?>
|
<?php print form_checkbox('issue_confirm', 'yes', set_checkbox('issue_confirm', $issue_confirm))?>
|
||||||
<?=$this->lang->line('MSG_SURE_TO_DELETE_THIS')?> - <?=htmlspecialchars($issue->id)?>
|
<?php print $this->lang->line('MSG_SURE_TO_DELETE_THIS')?> - <?php print htmlspecialchars($issue->id)?>
|
||||||
<?=form_error('issue_confirm')?>
|
<?php print form_error('issue_confirm')?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_hidden('issue_projectid', set_value('issue_projectid', $issue->projectid))?>
|
<?php print form_hidden('issue_projectid', set_value('issue_projectid', $issue->projectid))?>
|
||||||
<?=form_hidden('issue_id', set_value('issue_id', $issue->id))?>
|
<?php print form_hidden('issue_id', set_value('issue_id', $issue->id))?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_submit('issue', $this->lang->line('Delete'))?>
|
<?php print form_submit('issue', $this->lang->line('Delete'))?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?=form_close();?>
|
<?php print form_close();?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div> <!-- mainarea -->
|
</div> <!-- mainarea -->
|
||||||
|
@ -3,21 +3,21 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/issue.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/issue.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/prettify.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/prettify.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-css.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-css.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
@ -26,8 +26,8 @@ function render_wiki(input_text)
|
|||||||
creole_render_wiki_with_input_text (
|
creole_render_wiki_with_input_text (
|
||||||
input_text,
|
input_text,
|
||||||
"issue_edit_mainarea_description_preview",
|
"issue_edit_mainarea_description_preview",
|
||||||
"<?=site_url()?>/wiki/show/<?=$project->id?>/",
|
"<?php print site_url()?>/wiki/show/<?php print $project->id?>/",
|
||||||
"<?=site_url()?>/wiki/attachment0/<?=$project->id?>/"
|
"<?php print site_url()?>/wiki/attachment0/<?php print $project->id?>/"
|
||||||
);
|
);
|
||||||
prettyPrint ();
|
prettyPrint ();
|
||||||
}
|
}
|
||||||
@ -43,7 +43,7 @@ $(function () {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<title><?=htmlspecialchars($issue->id)?></title>
|
<title><?php print htmlspecialchars($issue->id)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -87,13 +87,13 @@ $this->load->view (
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class='form_container'>
|
<div class='form_container'>
|
||||||
<?=form_open("issue/{$mode}/{$project->id}/".$this->converter->AsciiToHex($issue->id))?>
|
<?php print form_open("issue/{$mode}/{$project->id}/".$this->converter->AsciiToHex($issue->id))?>
|
||||||
<div>
|
<div>
|
||||||
<?=form_hidden('issue_id', set_value('issue_id', $issue->id))?>
|
<?php print form_hidden('issue_id', set_value('issue_id', $issue->id))?>
|
||||||
<?=form_hidden('issue_projectid', set_value('issue_projectid', $issue->projectid))?>
|
<?php print form_hidden('issue_projectid', set_value('issue_projectid', $issue->projectid))?>
|
||||||
<?=form_hidden('issue_status', set_value('issue_status', $issue->status))?>
|
<?php print form_hidden('issue_status', set_value('issue_status', $issue->status))?>
|
||||||
<?=form_hidden('issue_priority', set_value('issue_priority', $issue->priority))?>
|
<?php print form_hidden('issue_priority', set_value('issue_priority', $issue->priority))?>
|
||||||
<?=form_hidden('issue_owner', set_value('issue_owner', $issue->owner))?>
|
<?php print form_hidden('issue_owner', set_value('issue_owner', $issue->owner))?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id='issue_edit_mainarea_type' class='form_input_field'>
|
<div id='issue_edit_mainarea_type' class='form_input_field'>
|
||||||
@ -116,20 +116,20 @@ $this->load->view (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('Summary').': ', 'issue_summary')?>
|
<?php print form_label($this->lang->line('Summary').': ', 'issue_summary')?>
|
||||||
<?=form_error('issue_summary');?>
|
<?php print form_error('issue_summary');?>
|
||||||
</div>
|
</div>
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?=form_input('issue_summary',
|
<?php print form_input('issue_summary',
|
||||||
set_value('issue_summary', $issue->summary),
|
set_value('issue_summary', $issue->summary),
|
||||||
'size="80" id="issue_edit_mainarea_summary"')
|
'size="80" id="issue_edit_mainarea_summary"')
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('Description').': ', 'issue_description')?>
|
<?php print form_label($this->lang->line('Description').': ', 'issue_description')?>
|
||||||
<a href='#' id='issue_edit_mainarea_description_preview_button'><?=$this->lang->line('Preview')?></a>
|
<a href='#' id='issue_edit_mainarea_description_preview_button'><?php print $this->lang->line('Preview')?></a>
|
||||||
<?=form_error('issue_description');?>
|
<?php print form_error('issue_description');?>
|
||||||
</div>
|
</div>
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?php
|
<?php
|
||||||
@ -147,9 +147,9 @@ $this->load->view (
|
|||||||
|
|
||||||
|
|
||||||
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
||||||
<?=form_submit('issue', $caption)?>
|
<?php print form_submit('issue', $caption)?>
|
||||||
|
|
||||||
<?=form_close();?>
|
<?php print form_close();?>
|
||||||
</div> <!-- form_container -->
|
</div> <!-- form_container -->
|
||||||
|
|
||||||
</div> <!-- issue_edit_mainarea -->
|
</div> <!-- issue_edit_mainarea -->
|
||||||
|
@ -5,12 +5,12 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/issue.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/issue.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* <![CDATA[ */
|
/* <![CDATA[ */
|
||||||
@ -27,20 +27,20 @@ function AsciiToHex (x) {
|
|||||||
|
|
||||||
$(function () {
|
$(function () {
|
||||||
$("#issue_home_mainarea_search_form").dialog ({
|
$("#issue_home_mainarea_search_form").dialog ({
|
||||||
title: '<?=$this->lang->line('Search')?>',
|
title: '<?php print $this->lang->line('Search')?>',
|
||||||
autoOpen: false,
|
autoOpen: false,
|
||||||
modal: true,
|
modal: true,
|
||||||
width: '80%',
|
width: '80%',
|
||||||
buttons: {
|
buttons: {
|
||||||
'<?=$this->lang->line('OK')?>': function () {
|
'<?php print $this->lang->line('OK')?>': function () {
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
var filter = AsciiToHex($('#issue_search_form').serialize());
|
var filter = AsciiToHex($('#issue_search_form').serialize());
|
||||||
var url='<?=site_url()?>/issue/home/<?=$project->id?>/' + filter;
|
var url='<?php print site_url()?>/issue/home/<?php print $project->id?>/' + filter;
|
||||||
|
|
||||||
$('body').append('<form id="magic_form" method="get" action="'+url+'"></form>');
|
$('body').append('<form id="magic_form" method="get" action="'+url+'"></form>');
|
||||||
$('#magic_form').submit();
|
$('#magic_form').submit();
|
||||||
},
|
},
|
||||||
'<?=$this->lang->line('Cancel')?>': function () {
|
'<?php print $this->lang->line('Cancel')?>': function () {
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -57,7 +57,7 @@ $(function () {
|
|||||||
/* ]]> */
|
/* ]]> */
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<title><?=htmlspecialchars($project->name)?></title>
|
<title><?php print htmlspecialchars($project->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -92,11 +92,11 @@ $this->load->view (
|
|||||||
<!-- ============================================================ -->
|
<!-- ============================================================ -->
|
||||||
|
|
||||||
<div class="mainarea" id="issue_home_mainarea">
|
<div class="mainarea" id="issue_home_mainarea">
|
||||||
<div class="title"><?=$this->lang->line('Issues')?></div>
|
<div class="title"><?php print $this->lang->line('Issues')?></div>
|
||||||
|
|
||||||
<div class="infostrip">
|
<div class="infostrip">
|
||||||
<?php printf ($this->lang->line('ISSUE_MSG_TOTAL_NUM_ISSUES'), $total_num_issues); ?> |
|
<?php printf ($this->lang->line('ISSUE_MSG_TOTAL_NUM_ISSUES'), $total_num_issues); ?> |
|
||||||
<a id="issue_home_mainarea_search_button" href='#'><?=$this->lang->line('Search')?></a>
|
<a id="issue_home_mainarea_search_button" href='#'><?php print $this->lang->line('Search')?></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="issue_home_mainarea_search_form">
|
<div id="issue_home_mainarea_search_form">
|
||||||
@ -107,24 +107,24 @@ $this->load->view (
|
|||||||
?>
|
?>
|
||||||
<form id="issue_search_form" action="">
|
<form id="issue_search_form" action="">
|
||||||
<div>
|
<div>
|
||||||
<?=form_label ($this->lang->line('Type'), 'issue_search_type')
|
<?php print form_label ($this->lang->line('Type'), 'issue_search_type')
|
||||||
?>
|
?>
|
||||||
<?=form_dropdown('type',
|
<?php print form_dropdown('type',
|
||||||
$issue_type_array,
|
$issue_type_array,
|
||||||
set_value('type', $search->type),
|
set_value('type', $search->type),
|
||||||
'id="issue_search_type"')
|
'id="issue_search_type"')
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?=form_label ($this->lang->line('Status'), 'issue_search_status')
|
<?php print form_label ($this->lang->line('Status'), 'issue_search_status')
|
||||||
?>
|
?>
|
||||||
<?=form_dropdown('status',
|
<?php print form_dropdown('status',
|
||||||
$issue_status_array,
|
$issue_status_array,
|
||||||
set_value('status', $search->status), 'id="issue_search_status"')
|
set_value('status', $search->status), 'id="issue_search_status"')
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?=form_label ($this->lang->line('Priority'), 'issue_search_priority')
|
<?php print form_label ($this->lang->line('Priority'), 'issue_search_priority')
|
||||||
?>
|
?>
|
||||||
<?=form_dropdown('priority',
|
<?php print form_dropdown('priority',
|
||||||
$issue_priority_array,
|
$issue_priority_array,
|
||||||
set_value('priority', $search->priority),
|
set_value('priority', $search->priority),
|
||||||
'id="issue_search_priority"')
|
'id="issue_search_priority"')
|
||||||
@ -133,18 +133,18 @@ $this->load->view (
|
|||||||
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_label ($this->lang->line('Owner'), 'issue_search_owner')
|
<?php print form_label ($this->lang->line('Owner'), 'issue_search_owner')
|
||||||
?>
|
?>
|
||||||
<?=form_input('owner',
|
<?php print form_input('owner',
|
||||||
set_value('owner', $search->owner),
|
set_value('owner', $search->owner),
|
||||||
'id="issue_search_owner"')
|
'id="issue_search_owner"')
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_label ($this->lang->line('Summary'), 'issue_search_summary')
|
<?php print form_label ($this->lang->line('Summary'), 'issue_search_summary')
|
||||||
?>
|
?>
|
||||||
<?=form_input('summary',
|
<?php print form_input('summary',
|
||||||
set_value('summary', $search->summary),
|
set_value('summary', $search->summary),
|
||||||
'id="issue_search_summary" size="50"')
|
'id="issue_search_summary" size="50"')
|
||||||
?>
|
?>
|
||||||
|
@ -2,21 +2,21 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/issue.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/issue.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/prettify.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/prettify.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-css.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-css.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
@ -85,12 +85,12 @@ $(function () {
|
|||||||
|
|
||||||
$("#issue_show_mainarea_change_form").dialog (
|
$("#issue_show_mainarea_change_form").dialog (
|
||||||
{
|
{
|
||||||
title: '<?=$this->lang->line('Change')?>',
|
title: '<?php print $this->lang->line('Change')?>',
|
||||||
autoOpen: false,
|
autoOpen: false,
|
||||||
modal: true,
|
modal: true,
|
||||||
width: '85%',
|
width: '85%',
|
||||||
buttons: {
|
buttons: {
|
||||||
'<?=$this->lang->line('OK')?>': function () {
|
'<?php print $this->lang->line('OK')?>': function () {
|
||||||
var comment = $('#issue_change_comment');
|
var comment = $('#issue_change_comment');
|
||||||
if (comment.val().trim().length <= 0)
|
if (comment.val().trim().length <= 0)
|
||||||
{
|
{
|
||||||
@ -106,7 +106,7 @@ $(function () {
|
|||||||
$('#issue_change_form').submit ();
|
$('#issue_change_form').submit ();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'<?=$this->lang->line('Cancel')?>': function () {
|
'<?php print $this->lang->line('Cancel')?>': function () {
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -123,17 +123,17 @@ $(function () {
|
|||||||
|
|
||||||
$("#issue_show_mainarea_undo_change_confirm").dialog (
|
$("#issue_show_mainarea_undo_change_confirm").dialog (
|
||||||
{
|
{
|
||||||
title: '<?=$this->lang->line('Undo')?>',
|
title: '<?php print $this->lang->line('Undo')?>',
|
||||||
resizable: false,
|
resizable: false,
|
||||||
autoOpen: false,
|
autoOpen: false,
|
||||||
modal: true,
|
modal: true,
|
||||||
buttons: {
|
buttons: {
|
||||||
'<?=$this->lang->line('OK')?>': function () {
|
'<?php print $this->lang->line('OK')?>': function () {
|
||||||
$('#issue_change').val ('undo');
|
$('#issue_change').val ('undo');
|
||||||
$('#issue_change_form').submit ();
|
$('#issue_change_form').submit ();
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
},
|
},
|
||||||
'<?=$this->lang->line('Cancel')?>': function () {
|
'<?php print $this->lang->line('Cancel')?>': function () {
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -157,7 +157,7 @@ $(function () {
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<title><?=htmlspecialchars($project->name)?> - <?=$this->lang->line('Issue')?> <?=htmlspecialchars($issue->id)?></title>
|
<title><?php print htmlspecialchars($project->name)?> - <?php print $this->lang->line('Issue')?> <?php print htmlspecialchars($issue->id)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body onload="render_wiki()">
|
<body onload="render_wiki()">
|
||||||
@ -197,8 +197,8 @@ $this->load->view (
|
|||||||
|
|
||||||
<div class="mainarea" id="issue_show_mainarea">
|
<div class="mainarea" id="issue_show_mainarea">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<?=$this->lang->line('Issue')?> <?=htmlspecialchars($issue->id)?>:
|
<?php print $this->lang->line('Issue')?> <?php print htmlspecialchars($issue->id)?>:
|
||||||
<?=htmlspecialchars($issue->summary)?>
|
<?php print htmlspecialchars($issue->summary)?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="infostrip" id="issue_show_mainarea_infostrip">
|
<div class="infostrip" id="issue_show_mainarea_infostrip">
|
||||||
@ -234,7 +234,7 @@ $this->load->view (
|
|||||||
print ' | ';
|
print ' | ';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<a id="issue_show_mainarea_change_form_open" href="#"><?=$this->lang->line('Change')?></a>
|
<a id="issue_show_mainarea_change_form_open" href="#"><?php print $this->lang->line('Change')?></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="issue_show_mainarea_description">
|
<div id="issue_show_mainarea_description">
|
||||||
@ -369,34 +369,34 @@ $this->load->view (
|
|||||||
|
|
||||||
<div id="issue_show_mainarea_change_form">
|
<div id="issue_show_mainarea_change_form">
|
||||||
|
|
||||||
<?=form_open("issue/show/{$project->id}/{$hexid}/", 'id="issue_change_form"')?>
|
<?php print form_open("issue/show/{$project->id}/{$hexid}/", 'id="issue_change_form"')?>
|
||||||
|
|
||||||
<input type='hidden' name='issue_change' id='issue_change' value='change' />
|
<input type='hidden' name='issue_change' id='issue_change' value='change' />
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_label ($this->lang->line('Type'),
|
<?php print form_label ($this->lang->line('Type'),
|
||||||
'issue_change_type')
|
'issue_change_type')
|
||||||
?>
|
?>
|
||||||
<?=form_dropdown('issue_change_type',
|
<?php print form_dropdown('issue_change_type',
|
||||||
$issue_type_array,
|
$issue_type_array,
|
||||||
set_value('issue_change_type', $issue->type),
|
set_value('issue_change_type', $issue->type),
|
||||||
'id="issue_change_type"')
|
'id="issue_change_type"')
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?=form_label ($this->lang->line('Status'),
|
<?php print form_label ($this->lang->line('Status'),
|
||||||
'issue_change_status')
|
'issue_change_status')
|
||||||
?>
|
?>
|
||||||
<?=form_dropdown('issue_change_status',
|
<?php print form_dropdown('issue_change_status',
|
||||||
$issue_status_array,
|
$issue_status_array,
|
||||||
set_value('issue_change_status', $issue->status),
|
set_value('issue_change_status', $issue->status),
|
||||||
'id="issue_change_status"')
|
'id="issue_change_status"')
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?=form_label ($this->lang->line('Priority'),
|
<?php print form_label ($this->lang->line('Priority'),
|
||||||
'issue_change_priority')
|
'issue_change_priority')
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?=form_dropdown (
|
<?php print form_dropdown (
|
||||||
'issue_change_priority',
|
'issue_change_priority',
|
||||||
$issue_priority_array,
|
$issue_priority_array,
|
||||||
set_value('issue_change_priority', $issue->priority),
|
set_value('issue_change_priority', $issue->priority),
|
||||||
@ -405,7 +405,7 @@ $this->load->view (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_label ($this->lang->line('Owner'),
|
<?php print form_label ($this->lang->line('Owner'),
|
||||||
'issue_change_owner')
|
'issue_change_owner')
|
||||||
?>
|
?>
|
||||||
|
|
||||||
@ -420,7 +420,7 @@ $this->load->view (
|
|||||||
if ($found === FALSE) $owner_array[$issue->owner] = $issue->owner;
|
if ($found === FALSE) $owner_array[$issue->owner] = $issue->owner;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?=form_dropdown (
|
<?php print form_dropdown (
|
||||||
'issue_change_owner',
|
'issue_change_owner',
|
||||||
$owner_array,
|
$owner_array,
|
||||||
set_value('issue_change_owner', $issue->owner),
|
set_value('issue_change_owner', $issue->owner),
|
||||||
@ -429,8 +429,8 @@ $this->load->view (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_label ($this->lang->line('Comment'), 'issue_change_comment')?>
|
<?php print form_label ($this->lang->line('Comment'), 'issue_change_comment')?>
|
||||||
<a href='#' id='issue_change_comment_preview_button'><?=$this->lang->line('Preview')?></a>
|
<a href='#' id='issue_change_comment_preview_button'><?php print $this->lang->line('Preview')?></a>
|
||||||
<?php
|
<?php
|
||||||
$xdata = array (
|
$xdata = array (
|
||||||
'name' => 'issue_change_comment',
|
'name' => 'issue_change_comment',
|
||||||
@ -444,12 +444,12 @@ $this->load->view (
|
|||||||
|
|
||||||
<div id='issue_change_comment_preview' class='form_input_preview'></div>
|
<div id='issue_change_comment_preview' class='form_input_preview'></div>
|
||||||
</div>
|
</div>
|
||||||
<?=form_close()?>
|
<?php print form_close()?>
|
||||||
</div> <!-- issue_show_change_form -->
|
</div> <!-- issue_show_change_form -->
|
||||||
|
|
||||||
|
|
||||||
<div id="issue_show_mainarea_undo_change_confirm">
|
<div id="issue_show_mainarea_undo_change_confirm">
|
||||||
<?=$this->lang->line ('ISSUE_MSG_CONFIRM_UNDO')?>
|
<?php print $this->lang->line ('ISSUE_MSG_CONFIRM_UNDO')?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div> <!-- issue_show_mainarea -->
|
</div> <!-- issue_show_mainarea -->
|
||||||
@ -473,8 +473,8 @@ function render_wiki()
|
|||||||
creole_render_wiki (
|
creole_render_wiki (
|
||||||
"issue_show_mainarea_description_pre",
|
"issue_show_mainarea_description_pre",
|
||||||
"issue_show_mainarea_description",
|
"issue_show_mainarea_description",
|
||||||
"<?=$creole_base?>",
|
"<?php print $creole_base?>",
|
||||||
"<?=$creole_attachment_base?>"
|
"<?php print $creole_attachment_base?>"
|
||||||
);
|
);
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@ -499,8 +499,8 @@ function render_wiki_comment_preview(input_text)
|
|||||||
creole_render_wiki_with_input_text (
|
creole_render_wiki_with_input_text (
|
||||||
input_text,
|
input_text,
|
||||||
"issue_change_comment_preview",
|
"issue_change_comment_preview",
|
||||||
"<?=$creole_base?>",
|
"<?php print $creole_base?>",
|
||||||
"<?=$creole_attachment_base?>"
|
"<?php print $creole_attachment_base?>"
|
||||||
);
|
);
|
||||||
|
|
||||||
prettyPrint ();
|
prettyPrint ();
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/log.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/log.css')?>" />
|
||||||
|
|
||||||
<?php if ($login['sysadmin?'] && isset($site)): ?>
|
<?php if ($login['sysadmin?'] && isset($site)): ?>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function () {
|
$(function () {
|
||||||
@ -20,12 +20,12 @@ $(function () {
|
|||||||
height:140,
|
height:140,
|
||||||
modal: true,
|
modal: true,
|
||||||
buttons: {
|
buttons: {
|
||||||
'<?=$this->lang->line('OK')?>': function() {
|
'<?php print $this->lang->line('OK')?>': function() {
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
$('#purge_log').val ('yes');
|
$('#purge_log').val ('yes');
|
||||||
$('#purge_form').submit();
|
$('#purge_form').submit();
|
||||||
},
|
},
|
||||||
'<?=$this->lang->line('Cancel')?>': function() {
|
'<?php print $this->lang->line('Cancel')?>': function() {
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
$('#purge_log').val ('no');
|
$('#purge_log').val ('no');
|
||||||
}
|
}
|
||||||
@ -48,7 +48,7 @@ $(function () {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title><?=htmlspecialchars($caption)?></title>
|
<title><?php print htmlspecialchars($caption)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -123,15 +123,15 @@ $this->load->view (
|
|||||||
<div class="mainarea" id="log_mainarea">
|
<div class="mainarea" id="log_mainarea">
|
||||||
|
|
||||||
<div class="title" id="log_mainarea_title">
|
<div class="title" id="log_mainarea_title">
|
||||||
<?= anchor ("site/log", $this->lang->line ('Change log')) ?>
|
<?php print anchor ("site/log", $this->lang->line ('Change log')) ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php if ($login['sysadmin?'] && isset($site)): ?>
|
<?php if ($login['sysadmin?'] && isset($site)): ?>
|
||||||
<?=form_open("site/log", 'id="purge_form"')?>
|
<?php print form_open("site/log", 'id="purge_form"')?>
|
||||||
<input type='hidden' name='purge_log' id='purge_log' value='' />
|
<input type='hidden' name='purge_log' id='purge_log' value='' />
|
||||||
<?=form_close()?>
|
<?php print form_close()?>
|
||||||
|
|
||||||
<div id="purge_confirm" title="<?= $this->lang->line('Purge') ?>">
|
<div id="purge_confirm" title="<?php print $this->lang->line('Purge') ?>">
|
||||||
<p>
|
<p>
|
||||||
<span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>
|
<span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>
|
||||||
Are you sure?
|
Are you sure?
|
||||||
@ -139,7 +139,7 @@ $this->load->view (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="infostrip">
|
<div class="infostrip">
|
||||||
<a id="log_mainarea_purge" href="#"><?= $this->lang->line('Purge') ?></a>
|
<a id="log_mainarea_purge" href="#"><?php print $this->lang->line('Purge') ?></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
@ -288,7 +288,7 @@ $this->load->view (
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<tr class='foot'>
|
<tr class='foot'>
|
||||||
<td colspan='<?=$numcols?>' class='pages'><?= $page_links ?></td>
|
<td colspan='<?php print $numcols?>' class='pages'><?php print $page_links ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -16,8 +16,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="boxa">
|
<div class="boxa">
|
||||||
<?= anchor ('site/home', $this->lang->line('Home')) ?>
|
<?php print anchor ('site/home', $this->lang->line('Home')) ?>
|
||||||
<?= anchor ('project/catalog', $this->lang->line('Projects')) ?>
|
<?php print anchor ('project/catalog', $this->lang->line('Projects')) ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -46,13 +46,13 @@ $this->load->view (
|
|||||||
<?php if ($message != "") print "<div id='project_create_message' class='form_message'>$message</div>"; ?>
|
<?php if ($message != "") print "<div id='project_create_message' class='form_message'>$message</div>"; ?>
|
||||||
|
|
||||||
<div class='form_container'>
|
<div class='form_container'>
|
||||||
<?=form_open('main/signin/')?>
|
<?php print form_open('main/signin/')?>
|
||||||
<?=form_hidden('user_url', set_value ('user_url', $user_url))?>
|
<?php print form_hidden('user_url', set_value ('user_url', $user_url))?>
|
||||||
|
|
||||||
<div class="form_input_field">
|
<div class="form_input_field">
|
||||||
<!--
|
<!--
|
||||||
<?=form_label($this->lang->line('Username'), 'user_name')?>
|
<?php print form_label($this->lang->line('Username'), 'user_name')?>
|
||||||
<?=form_input('user_name', set_value ('user_name', $user_name))?>
|
<?php print form_input('user_name', set_value ('user_name', $user_name))?>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@ -63,13 +63,13 @@ $this->load->view (
|
|||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?=form_error('user_name')?>
|
<?php print form_error('user_name')?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form_input_field">
|
<div class="form_input_field">
|
||||||
<!--
|
<!--
|
||||||
<?=form_label($this->lang->line('Password'), 'user_pass')?>
|
<?php print form_label($this->lang->line('Password'), 'user_pass')?>
|
||||||
<?=form_password('user_pass')?>
|
<?php print form_password('user_pass')?>
|
||||||
-->
|
-->
|
||||||
<?php
|
<?php
|
||||||
print form_password (
|
print form_password (
|
||||||
@ -78,12 +78,12 @@ $this->load->view (
|
|||||||
"size='30' id='login_user_pass' placeholder={$this->lang->line('Password')}"
|
"size='30' id='login_user_pass' placeholder={$this->lang->line('Password')}"
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
<?=form_error('user_pass')?>
|
<?php print form_error('user_pass')?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form_input_field">
|
<div class="form_input_field">
|
||||||
<!--
|
<!--
|
||||||
<?=form_submit('login', $this->lang->line('Sign in'))?>
|
<?php print form_submit('login', $this->lang->line('Sign in'))?>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@ -94,7 +94,7 @@ $this->load->view (
|
|||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<?=form_close();?>
|
<?php print form_close();?>
|
||||||
</div> <!-- form_container -->
|
</div> <!-- form_container -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/project.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/project.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function AsciiToHex (x) {
|
function AsciiToHex (x) {
|
||||||
@ -24,20 +24,20 @@ function AsciiToHex (x) {
|
|||||||
|
|
||||||
$(function () {
|
$(function () {
|
||||||
$("#project_catalog_mainarea_search_form").dialog ({
|
$("#project_catalog_mainarea_search_form").dialog ({
|
||||||
title: '<?=$this->lang->line('Search')?>',
|
title: '<?php print $this->lang->line('Search')?>',
|
||||||
autoOpen: false,
|
autoOpen: false,
|
||||||
modal: true,
|
modal: true,
|
||||||
width: '80%',
|
width: '80%',
|
||||||
buttons: {
|
buttons: {
|
||||||
'<?=$this->lang->line('OK')?>': function () {
|
'<?php print $this->lang->line('OK')?>': function () {
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
var filter = AsciiToHex($('#project_search_form').serialize());
|
var filter = AsciiToHex($('#project_search_form').serialize());
|
||||||
var url='<?=site_url()?>/project/catalog/' + filter;
|
var url='<?php print site_url()?>/project/catalog/' + filter;
|
||||||
|
|
||||||
$('body').append('<form id="magic_form" method="get" action="'+url+'"></form>');
|
$('body').append('<form id="magic_form" method="get" action="'+url+'"></form>');
|
||||||
$('#magic_form').submit();
|
$('#magic_form').submit();
|
||||||
},
|
},
|
||||||
'<?=$this->lang->line('Cancel')?>': function () {
|
'<?php print $this->lang->line('Cancel')?>': function () {
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -54,7 +54,7 @@ $(function () {
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<title><?=$this->lang->line('Projects')?></title>
|
<title><?php print $this->lang->line('Projects')?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -93,33 +93,33 @@ $this->load->view (
|
|||||||
|
|
||||||
<div class="infostrip">
|
<div class="infostrip">
|
||||||
<?php printf ($this->lang->line('PROJECT_MSG_TOTAL_NUM_PROJECTS'), $total_num_projects); ?> |
|
<?php printf ($this->lang->line('PROJECT_MSG_TOTAL_NUM_PROJECTS'), $total_num_projects); ?> |
|
||||||
<a id="project_catalog_mainarea_search_button" href='#'><?=$this->lang->line('Search')?></a>
|
<a id="project_catalog_mainarea_search_button" href='#'><?php print $this->lang->line('Search')?></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="project_catalog_mainarea_search_form">
|
<div id="project_catalog_mainarea_search_form">
|
||||||
<form id="project_search_form">
|
<form id="project_search_form">
|
||||||
<div>
|
<div>
|
||||||
<?=form_label ($this->lang->line('ID'), 'id')
|
<?php print form_label ($this->lang->line('ID'), 'id')
|
||||||
?>
|
?>
|
||||||
<?=form_input('id',
|
<?php print form_input('id',
|
||||||
set_value('owner', $search->id),
|
set_value('owner', $search->id),
|
||||||
'id="project_search_id"')
|
'id="project_search_id"')
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_label ($this->lang->line('Name'), 'name')
|
<?php print form_label ($this->lang->line('Name'), 'name')
|
||||||
?>
|
?>
|
||||||
<?=form_input('name',
|
<?php print form_input('name',
|
||||||
set_value('owner', $search->name),
|
set_value('owner', $search->name),
|
||||||
'id="project_search_name"')
|
'id="project_search_name"')
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_label ($this->lang->line('Summary'), 'summary')
|
<?php print form_label ($this->lang->line('Summary'), 'summary')
|
||||||
?>
|
?>
|
||||||
<?=form_input('summary',
|
<?php print form_input('summary',
|
||||||
set_value('summary', $search->summary),
|
set_value('summary', $search->summary),
|
||||||
'id="project_search_summary" size="50"')
|
'id="project_search_summary" size="50"')
|
||||||
?>
|
?>
|
||||||
@ -129,7 +129,7 @@ $this->load->view (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="project_catalog_mainarea_result">
|
<div class="result" id="project_catalog_mainarea_result">
|
||||||
<?php
|
<?php
|
||||||
if (empty($projects))
|
if (empty($projects))
|
||||||
{
|
{
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<meta name="keywords" content="<?=$project->id?>" />
|
<meta name="keywords" content="<?php print $project->id?>" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/project.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/project.css')?>" />
|
||||||
|
|
||||||
<title><?=htmlspecialchars($project->name)?></title>
|
<title><?php print htmlspecialchars($project->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -42,26 +42,26 @@ $this->load->view (
|
|||||||
<?php if ($message != "") print "<div id='project_create_message' class='form_message'>$message</div>"; ?>
|
<?php if ($message != "") print "<div id='project_create_message' class='form_message'>$message</div>"; ?>
|
||||||
|
|
||||||
<div class="form_container">
|
<div class="form_container">
|
||||||
<?=form_open('project/delete/'.$project->id)?>
|
<?php print form_open('project/delete/'.$project->id)?>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<?=form_checkbox('project_confirm', 'yes', set_checkbox('project_confirm', $project_confirm))?>
|
<?php print form_checkbox('project_confirm', 'yes', set_checkbox('project_confirm', $project_confirm))?>
|
||||||
<?=$this->lang->line('MSG_SURE_TO_DELETE_THIS')?> - <?=htmlspecialchars($project->name)?>
|
<?php print $this->lang->line('MSG_SURE_TO_DELETE_THIS')?> - <?php print htmlspecialchars($project->name)?>
|
||||||
<?=form_error('project_confirm')?>
|
<?php print form_error('project_confirm')?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_hidden('project_id', set_value('project_id', $project->id))?>
|
<?php print form_hidden('project_id', set_value('project_id', $project->id))?>
|
||||||
<?=form_hidden('project_name', set_value('project_name', $project->name))?>
|
<?php print form_hidden('project_name', set_value('project_name', $project->name))?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_submit('project', $this->lang->line('Delete'))?>
|
<?php print form_submit('project', $this->lang->line('Delete'))?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?=form_close();?>
|
<?php print form_close();?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -3,21 +3,21 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/project.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/project.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/prettify.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/prettify.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-css.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-css.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function render_wiki(input_text)
|
function render_wiki(input_text)
|
||||||
@ -25,8 +25,8 @@ function render_wiki(input_text)
|
|||||||
creole_render_wiki_with_input_text (
|
creole_render_wiki_with_input_text (
|
||||||
input_text,
|
input_text,
|
||||||
"project_edit_mainarea_description_preview",
|
"project_edit_mainarea_description_preview",
|
||||||
"<?=site_url()?>/wiki/show/<?=$project->id?>/",
|
"<?php print site_url()?>/wiki/show/<?php print $project->id?>/",
|
||||||
"<?=site_url()?>/wiki/attachment0/<?=$project->id?>/"
|
"<?php print site_url()?>/wiki/attachment0/<?php print $project->id?>/"
|
||||||
);
|
);
|
||||||
|
|
||||||
prettyPrint ();
|
prettyPrint ();
|
||||||
@ -41,7 +41,7 @@ $(function() {
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<title><?=$project->name?></title>
|
<title><?php print $project->name?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -82,39 +82,39 @@ $this->load->view (
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class='form_container'>
|
<div class='form_container'>
|
||||||
<?=form_open($formurl)?>
|
<?php print form_open($formurl)?>
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?=form_label($this->lang->line('ID').': ', 'project_id')?>
|
<?php print form_label($this->lang->line('ID').': ', 'project_id')?>
|
||||||
<?php
|
<?php
|
||||||
$extra = ($mode == 'update')? 'readonly="readonly"': '';
|
$extra = ($mode == 'update')? 'readonly="readonly"': '';
|
||||||
$extra .= 'maxlength="32" size="16"';
|
$extra .= 'maxlength="32" size="16"';
|
||||||
?>
|
?>
|
||||||
<?=form_input('project_id', set_value('project_id', $project->id), $extra)?>
|
<?php print form_input('project_id', set_value('project_id', $project->id), $extra)?>
|
||||||
<?=form_error('project_id')?>
|
<?php print form_error('project_id')?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('Name').': ', 'project_name')?>
|
<?php print form_label($this->lang->line('Name').': ', 'project_name')?>
|
||||||
<?=form_error('project_name')?>
|
<?php print form_error('project_name')?>
|
||||||
</div>
|
</div>
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?php $extra = 'maxlength="80" size="60"'; ?>
|
<?php $extra = 'maxlength="80" size="60"'; ?>
|
||||||
<?=form_input('project_name', set_value('project_name', $project->name), $extra)?>
|
<?php print form_input('project_name', set_value('project_name', $project->name), $extra)?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('Summary').': ', 'project_summary')?>
|
<?php print form_label($this->lang->line('Summary').': ', 'project_summary')?>
|
||||||
<?=form_error('project_summary')?>
|
<?php print form_error('project_summary')?>
|
||||||
</div>
|
</div>
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?php $extra = 'maxlength="80" size="80"'; ?>
|
<?php $extra = 'maxlength="80" size="80"'; ?>
|
||||||
<?=form_input('project_summary', set_value('project_summary', $project->summary), $extra)?>
|
<?php print form_input('project_summary', set_value('project_summary', $project->summary), $extra)?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('Description').': ', 'project_description')?>
|
<?php print form_label($this->lang->line('Description').': ', 'project_description')?>
|
||||||
<a href='#' id='project_edit_mainarea_description_preview_button'><?=$this->lang->line('Preview')?></a>
|
<a href='#' id='project_edit_mainarea_description_preview_button'><?php print $this->lang->line('Preview')?></a>
|
||||||
<?=form_error('project_description')?>
|
<?php print form_error('project_description')?>
|
||||||
</div>
|
</div>
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?php
|
<?php
|
||||||
@ -131,18 +131,18 @@ $this->load->view (
|
|||||||
<div id='project_edit_mainarea_description_preview' class='form_input_preview'></div>
|
<div id='project_edit_mainarea_description_preview' class='form_input_preview'></div>
|
||||||
|
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?=form_label($this->lang->line('Commitable').': ', 'project_commitable')?>
|
<?php print form_label($this->lang->line('Commitable').': ', 'project_commitable')?>
|
||||||
<?=form_checkbox('project_commitable', 'Y', set_checkbox('project_commitable', $project->commitable, $project->commitable == 'Y'))?>
|
<?php print form_checkbox('project_commitable', 'Y', set_checkbox('project_commitable', $project->commitable, $project->commitable == 'Y'))?>
|
||||||
<?=form_error('project_commitable')?>
|
<?php print form_error('project_commitable')?>
|
||||||
|
|
||||||
<?=form_label($this->lang->line('Public').': ', 'project_public')?>
|
<?php print form_label($this->lang->line('Public').': ', 'project_public')?>
|
||||||
<?=form_checkbox('project_public', 'Y', set_checkbox('project_public', $project->public, $project->public == 'Y'))?>
|
<?php print form_checkbox('project_public', 'Y', set_checkbox('project_public', $project->public, $project->public == 'Y'))?>
|
||||||
<?=form_error('project_public')?>
|
<?php print form_error('project_public')?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('Members').': ', 'project_members')?>
|
<?php print form_label($this->lang->line('Members').': ', 'project_members')?>
|
||||||
<?=form_error('project_members')?>
|
<?php print form_error('project_members')?>
|
||||||
</div>
|
</div>
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?php
|
<?php
|
||||||
@ -167,9 +167,9 @@ $this->load->view (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
||||||
<?=form_submit('project', $caption)?>
|
<?php print form_submit('project', $caption)?>
|
||||||
|
|
||||||
<?=form_close();?>
|
<?php print form_close();?>
|
||||||
</div> <!-- form_container -->
|
</div> <!-- form_container -->
|
||||||
|
|
||||||
</div> <!-- project_edit_mainarea -->
|
</div> <!-- project_edit_mainarea -->
|
||||||
|
@ -4,23 +4,23 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<meta name="keywords" content="<?=$project->id?>" />
|
<meta name="keywords" content="<?php print $project->id?>" />
|
||||||
<meta name="description" content="<?=htmlspecialchars($project->summary)?>" />
|
<meta name="description" content="<?php print htmlspecialchars($project->summary)?>" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/project.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/project.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/prettify.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/prettify.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-css.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-css.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function render_wiki()
|
function render_wiki()
|
||||||
@ -28,15 +28,15 @@ function render_wiki()
|
|||||||
creole_render_wiki (
|
creole_render_wiki (
|
||||||
"project_home_mainarea_wiki_text",
|
"project_home_mainarea_wiki_text",
|
||||||
"project_home_mainarea_wiki",
|
"project_home_mainarea_wiki",
|
||||||
"<?=site_url()?>/wiki/show/<?=$project->id?>/",
|
"<?php print site_url()?>/wiki/show/<?php print $project->id?>/",
|
||||||
"<?=site_url()?>/wiki/attachment0/<?=$project->id?>/"
|
"<?php print site_url()?>/wiki/attachment0/<?php print $project->id?>/"
|
||||||
);
|
);
|
||||||
|
|
||||||
prettyPrint ();
|
prettyPrint ();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<title><?=htmlspecialchars($project->name)?></title>
|
<title><?php print htmlspecialchars($project->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body onload="render_wiki()">
|
<body onload="render_wiki()">
|
||||||
@ -74,15 +74,15 @@ $this->load->view (
|
|||||||
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<ul>
|
<ul>
|
||||||
<li><?=$this->lang->line('Created on')?> <?=$project->createdon?></li>
|
<li><?php print $this->lang->line('Created on')?> <?php print $project->createdon?></li>
|
||||||
<li><?=$this->lang->line('Created by')?> <?=$project->createdby?></li>
|
<li><?php print $this->lang->line('Created by')?> <?php print $project->createdby?></li>
|
||||||
<li><?=$this->lang->line('Last updated on')?> <?=$project->updatedon?></li>
|
<li><?php print $this->lang->line('Last updated on')?> <?php print $project->updatedon?></li>
|
||||||
<li><?=$this->lang->line('Last updated by')?> <?=$project->updatedby?></li>
|
<li><?php print $this->lang->line('Last updated by')?> <?php print $project->updatedby?></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="boxtitle"><?=$this->lang->line('Members')?></div>
|
<div class="boxtitle"><?php print $this->lang->line('Members')?></div>
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
$members = $project->members;
|
$members = $project->members;
|
||||||
@ -127,7 +127,7 @@ $this->load->view (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="boxtitle"><?=$this->lang->line('Repository')?></div>
|
<div class="boxtitle"><?php print $this->lang->line('Repository')?></div>
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
$urls = explode (',', CODEPOT_SVN_BASE_URL);
|
$urls = explode (',', CODEPOT_SVN_BASE_URL);
|
||||||
@ -149,7 +149,7 @@ foreach ($urls as $url)
|
|||||||
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="boxtitle">
|
<div class="boxtitle">
|
||||||
<?= anchor ("/project/log/{$project->id}", $this->lang->line('Change log')) ?>
|
<?php print anchor ("/project/log/{$project->id}", $this->lang->line('Change log')) ?>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
if (count($log_entries) > 0)
|
if (count($log_entries) > 0)
|
||||||
@ -271,7 +271,7 @@ foreach ($urls as $url)
|
|||||||
<div class="mainarea" id="project_home_mainarea">
|
<div class="mainarea" id="project_home_mainarea">
|
||||||
|
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<?=htmlspecialchars($project->name)?>
|
<?php print htmlspecialchars($project->name)?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="result" id="project_home_mainarea_wiki">
|
<div class="result" id="project_home_mainarea_wiki">
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/site.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/site.css')?>" />
|
||||||
|
|
||||||
<title><?=htmlspecialchars($this->lang->line('Administration'))?></title>
|
<title><?php print htmlspecialchars($this->lang->line('Administration'))?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/site.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/site.css')?>" />
|
||||||
|
|
||||||
<title><?=htmlspecialchars($site->name)?></title>
|
<title><?php print htmlspecialchars($site->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -41,26 +41,26 @@ $this->load->view (
|
|||||||
<?php if ($message != "") print "<div id='site_create_message' class='form_message'>$message</div>"; ?>
|
<?php if ($message != "") print "<div id='site_create_message' class='form_message'>$message</div>"; ?>
|
||||||
|
|
||||||
<div class="form_container">
|
<div class="form_container">
|
||||||
<?=form_open("site/delete/{$site->id}")?>
|
<?php print form_open("site/delete/{$site->id}")?>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<?=form_checkbox('site_confirm', 'yes', set_checkbox('site_confirm', $site_confirm))?>
|
<?php print form_checkbox('site_confirm', 'yes', set_checkbox('site_confirm', $site_confirm))?>
|
||||||
<?=$this->lang->line('MSG_SURE_TO_DELETE_THIS')?> - <?=htmlspecialchars($site->name)?> (<?=$site->id?>)
|
<?php print $this->lang->line('MSG_SURE_TO_DELETE_THIS')?> - <?php print htmlspecialchars($site->name)?> (<?php print $site->id?>)
|
||||||
<?=form_error('site_confirm')?>
|
<?php print form_error('site_confirm')?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_hidden('site_id', set_value('site_id', $site->id))?>
|
<?php print form_hidden('site_id', set_value('site_id', $site->id))?>
|
||||||
<?=form_hidden('site_name', set_value('site_name', $site->name))?>
|
<?php print form_hidden('site_name', set_value('site_name', $site->name))?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_submit('site', $this->lang->line('Delete'))?>
|
<?php print form_submit('site', $this->lang->line('Delete'))?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?=form_close();?>
|
<?php print form_close();?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -3,22 +3,22 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/site.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/site.css')?>" />
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/prettify.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/prettify.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-css.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-css.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
@ -27,8 +27,8 @@ function render_wiki(input_text)
|
|||||||
creole_render_wiki_with_input_text (
|
creole_render_wiki_with_input_text (
|
||||||
input_text,
|
input_text,
|
||||||
"site_edit_mainarea_text_preview",
|
"site_edit_mainarea_text_preview",
|
||||||
"<?=site_url()?>/site/wiki/",
|
"<?php print site_url()?>/site/wiki/",
|
||||||
"<?=site_url()?>/site/image/"
|
"<?php print site_url()?>/site/image/"
|
||||||
);
|
);
|
||||||
|
|
||||||
prettyPrint ();
|
prettyPrint ();
|
||||||
@ -43,7 +43,7 @@ $(function () {
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<title><?=htmlspecialchars($site->name)?></title>
|
<title><?php print htmlspecialchars($site->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -84,37 +84,37 @@ $this->load->view (
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class='form_container'>
|
<div class='form_container'>
|
||||||
<?=form_open($formurl, 'id="site_edit_form"')?>
|
<?php print form_open($formurl, 'id="site_edit_form"')?>
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?=form_label($this->lang->line('Language').': ', 'site_id')?>
|
<?php print form_label($this->lang->line('Language').': ', 'site_id')?>
|
||||||
<?php
|
<?php
|
||||||
$extra = ($mode == 'update')? 'readonly="readonly"': '';
|
$extra = ($mode == 'update')? 'readonly="readonly"': '';
|
||||||
$extra .= 'maxlength="32" size="16" class="id"';
|
$extra .= 'maxlength="32" size="16" class="id"';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?=form_input('site_id',
|
<?php print form_input('site_id',
|
||||||
set_value('site_id', $site->id),
|
set_value('site_id', $site->id),
|
||||||
$extra)
|
$extra)
|
||||||
?>
|
?>
|
||||||
<?=form_error('site_id')?>
|
<?php print form_error('site_id')?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?=form_label($this->lang->line('Name').': ', 'site_name')?>
|
<?php print form_label($this->lang->line('Name').': ', 'site_name')?>
|
||||||
<?=form_input('site_name',
|
<?php print form_input('site_name',
|
||||||
set_value('site_name', $site->name),
|
set_value('site_name', $site->name),
|
||||||
'maxlength="80" size="40" class="name"');
|
'maxlength="80" size="40" class="name"');
|
||||||
?>
|
?>
|
||||||
<?=form_error('site_name')?>
|
<?php print form_error('site_name')?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('Text').': ', 'site_text')?>
|
<?php print form_label($this->lang->line('Text').': ', 'site_text')?>
|
||||||
<a href='#' id='site_edit_mainarea_text_preview_button'><?=$this->lang->line('Preview')?></a>
|
<a href='#' id='site_edit_mainarea_text_preview_button'><?php print $this->lang->line('Preview')?></a>
|
||||||
<?=form_error('site_text')?>
|
<?php print form_error('site_text')?>
|
||||||
</div>
|
</div>
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?=form_textarea('site_text',
|
<?php print form_textarea('site_text',
|
||||||
set_value('site_text', $site->text),
|
set_value('site_text', $site->text),
|
||||||
'class="text" id="site_edit_mainarea_text"')
|
'class="text" id="site_edit_mainarea_text"')
|
||||||
?>
|
?>
|
||||||
@ -123,8 +123,8 @@ $this->load->view (
|
|||||||
|
|
||||||
|
|
||||||
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
||||||
<?=form_submit('site', $caption)?>
|
<?php print form_submit('site', $caption)?>
|
||||||
<?=form_close();?>
|
<?php print form_close();?>
|
||||||
</div> <!-- form_container -->
|
</div> <!-- form_container -->
|
||||||
|
|
||||||
</div> <!-- site_edit_mainarea -->
|
</div> <!-- site_edit_mainarea -->
|
||||||
|
@ -5,14 +5,14 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<meta name="keywords" content="codepot" />
|
<meta name="keywords" content="codepot" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/site.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/site.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function render_wiki()
|
function render_wiki()
|
||||||
@ -20,8 +20,8 @@ function render_wiki()
|
|||||||
creole_render_wiki (
|
creole_render_wiki (
|
||||||
"site_home_mainarea_wiki_text",
|
"site_home_mainarea_wiki_text",
|
||||||
"site_home_mainarea_wiki",
|
"site_home_mainarea_wiki",
|
||||||
"<?=site_url()?>/site/wiki/",
|
"<?php print site_url()?>/site/wiki/",
|
||||||
"<?=site_url()?>/site/image/"
|
"<?php print site_url()?>/site/image/"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@ -69,7 +69,7 @@ $this->load->view (
|
|||||||
<div class="sidebar" id="site_home_mainarea_sidebar">
|
<div class="sidebar" id="site_home_mainarea_sidebar">
|
||||||
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="boxtitle"><?=$this->lang->line('Latest projects')?></div>
|
<div class="boxtitle"><?php print $this->lang->line('Latest projects')?></div>
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
foreach ($latest_projects as $project)
|
foreach ($latest_projects as $project)
|
||||||
@ -92,7 +92,7 @@ foreach ($latest_projects as $project)
|
|||||||
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="boxtitle">
|
<div class="boxtitle">
|
||||||
<?= anchor ("/site/log", $this->lang->line('Change log')) ?>
|
<?php print anchor ("/site/log", $this->lang->line('Change log')) ?>
|
||||||
</div>
|
</div>
|
||||||
<table id="site_home_mainarea_sidebar_log_table">
|
<table id="site_home_mainarea_sidebar_log_table">
|
||||||
<?php
|
<?php
|
||||||
@ -229,7 +229,7 @@ foreach ($latest_projects as $project)
|
|||||||
|
|
||||||
<?php if ($issues && count($issues) > 0): ?>
|
<?php if ($issues && count($issues) > 0): ?>
|
||||||
<div id="site_home_mainarea_issues">
|
<div id="site_home_mainarea_issues">
|
||||||
<div><?=$this->lang->line('Open issues')?></div>
|
<div><?php print $this->lang->line('Open issues')?></div>
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
foreach ($issues as $issue)
|
foreach ($issues as $issue)
|
||||||
@ -258,7 +258,7 @@ foreach ($latest_projects as $project)
|
|||||||
|
|
||||||
<?php if ($recently_resolved_issues && count($recently_resolved_issues) > 0): ?>
|
<?php if ($recently_resolved_issues && count($recently_resolved_issues) > 0): ?>
|
||||||
<div id="site_home_mainarea_issues">
|
<div id="site_home_mainarea_issues">
|
||||||
<div><?=$this->lang->line('Recently resolved issues')?></div>
|
<div><?php print $this->lang->line('Recently resolved issues')?></div>
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
foreach ($recently_resolved_issues as $issue)
|
foreach ($recently_resolved_issues as $issue)
|
||||||
|
@ -3,17 +3,17 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/site.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/site.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/prettify.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/prettify.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-css.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-css.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function render_wiki()
|
function render_wiki()
|
||||||
@ -21,8 +21,8 @@ function render_wiki()
|
|||||||
creole_render_wiki (
|
creole_render_wiki (
|
||||||
"site_show_mainarea_wiki_text",
|
"site_show_mainarea_wiki_text",
|
||||||
"site_show_mainarea_wiki",
|
"site_show_mainarea_wiki",
|
||||||
"<?=site_url()?>/site/wiki/",
|
"<?php print site_url()?>/site/wiki/",
|
||||||
"<?=site_url()?>/site/image/"
|
"<?php print site_url()?>/site/image/"
|
||||||
);
|
);
|
||||||
|
|
||||||
prettyPrint ();
|
prettyPrint ();
|
||||||
@ -31,7 +31,7 @@ function render_wiki()
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
?>
|
?>
|
||||||
<title><?=htmlspecialchars($site->name)?> (<?=$site->id?>)</title>
|
<title><?php print htmlspecialchars($site->name)?> (<?php print $site->id?>)</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body onload="render_wiki()">
|
<body onload="render_wiki()">
|
||||||
@ -77,7 +77,7 @@ $this->load->view (
|
|||||||
<div class="mainarea" id="site_show_mainarea">
|
<div class="mainarea" id="site_show_mainarea">
|
||||||
|
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<?=htmlspecialchars($site->name)?> (<?=htmlspecialchars($site->id)?>)
|
<?php print htmlspecialchars($site->name)?> (<?php print htmlspecialchars($site->id)?>)
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="site_show_mainarea_wiki">
|
<div id="site_show_mainarea_wiki">
|
||||||
|
@ -128,7 +128,7 @@ function show_taskbar ($con, $login)
|
|||||||
$(function () {
|
$(function () {
|
||||||
$("#taskbar_signin_form_panel").hide();
|
$("#taskbar_signin_form_panel").hide();
|
||||||
|
|
||||||
btn_label = "<?=$this->lang->line('Sign in')?>";
|
btn_label = "<?php print $this->lang->line('Sign in')?>";
|
||||||
btn = $("#taskbar_signin_button").button({"label": btn_label}).click (function () {
|
btn = $("#taskbar_signin_button").button({"label": btn_label}).click (function () {
|
||||||
if ($("#taskbar_signin_form_panel").is(":visible"))
|
if ($("#taskbar_signin_form_panel").is(":visible"))
|
||||||
{
|
{
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/user.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/user.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ $(function () {
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<title><?=htmlspecialchars($login['id'])?></title>
|
<title><?php print htmlspecialchars($login['id'])?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -66,8 +66,8 @@ $num_activities = 0;
|
|||||||
<div id="tabs">
|
<div id="tabs">
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#user_home_mainarea_result_issues"> <?=$this->lang->line('Open issues')?> (<?=$num_issues?>) </a></li>
|
<li><a href="#user_home_mainarea_result_issues"> <?php print $this->lang->line('Open issues')?> (<?php print $num_issues?>) </a></li>
|
||||||
<li><a href="#user_home_mainarea_result_projects"> <?=$this->lang->line('Projects')?> (<?=$num_projects?>) </a></li>
|
<li><a href="#user_home_mainarea_result_projects"> <?php print $this->lang->line('Projects')?> (<?php print $num_projects?>) </a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div id="user_home_mainarea_result_issues">
|
<div id="user_home_mainarea_result_issues">
|
||||||
|
@ -3,13 +3,13 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/user.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/user.css')?>" />
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
@ -18,7 +18,7 @@ $(function () {
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<title><?=htmlspecialchars($login['id'])?></title>
|
<title><?php print htmlspecialchars($login['id'])?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -62,33 +62,33 @@ $this->load->view (
|
|||||||
<div id="user_settings_mainarea_result">
|
<div id="user_settings_mainarea_result">
|
||||||
|
|
||||||
<div class="form_container">
|
<div class="form_container">
|
||||||
<?=form_open_multipart('user/settings/')?>
|
<?php print form_open_multipart('user/settings/')?>
|
||||||
|
|
||||||
<?=form_checkbox('code_hide_line_num',
|
<?php print form_checkbox('code_hide_line_num',
|
||||||
'Y', $settings->code_hide_line_num == 'Y')
|
'Y', $settings->code_hide_line_num == 'Y')
|
||||||
?>
|
?>
|
||||||
<?= $this->lang->line('USER_MSG_HIDE_LINE_NUMBER')?>
|
<?php print $this->lang->line('USER_MSG_HIDE_LINE_NUMBER')?>
|
||||||
|
|
||||||
<?=form_checkbox('code_hide_details',
|
<?php print form_checkbox('code_hide_details',
|
||||||
'Y', $settings->code_hide_details == 'Y')
|
'Y', $settings->code_hide_details == 'Y')
|
||||||
?>
|
?>
|
||||||
<?= $this->lang->line('USER_MSG_HIDE_DETAILS')?>
|
<?php print $this->lang->line('USER_MSG_HIDE_DETAILS')?>
|
||||||
|
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?=form_label($this->lang->line('Icon').': ', 'icon_img_file_name')?>
|
<?php print form_label($this->lang->line('Icon').': ', 'icon_img_file_name')?>
|
||||||
<?php
|
<?php
|
||||||
$extra = 'maxlength="255" size="40"';
|
$extra = 'maxlength="255" size="40"';
|
||||||
print form_upload('icon_img_file_name', set_value('icon_img_file_name', ''), $extra);
|
print form_upload('icon_img_file_name', set_value('icon_img_file_name', ''), $extra);
|
||||||
?>
|
?>
|
||||||
<?=form_error('icon_img_file_name');?>
|
<?php print form_error('icon_img_file_name');?>
|
||||||
(.png, max. 100x100)
|
(.png, max. 100x100)
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<?=form_submit('settings', $this->lang->line('OK'))?>
|
<?php print form_submit('settings', $this->lang->line('OK'))?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?=form_close();?>
|
<?php print form_close();?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div> <!-- user_settings_mainarea_result -->
|
</div> <!-- user_settings_mainarea_result -->
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/wiki.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/wiki.css')?>" />
|
||||||
|
|
||||||
<title><title><?=htmlspecialchars($wiki->name)?></title></title>
|
<title><title><?php print htmlspecialchars($wiki->name)?></title></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -43,26 +43,26 @@ $this->load->view (
|
|||||||
<?php if ($message != "") print '<div id="wiki_delete_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
<?php if ($message != "") print '<div id="wiki_delete_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
||||||
|
|
||||||
<div class="form_container">
|
<div class="form_container">
|
||||||
<?=form_open("wiki/delete/{$project->id}/".$this->converter->AsciiToHex($wiki->name))?>
|
<?php print form_open("wiki/delete/{$project->id}/".$this->converter->AsciiToHex($wiki->name))?>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<?=form_checkbox('wiki_confirm', 'yes', set_checkbox('wiki_confirm', $wiki_confirm))?>
|
<?php print form_checkbox('wiki_confirm', 'yes', set_checkbox('wiki_confirm', $wiki_confirm))?>
|
||||||
<?=$this->lang->line('MSG_SURE_TO_DELETE_THIS')?> - <?=htmlspecialchars($wiki->name)?>
|
<?php print $this->lang->line('MSG_SURE_TO_DELETE_THIS')?> - <?php print htmlspecialchars($wiki->name)?>
|
||||||
<?=form_error('wiki_confirm')?>
|
<?php print form_error('wiki_confirm')?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_hidden('wiki_projectid', set_value('wiki_projectid', $wiki->projectid))?>
|
<?php print form_hidden('wiki_projectid', set_value('wiki_projectid', $wiki->projectid))?>
|
||||||
<?=form_hidden('wiki_name', set_value('wiki_name', $wiki->name))?>
|
<?php print form_hidden('wiki_name', set_value('wiki_name', $wiki->name))?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_submit('wiki', $this->lang->line('Delete'))?>
|
<?php print form_submit('wiki', $this->lang->line('Delete'))?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?=form_close();?>
|
<?php print form_close();?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div> <!-- mainarea -->
|
</div> <!-- mainarea -->
|
||||||
|
@ -3,21 +3,21 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/wiki.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/wiki.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/prettify.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/prettify.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-css.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-css.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$hexname = $this->converter->AsciiToHex ($wiki->name);
|
$hexname = $this->converter->AsciiToHex ($wiki->name);
|
||||||
@ -44,8 +44,8 @@ function render_wiki(input_text)
|
|||||||
creole_render_wiki_with_input_text (
|
creole_render_wiki_with_input_text (
|
||||||
input_text,
|
input_text,
|
||||||
"wiki_edit_mainarea_text_preview",
|
"wiki_edit_mainarea_text_preview",
|
||||||
"<?=site_url()?>/wiki/show/<?=$project->id?>/",
|
"<?php print site_url()?>/wiki/show/<?php print $project->id?>/",
|
||||||
"<?=site_url()?>/wiki/attachment/<?=$project->id?>/<?=$hexname?>/"
|
"<?php print site_url()?>/wiki/attachment/<?php print $project->id?>/<?php print $hexname?>/"
|
||||||
);
|
);
|
||||||
|
|
||||||
prettyPrint ();
|
prettyPrint ();
|
||||||
@ -74,7 +74,7 @@ $(function () {
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<title><?=htmlspecialchars($wiki->name)?></title>
|
<title><?php print htmlspecialchars($wiki->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -111,24 +111,24 @@ $this->load->view (
|
|||||||
<?php if ($message != "") print '<div id="wiki_edit_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
<?php if ($message != "") print '<div id="wiki_edit_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
||||||
|
|
||||||
<div class="form_container">
|
<div class="form_container">
|
||||||
<?=form_open_multipart("wiki/{$mode}/{$project->id}/".$this->converter->AsciiToHex($wiki->name))?>
|
<?php print form_open_multipart("wiki/{$mode}/{$project->id}/".$this->converter->AsciiToHex($wiki->name))?>
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('Name').': ', 'wiki_name')?>
|
<?php print form_label($this->lang->line('Name').': ', 'wiki_name')?>
|
||||||
<?=form_error('wiki_name');?>
|
<?php print form_error('wiki_name');?>
|
||||||
</div>
|
</div>
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?php
|
<?php
|
||||||
$extra = 'maxlength="80" size="40" id="wiki_edit_mainarea_name"';
|
$extra = 'maxlength="80" size="40" id="wiki_edit_mainarea_name"';
|
||||||
//$extra .= ($mode == 'update')? ' readonly="readonly"': '';
|
//$extra .= ($mode == 'update')? ' readonly="readonly"': '';
|
||||||
?>
|
?>
|
||||||
<?=form_input('wiki_name', set_value('wiki_name', $wiki->name), $extra)?>
|
<?php print form_input('wiki_name', set_value('wiki_name', $wiki->name), $extra)?>
|
||||||
<?=($mode == 'update')? form_hidden('wiki_original_name', set_value('wiki_original_name', $wiki->name)): ''?>
|
<?php print ($mode == 'update')? form_hidden('wiki_original_name', set_value('wiki_original_name', $wiki->name)): ''?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('Text').': ', 'wiki_text')?>
|
<?php print form_label($this->lang->line('Text').': ', 'wiki_text')?>
|
||||||
<a href='#' id='wiki_edit_mainarea_text_preview_button'><?=$this->lang->line('Preview')?></a>
|
<a href='#' id='wiki_edit_mainarea_text_preview_button'><?php print $this->lang->line('Preview')?></a>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$attrs = array (
|
$attrs = array (
|
||||||
@ -142,9 +142,9 @@ $this->load->view (
|
|||||||
print form_input ($attrs);
|
print form_input ($attrs);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?=$this->lang->line('Columns')?>(1-9)
|
<?php print $this->lang->line('Columns')?>(1-9)
|
||||||
|
|
||||||
<?=form_error('wiki_text');?>
|
<?php print form_error('wiki_text');?>
|
||||||
</div>
|
</div>
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?php
|
<?php
|
||||||
@ -162,8 +162,8 @@ $this->load->view (
|
|||||||
|
|
||||||
<?php if (!empty($wiki->attachments)): ?>
|
<?php if (!empty($wiki->attachments)): ?>
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('WIKI_ATTACHMENTS').': ', 'wiki_edit_attachment_list')?>
|
<?php print form_label($this->lang->line('WIKI_ATTACHMENTS').': ', 'wiki_edit_attachment_list')?>
|
||||||
<?=form_error('wiki_attachment_list');?>
|
<?php print form_error('wiki_attachment_list');?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
@ -188,11 +188,11 @@ $this->load->view (
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('WIKI_NEW_ATTACHMENTS').': ', 'wiki_edit_new_attachment_list')?>
|
<?php print form_label($this->lang->line('WIKI_NEW_ATTACHMENTS').': ', 'wiki_edit_new_attachment_list')?>
|
||||||
<a href='#' id='wiki_edit_more_new_attachment'>
|
<a href='#' id='wiki_edit_more_new_attachment'>
|
||||||
<?=$this->lang->line('WIKI_MORE_NEW_ATTACHMENTS')?>
|
<?php print $this->lang->line('WIKI_MORE_NEW_ATTACHMENTS')?>
|
||||||
</a>
|
</a>
|
||||||
<?=form_error('wiki_edit_new_attachment_list');?>
|
<?php print form_error('wiki_edit_new_attachment_list');?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
@ -206,15 +206,15 @@ $this->load->view (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_hidden('wiki_projectid', set_value('wiki_projectid', $wiki->projectid))?>
|
<?php print form_hidden('wiki_projectid', set_value('wiki_projectid', $wiki->projectid))?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
||||||
<?=form_submit('wiki', $caption)?>
|
<?php print form_submit('wiki', $caption)?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?=form_close();?>
|
<?php print form_close();?>
|
||||||
</div> <!-- form_container -->
|
</div> <!-- form_container -->
|
||||||
|
|
||||||
</div> <!-- wiki_edit_mainarea -->
|
</div> <!-- wiki_edit_mainarea -->
|
||||||
|
@ -5,10 +5,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/wiki.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/wiki.css')?>" />
|
||||||
|
|
||||||
<title><?=htmlspecialchars($project->name)?></title>
|
<title><?php print htmlspecialchars($project->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -43,7 +43,7 @@ $this->load->view (
|
|||||||
<!-- =================================================================== -->
|
<!-- =================================================================== -->
|
||||||
|
|
||||||
<div class="mainarea" id="wiki_home_mainarea">
|
<div class="mainarea" id="wiki_home_mainarea">
|
||||||
<div class="title"><?=$this->lang->line('Wikis')?></div>
|
<div class="title"><?php print $this->lang->line('Wikis')?></div>
|
||||||
|
|
||||||
<div id="wiki_home_textarea">
|
<div id="wiki_home_textarea">
|
||||||
<?php
|
<?php
|
||||||
|
@ -3,21 +3,21 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/wiki.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/wiki.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/prettify.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/prettify.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-css.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-css.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
<script type="text/javascript" src="<?php print base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
<link type="text/css" rel="stylesheet" href="<?php print base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<title><?php
|
<title><?php
|
||||||
printf ('%s - %s', htmlspecialchars($project->name), htmlspecialchars($wiki->name));
|
printf ('%s - %s', htmlspecialchars($project->name), htmlspecialchars($wiki->name));
|
||||||
@ -31,9 +31,9 @@ $hexname = $this->converter->AsciiToHex ($wiki->name);
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function () {
|
$(function () {
|
||||||
if ($("#wiki_show_mainarea_result_info").is(":visible"))
|
if ($("#wiki_show_mainarea_result_info").is(":visible"))
|
||||||
btn_label = "<?=$this->lang->line('Hide details')?>";
|
btn_label = "<?php print $this->lang->line('Hide details')?>";
|
||||||
else
|
else
|
||||||
btn_label = "<?=$this->lang->line('Show details')?>";
|
btn_label = "<?php print $this->lang->line('Show details')?>";
|
||||||
|
|
||||||
|
|
||||||
btn = $("#wiki_show_mainarea_details_button").button({"label": btn_label}).click (function () {
|
btn = $("#wiki_show_mainarea_details_button").button({"label": btn_label}).click (function () {
|
||||||
@ -42,20 +42,20 @@ $(function () {
|
|||||||
{
|
{
|
||||||
$("#wiki_show_mainarea_result_info").hide("blind",{},200);
|
$("#wiki_show_mainarea_result_info").hide("blind",{},200);
|
||||||
$("#wiki_show_mainarea_details_button").button(
|
$("#wiki_show_mainarea_details_button").button(
|
||||||
"option", "label", "<?=$this->lang->line('Show details')?>");
|
"option", "label", "<?php print $this->lang->line('Show details')?>");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$("#wiki_show_mainarea_result_info").show("blind",{},200);
|
$("#wiki_show_mainarea_result_info").show("blind",{},200);
|
||||||
$("#wiki_show_mainarea_details_button").button(
|
$("#wiki_show_mainarea_details_button").button(
|
||||||
"option", "label", "<?=$this->lang->line('Hide details')?>");
|
"option", "label", "<?php print $this->lang->line('Hide details')?>");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function render_wiki()
|
function render_wiki()
|
||||||
{
|
{
|
||||||
var column_count = '<?= $wiki->columns ?>';
|
var column_count = '<?php print $wiki->columns ?>';
|
||||||
var x_column_count = parseInt (column_count);
|
var x_column_count = parseInt (column_count);
|
||||||
if (isNaN(x_column_count) || x_column_count < 1) x_column_count = 1;
|
if (isNaN(x_column_count) || x_column_count < 1) x_column_count = 1;
|
||||||
else if (x_column_count > 9) x_column_count = 9; // sync this max value with wiki_edit. TODO: put this into codepot.ini
|
else if (x_column_count > 9) x_column_count = 9; // sync this max value with wiki_edit. TODO: put this into codepot.ini
|
||||||
@ -71,8 +71,8 @@ function render_wiki()
|
|||||||
creole_render_wiki (
|
creole_render_wiki (
|
||||||
"wiki_show_mainarea_wiki_text",
|
"wiki_show_mainarea_wiki_text",
|
||||||
"wiki_show_mainarea_wiki",
|
"wiki_show_mainarea_wiki",
|
||||||
"<?=site_url()?>/wiki/show/<?=$project->id?>/",
|
"<?php print site_url()?>/wiki/show/<?php print $project->id?>/",
|
||||||
"<?=site_url()?>/wiki/attachment/<?=$project->id?>/<?=$hexname?>/"
|
"<?php print site_url()?>/wiki/attachment/<?php print $project->id?>/<?php print $hexname?>/"
|
||||||
);
|
);
|
||||||
|
|
||||||
prettyPrint ();
|
prettyPrint ();
|
||||||
@ -115,10 +115,10 @@ $this->load->view (
|
|||||||
|
|
||||||
<div class="mainarea" id="wiki_show_mainarea">
|
<div class="mainarea" id="wiki_show_mainarea">
|
||||||
|
|
||||||
<div class="title"><?=htmlspecialchars($wiki->name)?></div>
|
<div class="title"><?php print htmlspecialchars($wiki->name)?></div>
|
||||||
|
|
||||||
<div class="infostrip" id="wiki_show_mainarea_infostrip">
|
<div class="infostrip" id="wiki_show_mainarea_infostrip">
|
||||||
<a id="wiki_show_mainarea_details_button" href='#'><?=$this->lang->line('Details')?></a>
|
<a id="wiki_show_mainarea_details_button" href='#'><?php print $this->lang->line('Details')?></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@ -137,14 +137,14 @@ $this->load->view (
|
|||||||
<div id="wiki_show_mainarea_result_info">
|
<div id="wiki_show_mainarea_result_info">
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><?=$this->lang->line('Created on')?> <?= $wiki->createdon ?></li>
|
<li><?php print $this->lang->line('Created on')?> <?php print $wiki->createdon ?></li>
|
||||||
<li><?=$this->lang->line('Created by')?> <?= $wiki->createdby ?></li>
|
<li><?php print $this->lang->line('Created by')?> <?php print $wiki->createdby ?></li>
|
||||||
<li><?=$this->lang->line('Last updated on')?> <?= $wiki->updatedon ?></li>
|
<li><?php print $this->lang->line('Last updated on')?> <?php print $wiki->updatedon ?></li>
|
||||||
<li><?=$this->lang->line('Last updated by')?> <?= $wiki->updatedby ?></li>
|
<li><?php print $this->lang->line('Last updated by')?> <?php print $wiki->updatedby ?></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<?php if (!empty($wiki->attachments)): ?>
|
<?php if (!empty($wiki->attachments)): ?>
|
||||||
<div class="title"><?= $this->lang->line('WIKI_ATTACHMENTS') ?></div>
|
<div class="title"><?php print $this->lang->line('WIKI_ATTACHMENTS') ?></div>
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
foreach ($wiki->attachments as $att)
|
foreach ($wiki->attachments as $att)
|
||||||
|
@ -81,6 +81,7 @@ function load_ini ($file)
|
|||||||
|
|
||||||
array ('footer', 'string', ''),
|
array ('footer', 'string', ''),
|
||||||
array ('cloc_command_path', 'string', CODEPOT_CFG_DIR.'/cloc.pl'),
|
array ('cloc_command_path', 'string', CODEPOT_CFG_DIR.'/cloc.pl'),
|
||||||
|
array ('code_folder_readme', 'string', 'README'),
|
||||||
|
|
||||||
// these items are not used by php but by subersion hooks written in perl.
|
// these items are not used by php but by subersion hooks written in perl.
|
||||||
array ('svn_read_access', 'string', 'member'),
|
array ('svn_read_access', 'string', 'member'),
|
||||||
@ -89,7 +90,8 @@ function load_ini ($file)
|
|||||||
array ('svn_restriction_allowed_subdir_depth_min', 'integer', 0),
|
array ('svn_restriction_allowed_subdir_depth_min', 'integer', 0),
|
||||||
array ('svn_restriction_allowed_subdir_depth_max', 'integer', 0),
|
array ('svn_restriction_allowed_subdir_depth_max', 'integer', 0),
|
||||||
|
|
||||||
array ('code_folder_readme', 'string', 'README')
|
// this item is used by the codepot-user command.
|
||||||
|
array ('codepot_user_executor', 'string', 'root')
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach ($xcfgs as $x)
|
foreach ($xcfgs as $x)
|
||||||
|
@ -179,6 +179,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -222,6 +224,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -21,6 +21,47 @@ else
|
|||||||
|
|
||||||
$application_folder = dirname (__FILE__) . '/codepot';
|
$application_folder = dirname (__FILE__) . '/codepot';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|---------------------------------------------------------------
|
||||||
|
| SET DEFAULT TIMZEONE USING THE SYSTEM TIMEZONE
|
||||||
|
|---------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
if (function_exists('date_default_timezone_set') && !ini_get('date.timezone'))
|
||||||
|
{
|
||||||
|
$tz = '';
|
||||||
|
|
||||||
|
// On many systems (Mac, for instance) "/etc/localtime" is a symlink
|
||||||
|
// to the file with the timezone info
|
||||||
|
if (@is_link('/etc/localtime') === TRUE)
|
||||||
|
{
|
||||||
|
// If it is, that file's name is actually the "Olsen" format timezone
|
||||||
|
$filename = @readlink('/etc/localtime');
|
||||||
|
if ($filename !== FALSE)
|
||||||
|
{
|
||||||
|
$pos = strpos($filename, 'zoneinfo');
|
||||||
|
if ($pos !== FALSE)
|
||||||
|
{
|
||||||
|
// When it is, it's in the "/usr/share/zoneinfo/" folder
|
||||||
|
$tz = substr($filename, $pos + 9);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (file_exists('/etc/timezone'))
|
||||||
|
{
|
||||||
|
// Debian
|
||||||
|
$tz = file_get_contents('/etc/timezone');
|
||||||
|
}
|
||||||
|
else if (file_exists('/etc/sysconfig/clock'))
|
||||||
|
{
|
||||||
|
// CentOS
|
||||||
|
$clock = @parse_ini_file ('/etc/sysconfig/clock');
|
||||||
|
if ($clock !== FALSE && array_key_exists('ZONE', $clock)) $tz = $clock['ZONE'];
|
||||||
|
}
|
||||||
|
|
||||||
|
if (strlen($tz) <= 0) $tz = 'GMT';
|
||||||
|
date_default_timezone_set ($tz);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|---------------------------------------------------------------
|
|---------------------------------------------------------------
|
||||||
| DEFINE APPLICATION CONSTANTS
|
| DEFINE APPLICATION CONSTANTS
|
||||||
|
@ -179,6 +179,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -222,6 +224,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -179,6 +179,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -222,6 +224,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
4
codepot/src/system/cache/Makefile.in
vendored
4
codepot/src/system/cache/Makefile.in
vendored
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -179,6 +179,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -222,6 +224,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -179,6 +179,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -222,6 +224,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -179,6 +179,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -222,6 +224,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
@ -139,6 +139,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
PACKAGE_URL = @PACKAGE_URL@
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PHPEXTDIR = @PHPEXTDIR@
|
||||||
|
PHPEXTINIDIR = @PHPEXTINIDIR@
|
||||||
PREFIX = @PREFIX@
|
PREFIX = @PREFIX@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
RMDIR = @RMDIR@
|
RMDIR = @RMDIR@
|
||||||
@ -182,6 +184,8 @@ mandir = @mandir@
|
|||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
pdfdir = @pdfdir@
|
pdfdir = @pdfdir@
|
||||||
|
phpextdir = @phpextdir@
|
||||||
|
phpextinidir = @phpextinidir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user