Skip to content

Commit

Permalink
update:set demos and autodeploy
Browse files Browse the repository at this point in the history
  • Loading branch information
sheyi committed Jul 8, 2014
1 parent fbcb526 commit b895b0f
Show file tree
Hide file tree
Showing 89 changed files with 3,178 additions and 11,752 deletions.
16 changes: 16 additions & 0 deletions .gitignore
@@ -0,0 +1,16 @@
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

######################

##自动部署日志文件
auto.log
##higrid数据库配置文件
config/data.php
4 changes: 4 additions & 0 deletions autodeploy.php
@@ -0,0 +1,4 @@
<?php
//本文件自动部署
//访问地址:http://higrid.higrid.net
`git pull`;
29 changes: 29 additions & 0 deletions config/functions.php
@@ -0,0 +1,29 @@
<?php
defined('IN_SHEYI') || define('IN_SHEYI', true);
date_default_timezone_set("Asia/Shanghai");


function higrid_csv_to_array($filename = '', $delimiter = ',')
{
if(!file_exists($filename) || !is_readable($filename))
return FALSE;
$header = NULL;
$data = array();
if (($handle = fopen($filename, 'r')) !== FALSE)
{
while (($row = fgetcsv($handle, 1000, $delimiter)) !== FALSE)
{
if(!$header)
$header = $row;
else
$data[] = array_combine($header, $row);
}
fclose($handle);
}
return $data;
}


function higrid_demo_link($a){
return '<a href="/example.php?id='.$a.'" target="_blank">'.$a.'在线演示</a>';
}
21 changes: 21 additions & 0 deletions config/higrid_demo.csv
@@ -0,0 +1,21 @@
demo,page,comment
产品演示,products,用在网页上展示产品价格
自定义数据,products_customformat,展示产品价格浮动
筛选状态,testplan,用做办公系统
表头合并,chanzhi,暂无描述
常用操作,letter,暂无描述
导出excel,excel,暂无描述
自定义按钮,custom_button,暂无描述
自定义类型,format,暂无描述
长表格,custom,暂无描述
子表格,subgrid,暂无描述
分组表格,groupingbasic,暂无描述
分组表头,groupinghead1,暂无描述
分组表头,groupinghead2,暂无描述
两个分组,groupingtwo,暂无描述
两分组,groupingtwosum,暂无描述
表头分组求和,groupingtwosumheader,暂无描述
从右往左,rtl,暂无描述
汇总,footer,暂无描述
日期选择器,datepicker,暂无描述
工具栏自动完成,autocomplete_toolbar,暂无描述

0 comments on commit b895b0f

Please sign in to comment.