├── hush-app ├── etc │ ├── system.ini │ ├── env.php.sample │ ├── beta │ │ └── database.mysql.php │ ├── database.mysql.php │ ├── dev │ │ └── database.mysql.php │ ├── test │ │ └── database.mysql.php │ ├── default.mapping.ini │ ├── rc │ │ └── database.mysql.php │ ├── release │ │ └── database.mysql.php │ └── default.message.ini ├── doc │ ├── sql │ │ ├── update │ │ │ ├── README.txt │ │ │ └── update_v2.0.1_20200202.sql │ │ └── db │ │ │ ├── drop_hush_base.sql │ │ │ ├── drop_hush_core.sql │ │ │ ├── create_hush_base.sql │ │ │ └── create_hush_core.sql │ └── tpl │ │ ├── code.ctrl.tpl.t │ │ ├── code.tb.php.t │ │ ├── code.ctrl.php.t │ │ └── code.db.php.t ├── web │ └── default │ │ ├── html │ │ ├── 404.htm │ │ └── 500.htm │ │ ├── robots.txt │ │ ├── img │ │ ├── 01.png │ │ ├── 02.png │ │ ├── 03.png │ │ ├── 04.png │ │ ├── 05.png │ │ ├── 06.png │ │ ├── 07.png │ │ ├── 08.png │ │ ├── 09.png │ │ ├── 10.png │ │ ├── 11.png │ │ ├── 12.png │ │ ├── 13.png │ │ ├── 14.png │ │ ├── bg.jpg │ │ ├── bg-1.jpg │ │ ├── busy.gif │ │ ├── icon.png │ │ ├── logo.png │ │ ├── 03_01.png │ │ ├── bg-sea.jpg │ │ ├── blank.png │ │ ├── huodong.jpg │ │ ├── icon_ok.png │ │ ├── image.png │ │ ├── input.gif │ │ ├── left_bg.gif │ │ ├── lor_bg.gif │ │ ├── sort_bg.gif │ │ ├── test1.png │ │ ├── test2.png │ │ ├── test3.png │ │ ├── test4.png │ │ ├── ffsdk_04.png │ │ ├── ffsdk_05.png │ │ ├── icon_beta.png │ │ ├── icon_cal.png │ │ ├── icon_lock.png │ │ ├── icon_man.png │ │ ├── icon_star.png │ │ ├── icon_warn.png │ │ ├── lg_buttom.gif │ │ ├── login_bg.gif │ │ ├── mtitle_bg.gif │ │ ├── nav_link.gif │ │ ├── no_avatar.png │ │ ├── no_image.png │ │ ├── quick_bg.gif │ │ ├── sort_asc.gif │ │ ├── sort_desc.gif │ │ ├── track_db.jpg │ │ ├── button_bg1.gif │ │ ├── icon_right.png │ │ ├── icon_round.png │ │ ├── icon_search.png │ │ ├── icon_wrong.png │ │ ├── img_pre_none.gif │ │ ├── left_top_bg.gif │ │ ├── nav_current.gif │ │ ├── upload_audio.png │ │ ├── upload_image.png │ │ ├── upload_plus.png │ │ ├── upload_video.png │ │ ├── header_top_bg.gif │ │ ├── leftmenu_dt_bg.gif │ │ ├── leftmenu_li_s.gif │ │ ├── icon_arrow_down.png │ │ └── icon_arrow_right.png │ │ ├── app │ │ ├── scode │ │ │ └── arial.ttf │ │ ├── upload │ │ │ ├── uploadify.swf │ │ │ └── uploadify-cancel.png │ │ ├── color │ │ │ └── images │ │ │ │ ├── select.png │ │ │ │ ├── select2.png │ │ │ │ ├── custom_hex.png │ │ │ │ ├── select (1).png │ │ │ │ ├── custom_hsb_h.png │ │ │ │ ├── custom_hsb_s.png │ │ │ │ ├── custom_indic.gif │ │ │ │ ├── custom_rgb_b.png │ │ │ │ ├── custom_rgb_g.png │ │ │ │ ├── custom_rgb_r.png │ │ │ │ ├── custom_submit.png │ │ │ │ ├── colorpicker_hex.png │ │ │ │ ├── colorpicker_hsb_b.png │ │ │ │ ├── colorpicker_hsb_h.png │ │ │ │ ├── colorpicker_hsb_s.png │ │ │ │ ├── colorpicker_indic.gif │ │ │ │ ├── colorpicker_overlay.png │ │ │ │ ├── colorpicker_rgb_b.png │ │ │ │ ├── colorpicker_rgb_g.png │ │ │ │ ├── colorpicker_rgb_r.png │ │ │ │ ├── colorpicker_select.png │ │ │ │ ├── colorpicker_submit.png │ │ │ │ ├── custom_background.png │ │ │ │ └── colorpicker_background.png │ │ ├── dashboard │ │ │ ├── dashboard.png │ │ │ ├── css │ │ │ │ ├── images │ │ │ │ │ ├── buttonbg.png │ │ │ │ │ ├── menuhoverbg.png │ │ │ │ │ ├── icon_color_arrow.gif │ │ │ │ │ ├── theme_90_blitzer.png │ │ │ │ │ ├── theme_90_dot_luv.png │ │ │ │ │ ├── theme_90_flick.png │ │ │ │ │ ├── theme_90_le_frog.png │ │ │ │ │ ├── theme_90_sunny.png │ │ │ │ │ ├── theme_90_ui_dark.png │ │ │ │ │ ├── theme_90_windoze.png │ │ │ │ │ ├── theme_90_black_tie.png │ │ │ │ │ ├── theme_90_cupertino.png │ │ │ │ │ ├── theme_90_dark_hive.png │ │ │ │ │ ├── theme_90_eggplant.png │ │ │ │ │ ├── theme_90_humanity.png │ │ │ │ │ ├── theme_90_overcast.png │ │ │ │ │ ├── theme_90_ui_light.png │ │ │ │ │ ├── theme_90_black_matte.png │ │ │ │ │ ├── theme_90_excite_bike.png │ │ │ │ │ ├── theme_90_hot_sneaks.png │ │ │ │ │ ├── theme_90_mint_choco.png │ │ │ │ │ ├── theme_90_smoothness.png │ │ │ │ │ ├── theme_90_south_street.png │ │ │ │ │ ├── theme_90_start_menu.png │ │ │ │ │ ├── theme_90_swanky_purse.png │ │ │ │ │ ├── theme_90_trontastic.png │ │ │ │ │ ├── theme_90_pepper_grinder.png │ │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ │ │ ├── ui-icons_454545_256x240.png │ │ │ │ │ ├── ui-icons_888888_256x240.png │ │ │ │ │ ├── ui-icons_cd0a0a_256x240.png │ │ │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ │ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ │ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ │ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ │ │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png │ │ │ │ ├── gitter │ │ │ │ │ └── images │ │ │ │ │ │ ├── trees.jpg │ │ │ │ │ │ ├── gritter.png │ │ │ │ │ │ ├── ie-spacer.gif │ │ │ │ │ │ ├── gritter-light.png │ │ │ │ │ │ └── gritter-long.png │ │ │ │ └── bootstrap │ │ │ │ │ ├── css │ │ │ │ │ ├── custom-theme │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ │ │ │ │ ├── ui-icons_454545_256x240.png │ │ │ │ │ │ │ ├── ui-icons_888888_256x240.png │ │ │ │ │ │ │ ├── ui-icons_cd0a0a_256x240.png │ │ │ │ │ │ │ ├── ui-icons_f6cf3b_256x240.png │ │ │ │ │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ │ │ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ │ │ │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ │ │ │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ │ │ │ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ │ │ │ │ │ ├── ui-bg_glass_75_ffffff_1x400.png │ │ │ │ │ │ │ ├── ui-bg_inset-soft_95_fef1ec_1x100.png │ │ │ │ │ │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png │ │ │ │ │ │ └── jquery.ui.1.8.16.ie.css │ │ │ │ │ └── less │ │ │ │ │ │ └── bootstrap.less │ │ │ │ │ └── bootstrap │ │ │ │ │ └── js │ │ │ │ │ └── tests │ │ │ │ │ ├── unit │ │ │ │ │ └── bootstrap-scrollspy.js │ │ │ │ │ └── index.html │ │ │ └── libs │ │ │ │ └── documentUp │ │ │ │ └── documentup.min.js │ │ ├── tinymce │ │ │ ├── plugins │ │ │ │ ├── example_dependency │ │ │ │ │ └── plugin.min.js │ │ │ │ ├── help │ │ │ │ │ └── img │ │ │ │ │ │ └── logo.png │ │ │ │ ├── media │ │ │ │ │ └── moxieplayer.swf │ │ │ │ ├── emoticons │ │ │ │ │ └── img │ │ │ │ │ │ ├── smiley-cool.gif │ │ │ │ │ │ ├── smiley-cry.gif │ │ │ │ │ │ ├── smiley-frown.gif │ │ │ │ │ │ ├── smiley-kiss.gif │ │ │ │ │ │ ├── smiley-smile.gif │ │ │ │ │ │ ├── smiley-wink.gif │ │ │ │ │ │ ├── smiley-yell.gif │ │ │ │ │ │ ├── smiley-sealed.gif │ │ │ │ │ │ ├── smiley-embarassed.gif │ │ │ │ │ │ ├── smiley-innocent.gif │ │ │ │ │ │ ├── smiley-laughing.gif │ │ │ │ │ │ ├── smiley-surprised.gif │ │ │ │ │ │ ├── smiley-tongue-out.gif │ │ │ │ │ │ ├── smiley-undecided.gif │ │ │ │ │ │ ├── smiley-money-mouth.gif │ │ │ │ │ │ └── smiley-foot-in-mouth.gif │ │ │ │ ├── example │ │ │ │ │ ├── dialog.html │ │ │ │ │ └── plugin.min.js │ │ │ │ ├── print │ │ │ │ │ └── plugin.min.js │ │ │ │ ├── hr │ │ │ │ │ └── plugin.min.js │ │ │ │ ├── yimage │ │ │ │ │ └── plugin.min.js │ │ │ │ └── nonbreaking │ │ │ │ │ └── plugin.min.js │ │ │ ├── skins │ │ │ │ └── lightgray │ │ │ │ │ ├── img │ │ │ │ │ ├── wxai.png │ │ │ │ │ ├── anchor.gif │ │ │ │ │ ├── loader.gif │ │ │ │ │ ├── object.gif │ │ │ │ │ └── trans.gif │ │ │ │ │ ├── fonts │ │ │ │ │ ├── tinymce.eot │ │ │ │ │ ├── tinymce.ttf │ │ │ │ │ ├── tinymce.woff │ │ │ │ │ ├── tinymce-small.eot │ │ │ │ │ ├── tinymce-small.ttf │ │ │ │ │ ├── tinymce-small.woff │ │ │ │ │ └── tinymce-mobile.woff │ │ │ │ │ └── content.mobile.min.css │ │ │ └── langs │ │ │ │ └── readme.md │ │ ├── chosen │ │ │ ├── chosen-sprite.png │ │ │ └── chosen-sprite@2x.png │ │ ├── dropify │ │ │ └── fonts │ │ │ │ ├── dropify.eot │ │ │ │ ├── dropify.ttf │ │ │ │ └── dropify.woff │ │ ├── layer │ │ │ └── skin │ │ │ │ └── default │ │ │ │ ├── icon.png │ │ │ │ ├── icon-ext.png │ │ │ │ ├── loading-0.gif │ │ │ │ ├── loading-1.gif │ │ │ │ └── loading-2.gif │ │ ├── config.php │ │ └── chart │ │ │ ├── modules │ │ │ └── no-data-to-display.js │ │ │ └── themes │ │ │ └── grid-light.js │ │ ├── css │ │ ├── fonts │ │ │ └── IcoMoon-Free.ttf │ │ ├── images │ │ │ ├── ui-icons_222222_256x240.png │ │ │ ├── ui-icons_228ef1_256x240.png │ │ │ ├── ui-icons_2694e8_256x240.png │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ ├── ui-icons_3d80b3_256x240.png │ │ │ ├── ui-icons_72a7cf_256x240.png │ │ │ ├── ui-icons_ef8c08_256x240.png │ │ │ ├── ui-icons_ffd27a_256x240.png │ │ │ ├── ui-icons_ffffff_256x240.png │ │ │ ├── ui-bg_flat_10_000000_40x100.png │ │ │ ├── ui-bg_flat_15_cd0a0a_40x100.png │ │ │ ├── ui-bg_glass_50_3baae3_1x400.png │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ ├── ui-bg_glass_80_d7ebf9_1x400.png │ │ │ ├── ui-bg_glass_100_e4f1fb_1x400.png │ │ │ ├── ui-bg_glass_100_f6f6f6_1x400.png │ │ │ ├── ui-bg_glass_100_fdf5ce_1x400.png │ │ │ ├── ui-bg_gloss-wave_35_f6a828_500x100.png │ │ │ ├── ui-bg_diagonals-thick_18_b81900_40x40.png │ │ │ ├── ui-bg_diagonals-thick_20_666666_40x40.png │ │ │ ├── ui-bg_diagonals-thick_90_eeeeee_40x40.png │ │ │ ├── ui-bg_highlight-hard_100_f2f5f7_1x100.png │ │ │ ├── ui-bg_highlight-hard_70_000000_1x100.png │ │ │ ├── ui-bg_highlight-soft_100_deedf7_1x100.png │ │ │ ├── ui-bg_highlight-soft_100_eeeeee_1x100.png │ │ │ ├── ui-bg_highlight-soft_25_ffef8f_1x100.png │ │ │ └── ui-bg_highlight-soft_75_ffe45c_1x100.png │ │ ├── jquery.time.css │ │ ├── login.css │ │ ├── radial.css │ │ └── jquery.table.css │ │ ├── .htaccess │ │ ├── config.php │ │ └── index.php ├── tpl │ └── default │ │ ├── config │ │ └── README.txt │ │ └── template │ │ ├── index │ │ └── frame │ │ │ └── foot.tpl │ │ ├── demo │ │ ├── stats1.tpl │ │ ├── stats2.tpl │ │ ├── stats3.tpl │ │ ├── stats4.tpl │ │ ├── index.tpl │ │ ├── list.tpl │ │ ├── tabs.tpl │ │ ├── preview.tpl │ │ ├── code4.tpl │ │ ├── jump.tpl │ │ ├── code2.tpl │ │ ├── code1.tpl │ │ └── code3.tpl │ │ ├── base │ │ ├── crud │ │ │ ├── verify_msg.tpl │ │ │ ├── list_navi.tpl │ │ │ ├── list_td.tpl │ │ │ ├── list_th.tpl │ │ │ ├── item_upload.tpl │ │ │ ├── delete.tpl │ │ │ ├── msg.tpl │ │ │ ├── list_tabs.tpl │ │ │ ├── item_chosen.tpl │ │ │ ├── list.tpl │ │ │ ├── item_color.tpl │ │ │ ├── info.tpl │ │ │ ├── verify.tpl │ │ │ ├── add.tpl │ │ │ └── edit.tpl │ │ ├── form │ │ │ └── submit.tpl │ │ └── stat │ │ │ ├── main.tpl │ │ │ ├── main_chart.tpl │ │ │ └── main_table.tpl │ │ ├── frame │ │ ├── foot.tpl │ │ ├── page.tpl │ │ ├── error.tpl │ │ ├── charts.tpl │ │ ├── datetimepicker.tpl │ │ ├── colorpicker.tpl │ │ ├── window.tpl │ │ ├── editor.tpl │ │ ├── layout │ │ │ ├── foot.tpl │ │ │ └── head.tpl │ │ ├── dashboard.tpl │ │ └── head.tpl │ │ ├── acl │ │ ├── app │ │ │ └── ajax.tpl │ │ ├── welcome.tpl │ │ ├── personal.tpl │ │ ├── user │ │ │ ├── add.tpl │ │ │ └── edit.tpl │ │ └── role │ │ │ └── list.tpl │ │ └── test │ │ └── apilist.tpl ├── bin │ ├── hush.bat │ ├── hush │ └── hush.php ├── .gitignore └── lib │ └── App │ ├── App.php │ ├── App │ ├── Default.php │ ├── Exception.php │ └── Default │ │ ├── Page │ │ ├── IndexPage.php │ │ └── AjaxPage.php │ │ └── Http │ │ └── TestApi.php │ └── Dao │ ├── Core │ ├── AppRole.php │ ├── RolePriv.php │ ├── UserRole.php │ ├── BpmFlowRole.php │ ├── ResourceRole.php │ ├── BpmFlowOp.php │ ├── BpmNodePath.php │ ├── BpmModelField.php │ ├── BpmRequestAudit.php │ └── BpmRequestOp.php │ └── Core.php ├── snapshot.png ├── composer.json ├── hush-lib ├── Core │ ├── Util │ │ ├── getid3 │ │ │ ├── module.audio-video.mpeg.php │ │ │ ├── module.misc.par2.php │ │ │ └── module.misc.pdf.php │ │ ├── Sms │ │ │ ├── tencent │ │ │ │ └── Tet.Config.php │ │ │ └── yuntongxun │ │ │ │ └── Ytx.Config.php │ │ └── Mail.php │ ├── Cache │ │ ├── Token.php │ │ ├── Words.php │ │ ├── Game.php │ │ ├── Weixin.php │ │ ├── Ecode.php │ │ └── Vcode.php │ ├── Cache.php │ └── Dao.php ├── .gitignore ├── App │ ├── Service │ │ └── Base │ │ │ └── Test.php │ ├── Cache │ │ └── Demo.php │ ├── Cache.php │ ├── Dao.php │ ├── Service.php │ ├── Dao │ │ └── Base.php │ ├── Acl.php │ ├── Db │ │ ├── ConfigBeta.php │ │ ├── ConfigDev.php │ │ └── ConfigTest.php │ └── Cli │ │ └── Help.php ├── Hush │ ├── Date.php │ ├── Process │ │ ├── Interface.php │ │ ├── Exception.php │ │ └── Storage.php │ ├── Ldap.php │ ├── Libs.php │ ├── Cache │ │ ├── Memcache.php │ │ └── Exception.php │ ├── Ldap │ │ └── Exception.php │ ├── Acl.php │ ├── Http │ │ ├── Exception.php │ │ └── Client.php │ ├── Db │ │ ├── Exception.php │ │ └── Adapter │ │ │ └── Exception.php │ ├── Acl │ │ └── Exception.php │ ├── App │ │ └── Exception.php │ ├── Date │ │ └── Exception.php │ ├── Mail │ │ └── Exception.php │ ├── Message │ │ ├── Server.php │ │ ├── Exception.php │ │ └── Handler.php │ ├── Page │ │ └── Exception.php │ ├── Util │ │ └── Exception.php │ ├── Crypt │ │ ├── Exception.php │ │ └── Rsa │ │ │ ├── server.key │ │ │ └── server.crt │ ├── Cli │ │ └── Exception.php │ ├── Html │ │ ├── Exception.php │ │ └── Form │ │ │ ├── Exception.php │ │ │ ├── Textarea.php │ │ │ ├── File.php │ │ │ ├── Text.php │ │ │ ├── Button.php │ │ │ └── Submit.php │ ├── Service │ │ └── Exception.php │ ├── Socket │ │ └── Exception.php │ ├── Debug │ │ ├── Exception.php │ │ └── Writer.php │ ├── Document │ │ └── Exception.php │ ├── Exception.php │ ├── Examples │ │ ├── config.inc │ │ ├── Client.php │ │ └── Server.php │ ├── Mail.php │ ├── Crypt.php │ ├── View.php │ └── Document.php └── Pdt │ └── Libs.php ├── hush-run ├── .gitignore └── bin │ ├── build.sh │ └── build.bat ├── .gitignore └── .buildpath /hush-app/etc/system.ini: -------------------------------------------------------------------------------- 1 | scope=core -------------------------------------------------------------------------------- /hush-app/doc/sql/update/README.txt: -------------------------------------------------------------------------------- 1 | update sql -------------------------------------------------------------------------------- /hush-app/web/default/html/404.htm: -------------------------------------------------------------------------------- 1 | 404 error page -------------------------------------------------------------------------------- /hush-app/web/default/html/500.htm: -------------------------------------------------------------------------------- 1 | 500 error page -------------------------------------------------------------------------------- /hush-app/tpl/default/config/README.txt: -------------------------------------------------------------------------------- 1 | smarty config -------------------------------------------------------------------------------- /hush-app/web/default/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: / -------------------------------------------------------------------------------- /hush-app/tpl/default/template/index/frame/foot.tpl: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /hush-app/doc/sql/db/drop_hush_base.sql: -------------------------------------------------------------------------------- 1 | DROP DATABASE IF EXISTS `hush_base`; -------------------------------------------------------------------------------- /hush-app/doc/sql/db/drop_hush_core.sql: -------------------------------------------------------------------------------- 1 | DROP DATABASE IF EXISTS `hush_core`; -------------------------------------------------------------------------------- /snapshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/snapshot.png -------------------------------------------------------------------------------- /hush-app/tpl/default/template/demo/stats1.tpl: -------------------------------------------------------------------------------- 1 | {include file="base/stat/main.tpl"} -------------------------------------------------------------------------------- /hush-app/tpl/default/template/demo/stats2.tpl: -------------------------------------------------------------------------------- 1 | {include file="base/stat/main.tpl"} -------------------------------------------------------------------------------- /hush-app/tpl/default/template/demo/stats3.tpl: -------------------------------------------------------------------------------- 1 | {include file="base/stat/main.tpl"} -------------------------------------------------------------------------------- /hush-app/tpl/default/template/demo/stats4.tpl: -------------------------------------------------------------------------------- 1 | {include file="base/stat/main.tpl"} -------------------------------------------------------------------------------- /hush-app/tpl/default/template/base/crud/verify_msg.tpl: -------------------------------------------------------------------------------- 1 |
注意:审核说明不能为空,请认真填写!
-------------------------------------------------------------------------------- /hush-app/tpl/default/template/demo/index.tpl: -------------------------------------------------------------------------------- 1 | {include file="base/crud/list.tpl" blocks="add,edit"} -------------------------------------------------------------------------------- /hush-app/tpl/default/template/demo/list.tpl: -------------------------------------------------------------------------------- 1 | {include file="base/crud/list.tpl" blocks="add,edit"} -------------------------------------------------------------------------------- /hush-app/tpl/default/template/demo/tabs.tpl: -------------------------------------------------------------------------------- 1 | {include file="base/crud/list.tpl" blocks="add,edit"} -------------------------------------------------------------------------------- /hush-app/tpl/default/template/frame/foot.tpl: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 | -------------------------------------------------------------------------------- /hush-app/web/default/img/01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/01.png -------------------------------------------------------------------------------- /hush-app/web/default/img/02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/02.png -------------------------------------------------------------------------------- /hush-app/web/default/img/03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/03.png -------------------------------------------------------------------------------- /hush-app/web/default/img/04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/04.png -------------------------------------------------------------------------------- /hush-app/web/default/img/05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/05.png -------------------------------------------------------------------------------- /hush-app/web/default/img/06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/06.png -------------------------------------------------------------------------------- /hush-app/web/default/img/07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/07.png -------------------------------------------------------------------------------- /hush-app/web/default/img/08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/08.png -------------------------------------------------------------------------------- /hush-app/web/default/img/09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/09.png -------------------------------------------------------------------------------- /hush-app/web/default/img/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/10.png -------------------------------------------------------------------------------- /hush-app/web/default/img/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/11.png -------------------------------------------------------------------------------- /hush-app/web/default/img/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/12.png -------------------------------------------------------------------------------- /hush-app/web/default/img/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/13.png -------------------------------------------------------------------------------- /hush-app/web/default/img/14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/14.png -------------------------------------------------------------------------------- /hush-app/web/default/img/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/bg.jpg -------------------------------------------------------------------------------- /hush-app/web/default/img/bg-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/bg-1.jpg -------------------------------------------------------------------------------- /hush-app/web/default/img/busy.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/busy.gif -------------------------------------------------------------------------------- /hush-app/web/default/img/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/icon.png -------------------------------------------------------------------------------- /hush-app/web/default/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/logo.png -------------------------------------------------------------------------------- /hush-app/bin/hush.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | set "PHP_EXE=php.exe" 4 | 5 | %PHP_EXE% hush.php %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /hush-app/web/default/img/03_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/03_01.png -------------------------------------------------------------------------------- /hush-app/web/default/img/bg-sea.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/bg-sea.jpg -------------------------------------------------------------------------------- /hush-app/web/default/img/blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/blank.png -------------------------------------------------------------------------------- /hush-app/web/default/img/huodong.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/huodong.jpg -------------------------------------------------------------------------------- /hush-app/web/default/img/icon_ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/icon_ok.png -------------------------------------------------------------------------------- /hush-app/web/default/img/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/image.png -------------------------------------------------------------------------------- /hush-app/web/default/img/input.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/input.gif -------------------------------------------------------------------------------- /hush-app/web/default/img/left_bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/left_bg.gif -------------------------------------------------------------------------------- /hush-app/web/default/img/lor_bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/lor_bg.gif -------------------------------------------------------------------------------- /hush-app/web/default/img/sort_bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/sort_bg.gif -------------------------------------------------------------------------------- /hush-app/web/default/img/test1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/test1.png -------------------------------------------------------------------------------- /hush-app/web/default/img/test2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/test2.png -------------------------------------------------------------------------------- /hush-app/web/default/img/test3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/test3.png -------------------------------------------------------------------------------- /hush-app/web/default/img/test4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/test4.png -------------------------------------------------------------------------------- /hush-app/web/default/img/ffsdk_04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/ffsdk_04.png -------------------------------------------------------------------------------- /hush-app/web/default/img/ffsdk_05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/ffsdk_05.png -------------------------------------------------------------------------------- /hush-app/web/default/img/icon_beta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/icon_beta.png -------------------------------------------------------------------------------- /hush-app/web/default/img/icon_cal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/icon_cal.png -------------------------------------------------------------------------------- /hush-app/web/default/img/icon_lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/icon_lock.png -------------------------------------------------------------------------------- /hush-app/web/default/img/icon_man.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/icon_man.png -------------------------------------------------------------------------------- /hush-app/web/default/img/icon_star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/icon_star.png -------------------------------------------------------------------------------- /hush-app/web/default/img/icon_warn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/icon_warn.png -------------------------------------------------------------------------------- /hush-app/web/default/img/lg_buttom.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/lg_buttom.gif -------------------------------------------------------------------------------- /hush-app/web/default/img/login_bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/login_bg.gif -------------------------------------------------------------------------------- /hush-app/web/default/img/mtitle_bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/mtitle_bg.gif -------------------------------------------------------------------------------- /hush-app/web/default/img/nav_link.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/nav_link.gif -------------------------------------------------------------------------------- /hush-app/web/default/img/no_avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/no_avatar.png -------------------------------------------------------------------------------- /hush-app/web/default/img/no_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/no_image.png -------------------------------------------------------------------------------- /hush-app/web/default/img/quick_bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/quick_bg.gif -------------------------------------------------------------------------------- /hush-app/web/default/img/sort_asc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/sort_asc.gif -------------------------------------------------------------------------------- /hush-app/web/default/img/sort_desc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/sort_desc.gif -------------------------------------------------------------------------------- /hush-app/web/default/img/track_db.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/track_db.jpg -------------------------------------------------------------------------------- /hush-app/doc/sql/db/create_hush_base.sql: -------------------------------------------------------------------------------- 1 | CREATE DATABASE IF NOT EXISTS `hush_base` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; -------------------------------------------------------------------------------- /hush-app/doc/sql/db/create_hush_core.sql: -------------------------------------------------------------------------------- 1 | CREATE DATABASE IF NOT EXISTS `hush_core` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; -------------------------------------------------------------------------------- /hush-app/web/default/app/scode/arial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/scode/arial.ttf -------------------------------------------------------------------------------- /hush-app/web/default/img/button_bg1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/button_bg1.gif -------------------------------------------------------------------------------- /hush-app/web/default/img/icon_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/icon_right.png -------------------------------------------------------------------------------- /hush-app/web/default/img/icon_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/icon_round.png -------------------------------------------------------------------------------- /hush-app/web/default/img/icon_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/icon_search.png -------------------------------------------------------------------------------- /hush-app/web/default/img/icon_wrong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/icon_wrong.png -------------------------------------------------------------------------------- /hush-app/web/default/img/img_pre_none.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/img_pre_none.gif -------------------------------------------------------------------------------- /hush-app/web/default/img/left_top_bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/left_top_bg.gif -------------------------------------------------------------------------------- /hush-app/web/default/img/nav_current.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/nav_current.gif -------------------------------------------------------------------------------- /hush-app/web/default/img/upload_audio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/upload_audio.png -------------------------------------------------------------------------------- /hush-app/web/default/img/upload_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/upload_image.png -------------------------------------------------------------------------------- /hush-app/web/default/img/upload_plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/upload_plus.png -------------------------------------------------------------------------------- /hush-app/web/default/img/upload_video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/upload_video.png -------------------------------------------------------------------------------- /hush-app/web/default/img/header_top_bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/header_top_bg.gif -------------------------------------------------------------------------------- /hush-app/web/default/img/leftmenu_dt_bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/leftmenu_dt_bg.gif -------------------------------------------------------------------------------- /hush-app/web/default/img/leftmenu_li_s.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/leftmenu_li_s.gif -------------------------------------------------------------------------------- /hush-app/tpl/default/template/base/crud/list_navi.tpl: -------------------------------------------------------------------------------- 1 | {if $bps.navimsg} 2 | 5 | {/if} -------------------------------------------------------------------------------- /hush-app/web/default/app/upload/uploadify.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/upload/uploadify.swf -------------------------------------------------------------------------------- /hush-app/web/default/img/icon_arrow_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/icon_arrow_down.png -------------------------------------------------------------------------------- /hush-app/web/default/img/icon_arrow_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/img/icon_arrow_right.png -------------------------------------------------------------------------------- /hush-app/tpl/default/template/demo/preview.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | 3 | Preview Page 4 | 5 | {include file="frame/foot.tpl"} -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/select.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/dashboard.png -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/example_dependency/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("example_dependency",function(){},["example"]); -------------------------------------------------------------------------------- /hush-app/web/default/css/fonts/IcoMoon-Free.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/fonts/IcoMoon-Free.ttf -------------------------------------------------------------------------------- /hush-app/web/default/app/chosen/chosen-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/chosen/chosen-sprite.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/select2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/select2.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dropify/fonts/dropify.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dropify/fonts/dropify.eot -------------------------------------------------------------------------------- /hush-app/web/default/app/dropify/fonts/dropify.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dropify/fonts/dropify.ttf -------------------------------------------------------------------------------- /hush-app/web/default/app/dropify/fonts/dropify.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dropify/fonts/dropify.woff -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jameschz/hush", 3 | "description": "Hush Framework 2.x", 4 | "require": { 5 | "php": ">=7.2", 6 | } 7 | } -------------------------------------------------------------------------------- /hush-app/doc/sql/update/update_v2.0.1_20200202.sql: -------------------------------------------------------------------------------- 1 | use `hush_base`; 2 | 3 | ALTER TABLE `test` ADD `tags` varchar(255) NOT NULL DEFAULT '' AFTER `type`; 4 | -------------------------------------------------------------------------------- /hush-app/web/default/app/chosen/chosen-sprite@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/chosen/chosen-sprite@2x.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/custom_hex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/custom_hex.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/select (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/select (1).png -------------------------------------------------------------------------------- /hush-app/web/default/app/layer/skin/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/layer/skin/default/icon.png -------------------------------------------------------------------------------- /hush-app/web/default/app/upload/uploadify-cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/upload/uploadify-cancel.png -------------------------------------------------------------------------------- /hush-lib/Core/Util/getid3/module.audio-video.mpeg.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-lib/Core/Util/getid3/module.audio-video.mpeg.php -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/custom_hsb_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/custom_hsb_h.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/custom_hsb_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/custom_hsb_s.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/custom_indic.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/custom_indic.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/custom_rgb_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/custom_rgb_b.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/custom_rgb_g.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/custom_rgb_g.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/custom_rgb_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/custom_rgb_r.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/custom_submit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/custom_submit.png -------------------------------------------------------------------------------- /hush-app/web/default/app/layer/skin/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/layer/skin/default/icon-ext.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/colorpicker_hex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/colorpicker_hex.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/buttonbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/buttonbg.png -------------------------------------------------------------------------------- /hush-app/web/default/app/layer/skin/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/layer/skin/default/loading-0.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/layer/skin/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/layer/skin/default/loading-1.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/layer/skin/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/layer/skin/default/loading-2.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/help/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/plugins/help/img/logo.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/colorpicker_hsb_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/colorpicker_hsb_b.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/colorpicker_hsb_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/colorpicker_hsb_h.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/colorpicker_hsb_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/colorpicker_hsb_s.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/colorpicker_indic.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/colorpicker_indic.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/colorpicker_overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/colorpicker_overlay.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/colorpicker_rgb_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/colorpicker_rgb_b.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/colorpicker_rgb_g.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/colorpicker_rgb_g.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/colorpicker_rgb_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/colorpicker_rgb_r.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/colorpicker_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/colorpicker_select.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/colorpicker_submit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/colorpicker_submit.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/custom_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/custom_background.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/menuhoverbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/menuhoverbg.png -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/skins/lightgray/img/wxai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/skins/lightgray/img/wxai.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-icons_228ef1_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-icons_228ef1_256x240.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-icons_2694e8_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-icons_2694e8_256x240.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-icons_3d80b3_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-icons_3d80b3_256x240.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-icons_72a7cf_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-icons_72a7cf_256x240.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-icons_ef8c08_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-icons_ef8c08_256x240.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-icons_ffd27a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-icons_ffd27a_256x240.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /hush-app/web/default/.htaccess: -------------------------------------------------------------------------------- 1 | RewriteEngine on 2 | RewriteRule !\.(php|htm|html|js|ico|gif|jpg|png|css|swf|pdf|doc|xls|txt|ppt|zip|rar|ttf|woff|eot|svg|mp3|mp4|ogg)$ index.php -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/gitter/images/trees.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/gitter/images/trees.jpg -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/media/moxieplayer.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/plugins/media/moxieplayer.swf -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/skins/lightgray/img/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/skins/lightgray/img/anchor.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/skins/lightgray/img/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/skins/lightgray/img/loader.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/skins/lightgray/img/object.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/skins/lightgray/img/object.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/skins/lightgray/img/trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/skins/lightgray/img/trans.gif -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-bg_flat_10_000000_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-bg_flat_10_000000_40x100.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-bg_flat_15_cd0a0a_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-bg_flat_15_cd0a0a_40x100.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-bg_glass_50_3baae3_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-bg_glass_50_3baae3_1x400.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-bg_glass_80_d7ebf9_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-bg_glass_80_d7ebf9_1x400.png -------------------------------------------------------------------------------- /hush-app/web/default/app/color/images/colorpicker_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/color/images/colorpicker_background.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/gitter/images/gritter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/gitter/images/gritter.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/gitter/images/ie-spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/gitter/images/ie-spacer.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/icon_color_arrow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/icon_color_arrow.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_blitzer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_blitzer.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_dot_luv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_dot_luv.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_flick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_flick.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_le_frog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_le_frog.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_sunny.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_sunny.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_ui_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_ui_dark.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_windoze.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_windoze.png -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/skins/lightgray/fonts/tinymce.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/skins/lightgray/fonts/tinymce.eot -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/skins/lightgray/fonts/tinymce.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/skins/lightgray/fonts/tinymce.ttf -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-bg_glass_100_e4f1fb_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-bg_glass_100_e4f1fb_1x400.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-bg_glass_100_f6f6f6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-bg_glass_100_f6f6f6_1x400.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-bg_glass_100_fdf5ce_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-bg_glass_100_fdf5ce_1x400.png -------------------------------------------------------------------------------- /hush-app/etc/env.php.sample: -------------------------------------------------------------------------------- 1 | "local", // local/dev/test/beta/rc/release 4 | "ENVID" => "1", // only for dev 5 | "PHPLIBS" => "", 6 | ); -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_black_tie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_black_tie.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_cupertino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_cupertino.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_dark_hive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_dark_hive.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_eggplant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_eggplant.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_humanity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_humanity.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_overcast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_overcast.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_ui_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_ui_light.png -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/skins/lightgray/fonts/tinymce.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/skins/lightgray/fonts/tinymce.woff -------------------------------------------------------------------------------- /hush-app/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore for dev tool 2 | .settings/ 3 | .project/ 4 | .idea/ 5 | *.iml 6 | *.class 7 | *.project 8 | *.buildpath 9 | 10 | # Ignore for code 11 | .env.php -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/gitter/images/gritter-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/gitter/images/gritter-light.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/gitter/images/gritter-long.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/gitter/images/gritter-long.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_black_matte.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_black_matte.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_excite_bike.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_excite_bike.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_hot_sneaks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_hot_sneaks.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_mint_choco.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_mint_choco.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_smoothness.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_smoothness.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_south_street.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_south_street.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_start_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_start_menu.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_swanky_purse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_swanky_purse.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_trontastic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_trontastic.png -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-cool.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-cool.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-cry.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-cry.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-frown.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-frown.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-kiss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-kiss.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-smile.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-wink.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-wink.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-yell.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-yell.gif -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/theme_90_pepper_grinder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/theme_90_pepper_grinder.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-sealed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-sealed.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/skins/lightgray/fonts/tinymce-small.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/skins/lightgray/fonts/tinymce-small.eot -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/skins/lightgray/fonts/tinymce-small.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/skins/lightgray/fonts/tinymce-small.ttf -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/skins/lightgray/fonts/tinymce-small.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/skins/lightgray/fonts/tinymce-small.woff -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-bg_diagonals-thick_20_666666_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-bg_diagonals-thick_20_666666_40x40.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-bg_highlight-hard_70_000000_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-bg_highlight-hard_70_000000_1x100.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-bg_highlight-soft_100_deedf7_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-bg_highlight-soft_100_deedf7_1x100.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-bg_highlight-soft_25_ffef8f_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-bg_highlight-soft_25_ffef8f_1x100.png -------------------------------------------------------------------------------- /hush-app/web/default/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-embarassed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-embarassed.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-innocent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-innocent.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-laughing.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-laughing.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-surprised.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-surprised.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-tongue-out.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-tongue-out.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-undecided.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-undecided.gif -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/skins/lightgray/fonts/tinymce-mobile.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/skins/lightgray/fonts/tinymce-mobile.woff -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/dashboard/css/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-money-mouth.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/hush/master/hush-app/web/default/app/tinymce/plugins/emoticons/img/smiley-money-mouth.gif -------------------------------------------------------------------------------- /hush-app/web/default/config.php: -------------------------------------------------------------------------------- 1 | 3 | {include file="base/crud/item.tpl" from=list} 4 | 5 | {/if} -------------------------------------------------------------------------------- /hush-app/web/default/app/config.php: -------------------------------------------------------------------------------- 1 | 3 | {$paging.prevStr}{$paging.frStr} - {$paging.toStr}{$paging.nextStr} 4 | 5 | {/if} -------------------------------------------------------------------------------- /hush-app/tpl/default/template/base/crud/list_th.tpl: -------------------------------------------------------------------------------- 1 | {if $v.list} 2 | 3 | {if $view_orders.$k} 4 | {$v.name}{if $view_orders[$k]['sign']}{$view_orders[$k]['sign']}{/if} 5 | {else} 6 | {$v.name} 7 | {/if} 8 | 9 | {/if} -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/example/dialog.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |

Custom dialog

5 | Input some text: 6 | 7 | 8 | -------------------------------------------------------------------------------- /hush-lib/Core/Cache/Token.php: -------------------------------------------------------------------------------- 1 | 4 | APPNAME > CTRLNAME 5 | 6 | 7 |
8 | 9 |

{$welcome}

10 | 11 |
12 | 13 | {include file="frame/foot.tpl"} -------------------------------------------------------------------------------- /hush-app/tpl/default/template/frame/error.tpl: -------------------------------------------------------------------------------- 1 | {if $errors} 2 |
3 | {foreach $errors as $error} 4 | ! {$error} 5 | {/foreach} 6 |
7 | {/if} 8 | {if $msgs} 9 |
10 | {foreach $msgs as $msg} 11 | ! {$msg} 12 | {/foreach} 13 |
14 | {/if} -------------------------------------------------------------------------------- /hush-app/tpl/default/template/base/crud/item_upload.tpl: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 |

{$upload_name}

6 |

{$upload_size}

7 |
8 |
9 |
-------------------------------------------------------------------------------- /hush-lib/Hush/Date.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'Zend/Date.php'; 13 | 14 | class Hush_Date extends Zend_Date 15 | { 16 | 17 | } -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/bootstrap/css/custom-theme/jquery.ui.1.8.16.ie.css: -------------------------------------------------------------------------------- 1 | 2 | .ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-left, .ui-corner-bottom{ border-radius:0px;} 3 | .ui-state-active,.ui-tabs-selected { border-radius:0px;} 4 | .ui-tabs-selected { border-radius:0px;} 5 | .ui-tabs .ui-tabs-nav li{ filter:none;} 6 | .ui-tabs .ui-tabs-nav li a { border-radius:0px; } 7 | -------------------------------------------------------------------------------- /.buildpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /hush-run/bin/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | BaseDir=$(pwd) 4 | FileDir="$BaseDir/../" 5 | 6 | mkdir -p "$FileDir/sys" 7 | mkdir -p "$FileDir/sys/php/session" 8 | 9 | mkdir -p "$FileDir/cdn/hush-app" 10 | mkdir -p "$FileDir/dat/hush-app" 11 | mkdir -p "$FileDir/run" 12 | mkdir -p "$FileDir/run/hush-app/tpl/default" 13 | mkdir -p "$FileDir/run/hush-app/log/default" 14 | mkdir -p "$FileDir/run/hush-app/cache/default" 15 | -------------------------------------------------------------------------------- /hush-app/lib/App/App.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'Hush/App.php'; 13 | 14 | /** 15 | * @package App_App 16 | */ 17 | class App_App extends Hush_App 18 | { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /hush-app/tpl/default/template/acl/app/ajax.tpl: -------------------------------------------------------------------------------- 1 | {if $opt eq 'app'} 2 | 3 | {foreach $appopts as $menus} 4 | 5 | {html_options options=$menus.list selected=$sel} 6 | 7 | {/foreach} 8 | {elseif $opt eq 'menu'} 9 | 10 | {html_options options=$appopts selected=$sel} 11 | {/if} -------------------------------------------------------------------------------- /hush-lib/App/Cache.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'Core/Cache.php'; 13 | 14 | /** 15 | * @package App_Cache 16 | */ 17 | class App_Cache extends Core_Cache 18 | { 19 | 20 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Process/Interface.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @package Hush_Process 14 | */ 15 | interface Hush_Process_Interface 16 | { 17 | public function run (); 18 | } -------------------------------------------------------------------------------- /hush-lib/App/Dao.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'Core/Dao.php'; 13 | 14 | /** 15 | * @abstract 16 | * @package App_Dao 17 | */ 18 | class App_Dao extends Core_Dao 19 | { 20 | 21 | } -------------------------------------------------------------------------------- /hush-app/lib/App/App/Default.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'App/App/Page.php'; 13 | 14 | /** 15 | * @package App_App 16 | */ 17 | class App_App_Default extends App_App_Page 18 | { 19 | 20 | } -------------------------------------------------------------------------------- /hush-lib/App/Service.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'Core/Service.php'; 13 | 14 | /** 15 | * @abstract 16 | * @package App_Service 17 | */ 18 | class App_Service extends Core_Service 19 | { 20 | 21 | } 22 | -------------------------------------------------------------------------------- /hush-app/tpl/default/template/base/crud/delete.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | 3 |
4 | 5 | {include file="frame/error.tpl"} 6 | 7 | 8 | 9 | 12 | 13 |
10 | 11 |
14 | 15 |
16 | 17 | {include file="frame/foot.tpl"} -------------------------------------------------------------------------------- /hush-lib/Hush/Ldap.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Zend_Ldap 14 | */ 15 | require_once 'Zend/Ldap.php'; 16 | 17 | /** 18 | * @package Hush_Ldap 19 | */ 20 | class Hush_Ldap extends Zend_Ldap 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-app/tpl/default/template/base/crud/msg.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | 3 |
4 | 5 | {include file="frame/error.tpl"} 6 | 7 | 8 | 9 | 12 | 13 |
10 | 11 |
14 | 15 |
16 | 17 | {if !$_no_foot} 18 | {include file="frame/foot.tpl"} 19 | {/if} -------------------------------------------------------------------------------- /hush-lib/Hush/Libs.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'Hush/Util.php'; 13 | require_once 'Hush/Exception.php'; 14 | require_once 'Hush/Session.php'; 15 | require_once 'Hush/Cache.php'; 16 | require_once 'Hush/Db.php'; -------------------------------------------------------------------------------- /hush-lib/Core/Cache/Vcode.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id: james $ 10 | */ 11 | 12 | /** 13 | * @package Hush_Cache 14 | */ 15 | class Hush_Cache_Memcache extends Hush_Cache 16 | { 17 | const DEFAULT_HOST = '127.0.0.1'; 18 | const DEFAULT_PORT = '11211'; 19 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Ldap/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Ldap 19 | */ 20 | class Hush_Ldap_Exception extends Hush_Exception 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Acl.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Zend_Acl 14 | */ 15 | require_once 'Zend/Acl.php'; 16 | 17 | /** 18 | * @abstract 19 | * @package Hush_Acl 20 | */ 21 | abstract class Hush_Acl extends Zend_Acl 22 | { 23 | 24 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Http/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id: james $ 10 | */ 11 | 12 | /** 13 | * @see Hush_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Http 19 | */ 20 | class Hush_Http_Exception extends Hush_Exception 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Db/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Db 19 | */ 20 | class Hush_Db_Exception extends Hush_Exception 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Acl/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Acl 19 | */ 20 | class Hush_Acl_Exception extends Hush_Exception 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-lib/Hush/App/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_App 19 | */ 20 | class Hush_App_Exception extends Hush_Exception 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Date/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Date 19 | */ 20 | class Hush_Date_Exception extends Hush_Exception 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Db/Adapter/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id: james $ 10 | */ 11 | 12 | /** 13 | * @see Hush_Db_Exception 14 | */ 15 | require_once 'Hush/Db/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Db 19 | */ 20 | class Hush_Db_Adapter_Exception extends Hush_Db_Exception 21 | { 22 | } 23 | -------------------------------------------------------------------------------- /hush-lib/Hush/Mail/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Mail 19 | */ 20 | class Hush_Mail_Exception extends Hush_Exception 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Message/Server.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Message_Exception 14 | */ 15 | require_once 'Hush/Message/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Message 19 | */ 20 | class Hush_Message_Server 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Page/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Page 19 | */ 20 | class Hush_Page_Exception extends Hush_Exception 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Util/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Util 19 | */ 20 | class Hush_Util_Exception extends Hush_Exception 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Crypt/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Crypt 19 | */ 20 | class Hush_Crypt_Exception extends Hush_Exception 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Cli/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id: james $ 10 | */ 11 | 12 | /** 13 | * @see Hush_Html_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Cli 19 | */ 20 | class Hush_Cli_Exception extends Hush_Exception 21 | { 22 | } 23 | -------------------------------------------------------------------------------- /hush-lib/Hush/Html/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id: james $ 10 | */ 11 | 12 | /** 13 | * @see Hush_Html_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Html 19 | */ 20 | class Hush_Html_Exception extends Hush_Exception 21 | { 22 | } 23 | -------------------------------------------------------------------------------- /hush-lib/Hush/Service/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Page 19 | */ 20 | class Hush_Service_Exception extends Hush_Exception 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Socket/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Socket 19 | */ 20 | class Hush_Socket_Exception extends Hush_Exception 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-app/tpl/default/template/frame/charts.tpl: -------------------------------------------------------------------------------- 1 | {if $charts} 2 |
3 | 8 | 9 | 10 | {else} 11 |
12 |

查无数据!

13 |
14 | {/if} -------------------------------------------------------------------------------- /hush-lib/Hush/Cache/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id: james $ 10 | */ 11 | 12 | /** 13 | * @see Hush_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Cache 19 | */ 20 | class Hush_Cache_Exception extends Hush_Exception 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Debug/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id: james $ 10 | */ 11 | 12 | /** 13 | * @see Hush_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Debug 19 | */ 20 | class Hush_Debug_Exception extends Hush_Exception 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Message/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Message 19 | */ 20 | class Hush_Message_Exception extends Hush_Exception 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Process/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Process 19 | */ 20 | class Hush_Process_Exception extends Hush_Exception 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-lib/Core/Util/Sms/tencent/Tet.Config.php: -------------------------------------------------------------------------------- 1 | '117923'); 19 | 20 | //短信失效时长 21 | public static $sms_timeout = 5; 22 | 23 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Document/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id: james $ 10 | */ 11 | 12 | /** 13 | * @see Hush_Exception 14 | */ 15 | require_once 'Hush/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Document 19 | */ 20 | class Hush_Document_Exception extends Hush_Exception 21 | { 22 | 23 | } -------------------------------------------------------------------------------- /hush-app/tpl/default/template/base/form/submit.tpl: -------------------------------------------------------------------------------- 1 | {if $_submit_once} 2 | {if !$msgs} 3 | 4 | {else} 5 | 6 | {/if} 7 | {else} 8 | 9 | {/if} 10 | {if $smarty.get._back} 11 |   12 | {/if} -------------------------------------------------------------------------------- /hush-lib/Hush/Html/Form/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id: james $ 10 | */ 11 | 12 | /** 13 | * @see Hush_Html_Exception 14 | */ 15 | require_once 'Hush/Html/Exception.php'; 16 | 17 | /** 18 | * @package Hush_Html_Form 19 | */ 20 | class Hush_Html_Form_Exception extends Hush_Html_Exception 21 | { 22 | } 23 | -------------------------------------------------------------------------------- /hush-app/etc/beta/database.mysql.php: -------------------------------------------------------------------------------- 1 | tid) { 14 | $conf = cfg('core.cache.redis'); 15 | require_once 'Hush/Cache/Redis.php'; 16 | $this->conn = Hush_Cache_Redis::getConn($conf, $this->tid); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /hush-app/etc/default.mapping.ini: -------------------------------------------------------------------------------- 1 | ; Page & Service mappings 2 | ; 3 | ; Used by Hush_App_Dispatcher class 4 | ; e.g /url/path = PageClassName::ActionName 5 | ; 6 | ; Page mappings 7 | ; 8 | 9 | ; 10 | ; Test mappings 11 | ; 12 | 13 | /test/crypt = TestApi::cryptAction 14 | /test/sendx = TestApi::sendxAction 15 | 16 | ; 17 | ; Ver1 mappings 18 | ; 19 | 20 | /demo/setcache = DemoApi::setcacheAction 21 | /demo/settoken = DemoApi::settokenAction 22 | /demo/validateemail = DemoApi::validateemailAction -------------------------------------------------------------------------------- /hush-app/etc/rc/database.mysql.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /hush-app/etc/release/database.mysql.php: -------------------------------------------------------------------------------- 1 | 3 | {foreach $bps.toptabs as $toptab}{if $_page eq $toptab.link}{assign var="is_tab" value="1"}{/if}{/foreach} 4 | 9 | 10 | {else} 11 |
12 | {$title}列表 13 |
14 | {/if} -------------------------------------------------------------------------------- /hush-app/tpl/default/template/base/stat/main.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | {assign var=blocks value=","|explode:$blocks} 3 | 4 |
5 | {$title}统计 6 |
7 | {include file="frame/error.tpl"} 8 |
9 | {include file="base/stat/main_search.tpl"} 10 | {include file="base/stat/main_chart.tpl" width="300" height="400"} 11 | {include file="base/stat/main_table.tpl"} 12 |
13 | 14 | {include file="frame/datetimepicker.tpl"} 15 | {include file="frame/window.tpl"} 16 | {include file="frame/foot.tpl"} -------------------------------------------------------------------------------- /hush-app/tpl/default/template/demo/code4.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | 3 |
4 | 5 |
6 | 13 | 14 | {include file="frame/error.tpl"} 15 | 16 |
17 | 

日志最新信息:

18 | {if $result}{foreach $result as $line}{$line}{/foreach}{else}NULL{/if} 19 |
20 | 21 | {include file="frame/foot.tpl"} -------------------------------------------------------------------------------- /hush-app/tpl/default/template/frame/colorpicker.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /hush-lib/Core/Util/Sms/yuntongxun/Ytx.Config.php: -------------------------------------------------------------------------------- 1 | 'xxxx'); 19 | } -------------------------------------------------------------------------------- /hush-lib/Pdt/Libs.php: -------------------------------------------------------------------------------- 1 | {$bps.topmsg} 3 | {/if} 4 | 5 | {if $charts} 6 |
7 | 13 | 14 | 15 | {else} 16 |
17 |

查无数据!

18 |
19 | {/if} -------------------------------------------------------------------------------- /hush-app/tpl/default/template/frame/window.tpl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hush-lib/Hush/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @package Hush_Exception 14 | */ 15 | class Hush_Exception extends Exception 16 | { 17 | public function __construct($msg = '', $code = 0, Exception $e = null) 18 | { 19 | if (version_compare(PHP_VERSION, '5.3.0', '<')) { 20 | parent::__construct($msg, (int) $code); 21 | } else { 22 | parent::__construct($msg, (int) $code, $e); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Http/Client.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id: james $ 10 | */ 11 | 12 | /** 13 | * @see Zend_Http_Client 14 | */ 15 | require_once 'Zend/Http/Client.php'; 16 | 17 | /** 18 | * @package Hush_Http 19 | */ 20 | class Hush_Http_Client extends Zend_Http_Client 21 | { 22 | // public function setNonBlocking () 23 | // { 24 | // if ($this->adapter) { 25 | // stream_set_blocking($http_client->adapter->socket, 0); 26 | // } 27 | // } 28 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Examples/config.inc: -------------------------------------------------------------------------------- 1 | 9 | * @license http://www.apache.org/licenses/LICENSE-2.0 10 | * @version $Id$ 11 | */ 12 | 13 | define('__HUSH_LIB_DIR', realpath(dirname(__FILE__) . '/../../')); 14 | 15 | /** 16 | * This vars should be pointed to Zend Framework library path 17 | */ 18 | define('__ZEND_LIB_DIR', realpath(__HUSH_LIB_DIR . '/../phplibs')); 19 | 20 | set_include_path('.' . PATH_SEPARATOR . __ZEND_LIB_DIR . PATH_SEPARATOR . __HUSH_LIB_DIR . PATH_SEPARATOR . get_include_path()); -------------------------------------------------------------------------------- /hush-app/tpl/default/template/frame/editor.tpl: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /hush-app/lib/App/App/Exception.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'Hush/Exception.php'; 13 | 14 | /** 15 | * @package App_App 16 | */ 17 | class App_App_Exception extends Hush_Exception 18 | { 19 | public function __construct($msg = '', $code = 0, Exception $e = null) 20 | { 21 | parent::__construct($msg, $code, $e); 22 | } 23 | 24 | public function __toString() { 25 | return __CLASS__ . ": [{$this->code}]: {$this->message}\n"; 26 | } 27 | } -------------------------------------------------------------------------------- /hush-app/lib/App/Dao/Core/AppRole.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'App/Dao/Core.php'; 13 | 14 | /** 15 | * @package App_Dao_Core 16 | */ 17 | class Core_AppRole extends App_Dao_Core 18 | { 19 | /** 20 | * @static 21 | */ 22 | const TABLE_NAME = 'app_role'; 23 | 24 | /** 25 | * Initialize 26 | */ 27 | public function __init () 28 | { 29 | $this->t1 = self::TABLE_NAME; 30 | 31 | $this->_bindTable($this->t1); 32 | } 33 | } -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/example/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("example",function(e,t){e.addButton("example",{text:"My button",icon:!1,onclick:function(){e.windowManager.open({title:"Example plugin",body:[{type:"textbox",name:"title",label:"Title"}],onsubmit:function(t){e.insertContent("Title: "+t.data.title)}})}}),e.addMenuItem("example",{text:"Example plugin",context:"tools",onclick:function(){e.windowManager.open({title:"TinyMCE site",url:t+"/dialog.html",width:600,height:400,buttons:[{text:"Insert",onclick:function(){var t=e.windowManager.getWindows()[0];e.insertContent(t.getContentWindow().document.getElementById("content").value),t.close()}},{text:"Close",onclick:"close"}]})}})}); -------------------------------------------------------------------------------- /hush-app/lib/App/Dao/Core/RolePriv.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'App/Dao/Core.php'; 13 | 14 | /** 15 | * @package App_Dao_Core 16 | */ 17 | class Core_RolePriv extends App_Dao_Core 18 | { 19 | /** 20 | * @static 21 | */ 22 | const TABLE_NAME = 'role_priv'; 23 | 24 | /** 25 | * Initialize 26 | */ 27 | public function __init () 28 | { 29 | $this->t1 = self::TABLE_NAME; 30 | 31 | $this->_bindTable($this->t1); 32 | } 33 | } -------------------------------------------------------------------------------- /hush-app/lib/App/Dao/Core/UserRole.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'App/Dao/Core.php'; 13 | 14 | /** 15 | * @package App_Dao_Core 16 | */ 17 | class Core_UserRole extends App_Dao_Core 18 | { 19 | /** 20 | * @static 21 | */ 22 | const TABLE_NAME = 'user_role'; 23 | 24 | /** 25 | * Initialize 26 | */ 27 | public function __init () 28 | { 29 | $this->t1 = self::TABLE_NAME; 30 | 31 | $this->_bindTable($this->t1); 32 | } 33 | } -------------------------------------------------------------------------------- /hush-app/tpl/default/template/acl/welcome.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | 3 |
4 | 欢迎页面 5 |
6 | 7 |
8 | 9 |

Hello, {$_admin.name}!

10 | 11 | 16 | 17 |
18 | 19 | {include file="frame/foot.tpl"} -------------------------------------------------------------------------------- /hush-app/lib/App/Dao/Core/BpmFlowRole.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'App/Dao/Core.php'; 13 | 14 | /** 15 | * @package App_Dao_Core 16 | */ 17 | class Core_BpmFlowRole extends App_Dao_Core 18 | { 19 | /** 20 | * @static 21 | */ 22 | const TABLE_NAME = 'bpm_flow_role'; 23 | 24 | /** 25 | * Initialize 26 | */ 27 | public function __init () 28 | { 29 | $this->t1 = self::TABLE_NAME; 30 | 31 | $this->_bindTable($this->t1); 32 | } 33 | } -------------------------------------------------------------------------------- /hush-app/lib/App/Dao/Core/ResourceRole.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'App/Dao/Core.php'; 13 | 14 | /** 15 | * @package App_Dao_Core 16 | */ 17 | class Core_ResourceRole extends App_Dao_Core 18 | { 19 | /** 20 | * @static 21 | */ 22 | const TABLE_NAME = 'resource_role'; 23 | 24 | /** 25 | * Initialize 26 | */ 27 | public function __init () 28 | { 29 | $this->t1 = self::TABLE_NAME; 30 | 31 | $this->_bindTable($this->t1); 32 | } 33 | } -------------------------------------------------------------------------------- /hush-app/doc/tpl/code.tb.php.t: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'APPNAME/Dao/DBNAME.php'; 13 | 14 | /** 15 | * @package APPNAME_Dao_DBNAME 16 | */ 17 | class DBNAME_TABLENAME extends APPNAME_Dao_DBNAME 18 | { 19 | /** 20 | * @static 21 | */ 22 | const TABLE_NAME = 'TABLENAME'; 23 | 24 | /** 25 | * Initialize 26 | */ 27 | public function __init () 28 | { 29 | $this->t1 = self::TABLE_NAME; 30 | 31 | $this->_bindTable($this->t1); 32 | } 33 | } -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/bootstrap/css/less/bootstrap.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap @VERSION 3 | * 4 | * Copyright 2011 Twitter, Inc 5 | * Licensed under the Apache License v2.0 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Designed and built with all the love in the world @twitter by @mdo and @fat. 9 | * Date: @DATE 10 | */ 11 | 12 | // CSS Reset 13 | @import "reset"; 14 | 15 | // Core variables and mixins 16 | @import "variables"; // Modify this for custom colors, font-sizes, etc 17 | @import "mixins"; 18 | 19 | // Grid system and page structure 20 | @import "scaffolding"; 21 | 22 | // Styled patterns and elements 23 | @import "type"; 24 | @import "forms"; 25 | @import "tables"; 26 | @import "patterns"; -------------------------------------------------------------------------------- /hush-app/tpl/default/template/base/crud/item_chosen.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | -------------------------------------------------------------------------------- /hush-app/tpl/default/template/base/stat/main_table.tpl: -------------------------------------------------------------------------------- 1 | {if $tables} 2 | 3 | 4 | 5 | {foreach $bps.table as $k => $v} 6 | 7 | {/foreach} 8 | 9 | 10 | 11 | {foreach $tables as $table} 12 | 13 | {foreach $bps.table as $k => $v} 14 | 15 | {/foreach} 16 | 17 | {/foreach} 18 | 19 | {if $totals} 20 | 21 | 22 | 23 | {foreach $totals as $total} 24 | 25 | {/foreach} 26 | 27 | 28 | {/if} 29 |
{$v.name}
{$table[$k]}
总计{$total}
30 | {/if} -------------------------------------------------------------------------------- /hush-lib/Hush/Mail.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Zend_Mail 14 | */ 15 | require_once 'Zend/Mail.php'; 16 | 17 | /** 18 | * @package Hush_Mail 19 | */ 20 | class Hush_Mail extends Zend_Mail 21 | { 22 | /** 23 | * Override Zend_Mail function 24 | * @param string $subject 25 | */ 26 | public function setSubject ($subject) { 27 | $encode_subject = "=?" . $this->_charset . "?B?" . base64_encode($subject) . "?="; 28 | return parent::setSubject($encode_subject); 29 | } 30 | } -------------------------------------------------------------------------------- /hush-app/tpl/default/template/demo/jump.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | 3 |
4 | 通过设置菜单跳转到“布局页面范例” 5 | 通过JS直接跳转到“列表页面范例” 6 |
7 | 8 | 22 | 23 | {include file="frame/foot.tpl"} -------------------------------------------------------------------------------- /hush-app/doc/tpl/code.ctrl.php.t: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'APPNAME/App/Default/Page.php'; 13 | 14 | /** 15 | * @package APPNAME_App_Default 16 | */ 17 | class CTRLNAMEPage extends APPNAME_App_Default_Page 18 | { 19 | public function __init () 20 | { 21 | parent::__init(); 22 | 23 | // if page need login, uncomment this line 24 | // $this->authenticate(); 25 | } 26 | 27 | public function indexAction () 28 | { 29 | $this->view->welcome = 'Controller Index Page !'; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /hush-app/doc/tpl/code.db.php.t: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'APPNAME/Dao.php'; 13 | 14 | /** 15 | * @package APPNAME_Dao 16 | */ 17 | class APPNAME_Dao_DBNAME extends APPNAME_Dao 18 | { 19 | /** 20 | * @static 21 | */ 22 | const DB_NAME = 'DBNAME'; 23 | 24 | /** 25 | * Construct 26 | */ 27 | public function __construct () 28 | { 29 | // initialize dao 30 | parent::__construct(MysqlConfig::getInstance()); 31 | 32 | // set default dao settings 33 | $this->_bindDb(self::DB_NAME); 34 | } 35 | } -------------------------------------------------------------------------------- /hush-app/tpl/default/template/frame/layout/foot.tpl: -------------------------------------------------------------------------------- 1 |
2 | 30 | 31 | -------------------------------------------------------------------------------- /hush-app/lib/App/Dao/Core.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 12 | * @version $Id$ 13 | */ 14 | 15 | require_once 'App/Dao.php'; 16 | 17 | /** 18 | * @package App_Dao 19 | */ 20 | class App_Dao_Core extends App_Dao 21 | { 22 | /** 23 | * @static 24 | */ 25 | const DB_NAME = 'hush_core'; 26 | 27 | /** 28 | * Construct 29 | */ 30 | public function __construct () 31 | { 32 | // initialize dao 33 | parent::__construct(MysqlConfig::getInstance()); 34 | 35 | // set default dao settings 36 | $this->_bindDb(self::DB_NAME); 37 | } 38 | } -------------------------------------------------------------------------------- /hush-lib/App/Dao/Base.php: -------------------------------------------------------------------------------- 1 | 11 | * @license http://www.apache.org/licenses/LICENSE-2.0 12 | * @version $Id$ 13 | */ 14 | 15 | require_once 'App/Dao.php'; 16 | 17 | /** 18 | * @package App_Dao 19 | */ 20 | class App_Dao_Base extends App_Dao 21 | { 22 | /** 23 | * @static 24 | */ 25 | const DB_NAME = 'hush_base'; 26 | 27 | /** 28 | * Construct 29 | */ 30 | public function __construct () 31 | { 32 | // initialize dao 33 | parent::__construct(MysqlConfig::getInstance()); 34 | 35 | // set default dao settings 36 | $this->_bindDb(self::DB_NAME); 37 | } 38 | } -------------------------------------------------------------------------------- /hush-app/bin/hush.php: -------------------------------------------------------------------------------- 1 | 6 | * @license http://www.apache.org/licenses/LICENSE-2.0 7 | * @version $Id$ 8 | */ 9 | 10 | define('__HUSH_CLI', 1); 11 | define('__APP_SITE', ''); 12 | 13 | ini_set('default_socket_timeout', -1); 14 | 15 | require_once dirname(__FILE__) . '/../etc/global.config.php'; 16 | require_once dirname(__FILE__) . '/../etc/global.appcfg.php'; 17 | 18 | require_once 'Core/Util.php'; 19 | require_once 'Core/Service.php'; 20 | 21 | //////////////////////////////////////////////////////////////////////////////////////////////////// 22 | // Main process 23 | 24 | try { 25 | require_once 'App/Cli.php'; 26 | $cli = new App_Cli(); 27 | $cli->run(); 28 | 29 | } catch (Exception $e) { 30 | Hush_Util::trace($e); 31 | exit; 32 | } -------------------------------------------------------------------------------- /hush-app/tpl/default/template/acl/personal.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | 3 |
4 | 个人信息修改 5 |
6 | 7 |
8 | 9 | {include file="frame/error.tpl"} 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 26 | 27 |
用户名 *{$user.name}
用户密码
23 | 24 | 25 |
28 |
29 | 30 |
31 | 32 | {include file="frame/foot.tpl"} -------------------------------------------------------------------------------- /hush-app/web/default/index.php: -------------------------------------------------------------------------------- 1 | setErrorPage('html/404.htm', 404) 11 | ->setErrorPage('html/500.htm', 500) 12 | ->addMapFile(__MAP_INI_FILE) 13 | ->addAppDir(__LIB_PATH_PAGE) 14 | ->addAppDir(__LIB_PATH_HTTP) 15 | ->setTplDir(__TPL_BASE_PATH); 16 | 17 | /** 18 | * skip 404 page and trace exception 19 | * TODO : should be commented in www environment 20 | */ 21 | $app->setDebug(true); 22 | 23 | /** 24 | * set page's debug level 25 | * TODO : should be changed to Hush_Debug::FATAL in www environment 26 | */ 27 | if ($_GET['debug']) { 28 | $app->setDebugLevel(Hush_Debug::DEBUG); 29 | } else { 30 | $app->setDebugLevel(Hush_Debug::FATAL); 31 | } 32 | 33 | $app->run(); 34 | -------------------------------------------------------------------------------- /hush-app/tpl/default/template/base/crud/list.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | {assign var=blocks value=","|explode:$blocks} 3 | {assign var=hides value=","|explode:$hides} 4 | {if $tpl_list_error}{include file=$tpl_list_error}{else}{include file="frame/error.tpl"}{/if} 5 | {if $tpl_list_tabs}{include file=$tpl_list_tabs}{else}{include file="base/crud/list_tabs.tpl"}{/if} 6 | {if $tpl_list_navi}{include file=$tpl_list_navi}{else}{include file="base/crud/list_navi.tpl"}{/if} 7 |
8 | {if $tpl_list_search}{include file=$tpl_list_search}{else}{include file="base/crud/list_search.tpl"}{/if} 9 | {if $tpl_list_table}{include file=$tpl_list_table}{else}{include file="base/crud/list_table.tpl"}{/if} 10 |
11 | {include file="frame/datetimepicker.tpl"} 12 | {include file="frame/window.tpl"} 13 | {if !$_no_foot} 14 | {include file="frame/foot.tpl"} 15 | {/if} -------------------------------------------------------------------------------- /hush-app/lib/App/App/Default/Page/IndexPage.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'BasePage.php'; 13 | 14 | /** 15 | * @package App_App_Default 16 | */ 17 | class IndexPage extends BasePage 18 | { 19 | public function __init () 20 | { 21 | parent::__init(); 22 | } 23 | 24 | public function indexAction () 25 | { 26 | // 获取菜单列表 27 | $appDao = $this->dao->load('Core_App'); 28 | $appList = $appDao->getAppListByRole($this->admin['role']); 29 | $this->view->appList = $appList; 30 | } 31 | 32 | public function msgnumAction () 33 | { 34 | // 获取消息个数 35 | ajax(0, '', array('msg_num' => 0)); 36 | } 37 | } -------------------------------------------------------------------------------- /hush-app/tpl/default/template/base/crud/item_color.tpl: -------------------------------------------------------------------------------- 1 | {if $from eq 'add'} 2 | {foreach $item._data.$k as $k1 => $v1} 3 | {if $v1.type eq 'text'} 4 | 5 | {/if} 6 | {/foreach} 7 | {elseif $from eq 'edit'} 8 | {foreach $item._data.$k as $k1 => $v1} 9 | {if $v1.type eq 'text'} 10 | 11 | {/if} 12 | {/foreach} 13 | {else} 14 | {foreach $item._data.$k as $k1 => $v1} 15 | {if $v1.type eq 'text'} 16 | 17 | {/if} 18 | {/foreach} 19 | {/if} -------------------------------------------------------------------------------- /hush-lib/Hush/Examples/Client.php: -------------------------------------------------------------------------------- 1 | 9 | * @license http://www.apache.org/licenses/LICENSE-2.0 10 | * @version $Id$ 11 | */ 12 | 13 | require_once 'config.inc'; 14 | 15 | require_once 'Hush/Socket/Client.php'; 16 | require_once 'Hush/Util.php'; 17 | 18 | /** 19 | * @ignore 20 | * @package Examples 21 | */ 22 | class Examples_Client extends Hush_Socket_Client 23 | { 24 | 25 | } 26 | 27 | //////////////////////////////////////////////////////////////////////////////////////////////////// 28 | // run demo 29 | 30 | try { 31 | 32 | $client = new Examples_Client(); 33 | echo $client->test(); 34 | 35 | // $client->shutdown(); 36 | 37 | } catch (Exception $e) { 38 | Hush_Util::trace($e); 39 | exit; 40 | } 41 | -------------------------------------------------------------------------------- /hush-app/tpl/default/template/base/crud/info.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | 3 |
4 | 5 | {include file="frame/error.tpl"} 6 | 7 |
8 | 9 | {foreach $field as $k => $v} 10 | 11 | 12 | 19 | 20 | {/foreach} 21 | 22 | 28 | 29 |
{$v.name} 13 | {if $v.files} 14 | {include file="base/crud/item_file.tpl" from=info} 15 | {else} 16 | {include file="base/crud/item.tpl" from=info} 17 | {/if} 18 |
23 | 24 | {if $smarty.get._back} 25 | 26 | {/if} 27 |
30 |
31 | 32 |
33 | 34 | {if !$_no_foot} 35 | {include file="frame/foot.tpl"} 36 | {/if} -------------------------------------------------------------------------------- /hush-app/tpl/default/template/test/apilist.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | 3 |
4 | 测试接口调试 5 |
6 | 7 |
8 | 9 | 10 | {foreach $apiConfigList as $serviceName => $actionList} 11 | 12 | 13 | 14 | {foreach $actionList as $actionName => $actionConfig} 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | {/foreach} 25 | {/foreach} 26 |
{$serviceName}
{$serviceName} -> {$actionName}{$actionConfig['title']}{$actionConfig['action']}@encode {$actionConfig['encode']} 21 | 测试 22 |
27 | 28 |
29 | 30 | {include file="frame/foot.tpl"} -------------------------------------------------------------------------------- /hush-lib/App/Acl.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'Hush/Acl.php'; 13 | 14 | /** 15 | * @package App_Acl 16 | */ 17 | class App_Acl extends Hush_Acl 18 | { 19 | /** 20 | * Judge the privilege is allowed 21 | * @param mixed $roles 22 | * @param string $resource 23 | * @param string $privilege 24 | * @return bool 25 | */ 26 | public function isAllowed ($roles = null, $resource = null, $privilege = null) 27 | { 28 | if (!is_array($roles)) { 29 | return parent::isAllowed($roles, $resource, $privilege); 30 | } 31 | foreach ((array) $roles as $role) { 32 | if (parent::isAllowed($role, $resource, $privilege)) { 33 | return true; 34 | } 35 | } 36 | return false; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /hush-app/tpl/default/template/frame/dashboard.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 17 | 18 | -------------------------------------------------------------------------------- /hush-app/web/default/css/login.css: -------------------------------------------------------------------------------- 1 | body{background:#fff;margin:0;padding:0;color:#333;font-family:'微软雅黑',Tahoma,Verdana,Arial,Helvetica,sans-serif;} 2 | h1{float:left;width:410px;margin:30px;display:inline;} 3 | h1 img{float:left;} 4 | h1 span{float:right;margin-right:20px;width:240px;height:45px;line-height:45px;background:#ebebeb;font-size:20px;text-indent:20px;} 5 | .login-body{margin-top:50px;height:392px;width:100%;background:url(../img/lor_bg.gif) repeat-x;} 6 | .login-con{width:450px;height:392px;background:url(../img/login_bg.gif) no-repeat;margin:0 auto;} 7 | .login{float:right;width:290px;margin-right:20px;display:inline} 8 | .login li{float:left;width:100%;margin-bottom:20px;} 9 | .login label{float:left;width:100%;font-size:14px;margin-bottom:3px;} 10 | .login input{float:left;padding:4px 2px;margin:0} 11 | .submit{float:left;border:none;width:70px; height:28px;background:transparent url(../img/lg_buttom.gif) no-repeat;cursor: pointer;font-size:14px;color:#fff;font-weight:bold;} -------------------------------------------------------------------------------- /hush-lib/Hush/Html/Form/Textarea.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Html_Form_Element 14 | */ 15 | require_once 'Hush/Html/Form/Element.php'; 16 | 17 | /** 18 | * @abstract 19 | * @package Hush_Html_Form 20 | */ 21 | class Hush_Html_Form_Textarea extends Hush_Html_Form_Element 22 | { 23 | /** 24 | * Form element tag 25 | * @var string 26 | */ 27 | protected $tag = 'textarea'; 28 | 29 | /** 30 | * Closure html element 31 | * @var array 32 | */ 33 | protected $closure = false; 34 | 35 | /** 36 | * Fill value & options 37 | */ 38 | protected function decorate () 39 | { 40 | if ($this->value) { 41 | $this->setBody((string) $this->value); 42 | } 43 | return $this; 44 | } 45 | } -------------------------------------------------------------------------------- /hush-app/tpl/default/template/demo/code2.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | 3 |
4 | 5 | 6 |
7 | 27 | 28 | {include file="frame/error.tpl"} 29 | 30 |
31 | 

通过缓存获取:

32 | {if $result}{$result}{else}NULL{/if} 33 |
34 | 35 | {include file="frame/foot.tpl"} -------------------------------------------------------------------------------- /hush-lib/Hush/Crypt.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @package Hush_Crypt 14 | */ 15 | abstract class Hush_Crypt 16 | { 17 | /** 18 | * Create crypt object 19 | * @param string $engine Engine name (rsa) 20 | * @return object 21 | */ 22 | public static function factory ($engine, $config = array()) 23 | { 24 | $class_file = 'Hush/Crypt/' . ucfirst($engine) . '.php'; 25 | $class_name = 'Hush_Crypt_' . ucfirst($engine); 26 | 27 | require_once $class_file; // include crypt class 28 | 29 | return new $class_name($config); 30 | } 31 | 32 | //////////////////////////////////////////////////////////////////////////////////////////////// 33 | // abstract methods 34 | 35 | abstract public function encrypt ($s); 36 | 37 | abstract public function decrypt ($s); 38 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Crypt/Rsa/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | Proc-Type: 4,ENCRYPTED 3 | DEK-Info: DES-EDE3-CBC,E8E4EDC5E36DCE51 4 | 5 | 4V1grIu8p5S11UXrHeKBohqPzhVMr6PDzIrpzwAYFxepnnSs2tJk5gmOpjc963xl 6 | xvA+lPysz9C3dBE2B0ZcqZ3gui4w1uhqdQVBk5CVTcPXbYa4p37LA1Cm+deiv+f0 7 | 7tVvuYuPD4iZs5/nSl0e6qNUPaGS+svpb8Hu+NIBIqRlRdstpokUBU9sRl9EZta9 8 | hLUlykuXby7qWtbs/CR/W0gb+iQigWyrfP16btRFA0FhN2Vujqdw0JzzNTRzYRxg 9 | F4iUjpKHpe3fMsh9SzMyydCHPFYzY50y4qdNqBHhdVBwDlCpxYFP7jC82vU/JZ25 10 | j/tAogMLwWACDPGmilFXTRKhfF/NI2dZbE5MnC1oDhTj5EpXidUqU73wyFsg+/JO 11 | qpt9serseSmWbvGRgbg/47n2mKy/sDQszXVSGlul73pAVpFJPiZfAGY15heTEAiB 12 | TQGwS+j7bH2TO6RADD2TW1dznEsCYtdyCwoQApztR6J2oj3NHy99BdScXj2wFZrD 13 | 7NRO01GMO0dPGYEjuK9FNM6f+EpCU1gYrxy8u1GVKGTVjuK8zqh4GBW69A6rURLz 14 | wisCuAVHOfUrCPugs4f4VzT7W2Fdou2pO0kJeqktlCYDUTmVXn6UH0cS3X/QcJK0 15 | sSS4Rch/wFESgtyKOQb7R8JGlUan4csZvq8tx8IN6Q5HSb0BWDDLuLfFMukeuvNP 16 | 9qsG0dUqzAkNiqjcxeAFAyGw7TnfLyOBqN6tPtjXKh8KSMZjo0In4ptmX9UMV99a 17 | aipAuiKZiuKqAveDzfeeT9v60qCsCvX1/W0S6xz820JaUT5ZuBMcog== 18 | -----END RSA PRIVATE KEY----- 19 | -------------------------------------------------------------------------------- /hush-app/tpl/default/template/demo/code1.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | {include file="frame/error.tpl"} 12 | 13 | {if $result} 14 | 15 | 16 | {foreach $result as $item} 17 | 18 | 19 | 20 | 21 | 22 | {/foreach} 23 | 24 |
{$item.id}{$item.title}{if $item.dtime}{$item.dtime|date_format:'%Y-%m-%d %H:%M:%S'}{else}-{/if}
25 | {/if} 26 | 27 | {include file="frame/foot.tpl"} -------------------------------------------------------------------------------- /hush-app/tpl/default/template/acl/user/add.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | 3 |
4 | 新增用户信息 5 |
6 | 7 |
8 | 9 | {include file="frame/error.tpl"} 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 26 | 27 | 28 | 32 | 33 |
用户名 *
用户密码 *
角色选择 * 24 | {include file="acl/forms/roles_add.tpl"} 25 |
29 | 30 | 31 |
34 |
35 | 36 |
37 | 38 | {include file="frame/foot.tpl"} -------------------------------------------------------------------------------- /hush-lib/Hush/Examples/Server.php: -------------------------------------------------------------------------------- 1 | 9 | * @license http://www.apache.org/licenses/LICENSE-2.0 10 | * @version $Id$ 11 | */ 12 | 13 | require_once 'config.inc'; 14 | 15 | require_once 'Hush/Socket/Server.php'; 16 | require_once 'Hush/Util.php'; 17 | 18 | /** 19 | * @ignore 20 | * @package Examples 21 | */ 22 | class Examples_Server extends Hush_Socket_Server 23 | { 24 | /** 25 | * This method could be called from the client 26 | * 27 | * @return void 28 | */ 29 | public function test () 30 | { 31 | return 'server:ok'; 32 | } 33 | } 34 | 35 | //////////////////////////////////////////////////////////////////////////////////////////////////// 36 | // run demo 37 | 38 | try { 39 | 40 | $server = new Examples_Server(); 41 | $server->debugMode(1); 42 | $server->daemon(); 43 | 44 | } catch (Exception $e) { 45 | Hush_Util::trace($e); 46 | exit; 47 | } 48 | -------------------------------------------------------------------------------- /hush-lib/App/Db/ConfigBeta.php: -------------------------------------------------------------------------------- 1 | array( 24 | // cluster 0 25 | array( 26 | 'master' => array(array('type' => __HUSH_DB_TYPE, 'host' => __HUSH_DB_HOST, 'port' => __HUSH_DB_PORT, 'user' => __HUSH_DB_USER, 'pass' => __HUSH_DB_PASS)), 27 | 'slave' => array(array('type' => __HUSH_DB_TYPE, 'host' => __HUSH_DB_HOST, 'port' => __HUSH_DB_PORT, 'user' => __HUSH_DB_USER, 'pass' => __HUSH_DB_PASS)), 28 | ), 29 | // cluster N ... 30 | ), 31 | ); 32 | } 33 | -------------------------------------------------------------------------------- /hush-lib/Hush/Crypt/Rsa/server.crt: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIICtTCCAh6gAwIBAgIBADANBgkqhkiG9w0BAQQFADBMMQswCQYDVQQGEwJHQjES 3 | MBAGA1UECBMJQmVya3NoaXJlMRAwDgYDVQQHEwdOZXdidXJ5MRcwFQYDVQQKEw5N 4 | eSBDb21wYW55IEx0ZDAeFw0xMDA2MTIwNzMxMTVaFw0xMTA2MTIwNzMxMTVaMEwx 5 | CzAJBgNVBAYTAkdCMRIwEAYDVQQIEwlCZXJrc2hpcmUxEDAOBgNVBAcTB05ld2J1 6 | cnkxFzAVBgNVBAoTDk15IENvbXBhbnkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GN 7 | ADCBiQKBgQDSueefmhpK5D9EJb3ec5ykeQSj68gMg9tK6KseCrMiIXzp9bJ+MW3P 8 | tvyc8qqqHj5x5B9JG+CUwkWcU2naD59yx1rT1z/bHuB83OSVIFovtMD56N8KiAFe 9 | S3lFE4hfvNeXrh3FntUBNi4n3LLyZ5Zc/H3Qphw7R5s2/vOdFS+02QIDAQABo4Gm 10 | MIGjMB0GA1UdDgQWBBRaoktIVy7vX/dN11u9dKZKb07WEzB0BgNVHSMEbTBrgBRa 11 | oktIVy7vX/dN11u9dKZKb07WE6FQpE4wTDELMAkGA1UEBhMCR0IxEjAQBgNVBAgT 12 | CUJlcmtzaGlyZTEQMA4GA1UEBxMHTmV3YnVyeTEXMBUGA1UEChMOTXkgQ29tcGFu 13 | eSBMdGSCAQAwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQQFAAOBgQCxjDB4TTyD 14 | tt3A55m4E8Vmtz3pP6UgS9SiPt7N1VZTIj8ixCLvPz18mzrq/aL2/FMRJA6DkrgO 15 | XsCYAMko80ZVC7f2gJA+u7KuIHlx8gZ4aGjruTqHHpCVGqMu+Pxuh7pnnaGctQ8w 16 | 8N6Vgc4w9wMV+deW1xzGvBa73Pd6whjzXg== 17 | -----END CERTIFICATE----- 18 | -------------------------------------------------------------------------------- /hush-app/lib/App/Dao/Core/BpmFlowOp.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'App/Dao/Core.php'; 13 | 14 | /** 15 | * @package App_Dao_Core 16 | */ 17 | class Core_BpmFlowOp extends App_Dao_Core 18 | { 19 | /** 20 | * @static 21 | */ 22 | const TABLE_NAME = 'bpm_flow_op'; 23 | 24 | /** 25 | * @static 26 | */ 27 | const TABLE_PRIM = 'bpm_flow_op_id'; 28 | 29 | /** 30 | * Initialize 31 | */ 32 | public function __init () 33 | { 34 | $this->t1 = self::TABLE_NAME; 35 | $this->k1 = self::TABLE_PRIM; 36 | 37 | $this->_bindTable($this->t1, $this->k1); 38 | } 39 | 40 | public function getByFlowId ($flowId) 41 | { 42 | $sql = $this->select() 43 | ->from($this->t1, array("{$this->t1}.*")) 44 | ->where("{$this->t1}.bpm_flow_id = ?", $flowId); 45 | 46 | return $this->dbr()->fetchAll($sql); 47 | } 48 | } -------------------------------------------------------------------------------- /hush-app/tpl/default/template/frame/layout/head.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | {foreach $jsList as $js} 17 | {/foreach} 18 | 19 | 20 | -------------------------------------------------------------------------------- /hush-app/lib/App/Dao/Core/BpmNodePath.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'App/Dao/Core.php'; 13 | 14 | /** 15 | * @package App_Dao_Core 16 | */ 17 | class Core_BpmNodePath extends App_Dao_Core 18 | { 19 | /** 20 | * @static 21 | */ 22 | const TABLE_NAME = 'bpm_node_path'; 23 | 24 | /** 25 | * @static 26 | */ 27 | const TABLE_PRIM = 'bpm_flow_id'; 28 | 29 | /** 30 | * Initialize 31 | */ 32 | public function __init () 33 | { 34 | $this->t1 = self::TABLE_NAME; 35 | $this->k1 = self::TABLE_PRIM; 36 | 37 | $this->_bindTable($this->t1, $this->k1); 38 | } 39 | 40 | public function getAllByFlowId ($flowId) 41 | { 42 | $sql = $this->select() 43 | ->from($this->t1, array("{$this->t1}.*")) 44 | ->where("{$this->t1}.bpm_flow_id=?", $flowId); 45 | 46 | return $this->dbr()->fetchAll($sql); 47 | } 48 | } -------------------------------------------------------------------------------- /hush-app/lib/App/Dao/Core/BpmModelField.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'App/Dao/Core.php'; 13 | 14 | /** 15 | * @package App_Dao_Core 16 | */ 17 | class Core_BpmModelField extends App_Dao_Core 18 | { 19 | /** 20 | * @static 21 | */ 22 | const TABLE_NAME = 'bpm_model_field'; 23 | 24 | /** 25 | * @static 26 | */ 27 | const TABLE_PRIM = 'bpm_model_field_id'; 28 | 29 | /** 30 | * Initialize 31 | */ 32 | public function __init () 33 | { 34 | $this->t1 = self::TABLE_NAME; 35 | $this->k1 = self::TABLE_PRIM; 36 | 37 | $this->_bindTable($this->t1, $this->k1); 38 | } 39 | 40 | public function getByModelId ($modelId) 41 | { 42 | $sql = $this->select() 43 | ->from($this->t1, array("{$this->t1}.*")) 44 | ->where("{$this->t1}.bpm_model_id=?", $modelId); 45 | 46 | return $this->dbr()->fetchAll($sql); 47 | } 48 | } -------------------------------------------------------------------------------- /hush-app/web/default/css/radial.css: -------------------------------------------------------------------------------- 1 | .rad-prg { 2 | margin: 20px 0; 3 | } 4 | /** logo inside example **/ 5 | #indicatorContainerWrap5, 6 | #indicatorContainer5 { 7 | display: inline-block; 8 | position: relative; 9 | } 10 | #prgLogo { 11 | height: 60px; 12 | left: 50%; 13 | margin-left: -30px; 14 | margin-top: -30px; 15 | position: absolute; 16 | top: 50%; 17 | } 18 | /** file drop example **/ 19 | #indicatorContainerWrap6 { 20 | position: relative; 21 | display: inline-block; 22 | } 23 | .rad-cntnt { 24 | position: absolute; 25 | display: table; 26 | vertical-align: middle; 27 | text-align: center; 28 | width: 100%; 29 | top: 50%; 30 | -webkit-transform: translateY(-50%); 31 | -moz-transform: translateY(-50%); 32 | -ms-transform: translateY(-50%); 33 | -o-transform: translateY(-50%); 34 | transform: translateY(-50%); 35 | font-size: 20px; 36 | line-height: 24px; 37 | } 38 | #prgFileSelector { 39 | position: absolute; 40 | width: 100%; 41 | height: 100%; 42 | opacity: 0; 43 | top: 0; 44 | left: 0; 45 | z-index: 10; 46 | } 47 | -------------------------------------------------------------------------------- /hush-lib/Hush/Html/Form/File.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Html_Form_Element 14 | */ 15 | require_once 'Hush/Html/Form/Element.php'; 16 | 17 | /** 18 | * @abstract 19 | * @package Hush_Html_Form 20 | */ 21 | class Hush_Html_Form_File extends Hush_Html_Form_Element 22 | { 23 | /** 24 | * Form element tag 25 | * @var string 26 | */ 27 | protected $tag = 'input'; 28 | 29 | /** 30 | * Form element attr 31 | * @var array 32 | */ 33 | protected $attrs = array( 34 | 'type' => 'file' 35 | ); 36 | 37 | /** 38 | * Closure html element 39 | * @var array 40 | */ 41 | protected $closure = true; 42 | 43 | /** 44 | * Fill value & options 45 | */ 46 | protected function decorate () 47 | { 48 | if ($this->value) { 49 | $this->setAttrs(array( 50 | 'value' => (string) $this->value 51 | )); 52 | } 53 | return $this; 54 | } 55 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Html/Form/Text.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Html_Form_Element 14 | */ 15 | require_once 'Hush/Html/Form/Element.php'; 16 | 17 | /** 18 | * @abstract 19 | * @package Hush_Html_Form 20 | */ 21 | class Hush_Html_Form_Text extends Hush_Html_Form_Element 22 | { 23 | /** 24 | * Form element tag 25 | * @var string 26 | */ 27 | protected $tag = 'input'; 28 | 29 | /** 30 | * Form element attr 31 | * @var array 32 | */ 33 | protected $attrs = array( 34 | 'type' => 'text' 35 | ); 36 | 37 | /** 38 | * Closure html element 39 | * @var array 40 | */ 41 | protected $closure = true; 42 | 43 | /** 44 | * Fill value & options 45 | */ 46 | protected function decorate () 47 | { 48 | if ($this->value) { 49 | $this->setAttrs(array( 50 | 'value' => (string) $this->value 51 | )); 52 | } 53 | return $this; 54 | } 55 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Html/Form/Button.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Html_Form_Element 14 | */ 15 | require_once 'Hush/Html/Form/Element.php'; 16 | 17 | /** 18 | * @abstract 19 | * @package Hush_Html_Form 20 | */ 21 | class Hush_Html_Form_Button extends Hush_Html_Form_Element 22 | { 23 | /** 24 | * Form element tag 25 | * @var string 26 | */ 27 | protected $tag = 'input'; 28 | 29 | /** 30 | * Form element attr 31 | * @var array 32 | */ 33 | protected $attrs = array( 34 | 'type' => 'button' 35 | ); 36 | 37 | /** 38 | * Closure html element 39 | * @var array 40 | */ 41 | protected $closure = true; 42 | 43 | /** 44 | * Fill value & options 45 | */ 46 | protected function decorate () 47 | { 48 | if ($this->value) { 49 | $this->setAttrs(array( 50 | 'value' => (string) $this->value 51 | )); 52 | } 53 | return $this; 54 | } 55 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Html/Form/Submit.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Html_Form_Element 14 | */ 15 | require_once 'Hush/Html/Form/Element.php'; 16 | 17 | /** 18 | * @abstract 19 | * @package Hush_Html_Form 20 | */ 21 | class Hush_Html_Form_Submit extends Hush_Html_Form_Element 22 | { 23 | /** 24 | * Form element tag 25 | * @var string 26 | */ 27 | protected $tag = 'input'; 28 | 29 | /** 30 | * Form element attr 31 | * @var array 32 | */ 33 | protected $attrs = array( 34 | 'type' => 'submit' 35 | ); 36 | 37 | /** 38 | * Closure html element 39 | * @var array 40 | */ 41 | protected $closure = true; 42 | 43 | /** 44 | * Fill value & options 45 | */ 46 | protected function decorate () 47 | { 48 | if ($this->value) { 49 | $this->setAttrs(array( 50 | 'value' => (string) $this->value 51 | )); 52 | } 53 | return $this; 54 | } 55 | } -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/bootstrap/bootstrap/js/tests/unit/bootstrap-scrollspy.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | 3 | module("bootstrap-scrollspy") 4 | 5 | test("should be defined on jquery object", function () { 6 | ok($(document.body).scrollspy, 'scrollspy method is defined') 7 | }) 8 | 9 | test("should return element", function () { 10 | ok($(document.body).scrollspy()[0] == document.body, 'document.body returned') 11 | }) 12 | 13 | test("should switch active class on scroll", function () { 14 | var sectionHTML = '
' 15 | , $section = $(sectionHTML).append('#qunit-runoff') 16 | , topbarHTML ='
' 17 | + '
' 18 | + '
' 19 | + '

Bootstrap

' 20 | + '' 23 | + '
' 24 | + '
' 25 | + '
' 26 | , $topbar = $(topbarHTML).topbar() 27 | 28 | ok(topbar.find('.active', true) 29 | }) 30 | 31 | }) -------------------------------------------------------------------------------- /hush-app/lib/App/Dao/Core/BpmRequestAudit.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'App/Dao/Core.php'; 13 | 14 | /** 15 | * @package App_Dao_Core 16 | */ 17 | class Core_BpmRequestAudit extends App_Dao_Core 18 | { 19 | /** 20 | * @static 21 | */ 22 | const TABLE_NAME = 'bpm_request_audit'; 23 | 24 | /** 25 | * @static 26 | */ 27 | const TABLE_PRIM = 'bpm_request_audit_id'; 28 | 29 | /** 30 | * Initialize 31 | */ 32 | public function __init () 33 | { 34 | $this->t1 = self::TABLE_NAME; 35 | $this->k1 = self::TABLE_PRIM; 36 | 37 | $this->_bindTable($this->t1, $this->k1); 38 | } 39 | 40 | public function isAudit ($reqId) 41 | { 42 | $sql = $this->select() 43 | ->from($this->t1, array("count(1)")) 44 | ->where("{$this->t1}.bpm_request_id = ? and {$this->t1}.bpm_request_audit_status = 0", $reqId); 45 | 46 | return ($this->dbr()->fetchOne($sql)) ? false : true; 47 | } 48 | } -------------------------------------------------------------------------------- /hush-app/tpl/default/template/demo/code3.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | 3 |
4 | 5 | 6 |
7 | 25 | 26 | {include file="frame/error.tpl"} 27 | 28 |
29 | 

通过缓存获取:

30 | {$result} 31 |
32 | 33 |
34 | 

通过会话获取:

35 | session_time : {$session_time} 36 |
37 | 38 | {include file="frame/foot.tpl"} -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/print/plugin.min.js: -------------------------------------------------------------------------------- 1 | !function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @package Hush_Process 14 | */ 15 | abstract class Hush_Process_Storage 16 | { 17 | /** 18 | * Create storage object 19 | * @param string $engine Engine name (sysv, file) 20 | * @return object 21 | */ 22 | public static function factory ($engine, $config = array()) 23 | { 24 | $class_file = 'Hush/Process/Storage/' . ucfirst($engine) . '.php'; 25 | $class_name = 'Hush_Process_Storage_' . ucfirst($engine); 26 | 27 | require_once $class_file; // include storage class 28 | 29 | return new $class_name($config); 30 | } 31 | 32 | //////////////////////////////////////////////////////////////////////////////////////////////// 33 | // abstract methods 34 | 35 | abstract public function get ($k); 36 | 37 | abstract public function set ($k, $v); 38 | 39 | abstract public function delete ($k); 40 | 41 | abstract public function remove (); 42 | } -------------------------------------------------------------------------------- /hush-app/tpl/default/template/base/crud/verify.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | 3 |
4 | 审核{$title}信息 5 |
6 | 7 |
8 | {include file="frame/error.tpl"} 9 | {include file="base/crud/verify_msg.tpl"} 10 |
11 | 12 | 13 | 14 | 15 | 22 | 23 | 24 | 25 | 28 | 29 | 30 | 33 | 34 |
审核结果 16 | 21 |
审核原因 26 | 27 |
31 | {include file="base/form/submit.tpl" _submit_once="1"} 32 |
35 |
36 |
37 | 38 | {include file="frame/datetimepicker.tpl"} 39 | {if !$_no_foot} 40 | {include file="frame/foot.tpl"} 41 | {/if} -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/hr/plugin.min.js: -------------------------------------------------------------------------------- 1 | !function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i")}),a.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),a.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),function(){}}),d("0")()}(); -------------------------------------------------------------------------------- /hush-app/tpl/default/template/base/crud/add.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | 3 |
4 | 5 | {include file="frame/error.tpl"} 6 | 7 |
8 | {foreach $field as $k => $v} 9 | {if $v.add && $v.type eq 'hidden'} 10 | 11 | {/if} 12 | {/foreach} 13 | 14 | {foreach $field as $k => $v} 15 | {if $v.add && $v.type ne 'hidden'} 16 | 17 | 18 | 23 | 24 | {/if} 25 | {/foreach} 26 | 27 | 30 | 31 |
{$v.name}{if $v.validate.notempty !== 0 && $v.validate.notempty !== false} *{/if} 19 | 20 | {include file="base/crud/item.tpl" from="add"} 21 | 22 |
28 | {include file="base/form/submit.tpl" _submit_once="1"} 29 |
32 |
33 | 34 |
35 | 36 | {include file="frame/datetimepicker.tpl"} 37 | {include file="frame/colorpicker.tpl"} 38 | {include file="frame/editor.tpl"} 39 | {if !$_no_foot} 40 | {include file="frame/foot.tpl"} 41 | {/if} -------------------------------------------------------------------------------- /hush-lib/Hush/Debug/Writer.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id: james $ 10 | */ 11 | 12 | /** 13 | * @see Hush_Debug_Writer_Html 14 | */ 15 | require_once 'Hush/Debug/Writer/Html.php'; 16 | 17 | /** 18 | * @abstract 19 | * @package Hush_Debug 20 | */ 21 | abstract class Hush_Debug_Writer 22 | { 23 | /** 24 | * Set debug level 25 | * 26 | * @param int $level 27 | * @return void 28 | */ 29 | abstract public function level($level = 0); 30 | 31 | /** 32 | * Set display styles, how to show the debug infomation 33 | * 34 | * @param string $style 35 | * @return void 36 | */ 37 | abstract public function style($style = ""); 38 | 39 | /** 40 | * Add debug infomation to the pool to be displayed 41 | * 42 | * @param mixed $msg 43 | * @param mixed $label 44 | * @return void 45 | */ 46 | abstract public function debug($msg = null, $label = null); 47 | 48 | /** 49 | * Write debug to the backend 50 | * 51 | * @return void 52 | */ 53 | abstract public function write(); 54 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Message/Handler.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Message_Exception 14 | */ 15 | require_once 'Hush/Message/Exception.php'; 16 | 17 | /** 18 | * @see Hush_Message 19 | */ 20 | require_once 'Hush/Message.php'; 21 | 22 | /** 23 | * @package Hush_Message 24 | */ 25 | abstract class Hush_Message_Handler 26 | { 27 | /** 28 | * @var Hush_Message 29 | */ 30 | public $message = null; 31 | 32 | /** 33 | * Set message object 34 | * 35 | * @param Hush_Message $message 36 | * @return void 37 | */ 38 | public function setMessage ($message) 39 | { 40 | $this->message = $message; 41 | } 42 | 43 | /** 44 | * Get message object 45 | * 46 | * @return Hush_Message 47 | */ 48 | public function getMessage () 49 | { 50 | return $this->message; 51 | } 52 | 53 | /** 54 | * @abstract 55 | */ 56 | abstract protected function doSend (); 57 | 58 | /** 59 | * @abstract 60 | */ 61 | abstract protected function doRecv (); 62 | } -------------------------------------------------------------------------------- /hush-app/tpl/default/template/acl/user/edit.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | 3 |
4 | 编辑用户 “{$user.name}” 信息 5 |
6 | 7 |
8 | 9 | {include file="frame/error.tpl"} 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 26 | 27 | {if $_acl->isAllowed($_admin.role, 'acl_user_passwd')} 28 | 29 | 30 | 31 | 32 | {/if} 33 | 34 | 38 | 39 |
ID{$user.id}
用户名 *
角色选择 * 24 | {include file="acl/forms/roles_edit.tpl"} 25 |
新密码
35 | 36 | 37 |
40 |
41 | 42 |
43 | 44 | {include file="frame/foot.tpl"} -------------------------------------------------------------------------------- /hush-app/tpl/default/template/frame/head.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {foreach $cssList as $css} 9 | {/foreach} 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | {foreach $jsList as $js} 18 | {/foreach} 19 | 20 | 21 |
-------------------------------------------------------------------------------- /hush-lib/Core/Util/getid3/module.misc.par2.php: -------------------------------------------------------------------------------- 1 | // 4 | // available at http://getid3.sourceforge.net // 5 | // or http://www.getid3.org // 6 | // also https://github.com/JamesHeinrich/getID3 // 7 | ///////////////////////////////////////////////////////////////// 8 | // See readme.txt for more details // 9 | ///////////////////////////////////////////////////////////////// 10 | // // 11 | // module.misc.par2.php // 12 | // module for analyzing PAR2 files // 13 | // dependencies: NONE // 14 | // /// 15 | ///////////////////////////////////////////////////////////////// 16 | 17 | 18 | class getid3_par2 extends getid3_handler 19 | { 20 | 21 | public function Analyze() { 22 | $info = &$this->getid3->info; 23 | 24 | $info['fileformat'] = 'par2'; 25 | 26 | $info['error'][] = 'PAR2 parsing not enabled in this version of getID3()'; 27 | return false; 28 | 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /hush-app/lib/App/App/Default/Page/AjaxPage.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'BasePage.php'; 13 | 14 | /** 15 | * @package App_App_Default 16 | */ 17 | class AjaxPage extends BasePage 18 | { 19 | public function __init () 20 | { 21 | parent::__init(); 22 | } 23 | 24 | public function qrcodeAction () 25 | { 26 | $s = urldecode($this->param('s')); 27 | if ($s) { 28 | require_once 'Core/Qrcode.php'; 29 | $back_color = 0xFFFFFF; 30 | $fore_color = 0x000000; 31 | QRcode::png($s, false, 'h', 20, 1, false, $back_color, $fore_color); 32 | } 33 | } 34 | 35 | public function finduserAction () 36 | { 37 | $cond = array(); 38 | if ($this->param('s')) { 39 | $cond['sname'] = $this->param('s'); 40 | } 41 | // $cond['status'] = array(); // only open 42 | $dao = $this->dao->load('Core_User'); 43 | $res = $dao->search($cond, array('id','name')); 44 | if ($res) { 45 | Core_Util::app_ajax_result(ERR_OK, '', $res); 46 | } 47 | Core_Util::app_ajax_result(ERR_SYS, ''); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /hush-app/tpl/default/template/base/crud/edit.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | 3 |
4 | 5 | {include file="frame/error.tpl"} 6 | 7 |
8 | 9 | {foreach $field as $k => $v} 10 | {if $v.edit && $v.type eq 'hidden'} 11 | 12 | {/if} 13 | {/foreach} 14 | 15 | {foreach $field as $k => $v} 16 | {if $v.edit && $v.type ne 'hidden'} 17 | 18 | 19 | 24 | 25 | {/if} 26 | {/foreach} 27 | 28 | 31 | 32 |
{$v.name}{if $v.validate.notempty !== 0 && $v.validate.notempty !== false} *{/if} 20 | 21 | {include file="base/crud/item.tpl" from="edit"} 22 | 23 |
29 | {include file="base/form/submit.tpl" _submit_once="1"} 30 |
33 |
34 | 35 |
36 | 37 | {include file="frame/datetimepicker.tpl"} 38 | {include file="frame/colorpicker.tpl"} 39 | {include file="frame/editor.tpl"} 40 | {if !$_no_foot} 41 | {include file="frame/foot.tpl"} 42 | {/if} -------------------------------------------------------------------------------- /hush-app/lib/App/Dao/Core/BpmRequestOp.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'App/Dao/Core.php'; 13 | require_once 'App/Dao/Core/User.php'; 14 | 15 | /** 16 | * @package App_Dao_Core 17 | */ 18 | class Core_BpmRequestOp extends App_Dao_Core 19 | { 20 | /** 21 | * @static 22 | */ 23 | const TABLE_NAME = 'bpm_request_op'; 24 | 25 | /** 26 | * @static 27 | */ 28 | const TABLE_PRIM = 'bpm_request_op_id'; 29 | 30 | /** 31 | * Initialize 32 | */ 33 | public function __init () 34 | { 35 | $this->t1 = self::TABLE_NAME; 36 | $this->k1 = self::TABLE_PRIM; 37 | $this->t2 = Core_User::TABLE_NAME; 38 | $this->k2 = Core_User::TABLE_PRIM; 39 | 40 | $this->_bindTable($this->t1, $this->k1); 41 | } 42 | 43 | public function getByReqId ($reqId) 44 | { 45 | $sql = $this->select() 46 | ->from($this->t1, array("{$this->t1}.*", "{$this->t2}.name as user_name")) 47 | ->join($this->t2, "{$this->t1}.user_id = {$this->t2}.{$this->k2}", null) 48 | ->where("{$this->t1}.bpm_request_id = ?", $reqId); 49 | 50 | return $this->dbr()->fetchAll($sql); 51 | } 52 | } -------------------------------------------------------------------------------- /hush-lib/App/Cli/Help.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @package App_Cli 14 | */ 15 | class App_Cli_Help extends App_Cli 16 | { 17 | public function helpAction () 18 | { 19 | // app command description 20 | $cliLibPath = __LIB_DIR . '/App/Cli'; 21 | foreach (glob($cliLibPath . '/*.php') as $classFile) { 22 | $className = 'App_Cli_' . basename($classFile, '.php'); 23 | if (!strcasecmp($className, 'App_Cli_Help')) 24 | continue; 25 | if ($classFile && $className) { 26 | require_once $classFile; 27 | $class = new $className(); 28 | $class->helpAction(); 29 | } 30 | } 31 | // lib command description 32 | $cliLibPath = dirname(__FILE__); 33 | foreach (glob($cliLibPath . '/*.php') as $classFile) { 34 | $className = 'App_Cli_' . basename($classFile, '.php'); 35 | if (!strcasecmp($className, 'App_Cli_Help')) 36 | continue; 37 | if ($classFile && $className) { 38 | require_once $classFile; 39 | $class = new $className(); 40 | $class->helpAction(); 41 | } 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /hush-lib/Core/Util/getid3/module.misc.pdf.php: -------------------------------------------------------------------------------- 1 | // 4 | // available at http://getid3.sourceforge.net // 5 | // or http://www.getid3.org // 6 | // also https://github.com/JamesHeinrich/getID3 // 7 | ///////////////////////////////////////////////////////////////// 8 | // See readme.txt for more details // 9 | ///////////////////////////////////////////////////////////////// 10 | // // 11 | // module.misc.pdf.php // 12 | // module for analyzing PDF files // 13 | // dependencies: NONE // 14 | // /// 15 | ///////////////////////////////////////////////////////////////// 16 | 17 | 18 | class getid3_pdf extends getid3_handler 19 | { 20 | 21 | public function Analyze() { 22 | $info = &$this->getid3->info; 23 | 24 | $info['fileformat'] = 'pdf'; 25 | 26 | $info['error'][] = 'PDF parsing not enabled in this version of getID3() ['.$this->getid3->version().']'; 27 | return false; 28 | 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /hush-lib/Hush/View.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Zend_View 14 | */ 15 | require_once 'Zend/View.php'; 16 | 17 | /** 18 | * @see Zend_View_Interface 19 | */ 20 | require_once 'Zend/View/Interface.php'; 21 | 22 | /** 23 | * @package Hush_View 24 | */ 25 | class Hush_View extends Zend_View 26 | { 27 | /** 28 | * @staticvar Hush_View 29 | */ 30 | public static $engine = null; 31 | 32 | /** 33 | * Method for singleton mode 34 | * Return Hush_View instance such as Hush_View_Smarty 35 | * @static 36 | * @param string $engine 37 | * @param array $configs Configurations used by Hush_View subclass 38 | * @return Hush_View 39 | */ 40 | public static function getInstance($engine, $configs) 41 | { 42 | if (!$engine) { 43 | require_once 'Hush/Exception.php'; 44 | throw new Hush_Exception('View & Template Engine can not be empty'); 45 | } 46 | if (!self::$engine) { 47 | $file_name = 'Hush/View/' . ucfirst($engine) . '.php'; 48 | $class_name = 'Hush_View_' . ucfirst($engine); 49 | 50 | require_once $file_name; 51 | self::$engine = new $class_name($configs); 52 | } 53 | return self::$engine; 54 | } 55 | } -------------------------------------------------------------------------------- /hush-lib/Hush/Document.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @see Hush_Document_Parser 14 | */ 15 | require_once 'Hush/Document/Parser.php'; 16 | 17 | /** 18 | * @package Hush_Document 19 | */ 20 | class Hush_Document 21 | { 22 | /** 23 | * @var Hush_Document_Parser 24 | */ 25 | protected $_parser = null; 26 | 27 | /** 28 | * Construct 29 | * @param Hush_Debug_Writer $writer 30 | */ 31 | public function __construct($classFile, $parser = 'PhpDoc') 32 | { 33 | if (!file_exists($classFile)) { 34 | require_once 'Hush/Document/Exception.php'; 35 | throw new Hush_Document_Exception("Non-exists class file '$classFile'."); 36 | } 37 | 38 | $this->_parser = Hush_Document_Parser::factory($parser); 39 | 40 | $this->_parser->parseCode($classFile); 41 | } 42 | 43 | /** 44 | * Get annotations 45 | * @param $classFile ClassName you want 46 | * @param $methodName MethodName you want 47 | * @return array 48 | */ 49 | public function getAnnotation($className = '', $methodName = '') 50 | { 51 | return $this->_parser->getAnnotation($className, $methodName); 52 | } 53 | } -------------------------------------------------------------------------------- /hush-app/lib/App/App/Default/Http/TestApi.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'App/App/Default/Http.php'; 13 | 14 | /** 15 | * @package App_App_Default_Http 16 | */ 17 | class TestApi extends App_App_Default_Http 18 | { 19 | /** 20 | * @title /test/crypt 21 | * @action /test/crypt 22 | * @method post 23 | */ 24 | public function cryptAction () 25 | { 26 | $text = '我爱北京天安门Baby2016!!!'; 27 | require_once 'Crypt/RSAX.php'; 28 | $rsax = new Crypt_RSAX(); 29 | $encode = $rsax->encrypt($text); 30 | var_dump($encode); 31 | $decode = $rsax->decrypt($encode); 32 | var_dump($decode); 33 | } 34 | 35 | /** 36 | * @title /test/sendx 37 | * @action /test/sendx 38 | * @method post 39 | * @params x1 10 string 40 | * @params x2 25 string 41 | * @encode rsax 42 | */ 43 | public function sendxAction () 44 | { 45 | // decipher 46 | $this->prepare('rsax'); 47 | 48 | $params = $this->ctx->getParams(); 49 | // Hush_Util::dump($params); 50 | 51 | $data = array('sum' => $params['x1'] * $params['x2']); 52 | $this->ctx->setData($data); 53 | 54 | $this->ctx->render('rsax'); 55 | } 56 | } -------------------------------------------------------------------------------- /hush-lib/Core/Util/Mail.php: -------------------------------------------------------------------------------- 1 | 'ssl', 19 | 'auth' => 'login', 20 | 'username' => $login_user, 21 | 'password' => $login_pass, 22 | 'port' => 25, // default 23 | )); 24 | $mail->setDefaultTransport($transport); 25 | $mail->setSubject($mail_title) 26 | ->setBodyHtml($mail_body) 27 | ->setFrom($mail_from, $mail_from_name) 28 | ->addTo($mail_to) 29 | ->send(); 30 | } 31 | } -------------------------------------------------------------------------------- /hush-app/web/default/app/chart/modules/no-data-to-display.js: -------------------------------------------------------------------------------- 1 | /* 2 | Highcharts JS v4.0.3 (2014-07-03) 3 | Plugin for displaying a message when there is no data visible in chart. 4 | 5 | (c) 2010-2014 Highsoft AS 6 | Author: Oystein Moseng 7 | 8 | License: www.highcharts.com/license 9 | */ 10 | (function(c){function f(){return!!this.points.length}function g(){this.hasData()?this.hideNoData():this.showNoData()}var d=c.seriesTypes,e=c.Chart.prototype,h=c.getOptions(),i=c.extend;i(h.lang,{noData:"No data to display"});h.noData={position:{x:0,y:0,align:"center",verticalAlign:"middle"},attr:{},style:{fontWeight:"bold",fontSize:"12px",color:"#60606a"}};if(d.pie)d.pie.prototype.hasData=f;if(d.gauge)d.gauge.prototype.hasData=f;if(d.waterfall)d.waterfall.prototype.hasData=f;c.Series.prototype.hasData= 11 | function(){return this.dataMax!==void 0&&this.dataMin!==void 0};e.showNoData=function(a){var b=this.options,a=a||b.lang.noData,b=b.noData;if(!this.noDataLabel)this.noDataLabel=this.renderer.label(a,0,0,null,null,null,null,null,"no-data").attr(b.attr).css(b.style).add(),this.noDataLabel.align(i(this.noDataLabel.getBBox(),b.position),!1,"plotBox")};e.hideNoData=function(){if(this.noDataLabel)this.noDataLabel=this.noDataLabel.destroy()};e.hasData=function(){for(var a=this.series,b=a.length;b--;)if(a[b].hasData()&& 12 | !a[b].options.isInternal)return!0;return!1};e.callbacks.push(function(a){c.addEvent(a,"load",g);c.addEvent(a,"redraw",g)})})(Highcharts); 13 | -------------------------------------------------------------------------------- /hush-app/tpl/default/template/acl/role/list.tpl: -------------------------------------------------------------------------------- 1 | {include file="frame/head.tpl"} 2 | 3 |
4 | 后台角色列表 5 |
6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | {foreach $roleList as $role} 21 | 22 | 23 | 24 | 25 | 26 | 34 | 35 | {/foreach} 36 | 37 | {if $_acl->isAllowed($_admin.role, 'acl_role_add')} 38 | 39 | 40 | 43 | 44 | 45 | {/if} 46 |
 ID角色名角色别名可操作角色操作 
{$role.id}{$role.name}{$role.alias}{$role.role} 27 | {if $_acl->isAllowed($_admin.role, 'acl_role_edit')} 28 | 编辑 29 | {else}编辑{/if} 30 | {if $_admin.name eq $_sa} | 31 | 删除 32 | {/if} 33 |
41 | 42 |
47 | 48 | {include file="frame/page.tpl"} 49 | 50 |
51 | 52 | {include file="frame/foot.tpl"} -------------------------------------------------------------------------------- /hush-app/etc/default.message.ini: -------------------------------------------------------------------------------- 1 | field.id="ID" 2 | field.mid="用户ID" 3 | field.cid="企业ID" 4 | field.type="类型" 5 | field.status="状态" 6 | field.content="内容" 7 | field.result="结果" 8 | field.account=用户名 9 | field.passwd=密码 10 | field.vcode=验证码 11 | field.borrow=借款信息 12 | field.nickname=昵称 13 | field.rename=真实姓名 14 | field.school=学校名称 15 | field.school_addr=学校地址 16 | field.enter_year=入学年份 17 | field.degree=学历信息 18 | field.money=借款金额 19 | field.usage=借款用途 20 | field.duration=还款时间 21 | field.mname="真实姓名" 22 | field.job="工作信息" 23 | field.prodinfo.pcid="商品类别" 24 | field.prodinfo.name="商品名称" 25 | field.prodinfo.desc="商品说明" 26 | field.prodinfo.icon="展示图" 27 | field.prodinfo.pic1="附带图" 28 | field.prodinfo.money="金额" 29 | field.prodinfo.duration="分期数" 30 | field.prodinfo.interest_rate="利率" 31 | field.prodinfo.op_fee="管理费" 32 | field.prodinfo.repayment="期款" 33 | 34 | common.err.noexisted="{0}不存在" 35 | common.err.existed="{0}已经存在" 36 | common.err.notempty="{0}不能为空" 37 | common.err.badformat="{0}格式有错" 38 | common.err.notequal="{0}和{1}输入不相同" 39 | common.err.vcode="验证码输入错误" 40 | common.msg.success="操作成功" 41 | common.msg.failed="操作失败" 42 | 43 | login.notempty="用户名和密码不能为空" 44 | login.notcode="验证码不能为空" 45 | login.badcode="验证码验证失败" 46 | login.nouser="该用户不存在" 47 | login.failed="密码验证失败" 48 | 49 | bpm.flow.flowerr="流程模型/节点错误,暂不可用" 50 | bpm.node.langerr="语法错误,请重新检查" 51 | bpm.node.nodeerr="跳转节点错误,请重新检查" 52 | bpm.node.cannotremoved="该节点已绑定路径,不可以删除" -------------------------------------------------------------------------------- /hush-app/web/default/css/jquery.table.css: -------------------------------------------------------------------------------- 1 | /* tables */ 2 | table.tablesorter { 3 | border-collapse:collapse; 4 | border:1px solid #C6C9CA; 5 | background-color: #CDCDCD; 6 | text-align: left; 7 | width: 100%; 8 | } 9 | table.tablesorter thead tr th, table.tablesorter tfoot tr th { 10 | height:25px; 11 | padding: 4px 4px 4px 10px; 12 | background-color: #D9E8F5; 13 | border:1px solid #C6C9CA; 14 | font-weight:bold; 15 | } 16 | table.tablesorter thead tr td, table.tablesorter tfoot tr td { 17 | height:25px; 18 | padding: 4px 4px 4px 10px; 19 | background-color: #D9E8F5; 20 | border:1px solid #C6C9CA; 21 | font-weight:bold; 22 | } 23 | table.tablesorter thead tr .header { 24 | background-image: url(../img/sort_bg.gif); 25 | background-repeat: no-repeat; 26 | background-position: center right; 27 | cursor: pointer; 28 | } 29 | table.tablesorter tbody td { 30 | height:25px; 31 | padding: 4px 4px 4px 10px; 32 | color: #3D3D3D; 33 | background-color: #FFF; 34 | border-bottom:1px dotted #d9e8f5; 35 | } 36 | table.tablesorter tbody tr.odd td { 37 | background-color:#F0F0F6; 38 | } 39 | table.tablesorter thead tr .headerSortUp { 40 | background-image: url(../img/sort_asc.gif); 41 | } 42 | table.tablesorter thead tr .headerSortDown { 43 | background-image: url(../img/sort_desc.gif); 44 | } 45 | table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp { 46 | background-color: #D9E8F5; 47 | } 48 | -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/yimage/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add('yimage', function(editor, url) { 2 | 3 | // body 4 | var plug_name = 'Image Manager'; 5 | var plug_tips = '图片管理工具'; 6 | var win_body = [ 7 | {type:'notification', text:'系统会对图片进行适当压缩,请保证原图不要超过8M。', style:'width:458px;top:10px;'}, 8 | {type:'spacer', style:'height:5px;'}, 9 | {name:"src",type:"filepicker",filetype:"image",label:"Source",autofocus:!0} 10 | ]; 11 | 12 | // Add a button that opens a window 13 | editor.addButton('yimage', { 14 | text : '', 15 | icon : 'image', 16 | tooltip : plug_tips, 17 | onclick : function() { 18 | // Open window 19 | editor.windowManager.open({ 20 | title : plug_name, 21 | body : win_body, 22 | width : 500, 23 | height : 140, 24 | onsubmit : function(e) { 25 | var html = ''; 26 | editor.insertContent(html); 27 | } 28 | }); 29 | } 30 | }); 31 | 32 | // Adds a menu item to the tools menu 33 | editor.addMenuItem('yimage', { 34 | text : plug_name, 35 | context : 'tools', 36 | tooltip : plug_tips, 37 | onclick : function() { 38 | // Open window 39 | editor.windowManager.open({ 40 | title : plug_name, 41 | body : win_body, 42 | width : 500, 43 | height : 140, 44 | onsubmit : function(e) { 45 | 46 | } 47 | }); 48 | } 49 | }); 50 | 51 | return { 52 | getMetadata : function() { 53 | return { 54 | title : plug_name 55 | }; 56 | } 57 | }; 58 | }); -------------------------------------------------------------------------------- /hush-lib/App/Db/ConfigDev.php: -------------------------------------------------------------------------------- 1 | array( 24 | // cluster 0 25 | array( 26 | 'master' => array(array('type' => __HUSH_DB_TYPE, 'host' => __HUSH_DB_HOST, 'port' => __HUSH_DB_PORT, 'user' => __HUSH_DB_USER, 'pass' => __HUSH_DB_PASS)), 27 | 'slave' => array(array('type' => __HUSH_DB_TYPE, 'host' => __HUSH_DB_HOST, 'port' => __HUSH_DB_PORT, 'user' => __HUSH_DB_USER, 'pass' => __HUSH_DB_PASS)), 28 | ), 29 | // cluster N ... 30 | ), 31 | // log db 32 | 'by_log' => array( 33 | // cluster 0 34 | array( 35 | 'master' => array(array('type' => __HUSH_DB_TYPE, 'host' => __HUSH_DB_HOST, 'port' => __HUSH_DB_PORT, 'user' => __HUSH_DB_USER, 'pass' => __HUSH_DB_PASS)), 36 | 'slave' => array(array('type' => __HUSH_DB_TYPE, 'host' => __HUSH_DB_HOST, 'port' => __HUSH_DB_PORT, 'user' => __HUSH_DB_USER, 'pass' => __HUSH_DB_PASS)), 37 | ), 38 | // cluster N ... 39 | ), 40 | ); 41 | } 42 | -------------------------------------------------------------------------------- /hush-app/web/default/app/dashboard/css/bootstrap/bootstrap/js/tests/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Bootstrap Plugin Test Suite 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 |
33 |

Bootstrap Plugin Test Suite

34 |

35 |

36 |
    37 |
    38 |
    39 | 40 | -------------------------------------------------------------------------------- /hush-lib/App/Db/ConfigTest.php: -------------------------------------------------------------------------------- 1 | array( 24 | // cluster 0 25 | array( 26 | 'master' => array(array('type' => __HUSH_DB_TYPE, 'host' => __HUSH_DB_HOST, 'port' => __HUSH_DB_PORT, 'user' => __HUSH_DB_USER, 'pass' => __HUSH_DB_PASS)), 27 | 'slave' => array(array('type' => __HUSH_DB_TYPE, 'host' => __HUSH_DB_HOST, 'port' => __HUSH_DB_PORT, 'user' => __HUSH_DB_USER, 'pass' => __HUSH_DB_PASS)), 28 | ), 29 | // cluster N ... 30 | ), 31 | // log db 32 | 'by_log' => array( 33 | // cluster 0 34 | array( 35 | 'master' => array(array('type' => __HUSH_DB_TYPE, 'host' => __HUSH_DB_HOST, 'port' => __HUSH_DB_PORT, 'user' => __HUSH_DB_USER, 'pass' => __HUSH_DB_PASS)), 36 | 'slave' => array(array('type' => __HUSH_DB_TYPE, 'host' => __HUSH_DB_HOST, 'port' => __HUSH_DB_PORT, 'user' => __HUSH_DB_USER, 'pass' => __HUSH_DB_PASS)), 37 | ), 38 | // cluster N ... 39 | ), 40 | ); 41 | } 42 | -------------------------------------------------------------------------------- /hush-app/web/default/app/chart/themes/grid-light.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Grid-light theme for Highcharts JS 3 | * @author Torstein Honsi 4 | */ 5 | 6 | // Load the fonts 7 | Highcharts.createElement('link', { 8 | href: 'http://fonts.googleapis.com/css?family=Dosis:400,600', 9 | rel: 'stylesheet', 10 | type: 'text/css' 11 | }, null, document.getElementsByTagName('head')[0]); 12 | 13 | Highcharts.theme = { 14 | colors: ["#7cb5ec", "#f7a35c", "#90ee7e", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee", 15 | "#55BF3B", "#DF5353", "#7798BF", "#aaeeee"], 16 | chart: { 17 | backgroundColor: null, 18 | style: { 19 | fontFamily: "Dosis, sans-serif" 20 | } 21 | }, 22 | title: { 23 | style: { 24 | fontSize: '16px', 25 | fontWeight: 'bold', 26 | textTransform: 'uppercase' 27 | } 28 | }, 29 | tooltip: { 30 | borderWidth: 0, 31 | backgroundColor: 'rgba(219,219,216,0.8)', 32 | shadow: false 33 | }, 34 | legend: { 35 | itemStyle: { 36 | fontWeight: 'bold', 37 | fontSize: '13px' 38 | } 39 | }, 40 | xAxis: { 41 | gridLineWidth: 1, 42 | labels: { 43 | style: { 44 | fontSize: '12px' 45 | } 46 | } 47 | }, 48 | yAxis: { 49 | minorTickInterval: 'auto', 50 | title: { 51 | style: { 52 | textTransform: 'uppercase' 53 | } 54 | }, 55 | labels: { 56 | style: { 57 | fontSize: '12px' 58 | } 59 | } 60 | }, 61 | plotOptions: { 62 | candlestick: { 63 | lineColor: '#404048' 64 | } 65 | }, 66 | 67 | 68 | // General 69 | background2: '#F0F0EA' 70 | 71 | }; 72 | 73 | // Apply the theme 74 | Highcharts.setOptions(Highcharts.theme); 75 | -------------------------------------------------------------------------------- /hush-app/web/default/app/tinymce/plugins/nonbreaking/plugin.min.js: -------------------------------------------------------------------------------- 1 | !function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i ':" ";a.insertContent(c(d,b)),a.dom.setAttrib(a.dom.select("span.mce-nbsp"),"data-mce-bogus","1")};if(a.addCommand("mceNonBreaking",function(){d(1)}),a.addButton("nonbreaking",{title:"Nonbreaking space",cmd:"mceNonBreaking"}),a.addMenuItem("nonbreaking",{text:"Nonbreaking space",cmd:"mceNonBreaking",context:"insert"}),b){var e=+b>1?+b:3;a.on("keydown",function(a){if(9==a.keyCode){if(a.shiftKey)return;a.preventDefault(),d(e)}})}}),function(){}}),d("0")()}(); --------------------------------------------------------------------------------