├── .gitignore ├── .gitmodules ├── .htaccess ├── app_controller.php ├── app_helper.php ├── app_model.php ├── config ├── bootstrap.php ├── core.php.default ├── database.php.default ├── inflections.php ├── lucene.php ├── routes.php └── sql │ ├── complete.php │ ├── complete.sql │ ├── mode_m.dot │ ├── mode_t.dot │ ├── schema.php │ ├── schema.sql │ ├── schema_uuid.php │ ├── schematic_m_dot.png │ ├── schematic_m_dotGmodeheir.png │ ├── schematic_m_neato.png │ ├── schematic_m_neatoGmodelsubset.png │ ├── schematic_t_dot.png │ ├── schematic_t_dotGmodeheir.png │ ├── schematic_t_neato.png │ └── schematic_t_neatoGmodelsubset.png ├── controllers ├── .script.vi ├── attachments_controller.php ├── changes_controller.php ├── comments_controller.php ├── components │ ├── filter.php │ └── unique_url.php ├── nodes_controller.php ├── redirect_controller.php └── revisions_controller.php ├── docs └── install_instructions.txt ├── index.php ├── locale ├── default.pot ├── deu │ └── LC_MESSAGES │ │ └── default.po ├── dut │ └── LC_MESSAGES │ │ └── default.po ├── eng │ └── LC_MESSAGES │ │ └── default.po ├── fre │ └── LC_MESSAGES │ │ └── default.po ├── ind │ └── LC_MESSAGES │ │ └── default.po ├── jpn │ └── LC_MESSAGES │ │ └── default.po ├── may │ └── LC_MESSAGES │ │ └── default.po ├── per │ └── LC_MESSAGES │ │ └── default.po ├── por │ └── LC_MESSAGES │ │ ├── default.mo │ │ └── default.po ├── rus │ └── LC_MESSAGES │ │ └── default.po ├── spa │ └── LC_MESSAGES │ │ └── default.po └── tur │ └── LC_MESSAGES │ └── default.po ├── models ├── attachment.php ├── behaviors │ ├── image_upload.php │ ├── polymorphic.php │ ├── slugged.php │ └── upload.php ├── change.php ├── comment.php ├── node.php └── revision.php ├── plugins ├── searchable │ ├── models │ │ └── behaviors │ │ │ └── searchable.php │ ├── searchable_app_controller.php │ ├── searchable_app_model.php │ ├── vendors │ │ └── shells │ │ │ └── search.php │ └── views │ │ └── helpers │ │ └── search.php └── users │ ├── controllers │ ├── components │ │ └── bakery.php │ └── users_controller.php │ ├── models │ ├── group.php │ ├── level.php │ ├── profile.php │ └── user.php │ ├── users_app_controller.php │ ├── users_app_model.php │ └── views │ ├── elements │ └── user.ctp │ └── users │ ├── login.ctp │ ├── reset.ctp │ └── verify.ctp ├── tests ├── cases │ ├── behaviors │ │ └── empty │ ├── components │ │ └── empty │ ├── controllers │ │ └── empty │ ├── helpers │ │ └── empty │ └── models │ │ ├── empty │ │ └── node.test.php ├── fixtures │ ├── comment_fixture.php │ ├── node_fixture.php │ ├── revision_fixture.php │ └── user_fixture.php └── groups │ └── empty ├── tmp ├── cache │ ├── assets │ │ └── empty │ ├── models │ │ └── empty │ ├── persistent │ │ └── empty │ └── views │ │ └── empty ├── logs │ └── empty ├── sessions │ └── empty └── tests │ └── empty ├── vendors ├── Text │ ├── Diff.php │ ├── Diff │ │ ├── Engine │ │ │ ├── native.php │ │ │ ├── shell.php │ │ │ ├── string.php │ │ │ └── xdiff.php │ │ ├── Mapped.php │ │ ├── Renderer.php │ │ ├── Renderer │ │ │ ├── character.php │ │ │ ├── context.php │ │ │ ├── inline.php │ │ │ ├── sidebyside.php │ │ │ └── unified.php │ │ └── ThreeWay.php │ ├── Diff3.php │ ├── docs │ │ └── examples │ │ │ ├── 1.txt │ │ │ ├── 2.txt │ │ │ └── diff.php │ └── tests │ │ ├── 1.txt │ │ ├── 2.txt │ │ ├── 3.txt │ │ ├── 4.txt │ │ ├── 5.txt │ │ ├── 6.txt │ │ ├── context.patch │ │ ├── context.phpt │ │ ├── context2.phpt │ │ ├── diff.phpt │ │ ├── inline.phpt │ │ ├── inline2.phpt │ │ ├── pear_bug12740.phpt │ │ ├── pear_bug4879.phpt │ │ ├── pear_bug6251.phpt │ │ ├── pear_bug6428.phpt │ │ ├── string.phpt │ │ ├── unified.patch │ │ ├── unified.phpt │ │ └── unified2.phpt ├── Zend │ ├── Exception.php │ └── Search │ │ ├── Exception.php │ │ ├── Lucene.php │ │ └── Lucene │ │ ├── Analysis │ │ ├── Analyzer.php │ │ ├── Analyzer │ │ │ ├── Common.php │ │ │ └── Common │ │ │ │ ├── Text.php │ │ │ │ ├── Text │ │ │ │ └── CaseInsensitive.php │ │ │ │ ├── TextNum.php │ │ │ │ ├── TextNum │ │ │ │ └── CaseInsensitive.php │ │ │ │ ├── Utf8.php │ │ │ │ ├── Utf8 │ │ │ │ └── CaseInsensitive.php │ │ │ │ ├── Utf8Num.php │ │ │ │ └── Utf8Num │ │ │ │ └── CaseInsensitive.php │ │ ├── Token.php │ │ ├── TokenFilter.php │ │ └── TokenFilter │ │ │ ├── LowerCase.php │ │ │ ├── LowerCaseUtf8.php │ │ │ ├── ShortWords.php │ │ │ └── StopWords.php │ │ ├── Document.php │ │ ├── Document │ │ └── Html.php │ │ ├── Exception.php │ │ ├── FSM.php │ │ ├── FSMAction.php │ │ ├── Field.php │ │ ├── Index │ │ ├── DictionaryLoader.php │ │ ├── FieldInfo.php │ │ ├── SegmentInfo.php │ │ ├── SegmentInfoPriorityQueue.php │ │ ├── SegmentMerger.php │ │ ├── SegmentWriter.php │ │ ├── SegmentWriter │ │ │ ├── DocumentWriter.php │ │ │ └── StreamWriter.php │ │ ├── Term.php │ │ ├── TermInfo.php │ │ └── Writer.php │ │ ├── Interface.php │ │ ├── LockManager.php │ │ ├── PriorityQueue.php │ │ ├── Proxy.php │ │ ├── Search │ │ ├── BooleanExpressionRecognizer.php │ │ ├── Query.php │ │ ├── Query │ │ │ ├── Boolean.php │ │ │ ├── Empty.php │ │ │ ├── Fuzzy.php │ │ │ ├── Insignificant.php │ │ │ ├── MultiTerm.php │ │ │ ├── Phrase.php │ │ │ ├── Range.php │ │ │ ├── Term.php │ │ │ └── Wildcard.php │ │ ├── QueryEntry.php │ │ ├── QueryEntry │ │ │ ├── Phrase.php │ │ │ ├── Subquery.php │ │ │ └── Term.php │ │ ├── QueryHit.php │ │ ├── QueryLexer.php │ │ ├── QueryParser.php │ │ ├── QueryParserContext.php │ │ ├── QueryParserException.php │ │ ├── QueryToken.php │ │ ├── Similarity.php │ │ ├── Similarity │ │ │ └── Default.php │ │ ├── Weight.php │ │ └── Weight │ │ │ ├── Boolean.php │ │ │ ├── Empty.php │ │ │ ├── MultiTerm.php │ │ │ ├── Phrase.php │ │ │ └── Term.php │ │ └── Storage │ │ ├── Directory.php │ │ ├── Directory │ │ └── Filesystem.php │ │ ├── File.php │ │ └── File │ │ ├── Filesystem.php │ │ └── Memory.php ├── css │ └── mini.css ├── highlight.php ├── js │ └── mini.js └── shells │ ├── search.php │ └── templates │ └── views │ └── index.ctp ├── views ├── attachments │ ├── admin_add.ctp │ ├── admin_edit.ctp │ ├── admin_import.ctp │ ├── admin_index.ctp │ ├── admin_view.ctp │ └── xml │ │ └── admin_export.ctp ├── changes │ ├── index.ctp │ └── rss │ │ └── index.ctp ├── comments │ ├── add.ctp │ ├── admin_edit.ctp │ ├── admin_index.ctp │ ├── admin_view.ctp │ ├── index.ctp │ ├── rss │ │ ├── index.ctp │ │ └── recent.ctp │ └── view.ctp ├── elements │ ├── analytics.ctp │ ├── attachments.ctp │ ├── collections.ctp │ ├── comment.ctp │ ├── comment_form.ctp │ ├── comment_form_note.ctp │ ├── content_form_note.ctp │ ├── contribute.ctp │ ├── crumbs.ctp │ ├── crumbs │ │ ├── admin_toc.ctp │ │ ├── nodes.ctp │ │ ├── revisions.ctp │ │ └── toc.ctp │ ├── force_redirect.ctp │ ├── inline_toc.ctp │ ├── language_links.ctp │ ├── login.ctp │ ├── login_hint.ctp │ ├── markitup.ctp │ ├── menu │ │ └── admin.ctp │ ├── node_navigation.ctp │ ├── node_options.ctp │ ├── paging.ctp │ ├── preview.ctp │ ├── search.ctp │ ├── search_form.ctp │ ├── secondary_nav.ctp │ ├── side_menu.ctp │ ├── sites_nav.ctp │ ├── toc.ctp │ ├── toc │ │ ├── admin_item.ctp │ │ └── public_item.ctp │ ├── toc_cloud.ctp │ └── trace.ctp ├── errors │ ├── error404.ctp │ ├── error500.ctp │ ├── missing_action.ctp │ ├── missing_behavior_file.ctp │ ├── missing_component_file.ctp │ ├── missing_connection.ctp │ ├── missing_controller.ctp │ ├── missing_helper_file.ctp │ ├── missing_layout.ctp │ ├── missing_table.ctp │ └── missing_view.ctp ├── helpers │ ├── diff.php │ ├── highlight.php │ └── theme.php ├── layouts │ ├── ajax.ctp │ ├── default.ctp │ ├── error.ctp │ ├── fatal_error.ctp │ ├── flash.ctp │ ├── flash │ │ └── new_content_default_language.ctp │ ├── mobile.ctp │ ├── rss │ │ └── default.ctp │ └── xml │ │ └── default.ctp ├── nodes │ ├── add.ctp │ ├── admin_edit.ctp │ ├── admin_import.ctp │ ├── admin_index.ctp │ ├── admin_merge.ctp │ ├── admin_move.ctp │ ├── admin_toc.ctp │ ├── compare.ctp │ ├── edit.ctp │ ├── english_todo.ctp │ ├── history.ctp │ ├── rss │ │ └── view_all.ctp │ ├── stats.ctp │ ├── toc.ctp │ ├── todo.ctp │ ├── view_all.ctp │ └── xml │ │ └── view_all.ctp ├── plugins │ └── users │ │ └── users │ │ └── login.ctp └── revisions │ ├── admin_change_status.ctp │ ├── admin_edit.ctp │ ├── admin_index.ctp │ ├── admin_pending.ctp │ ├── admin_view.ctp │ ├── results.ctp │ ├── rss │ └── index.ctp │ ├── search.ctp │ └── view.ctp └── webroot ├── .htaccess ├── css.php ├── css ├── 36a36eabc3.20100125.min.css ├── cake.cookbook.css ├── cake.cookbook.mobile.css ├── cake.generic.css ├── dd84add81b.20100125.min.css ├── full_width.css ├── images │ ├── 24-message-contribute.png │ ├── 24-message-info.png │ ├── 24-message-warn.png │ ├── arrow.gif │ ├── arrow_down.gif │ ├── body_bg.gif │ ├── feed.png │ ├── ui-bg_flat_55_999999_40x100.png │ ├── ui-bg_flat_75_aaaaaa_40x100.png │ ├── ui-bg_glass_45_0078ae_1x400.png │ ├── ui-bg_glass_55_f8da4e_1x400.png │ ├── ui-bg_glass_75_79c9ec_1x400.png │ ├── ui-bg_gloss-wave_45_e14f1c_500x100.png │ ├── ui-bg_gloss-wave_50_6eac2c_500x100.png │ ├── ui-bg_gloss-wave_75_003D4C_500x100.png │ ├── ui-bg_inset-hard_100_fcfdfd_1x100.png │ ├── ui-icons_0078ae_256x240.png │ ├── ui-icons_056b93_256x240.png │ ├── ui-icons_d8e7f3_256x240.png │ ├── ui-icons_e0fdff_256x240.png │ ├── ui-icons_f5e175_256x240.png │ ├── ui-icons_f7a50d_256x240.png │ └── ui-icons_fcd113_256x240.png ├── live.css ├── print.20100125.min.css ├── print.css ├── theme │ ├── ui.accordion.css │ ├── ui.all.css │ ├── ui.base.css │ ├── ui.core.css │ ├── ui.datepicker.css │ ├── ui.dialog.css │ ├── ui.progressbar.css │ ├── ui.resizable.css │ ├── ui.slider.css │ ├── ui.tabs.css │ └── ui.theme.css └── yui.reset-fonts-grids.css ├── favicon.ico ├── img ├── arrow.gif ├── basic_mvc.png ├── cake.icon.gif ├── cake.power.gif ├── cakefest2009.png ├── iphone.png ├── license.png ├── orange.png ├── pending.gif └── typical-cake-request.gif ├── index.php ├── js ├── 4210acf20a.20100125.min.js ├── AUTHORS.txt ├── GPL-LICENSE.txt ├── MIT-LICENSE.txt ├── i18n │ ├── jquery.ui.i18n.all.js │ ├── ui.datepicker-ar.js │ ├── ui.datepicker-bg.js │ ├── ui.datepicker-ca.js │ ├── ui.datepicker-cs.js │ ├── ui.datepicker-da.js │ ├── ui.datepicker-de.js │ ├── ui.datepicker-el.js │ ├── ui.datepicker-eo.js │ ├── ui.datepicker-es.js │ ├── ui.datepicker-fa.js │ ├── ui.datepicker-fi.js │ ├── ui.datepicker-fr.js │ ├── ui.datepicker-he.js │ ├── ui.datepicker-hr.js │ ├── ui.datepicker-hu.js │ ├── ui.datepicker-hy.js │ ├── ui.datepicker-id.js │ ├── ui.datepicker-is.js │ ├── ui.datepicker-it.js │ ├── ui.datepicker-ja.js │ ├── ui.datepicker-ko.js │ ├── ui.datepicker-lt.js │ ├── ui.datepicker-lv.js │ ├── ui.datepicker-ms.js │ ├── ui.datepicker-nl.js │ ├── ui.datepicker-no.js │ ├── ui.datepicker-pl.js │ ├── ui.datepicker-pt-BR.js │ ├── ui.datepicker-ro.js │ ├── ui.datepicker-ru.js │ ├── ui.datepicker-sk.js │ ├── ui.datepicker-sl.js │ ├── ui.datepicker-sq.js │ ├── ui.datepicker-sv.js │ ├── ui.datepicker-th.js │ ├── ui.datepicker-tr.js │ ├── ui.datepicker-uk.js │ ├── ui.datepicker-zh-CN.js │ └── ui.datepicker-zh-TW.js ├── jquery-ui.js ├── jquery-ui.min.js ├── jquery.form.js ├── jquery.js ├── loadingAnimation.gif ├── markitup │ ├── jquery.markitup.js │ ├── jquery.markitup.min.js │ ├── readme.txt │ ├── sets │ │ ├── default │ │ │ ├── images │ │ │ │ ├── bold.png │ │ │ │ ├── clean.png │ │ │ │ ├── code.png │ │ │ │ ├── image.png │ │ │ │ ├── italic.png │ │ │ │ ├── link.png │ │ │ │ ├── list-bullet.png │ │ │ │ ├── list-item.png │ │ │ │ ├── list-numeric.png │ │ │ │ ├── paragraph.png │ │ │ │ ├── picture.png │ │ │ │ ├── preview.png │ │ │ │ └── stroke.png │ │ │ ├── set.js │ │ │ └── style.css │ │ └── toolbar settings │ ├── skins │ │ ├── editor skins │ │ ├── markitup │ │ │ ├── images │ │ │ │ ├── bg-container.png │ │ │ │ ├── bg-editor-bbcode.png │ │ │ │ ├── bg-editor-dotclear.png │ │ │ │ ├── bg-editor-html.png │ │ │ │ ├── bg-editor-json.png │ │ │ │ ├── bg-editor-markdown.png │ │ │ │ ├── bg-editor-textile.png │ │ │ │ ├── bg-editor-wiki.png │ │ │ │ ├── bg-editor-xml.png │ │ │ │ ├── bg-editor.png │ │ │ │ ├── handle.png │ │ │ │ ├── menu.png │ │ │ │ └── submenu.png │ │ │ └── style.css │ │ └── simple │ │ │ ├── images │ │ │ ├── handle.png │ │ │ ├── menu.png │ │ │ └── submenu.png │ │ │ └── style.css │ ├── templates │ │ ├── preview templates │ │ ├── preview.css │ │ └── preview.html │ └── utils │ │ └── tools and scripts ├── popup.js └── scripts.js └── test.php /.gitignore: -------------------------------------------------------------------------------- 1 | errors.err 2 | *.swp 3 | *.swo 4 | *~ 5 | config/core.php 6 | config/database.php 7 | tmp/* 8 | .svn -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "plugins/mi"] 2 | path = plugins/mi 3 | url = git://github.com/AD7six/mi.git 4 | [submodule "plugins/mi_asset"] 5 | path = plugins/mi_asset 6 | url = git://github.com/AD7six/mi_asset.git 7 | [submodule "plugins/mi_panel"] 8 | path = plugins/mi_panel 9 | url = git://github.com/AD7six/mi_panel.git 10 | -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine on 3 | RewriteRule ^$ webroot/ [L] 4 | RewriteRule (.*) webroot/$1 [L] 5 | -------------------------------------------------------------------------------- /config/lucene.php: -------------------------------------------------------------------------------- 1 | 'search_index', 6 | 'Revision' => array( 7 | 'find_options' => array('conditions' => array('Revision.status' => 'current'), 'order' => 'Revision.id ASC'), 8 | 'fields' => array( 9 | 'id' => array('alias' => 'cake_id','type' => 'Keyword'), 10 | 'slug' => array('type' => 'UnIndexed'), 11 | 'title' => array('type' => 'Text'), 12 | 'content' => array('type' => 'Text', 'prepare' => 'strip_tags'), 13 | 'lang' => array('type' => 'Keyword'), 14 | 'book' => array('type' => 'Keyword'), 15 | 'collection' => array('type' => 'Keyword'), 16 | 'node_id' => array('type' => 'Keyword'), 17 | ), 18 | ), 19 | 'Comment' => array( 20 | 'find_options' => array('conditions' => array('Comment.published' => 1), 'order' => 'Comment.id ASC'), 21 | 'fields' => array( 22 | 'id' => array('alias' => 'cake_id','type' => 'UnIndexed'), 23 | 'title' => array('type' => 'Text'), 24 | 'lang' => array('type' => 'Keyword'), 25 | 'body' => array('type' => 'Text', 'alias' => 'content'), 26 | ), 27 | ) 28 | ); 29 | } 30 | ?> -------------------------------------------------------------------------------- /config/sql/mode_m.dot: -------------------------------------------------------------------------------- 1 | digraph G { 2 | overlap=false; 3 | splines=true; 4 | edge [fontname="Helvetica",fontsize=8]; 5 | ranksep=0.1; 6 | nodesep=0.1; 7 | node [shape=record,fontname="Helvetica",fontsize=9]; 8 | "Change" [shape=Mrecord,label="{<0> Change|{ id\lrevision_id\luser_id\lauthor_id\lstatus_from\lstatus_to\lcomment\lcreated\l| integer[11]\lstring[36]\linteger[11]\linteger[11]\lstring[10]\lstring[10]\lstring[255]\ldatetime\l}}"]; 9 | "Node" [shape=Mrecord,label="{<0> Node|{ id\lshow_in_toc\llft\lrght\lparent_id\lstatus\lcomment_level\ledit_level\ldepth\lsequence\lcreated\lmodified\l| string[36]\lboolean[1]\linteger[10]\linteger[10]\lstring[36]\linteger[2]\linteger[4], default: \"200\"\linteger[4], default: \"200\"\linteger[2]\lstring[20]\ldatetime\ldatetime\l}}"]; 10 | "Comment" [shape=Mrecord,label="{<0> Comment|{ id\lnode_id\luser_id\lrevision_id\llang\ltitle\lauthor\lemail\lurl\lbody\lpublished\lcreated\lmodified\l| integer[10]\linteger[10]\linteger[10]\linteger[10]\lstring[2]\lstring[150]\lstring[255]\lstring[255]\lstring[255]\ltext\lboolean[1], default: \"1\"\ldatetime\ldatetime\l}}"]; 11 | "Revision" [shape=Mrecord,label="{<0> Revision|{ id\lnode_id\lunder_node_id\lafter_node_id\lstatus\luser_id\llang\lslug\ltitle\lcontent\ltype\lreason\lflags\lcreated\lmodified\l| string[36]\lstring[36]\lstring[36]\lstring[36]\lstring[30], default: \"pending\"\linteger[10]\lstring[3]\lstring[30]\lstring[200]\ltext\lstring[50]\lstring[300]\lstring[100]\ldatetime\ldatetime\l}}"]; 12 | "Change" -> "User" [label="Change->User"] 13 | "Change" -> "User" [label="Change->Author"] 14 | "Change" -> "Revision" [label="Change->Revision"] 15 | "Change" -> "Node" [label="Change->Node"] 16 | "Revision" -> "Node" [label="Revision->Node"] 17 | "Comment" -> "Node" [label="Comment->Node"] 18 | "Comment" -> "Revision" [label="Comment->Revision"] 19 | "Comment" -> "User" [label="Comment->User"] 20 | "Revision" -> "User" [label="Revision->User"] 21 | } 22 | -------------------------------------------------------------------------------- /config/sql/schematic_m_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/config/sql/schematic_m_dot.png -------------------------------------------------------------------------------- /config/sql/schematic_m_dotGmodeheir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/config/sql/schematic_m_dotGmodeheir.png -------------------------------------------------------------------------------- /config/sql/schematic_m_neato.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/config/sql/schematic_m_neato.png -------------------------------------------------------------------------------- /config/sql/schematic_m_neatoGmodelsubset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/config/sql/schematic_m_neatoGmodelsubset.png -------------------------------------------------------------------------------- /config/sql/schematic_t_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/config/sql/schematic_t_dot.png -------------------------------------------------------------------------------- /config/sql/schematic_t_dotGmodeheir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/config/sql/schematic_t_dotGmodeheir.png -------------------------------------------------------------------------------- /config/sql/schematic_t_neato.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/config/sql/schematic_t_neato.png -------------------------------------------------------------------------------- /config/sql/schematic_t_neatoGmodelsubset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/config/sql/schematic_t_neatoGmodelsubset.png -------------------------------------------------------------------------------- /controllers/.script.vi: -------------------------------------------------------------------------------- 1 | :%s/../po.vi//g 2 | :wq 3 | -------------------------------------------------------------------------------- /docs/install_instructions.txt: -------------------------------------------------------------------------------- 1 | === Install Instructions === 2 | 3 | This app is designed to run with the branch version of 1.2 4 | 5 | The user system is linked to the bakery, it's therefore a good idea to have 6 | a working http://cakeforge.org/projects/bakery/ install first. 7 | 8 | == DB setup == 9 | if you have a working bakery install 10 | create the book database and tables using either the schema.php or schema.sql file 11 | create your databse.php file with a default and bakery pointing at 12 | their respective databases 13 | if you don't have or don't want to install the bakery 14 | create an empty database and fill it with the complete.sql file 15 | create your databse.php file with a default and bakery pointing at the 16 | same database 17 | 18 | == Config setup == 19 | Create a core.php file, or copy from a stock 1.2 install 20 | Create a database.php file naming the database with a default and bakery 21 | connection 22 | 23 | == Creating your initial data == 24 | On first load, the book will populate itself with some test data if the database is empty and debug mode is enabled 25 | Therefore, to start your book experience - create or empty the database and 26 | simply browse -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 6 | * Copyright (c) 2006, Cake Software Foundation, Inc. 7 | * 1785 E. Sahara Avenue, Suite 490-204 8 | * Las Vegas, Nevada 89104 9 | * 10 | * Licensed under The MIT License 11 | * Redistributions of files must retain the above copyright notice. 12 | * 13 | * @filesource 14 | * @copyright Copyright (c) 2006, Cake Software Foundation, Inc. 15 | * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP Project 16 | * @package cake 17 | * @subpackage cake.app 18 | * @since CakePHP v 0.10.0.1076 19 | * @license http://www.opensource.org/licenses/mit-license.php The MIT License 20 | */ 21 | require 'webroot' . DIRECTORY_SEPARATOR . 'index.php'; 22 | ?> -------------------------------------------------------------------------------- /locale/por/LC_MESSAGES/default.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/locale/por/LC_MESSAGES/default.mo -------------------------------------------------------------------------------- /models/attachment.php: -------------------------------------------------------------------------------- 1 | array('numeric'), 52 | 'class' => array('alphaNumeric'), 53 | 'foreign_id' => array('rule' => array('minLength', 1)), 54 | ); 55 | /** 56 | * actsAs property 57 | * 58 | * @var array 59 | * @access public 60 | */ 61 | var $actsAs = array( 62 | 'Polymorphic', 63 | 'ImageUpload' => array( 64 | 'allowedMime' => '*', 65 | 'allowedExt' => '*', 66 | 'dirFormat' => '{$class}{DS}{$foreign_id}', 67 | 'overwriteExisting' => true, 68 | //'factoryMode' => true 69 | ), 70 | 'Slugged' 71 | ); 72 | /** 73 | * belongsTo property 74 | * 75 | * @var array 76 | * @access public 77 | */ 78 | var $belongsTo = array('Users.User'); 79 | } 80 | ?> -------------------------------------------------------------------------------- /models/change.php: -------------------------------------------------------------------------------- 1 | 10 | * 11 | * Licensed under The MIT License 12 | * Redistributions of files must retain the above copyright notice. 13 | * 14 | * @filesource 15 | * @copyright CakePHP(tm) : Rapid Development Framework 16 | * @link http://www.cakephp.org 17 | * @package cookbook 18 | * @subpackage cookbook.models 19 | * @since 1.0 20 | * @license http://www.opensource.org/licenses/mit-license.php The MIT License 21 | */ 22 | /** 23 | * Change class 24 | * 25 | * @uses AppModel 26 | * @package cookbook 27 | * @subpackage cookbook.models 28 | */ 29 | class Change extends AppModel { 30 | /** 31 | * name property 32 | * 33 | * @var string 'Change' 34 | * @access public 35 | */ 36 | var $name = 'Change'; 37 | /** 38 | * order property 39 | * 40 | * @var string 'created' 41 | * @access public 42 | */ 43 | var $order = 'Change.created'; 44 | /** 45 | * belongsTo property 46 | * 47 | * @var array 48 | * @access public 49 | */ 50 | var $belongsTo = array( 51 | 'User' => array('className' => 'Users.User', 'fields' => 'username'), 52 | 'Author' => array('className' => 'Users.User', 'fields' => 'username'), 53 | 'Revision' => array('fields' => array('id', 'node_id', 'user_id', 'lang', 'slug', 'title', 'status')), 54 | 'Node' => array('foreignKey' => false, 'conditions' => array('Revision.node_id = Node.id'), 'fields' => array('id', 'sequence')) 55 | ); 56 | /** 57 | * beforeSave method 58 | * 59 | * Prevent duplicate log messages 60 | * 61 | * @return void 62 | * @access public 63 | */ 64 | function beforeSave() { 65 | extract ($this->data[$this->alias]); 66 | if ($this->find('count', array('conditions' => compact('revision_id', 'status_from', 'status_to'), 'recursive' => -1))) { 67 | return false; 68 | }; 69 | return true; 70 | } 71 | } 72 | ?> -------------------------------------------------------------------------------- /plugins/searchable/searchable_app_controller.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/searchable/searchable_app_model.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/users/models/level.php: -------------------------------------------------------------------------------- 1 | 54 | array('className' => 'Users.Group'), 55 | 'User'=> 56 | array('className' => 'Users.User')); 57 | } 58 | ?> -------------------------------------------------------------------------------- /plugins/users/models/profile.php: -------------------------------------------------------------------------------- 1 | array('className' => 'Users.User')); 46 | /** 47 | var $validate = array( 48 | 'user_icon' => array( 49 | 'rule' => array('url'), 50 | 'message' => 'Please provide a valid URL' 51 | ) 52 | ); 53 | */ 54 | } 55 | ?> -------------------------------------------------------------------------------- /plugins/users/users_app_controller.php: -------------------------------------------------------------------------------- 1 | useDbConfig = Configure::read('Site.database'); 45 | parent::__construct($one, $two, $three); 46 | } 47 | } -------------------------------------------------------------------------------- /plugins/users/views/elements/user.ctp: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | link($authUser['User']['username'], array('controller' => 'users', 'action' => 'view'));?> 5 | 6 | 7 | link('logout', array('controller' => 'users', 'action' => 'logout'));?> 8 | 9 |
10 | -------------------------------------------------------------------------------- /plugins/users/views/users/login.ctp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/users/views/users/reset.ctp: -------------------------------------------------------------------------------- 1 | 2 | create('User', array('action' => 'reset')); 4 | echo $form->inputs(array('email','legend' => 'Reset Password')); 5 | echo $form->end('Submit'); 6 | ?> -------------------------------------------------------------------------------- /plugins/users/views/users/verify.ctp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/cases/behaviors/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/tests/cases/behaviors/empty -------------------------------------------------------------------------------- /tests/cases/components/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/tests/cases/components/empty -------------------------------------------------------------------------------- /tests/cases/controllers/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/tests/cases/controllers/empty -------------------------------------------------------------------------------- /tests/cases/helpers/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/tests/cases/helpers/empty -------------------------------------------------------------------------------- /tests/cases/models/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/tests/cases/models/empty -------------------------------------------------------------------------------- /tests/groups/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/tests/groups/empty -------------------------------------------------------------------------------- /tmp/cache/assets/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/tmp/cache/assets/empty -------------------------------------------------------------------------------- /tmp/cache/models/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/tmp/cache/models/empty -------------------------------------------------------------------------------- /tmp/cache/persistent/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/tmp/cache/persistent/empty -------------------------------------------------------------------------------- /tmp/cache/views/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/tmp/cache/views/empty -------------------------------------------------------------------------------- /tmp/logs/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/tmp/logs/empty -------------------------------------------------------------------------------- /tmp/sessions/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/tmp/sessions/empty -------------------------------------------------------------------------------- /tmp/tests/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/tmp/tests/empty -------------------------------------------------------------------------------- /vendors/Text/Diff/Engine/string.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/vendors/Text/Diff/Engine/string.php -------------------------------------------------------------------------------- /vendors/Text/Diff/Renderer/unified.php: -------------------------------------------------------------------------------- 1 | _lines($lines, ' '); 50 | } 51 | 52 | function _added($lines) 53 | { 54 | return $this->_lines($lines, '+'); 55 | } 56 | 57 | function _deleted($lines) 58 | { 59 | return $this->_lines($lines, '-'); 60 | } 61 | 62 | function _changed($orig, $final) 63 | { 64 | return $this->_deleted($orig) . $this->_added($final); 65 | } 66 | 67 | } -------------------------------------------------------------------------------- /vendors/Text/docs/examples/1.txt: -------------------------------------------------------------------------------- 1 | This line is the same. 2 | This line is different in 1.txt 3 | This line is the same. 4 | -------------------------------------------------------------------------------- /vendors/Text/docs/examples/2.txt: -------------------------------------------------------------------------------- 1 | This line is the same. 2 | This line is different in 2.txt 3 | This line is the same. 4 | -------------------------------------------------------------------------------- /vendors/Text/docs/examples/diff.php: -------------------------------------------------------------------------------- 1 | #!/usr/bin/php 2 | \n\n"; 19 | exit; 20 | } 21 | 22 | /* Make sure both files exist. */ 23 | if (!is_readable($argv[1])) { 24 | echo "$argv[1] not found or not readable.\n\n"; 25 | } 26 | if (!is_readable($argv[2])) { 27 | echo "$argv[2] not found or not readable.\n\n"; 28 | } 29 | 30 | /* Load the lines of each file. */ 31 | $lines1 = file($argv[1]); 32 | $lines2 = file($argv[2]); 33 | 34 | /* Create the Diff object. */ 35 | $diff = new Text_Diff('auto', array($lines1, $lines2)); 36 | 37 | /* Output the diff in unified format. */ 38 | $renderer = new Text_Diff_Renderer_unified(); 39 | echo $renderer->render($diff); -------------------------------------------------------------------------------- /vendors/Text/tests/1.txt: -------------------------------------------------------------------------------- 1 | This line is the same. 2 | This line is different in 1.txt 3 | This line is the same. 4 | -------------------------------------------------------------------------------- /vendors/Text/tests/2.txt: -------------------------------------------------------------------------------- 1 | This line is the same. 2 | This line is different in 2.txt 3 | This line is the same. 4 | -------------------------------------------------------------------------------- /vendors/Text/tests/3.txt: -------------------------------------------------------------------------------- 1 | This line is the same. 2 | This line is different in 1.txt 3 | This line is the same. 4 | This line is new in 3.txt 5 | -------------------------------------------------------------------------------- /vendors/Text/tests/4.txt: -------------------------------------------------------------------------------- 1 | This line is the same. 2 | This line is different in 4.txt 3 | This line is the same. 4 | -------------------------------------------------------------------------------- /vendors/Text/tests/5.txt: -------------------------------------------------------------------------------- 1 | This is a test. 2 | Adding random text to simulate files. 3 | Various Content. 4 | More Content. 5 | Testing diff and renderer. 6 | -------------------------------------------------------------------------------- /vendors/Text/tests/6.txt: -------------------------------------------------------------------------------- 1 | This is a test. 2 | Adding random text to simulate files. 3 | Inserting a line. 4 | Various Content. 5 | Replacing content. 6 | Testing similarities and renderer. 7 | Append content. 8 | -------------------------------------------------------------------------------- /vendors/Text/tests/context.patch: -------------------------------------------------------------------------------- 1 | *** 1.txt 2005-03-21 13:37:59.000000000 +0100 2 | --- 2.txt 2005-03-21 13:38:00.000000000 +0100 3 | *************** 4 | *** 1,3 **** 5 | This line is the same. 6 | ! This line is different in 1.txt 7 | This line is the same. 8 | --- 1,3 ---- 9 | This line is the same. 10 | ! This line is different in 2.txt 11 | This line is the same. 12 | -------------------------------------------------------------------------------- /vendors/Text/tests/context.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Text_Diff: Context renderer 3 | --FILE-- 4 | render($diff); 15 | ?> 16 | --EXPECT-- 17 | *************** 18 | *** 1,3 **** 19 | This line is the same. 20 | ! This line is different in 1.txt 21 | This line is the same. 22 | --- 1,3 ---- 23 | This line is the same. 24 | ! This line is different in 2.txt 25 | This line is the same. -------------------------------------------------------------------------------- /vendors/Text/tests/context2.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Text_Diff: Context renderer 2 3 | --FILE-- 4 | render($diff); 15 | ?> 16 | --EXPECT-- 17 | *************** 18 | *** 1,5 **** 19 | This is a test. 20 | Adding random text to simulate files. 21 | Various Content. 22 | ! More Content. 23 | ! Testing diff and renderer. 24 | --- 1,7 ---- 25 | This is a test. 26 | Adding random text to simulate files. 27 | + Inserting a line. 28 | Various Content. 29 | ! Replacing content. 30 | ! Testing similarities and renderer. 31 | ! Append content. -------------------------------------------------------------------------------- /vendors/Text/tests/diff.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Text_Diff: Basic diff operation 3 | --FILE-- 4 | 13 | --EXPECT-- 14 | text_diff object 15 | ( 16 | [_edits] => array 17 | ( 18 | [0] => text_diff_op_copy object 19 | ( 20 | [orig] => array 21 | ( 22 | [0] => this line is the same. 23 | ) 24 | 25 | [final] => array 26 | ( 27 | [0] => this line is the same. 28 | ) 29 | 30 | ) 31 | 32 | [1] => text_diff_op_change object 33 | ( 34 | [orig] => array 35 | ( 36 | [0] => this line is different in 1.txt 37 | ) 38 | 39 | [final] => array 40 | ( 41 | [0] => this line is different in 2.txt 42 | ) 43 | 44 | ) 45 | 46 | [2] => text_diff_op_copy object 47 | ( 48 | [orig] => array 49 | ( 50 | [0] => this line is the same. 51 | ) 52 | 53 | [final] => array 54 | ( 55 | [0] => this line is the same. 56 | ) 57 | 58 | ) 59 | 60 | ) 61 | 62 | ) -------------------------------------------------------------------------------- /vendors/Text/tests/inline.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Text_Diff: Inline renderer 3 | --FILE-- 4 | render($diff); 15 | ?> 16 | --EXPECT-- 17 | This line is the same. 18 | This line is different in 1.txt2.txt 19 | This line is the same. -------------------------------------------------------------------------------- /vendors/Text/tests/inline2.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Text_Diff: Inline renderer 2 3 | --FILE-- 4 | render($diff); 29 | ?> 30 | --EXPECT-- 31 | This is a test. 32 | Adding random text to simulate files. 33 | Inserting a line. 34 | Various Content. 35 | More Content.Replacing content. 36 | Testing diffsimilarities and renderer. 37 | Append content. -------------------------------------------------------------------------------- /vendors/Text/tests/pear_bug12740.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Text_Diff: PEAR Bug #12740 (failed assertion) 3 | --FILE-- 4 | The tax credit amounts to 30% of the cost of the system, with a 11 | maximum of 2,000. This credit is separate from the 500 home improvement 12 | credit. 13 |

Fuel Cells
16 |
  • Your fuel 123456789
  • 17 | QQ; 18 | 19 | $b = << of gas emissions by 2050 21 |
  • Raise car fuel economy to 50 mpg by 2017
  • 22 |
  • Increase access to mass transit systems
  • 23 | QQ; 24 | 25 | $diff = new Text_Diff(explode("\n", $b), explode("\n", $a)); 26 | $renderer = new Text_Diff_Renderer_inline(); 27 | $renderer->render($diff); 28 | 29 | ?> 30 | --EXPECT-- -------------------------------------------------------------------------------- /vendors/Text/tests/pear_bug4879.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Text_Diff: PEAR Bug #4879 (inline renderer hangs on numbers in input string) 3 | --FILE-- 4 | render($diff); 26 | ?> 27 | --EXPECT-- 28 | Common text 29 | Bob had 1 apple,10 apples, Alice had 2.1. 30 | Bon appetit! -------------------------------------------------------------------------------- /vendors/Text/tests/pear_bug6251.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Text_Diff: PEAR Bug #6251 (too much trailing context) 3 | --FILE-- 4 | 3, 'trailing_context_lines' => 3)); 33 | 34 | // We need to use var_dump, as the test runner strips trailing empty lines. 35 | var_dump($renderer->render($diff)); 36 | ?> 37 | --EXPECT-- 38 | string(54) "@@ -1,5 +1,5 @@ 39 | 40 | -Original Text 41 | +Modified Text 42 | 43 | 44 | 45 | " -------------------------------------------------------------------------------- /vendors/Text/tests/pear_bug6428.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Text_Diff: PEAR Bug #6428 (problem with single digits after space) 3 | --FILE-- 4 | render($diff); 15 | ?> 16 | --EXPECT-- 17 | Line 1 1 18 | Another line -------------------------------------------------------------------------------- /vendors/Text/tests/unified.patch: -------------------------------------------------------------------------------- 1 | --- 1.txt 2005-03-21 13:37:59.000000000 +0100 2 | +++ 2.txt 2005-03-21 13:38:00.000000000 +0100 3 | @@ -1,3 +1,3 @@ 4 | This line is the same. 5 | -This line is different in 1.txt 6 | +This line is different in 2.txt 7 | This line is the same. 8 | -------------------------------------------------------------------------------- /vendors/Text/tests/unified.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Text_Diff: Unified renderer 3 | --FILE-- 4 | render($diff); 15 | ?> 16 | --EXPECT-- 17 | @@ -1,3 +1,3 @@ 18 | This line is the same. 19 | -This line is different in 1.txt 20 | +This line is different in 2.txt 21 | This line is the same. -------------------------------------------------------------------------------- /vendors/Text/tests/unified2.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | Text_Diff: Unified renderer 2 3 | --FILE-- 4 | render($diff); 15 | ?> 16 | --EXPECT-- 17 | @@ -1,5 +1,7 @@ 18 | This is a test. 19 | Adding random text to simulate files. 20 | +Inserting a line. 21 | Various Content. 22 | -More Content. 23 | -Testing diff and renderer. 24 | +Replacing content. 25 | +Testing similarities and renderer. 26 | +Append content. -------------------------------------------------------------------------------- /vendors/Zend/Exception.php: -------------------------------------------------------------------------------- 1 | addFilter(new Zend_Search_Lucene_Analysis_TokenFilter_LowerCase()); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /vendors/Zend/Search/Lucene/Analysis/Analyzer/Common/TextNum/CaseInsensitive.php: -------------------------------------------------------------------------------- 1 | addFilter(new Zend_Search_Lucene_Analysis_TokenFilter_LowerCase()); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /vendors/Zend/Search/Lucene/Analysis/Analyzer/Common/Utf8/CaseInsensitive.php: -------------------------------------------------------------------------------- 1 | addFilter(new Zend_Search_Lucene_Analysis_TokenFilter_LowerCaseUtf8()); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /vendors/Zend/Search/Lucene/Analysis/Analyzer/Common/Utf8Num/CaseInsensitive.php: -------------------------------------------------------------------------------- 1 | addFilter(new Zend_Search_Lucene_Analysis_TokenFilter_LowerCaseUtf8()); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /vendors/Zend/Search/Lucene/Analysis/TokenFilter.php: -------------------------------------------------------------------------------- 1 | _object = $object; 56 | $this->_method = $method; 57 | } 58 | 59 | public function doAction() 60 | { 61 | $methodName = $this->_method; 62 | $this->_object->$methodName(); 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /vendors/Zend/Search/Lucene/Index/FieldInfo.php: -------------------------------------------------------------------------------- 1 | name = $name; 40 | $this->isIndexed = $isIndexed; 41 | $this->number = $number; 42 | $this->storeTermVector = $storeTermVector; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /vendors/Zend/Search/Lucene/Index/SegmentInfoPriorityQueue.php: -------------------------------------------------------------------------------- 1 | currentTerm()->key(), $segmentInfo2->currentTerm()->key()) < 0; 51 | } 52 | 53 | } -------------------------------------------------------------------------------- /vendors/Zend/Search/Lucene/Search/QueryParserException.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendors/js/mini.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /views/attachments/admin_add.ctp: -------------------------------------------------------------------------------- 1 | create(null, array('id' => 'image_upload', 'type' => 'file', 'url' => '/' . $this->params['url']['url'])); 3 | $inputs = array( 4 | 'legend' => 'Upload a file/image', 5 | 'filename' => array ('type' => 'file'), 6 | 'description' => array () 7 | ); 8 | echo $form->inputs($inputs); 9 | echo $form->submit('upload'); 10 | echo $form->end(); 11 | ?> -------------------------------------------------------------------------------- /views/attachments/admin_edit.ctp: -------------------------------------------------------------------------------- 1 | 2 | action, array('add', 'admin_add'))?'Add':'Edit'; 4 | $action = Inflector::humanize($action); 5 | echo $form->create(); 6 | echo $form->inputs(array( 7 | 'legend' => $action . ' Image', 8 | )); 9 | echo $form->end('Submit'); 10 | ?> -------------------------------------------------------------------------------- /views/attachments/admin_import.ctp: -------------------------------------------------------------------------------- 1 | create(null, array('type' => 'file', 'url' => '/' . $this->params['url']['url'])); 3 | echo $form->inputs(array( 4 | 'legend' => 'Import files from another install, or restore to a previous backup', 5 | 'file' => array('type' => 'file', 'label' => 'XML file to import'), 6 | 'backup' => array('options' => $backups, 'label' => 'Or choose a previous backup', 'empty' => true), 7 | 'take_backup' => array('type' => 'checkbox', 'checked' => 'checked', 'label' => 'Backup current attachments before import?'), 8 | )); 9 | echo $form->submit(); 10 | echo $form->end(); 11 | ?> -------------------------------------------------------------------------------- /views/attachments/admin_index.ctp: -------------------------------------------------------------------------------- 1 |

    All Attachments

    2 | 3 | passedArgs; 5 | $pass['action'] = str_replace(Configure::read('Routing.admin') . '_', '', $this->action); // temp 6 | $paginator->options(array('url' => $pass)); 7 | $th = array( 8 | $paginator->sort('id'), 9 | $paginator->sort('pic'), 10 | $paginator->sort('size', 'filesize'), 11 | $paginator->sort('checksum'), 12 | 'associated', 13 | ); 14 | echo $html->tableHeaders($th); 15 | foreach ($data as $row) { 16 | if (isset($row[$class])) { 17 | $other = $row['Attachment']['class']; 18 | $otherController = Inflector::pluralize($other); 19 | if (isset($row[$other]['id'])) { 20 | $associated = $html->link($row[$other]['display_field'],array('admin' => false, 'controller' => low($otherController), 'action' => 'view', $row[$other]['id'])); 21 | } else { 22 | $associated = 'none'; 23 | } 24 | } else { 25 | $associated = 'none'; 26 | } 27 | if ($width && $height) { 28 | $size = $width . ' x ' . $height; 29 | } else { 30 | $size = $number->toReadableSize($filesize); 31 | } 32 | $thumb = $html->image('/img' . $versions['thumb'], array('alt' => 'filename: ' . $filename . ' ' . $description)); 33 | $tr = array ( 34 | $html->link($id, array('action' => 'view', $id)), 35 | $html->link($thumb, array('action' => 'view', $id), null, null, false), 36 | $size, 37 | $checksum, 38 | $associated, 39 | ); 40 | echo $html->tableCells($tr); 41 | } 42 | ?> 43 |
    44 | element('paging'); ?> -------------------------------------------------------------------------------- /views/attachments/admin_view.ctp: -------------------------------------------------------------------------------- 1 |

    Image

    2 | 3 | tableCells(array('id',$data['Image']['id'])); 5 | echo $html->tableCells(array('User',$data['User']?$html->link($data['User']['first_name'], array('controller' => 'users', 'action' => 'view', $data['Image']['user_id'])):'')); 6 | echo $html->tableCells(array('class',$data['Image']['class'])); 7 | echo $html->tableCells(array('foreign_id',$data['Image']['foreign_id'])); 8 | echo $html->tableCells(array('original',$data['Image']['original'])); 9 | echo $html->tableCells(array('filename',$data['Image']['filename'])); 10 | echo $html->tableCells(array('dir',$data['Image']['dir'])); 11 | echo $html->tableCells(array('mimetype',$data['Image']['mimetype'])); 12 | echo $html->tableCells(array('filesize',$data['Image']['filesize'])); 13 | echo $html->tableCells(array('height',$data['Image']['height'])); 14 | echo $html->tableCells(array('width',$data['Image']['width'])); 15 | echo $html->tableCells(array('thumb',$data['Image']['thumb'])); 16 | echo $html->tableCells(array('description',$data['Image']['description'])); 17 | echo $html->tableCells(array('slug',$data['Image']['slug'])); 18 | echo $html->tableCells(array('status',$data['Image']['status'])); 19 | echo $html->tableCells(array('created',$data['Image']['created'])); 20 | echo $html->tableCells(array('modified',$data['Image']['modified'])); 21 | ?> 22 |
    -------------------------------------------------------------------------------- /views/attachments/xml/admin_export.ctp: -------------------------------------------------------------------------------- 1 | serialize(array('meta' => array('from' => $from, 'on' => date('Y-m-d H:i'))), array('format' => 'tags')); 5 | foreach ($data as $row) { 6 | extract($row); 7 | extract($Attachment); 8 | $Attachment['source'] = base64_encode(file_get_contents(APP . 'uploads' . DS . $dir . DS . $filename)); 9 | $content .= $xml->serialize(array('Attachment' => $Attachment), array('format' => 'tags')); 10 | } 11 | echo $xml->elem('contents', null, $content); 12 | ?> -------------------------------------------------------------------------------- /views/changes/index.ctp: -------------------------------------------------------------------------------- 1 |
    2 |

    Change Log

    3 |
      4 | passedArgs; 6 | $paginator->options(array('url' => $pass)); 7 | foreach ($data as $row) { 8 | echo '
    • '; 9 | if (in_array($row['Revision']['status'], array('current', 'previous'))) { 10 | echo '

      ' . $html->link($row['Revision']['title'], array('controller' => 'revisions', 'action' => 'view', $row['Revision']['id'])) . '

      '; 11 | } else { 12 | echo '

      ' . $row['Revision']['title'] . '

      '; 13 | } 14 | echo '
        '; 15 | if ($row['Change']['status_from'] == 'new') { 16 | echo '
      • ' . sprintf(__('change submitted by %1$s, %2$s', true), 17 | isset($row['User']['username'])?$row['User']['username']:'unknown', 18 | $time->niceShort($row['Change']['created'])) . '
      • '; 19 | } else { 20 | switch ($row['Change']['status_to']) { 21 | case 'accepted'; 22 | $to = __('accepted', true); 23 | break; 24 | case 'rejected'; 25 | $to = __('not accepted', true); 26 | break; 27 | case 'pending'; 28 | $to = __('pending', true); 29 | break; 30 | default: 31 | $to = __($row['Change']['status_to'], true); 32 | } 33 | echo '
      • ' . sprintf(__('changed from %1$s to %2$s by %3$s, %4$s', true), 34 | $row['Change']['status_from'], 35 | $to, 36 | isset($row['User']['username'])?$row['User']['username']:'unknown', 37 | $time->niceShort($row['Change']['created'])) . '
      • '; 38 | $author = isset($row['Author']['username'])?$row['Author']['username']:'unknown'; 39 | echo '
      • ' . sprintf(__('submitted by %1$s', true), $author) . '
      • '; 40 | } 41 | echo '
      • ' . $html->clean($row['Change']['comment']) . '
      • '; 42 | echo '
    • '; 43 | } 44 | ?> 45 |
    46 | element('paging'); ?>
    -------------------------------------------------------------------------------- /views/changes/rss/index.ctp: -------------------------------------------------------------------------------- 1 | items($data, 'transformRSS'); 4 | 5 | function transformRSS($row, &$_html = false) { 6 | static $html; 7 | if ($_html) { 8 | $html = $_html; 9 | return; 10 | } 11 | switch ($row['Change']['status_to']) { 12 | case 'accepted'; 13 | $to = __('accepted', true); 14 | break; 15 | case 'rejected'; 16 | $to = __('not accepted', true); 17 | break; 18 | case 'pending'; 19 | $to = __('pending', true); 20 | break; 21 | default: 22 | $to = __($row['Change']['status_to'], true); 23 | } 24 | 25 | $desc = '
      '; 26 | $author = isset($row['Author']['username'])?$row['Author']['username']:'unknown'; 27 | $desc .= '
    • ' . sprintf(__('Submitted by: %1$s', true), $author) . '
    • '; 28 | if ($row['Change']['status_to'] != 'pending'){ 29 | $desc .= '
    • ' . sprintf(__('Changed by: %1$s', true), $row['User']['username']) . '
    • '; 30 | } 31 | $comment = $html->clean(trim($row['Change']['comment'])); 32 | if ($comment) { 33 | $desc .= '
    • ' . $comment . '
    • '; 34 | } 35 | $desc .= '
    '; 36 | return array( 37 | 'title' => $to . ' - ' . $row['Revision']['title'], 38 | 'link' => array('controller' => 'revisions', 'action' => 'view', $row['Revision']['id'], $row['Revision']['slug']), 39 | 'description' => $desc, 40 | 'pubDate' => date('r', strtotime($row['Change']['created'])), 41 | ); 42 | } 43 | ?> -------------------------------------------------------------------------------- /views/comments/add.ctp: -------------------------------------------------------------------------------- 1 |
    2 | element('comment_form_note'); 4 | echo $form->create('Comment',array('url' => '/' . $this->params['url']['url'])); 5 | echo $form->inputs(array ( 6 | 'legend' => sprintf(__('Comment: %s', true), $node['Revision']['title']), 7 | 'parent_id' => array('type' => 'hidden'), 8 | 'title', 9 | 'body' => array ('cols' => 100, 'rows' => 10) 10 | )); 11 | echo $form->submit('save'); 12 | echo $form->end(); 13 | ?> 14 |
    -------------------------------------------------------------------------------- /views/comments/admin_edit.ctp: -------------------------------------------------------------------------------- 1 |

    Comments - edit Comment

    2 |
    3 | action, array('add', 'admin_add'))?'Add':'Edit'; 5 | $action = Inflector::humanize($action); 6 | echo $form->create(); 7 | echo $form->inputs(array( 8 | 'legend' => false, 9 | 'id', 10 | 'node_id' => array('empty' => true), 11 | 'user_id' => array('empty' => true), 12 | 'class', 13 | 'lang', 14 | 'title', 15 | 'author', 16 | 'email', 17 | 'url', 18 | 'body', 19 | 'published', 20 | )); 21 | echo $form->end('Submit'); 22 | ?>
    -------------------------------------------------------------------------------- /views/comments/admin_view.ctp: -------------------------------------------------------------------------------- 1 |

    Comment

    2 | 3 | tableCells(array('id',$data['Comment']['id'])); 5 | echo $html->tableCells(array('Node', $data['Node']?$html->link($data['Node']['sequence'], array('controller' => 'nodes', 'action' => 'view', $data['Comment']['node_id'])):'')); 6 | echo $html->tableCells(array('User', $data['User']?$html->link($data['User']['username'], array('controller' => 'users', 'action' => 'view', $data['Comment']['user_id'])):'')); 7 | echo $html->tableCells(array('class',$data['Comment']['class'])); 8 | echo $html->tableCells(array('lang',$data['Comment']['lang'])); 9 | echo $html->tableCells(array('title',$data['Comment']['title'])); 10 | echo $html->tableCells(array('author',$data['Comment']['author'])); 11 | echo $html->tableCells(array('email',$data['Comment']['email'])); 12 | echo $html->tableCells(array('url',$data['Comment']['url'])); 13 | echo $html->tableCells(array('body',$data['Comment']['body'])); 14 | echo $html->tableCells(array('published',$data['Comment']['published'])); 15 | echo $html->tableCells(array('created',$data['Comment']['created'])); 16 | echo $html->tableCells(array('modified',$data['Comment']['modified'])); 17 | ?> 18 |
    -------------------------------------------------------------------------------- /views/comments/index.ctp: -------------------------------------------------------------------------------- 1 | params['isAjax'])) : ?> 2 |

    link(sprintf(__('Comments: %1$s', true), h($node['Revision']['title'])), array('id' => $this->params['id'])); 5 | } else { 6 | __('Recent Comments'); 7 | } 8 | ?>

    9 | ' . __('No Comments yet!', true) . '

    '; 13 | } else { 14 | foreach ($data as $count => $row) { 15 | echo $this->element('comment', array('data' => $row, 'count' => $count + 1)); 16 | } 17 | } 18 | if (isset($node)) { 19 | echo '

    '; 20 | echo $html->link(__('Add a comment', true), am($this->passedArgs, array('controller' => 'comments', 'action' => 'add'))); 21 | echo '

    '; 22 | } 23 | $html->meta('rss', $html->url($this->passedArgs) . '.rss', array('title' => __('This page as a feed', true)), false); 24 | ?> -------------------------------------------------------------------------------- /views/comments/rss/index.ctp: -------------------------------------------------------------------------------- 1 | items($data, 'transformRSS'); 4 | 5 | function transformRSS($row, &$_html = false, $_view = false) { 6 | static $html; 7 | static $_this; 8 | if ($_html) { 9 | $html = $_html; 10 | $_this = $_view; 11 | return; 12 | } 13 | return array( 14 | 'title' => $row['Node']['sequence'] . ' ' . $row['Revision']['title'] . ' - ' . $html->clean(h($row['Comment']['title'])), 15 | 'link' => array('controller' => 'comments', 'action' => 'index', $row['Comment']['node_id'], 'lang' => $row['Comment']['lang'], '#' 16 | => "comment_{$row['Comment']['id']}"), 17 | 'description' => $_this->element('comment', array('data' => $row, 'fixedDates' => true)), 18 | 'pubDate' => date('r', strtotime($row['Comment']['created'])), 19 | ); 20 | } 21 | ?> -------------------------------------------------------------------------------- /views/comments/rss/recent.ctp: -------------------------------------------------------------------------------- 1 | items($data, 'transformRSS'); 4 | 5 | function transformRSS($row, &$_html = false, $_view = false) { 6 | static $html; 7 | static $_this; 8 | if ($_html) { 9 | $html = $_html; 10 | $_this = $_view; 11 | return; 12 | } 13 | return array( 14 | 'title' => $row['Comment']['title'], 15 | 'link' => array('controller' => 'comments', 'action' => 'view', $row['Comment']['id']), 16 | 'description' => $_this->element('comment', array('data' => $row['Comment'], 'fixedDates' => true)), 17 | 'pubDate' => date('r', strtotime($row['Comment']['created'])), 18 | ); 19 | } 20 | ?> -------------------------------------------------------------------------------- /views/comments/view.ctp: -------------------------------------------------------------------------------- 1 | element('comment',array('data'=> $data['Comment'], 'count' => 1)); 3 | ?> -------------------------------------------------------------------------------- /views/elements/analytics.ctp: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /views/elements/attachments.ctp: -------------------------------------------------------------------------------- 1 |

    image($thumb); 13 | $div = '
    '; 14 | $div .= $html->link($thumb, $path, array('style' => 'float:left;min-height:50px;max-width:50px'), null, false); 15 | $div .= '

    <img src="' . $html->url($path) . '" alt="' . $description . '" />'; 16 | $div .= "
    <p class='caption'>$description</p>"; 17 | $div .= '

    '; 18 | $out [] = $div; 19 | } 20 | } 21 | if ($out) { 22 | echo '

    ' . implode($out, '

    ') . '

    '; 23 | } else { 24 | echo '

    None

    '; 25 | } 26 | ?> 27 |
    -------------------------------------------------------------------------------- /views/elements/collections.ctp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /views/elements/comment.ctp: -------------------------------------------------------------------------------- 1 | "; 13 | echo "

    "; 14 | if (!empty($fixedDates)) { 15 | echo sprintf(__('By %1$s on %2$s', true), $name, $time->nice($created)); 16 | } else { 17 | echo sprintf(__('By %1$s %2$s', true), $name, $time->timeAgoInWords($created)); 18 | } 19 | echo "

    "; 20 | echo "

    "; 21 | if ($this->action == 'recent') { 22 | echo $html->link('#', array('action' => 'index', $data['Node']['id'], $data['Revision']['slug'], '#' => "comment_{$id}")) . ' - '; 23 | } elseif(!empty($count)) { 24 | echo $html->link($count, "#comment_{$id}") . ' - '; 25 | } 26 | if ($this->action == 'recent') { 27 | echo $html->link($data['Node']['sequence'] . ' ' . $data['Revision']['title'], array('controller' => 'nodes', 'action' => 'view', $data['Node']['id'], 28 | $data['Revision']['slug'], 'lang' => $lang)) . ' - '; 29 | } 30 | echo htmlspecialchars($title); 31 | echo "

    "; 32 | echo "
    "; 33 | echo '

    ' . implode(explode("\n", h($body)), '

    ') . '

    '; 34 | echo "
    "; 35 | echo "";?> -------------------------------------------------------------------------------- /views/elements/comment_form.ctp: -------------------------------------------------------------------------------- 1 |

    '; 4 | echo $html->link(__('Login to add a comment', true), array('controller' => 'comments', 'action' => 'add')); 5 | echo '

    '; 6 | return; 7 | } 8 | ?> 9 |
    10 | create('Comment',array('id' => 'CommentAddForm' . $node['Node']['id'], 15 | 'url' => array('controller' => 'comments', 'action' => 'add', $node['Node']['id'], $node['Revision']['slug']))); 16 | $note = $this->element('comment_form_note'); 17 | $legend = sprintf($html->tags['legend'], sprintf(__('Comment on %1$s', true), $node['Revision']['title'])); 18 | $contents = $form->inputs(array ( 19 | 'fieldset' => false, 20 | 'title', 21 | 'body' => array ('cols' => 100, 'rows' => 10) 22 | )); 23 | echo sprintf($html->tags['fieldset'], '', $legend . $note . $contents); 24 | echo $form->submit(__('add comment', true)); 25 | echo $form->end(); 26 | ?> 27 |
    -------------------------------------------------------------------------------- /views/elements/comment_form_note.ctp: -------------------------------------------------------------------------------- 1 |
    2 |

    3 |
      4 |
    • link(__('You can change it', true), am($this->passedArgs, array('controller' => 'nodes', 'action' => 'edit')))) ?>
    • 7 |
    • link(__('help yourself', true), array('controller' => 'nodes', 'action' => 'view', 9)), 10 | $html->link(__('ask', true), array('controller' => 'nodes', 'action' => 'view', 554)), 11 | $html->link(__('help', true), array('controller' => 'nodes', 'action' => 'view', 558))) ?>
    • 12 |
    • link(__('You can ticket it', true), 'http://thechaw.com/cakebook/tickets/add'), 15 | $html->link(__('You can fix it', true), 'http://thechaw.com/cakebook/fork/it')) ?>
    • 16 |
    17 |
    -------------------------------------------------------------------------------- /views/elements/content_form_note.ctp: -------------------------------------------------------------------------------- 1 |
    2 |

    3 |
      4 |
    • link(__('the guidelines for submitting to the Cookbook', true), 7 | array('controller' => 'nodes', 'action' => 'view', '482'), array('class' => 'popout')) 8 | ) ?>
    • 9 | action == 'add' && $this->params['lang'] !== Configure::read('Languages.default')): ?> 10 |
    • link(__('English', true), am($this->passedArgs, array('lang' => Configure::read('Languages.default')))), 13 | $html->link(__('English', true), am($this->passedArgs, array('lang' => Configure::read('Languages.default')))) 14 | ) ?>
    • 15 | 16 |
    17 |
    -------------------------------------------------------------------------------- /views/elements/contribute.ctp: -------------------------------------------------------------------------------- 1 | link(__('More information about translations', true), array('action' => 'view', 818)); 3 | $data['Revision']['flags'] .= ';foo'; 4 | if (!$data['Revision']['id']) : 5 | echo '

    '; 6 | echo sprintf(__('There is no translation yet for this section. Please help out and %1$s.', true), 7 | $html->link( 8 | __('translate this' , true), 9 | array('action'=>'edit',$data['Node']['id'], $data['Revision']['slug']), 10 | array('title' => __('There is no translation for this section please submit one', true)) 11 | ) 12 | ); 13 | echo '. ' . $translatorHelp; 14 | echo '

    '; 15 | elseif (strpos($data['Revision']['flags'], 'englishChanged') !== false) : ?> 16 |
    17 |

    18 |
      19 |
    • 'revision', 'action' => 'view', $data['Revision']['based_on_id']); 22 | } else { 23 | $url = array('controller' => 'nodes', 'action' => 'redirect_to_revision', $data['Node']['id']); 24 | } 25 | echo $html->link(__('See what has changed', true), $url); 26 | ?>
    • 27 |
    • 'nodes', 'action' => 'compare', $data['Node']['id'], $data['Revision']['slug']); 29 | echo $html->link(__('Compare the current text to the original', true), $url) 30 | ?>
    • 31 |
    32 |

    33 |
    34 | -------------------------------------------------------------------------------- /views/elements/crumbs.ctp: -------------------------------------------------------------------------------- 1 | 2 |
    3 | name == 'Revisions') { 5 | echo $this->element('crumbs/revisions'); 6 | } elseif ($this->action == 'admin_toc') { 7 | echo $this->element('crumbs/admin_toc'); 8 | //} elseif ($this->action == 'toc') { 9 | // echo $this->element('crumbs/toc'); 10 | } else { 11 | echo $this->element('crumbs/nodes'); 12 | } 13 | ?> 14 |
    -------------------------------------------------------------------------------- /views/elements/crumbs/admin_toc.ctp: -------------------------------------------------------------------------------- 1 | addCrumb($linkInfo['Revision']['title'],array($linkInfo['Node']['id'])); 5 | } 6 | echo $html->getCrumbs(); 7 | } 8 | ?> -------------------------------------------------------------------------------- /views/elements/crumbs/nodes.ctp: -------------------------------------------------------------------------------- 1 | 1) { 3 | //$html->addCrumb('Collection Index',array('action'=>'index')); 4 | if (isset($this->params['admin']) && $this->params['admin']) { 5 | foreach($crumbPath as $linkInfo) { 6 | $html->addCrumb($linkInfo['Revision']['title'],array($linkInfo['Node']['id'],$linkInfo['Revision']['slug'])); 7 | } 8 | } else { 9 | foreach($crumbPath as $linkInfo) { 10 | $html->addCrumb($linkInfo['Revision']['title'],array($linkInfo['Node']['id'],$linkInfo['Revision']['slug'])); 11 | } 12 | } 13 | echo $html->getCrumbs(); 14 | } 15 | ?> -------------------------------------------------------------------------------- /views/elements/crumbs/revisions.ctp: -------------------------------------------------------------------------------- 1 | addCrumb($linkInfo['Revision']['title'],array('action'=>'view',$linkInfo['Node']['id'])); 5 | } 6 | echo $html->getCrumbs(); 7 | } 8 | ?> -------------------------------------------------------------------------------- /views/elements/crumbs/toc.ctp: -------------------------------------------------------------------------------- 1 | addCrumb('Collection Index',array('action'=>'index')); 4 | foreach($crumbPath as $linkInfo) { 5 | if ($linkInfo['Node']['depth'] <= $viewAllLevel) { 6 | $html->addCrumb($linkInfo['Revision']['title'],array('action'=>'view',$linkInfo['Node']['id'],$linkInfo['Revision']['slug'])); 7 | $lastNode = $linkInfo; 8 | } else { 9 | $html->addCrumb($linkInfo['Revision']['title'],array('action'=>'view',$lastNode['Node']['id'],$lastNode['Revision']['slug'], '#' => $linkInfo['Revision']['slug'])); 10 | } 11 | } 12 | echo $html->getCrumbs(); 13 | } 14 | ?> -------------------------------------------------------------------------------- /views/elements/force_redirect.ctp: -------------------------------------------------------------------------------- 1 |

    link('redirecting', $url, array('id' => 'redirect')); ?>

    2 | -------------------------------------------------------------------------------- /views/elements/inline_toc.ctp: -------------------------------------------------------------------------------- 1 |
      ' . $html->link($row['Revision']['title'], array($row['Node']['id'], $row['Revision']['slug'])) . ''; 4 | } 5 | ?>
    -------------------------------------------------------------------------------- /views/elements/language_links.ctp: -------------------------------------------------------------------------------- 1 | passedArgs; 4 | if ($this->action !== 'index' && isset($slugs['en'])) { 5 | $defaultUrl[1] = $slugs[$defaultLang]['Revision']['slug']; 6 | } 7 | foreach (Configure::read('Languages.all') as $lang) { 8 | if ($lang === $this->params['lang']) { 9 | continue; 10 | } 11 | $url = $defaultUrl; 12 | $options = array(); 13 | if (isset($slugs)) { 14 | if (isset($slugs[$lang])) { 15 | if ($this->action !== 'index') { 16 | $url[1] = $slugs[$lang]['Revision']['slug']; 17 | } 18 | $options['title'] = $slugs[$lang]['Revision']['title']; 19 | } else { 20 | $options['class'] = 'lowlight'; 21 | $options['title'] = sprintf(__('No %1$s translation yet for %2$s', true), $lang, $slugs[$defaultLang]['Revision']['title']); 22 | } 23 | } 24 | $url['lang'] = $lang; 25 | $languages[] = $html->link($lang, $url, $options); 26 | } 27 | echo sprintf(__('Also available in %1$s', true), implode (' · ', $languages)); 28 | ?> -------------------------------------------------------------------------------- /views/elements/login.ctp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /views/elements/login_hint.ctp: -------------------------------------------------------------------------------- 1 |
    2 |

    3 |

    link('The Bakery', 'http://bakery.cakephp.org'))?>

    4 |
    -------------------------------------------------------------------------------- /views/elements/markitup.ctp: -------------------------------------------------------------------------------- 1 | js('markitup/jquery.markitup', false); 3 | $asset->js('markitup/sets/default/set', false); 4 | $asset->css( 5 | array('/js/markitup/skins/markitup/style', '/js/markitup/sets/default/style'), 6 | 'stylesheet', 7 | array('media' => 'screen') 8 | ); 9 | $asset->codeBlock( 10 | '$(document).ready(function() { 11 | $("' . $process . '").markItUp(mySettings); 12 | });', array('inline' => false)); 13 | ?> -------------------------------------------------------------------------------- /views/elements/node_navigation.ctp: -------------------------------------------------------------------------------- 1 |
    2 | name == 'Revisions') { 6 | $prevUrl = array('action' => 'view', $neighbours[0]['Revision']['id']); 7 | } else { 8 | $prevUrl = array('action' => 'view', $neighbours[0]['Node']['id'], $neighbours[0]['Revision']['slug']); 9 | } 10 | $prevTitle = '« ' . $neighbours[0]['Revision']['title']; 11 | $prevOptions = array( 12 | 'title' => $neighbours[0]['Revision']['title'] 13 | ); 14 | 15 | if($prevUrl) { 16 | echo ''; 17 | echo $html->link($prevTitle, $prevUrl, $prevOptions); 18 | echo ''; 19 | } 20 | } 21 | if (isset($neighbours[0]['Node']['depth']) && isset($neighbours[1]['Node']['depth'])) { 22 | echo ' | '; 23 | } 24 | if (isset($neighbours[1]['Node']['depth'])) { 25 | if ($this->name == 'Revisions') { 26 | $nextUrl = array('action' => 'view', $neighbours[1]['Revision']['id']); 27 | } else { 28 | $nextUrl = array('action' => 'view', $neighbours[1]['Node']['id'], $neighbours[1]['Revision']['slug']); 29 | } 30 | $nextTitle = $neighbours[1]['Revision']['title']. ' »'; 31 | $nextOptions = array('title' => $neighbours[1]['Revision']['title']); 32 | if ($nextUrl) { 33 | echo ''; 34 | echo $html->link($nextTitle, $nextUrl, $nextOptions); 35 | echo ''; 36 | } 37 | } 38 | ?> 39 |
    -------------------------------------------------------------------------------- /views/elements/paging.ctp: -------------------------------------------------------------------------------- 1 |
    2 | ' . sprintf(__('Page %s', true), $paginator->counter()) .'

    '; 4 | echo $paginator->prev(__('« previous', true), array(), null, array('class'=>'disabled')); 5 | $numbers = $paginator->numbers(); 6 | echo $numbers ? ' | ' . $numbers . ' | ' : ' | '; 7 | echo $paginator->next(__('Next »', true), array(), null, array('class'=>'disabled')); 8 | ?> 9 |
    -------------------------------------------------------------------------------- /views/elements/search.ctp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /views/elements/search_form.ctp: -------------------------------------------------------------------------------- 1 |
    2 | create('Search', array('url' => array('controller' => 'revisions', 'action' => 'search'))); 4 | echo $form->inputs(array( 5 | 'Search.collection' => array( 6 | 'type' => 'radio', 7 | 'default' => 2, 8 | 'legend' => __('Collection', true), 9 | 'class' => 'radio radioWide' 10 | ), 11 | 'Search.query' => array('label' => __('Search term', true)) 12 | )); 13 | echo $form->end(__('Search', true)); 14 | ?> 15 |
    -------------------------------------------------------------------------------- /views/elements/secondary_nav.ctp: -------------------------------------------------------------------------------- 1 |
    -------------------------------------------------------------------------------- /views/elements/side_menu.ctp: -------------------------------------------------------------------------------- 1 | sections(); 4 | if (!$this->name && !empty($this->data['Node'])) { 5 | // rendered from cache 6 | include CONFIGS . 'routes.php'; 7 | extract ($this->data['Node']); 8 | $slug = !empty($this->params['pass'][1])?$this->params['pass'][1]:null; 9 | if ($depth > 1 && $this->action !== 'complete') { 10 | $menu->add(array( 11 | 'section' => 'Options', 12 | 'title' => __('All in one page', true), 13 | 'url' => array('controller' => 'nodes', 'action' => 'complete', $id, $slug) 14 | )); 15 | } 16 | if (!$authLevel = $session->read('Auth.User.Level')) { 17 | $authLevel = 200; 18 | } 19 | if ($edit_level <= $authLevel) { 20 | $menu->add(array( 21 | 'section' => 'Options', 22 | 'title' => __('Suggest a new section here', true), 23 | 'url' => array('controller' => 'nodes', 'action' => 'add', $id, $slug) 24 | )); 25 | } 26 | $sections = $menu->sections(); 27 | } 28 | foreach ($sections as $section) { 29 | echo '

    ' . __($section, true) . '

    '; 30 | echo $menu->generate($section); 31 | echo '
    '; 32 | } 33 | ?> -------------------------------------------------------------------------------- /views/elements/sites_nav.ctp: -------------------------------------------------------------------------------- 1 |
    2 | 13 |
    -------------------------------------------------------------------------------- /views/elements/toc.ctp: -------------------------------------------------------------------------------- 1 |
    2 | link(__('Table of Contents', true), array( 8 | 'action' => 'toc', $currentPath[2]['Node']['id'], $currentPath[2]['Revision']['slug'], 9 | ), array('title' => __('see fully expanded table of contents (only)', true), 'id' => 'tocLink')) . ' : '; 10 | } elseif (isset($currentPath[1])) { 11 | $i = 1; 12 | } else { 13 | $title .= __('Available collections', true); 14 | } 15 | if ($i) { 16 | $linkTitle = $html->link($currentPath[$i]['Revision']['title'], 17 | array('controller' => 'nodes', 'action' => 'view', $currentPath[$i]['Node']['id'], $currentPath[$i]['Revision']['slug'])); 18 | } 19 | if ($i === 1) { 20 | $title .= sprintf(__('Books in %1$s', true), $linkTitle); 21 | } elseif ($i) { 22 | $title .= $linkTitle; 23 | } 24 | echo '

    ' . $title . '

    '; 25 | $selected = array(); 26 | if (isset($currentNode['lft'])) { 27 | $selected = array($currentNode['lft'], $currentNode['rght']); 28 | } 29 | echo $tree->generate($sideToc, array ('element' => 'toc/public_item', 'model' => 'Node', 'selected' => $selected)); 30 | ?> 31 |
    32 |
    element('toc_cloud', array('data' => $fullToc, 'title' => false)); 34 | ?>
    -------------------------------------------------------------------------------- /views/elements/toc/public_item.ctp: -------------------------------------------------------------------------------- 1 | set('pathIds', $pathIds); 6 | } 7 | $params['id'] = 'toc-' . $data['Revision']['slug'] . '-' . $data['Node']['id']; 8 | if (isset($pathIds)) { 9 | if ($data['Node']['id'] == $pathIds[count($pathIds) - 1]) { 10 | $params['class'] = 'selected'; 11 | } 12 | } 13 | if ($this->action == 'complete' && $data['Node']['lft'] >= $currentNode['lft'] && $data['Node']['rght'] <= $currentNode['rght']) { 14 | echo $html->link($data['Node']['sequence'] . ' ' . $data['Revision']['title'], '#' . $data['Revision']['slug'] . '-' . $data['Node']['id'], 15 | $params); 16 | return; 17 | } 18 | echo $html->link($data['Node']['sequence'] . ' ' . $data['Revision']['title'], 19 | array('action'=>'view', $data['Node']['id'], $data['Revision']['slug']), $params); 20 | ?> -------------------------------------------------------------------------------- /views/elements/toc_cloud.ctp: -------------------------------------------------------------------------------- 1 | css('full_width', null, array('media' => 'screen')); 3 | if (!empty($title)) { 4 | echo '

    ' . $book['Revision']['title'] . '

    '; 5 | } 6 | echo '
      '; 7 | $depth = $data[0]['Node']['depth']; 8 | $count = 0; 9 | foreach ($data as $row) { 10 | $count++; 11 | foreach ($row['children'] as $row) { 12 | $count++; 13 | } 14 | } 15 | $split = $count / 4; 16 | $counter = 0; 17 | foreach ($data as $row) { 18 | if ($counter >= $split) { 19 | $counter = 0; 20 | echo '
      '; 21 | } 22 | $counter++; 23 | echo '
    • '; 24 | echo $html->link($row['Node']['sequence'] . ' ' . $row['Revision']['title'], 25 | array('action'=>'view', $row['Node']['id'], $row['Revision']['slug'])); 26 | $close = true; 27 | if ($row['children']) { 28 | foreach ($row['children'] as $i => $row) { 29 | if (!$i) { 30 | if ($counter >= $split) { 31 | $close = false; 32 | echo '
    • '; 33 | echo '
      • '; 34 | $counter = 0; 35 | } else { 36 | echo '
          '; 37 | } 38 | } else { 39 | if ($counter >= $split) { 40 | echo '
      • '; 41 | $counter = 0; 42 | } 43 | } 44 | $counter++; 45 | echo '
      • '; 46 | echo $html->link($row['Node']['sequence'] . ' ' . $row['Revision']['title'], 47 | array('action'=>'view', $row['Node']['id'], $row['Revision']['slug'])); 48 | echo '
      • '; 49 | } 50 | echo '
      '; 51 | } 52 | if ($close) { 53 | echo '
    • '; 54 | } 55 | } 56 | ?>

     

    -------------------------------------------------------------------------------- /views/elements/trace.ctp: -------------------------------------------------------------------------------- 1 |

    The following paths have been checked:

    '; 10 | echo '
    • ' . implode($paths, '
    • ') . '
    '; 11 | } 12 | ?> 13 |
    14 |

    How'd you get here:

    15 | pageTitle = __('Not Found', true); 3 | $this->layout = 'fatal_error'; 4 | ?> 5 |

    6 |

    7 | : 8 | '{$message}'")?> 9 |

    -------------------------------------------------------------------------------- /views/errors/error500.ctp: -------------------------------------------------------------------------------- 1 | pageTitle = __('Internal Error', true); 3 | $this->layout = 'fatal_error'; 4 | ?> 5 |


    6 |

    7 |


    8 |

    -------------------------------------------------------------------------------- /views/errors/missing_action.ctp: -------------------------------------------------------------------------------- 1 |

    2 |

    3 | Error: 4 | " . $action . "", "" . $controller . "");?> 5 |

    6 |

    7 | Error: 8 | " . $controller . "::", "" . $action . "()", APP_DIR . DS . "controllers" . DS . Inflector::underscore($controller) . ".php");?> 9 |

    10 |
    11 | <?php
    12 | class  extends AppController {
    13 | 
    14 | 	var $name = '';
    15 | 
    16 | 
    17 | 	function () {
    18 | 
    19 | 	}
    20 | 
    21 | }
    22 | ?>
    23 | 
    24 | element('trace'); 25 | $this->layout = 'error'; -------------------------------------------------------------------------------- /views/errors/missing_behavior_file.ctp: -------------------------------------------------------------------------------- 1 |

    Missing Behavior File

    2 |

    3 | Error: 4 | The behavior file was not found. 5 |

    6 |

    7 | Error: 8 | " . $behaviorClass . "", APP_DIR . DS . "models" . DS . "behaviors" . DS . $file);?> 9 |

    10 |
    11 | <?php
    12 | class  extends ModelBehavior {
    13 | 14 | } 15 | ?> 16 |
    17 | element('trace', array('paths' => 'behaviors')); 18 | $this->layout = 'fatal_error'; -------------------------------------------------------------------------------- /views/errors/missing_component_file.ctp: -------------------------------------------------------------------------------- 1 |

    Missing Component File

    2 |

    3 | Error: 4 | The component file was not found. 5 |

    6 |

    7 | Error: 8 | " . $component . "Component", APP_DIR . DS . "controllers" . DS . "components" . DS . $file);?> 9 |

    10 |
    11 | <?php
    12 | class Component extends Object {
    13 | 14 | } 15 | ?> 16 |
    17 | element('trace', array('paths' => 'components')); 18 | $this->layout = 'fatal_error'; -------------------------------------------------------------------------------- /views/errors/missing_connection.ctp: -------------------------------------------------------------------------------- 1 |

    Missing Database Connection

    2 |

    3 | Error: 4 | 5 |

    6 |

    7 | Error: 8 | 9 |

    10 | element('trace'); 11 | $this->layout = 'fatal_error'; -------------------------------------------------------------------------------- /views/errors/missing_controller.ctp: -------------------------------------------------------------------------------- 1 |

    Missing Controller

    2 |

    3 | Error: 4 | " . $controller . "");?> 5 |

    6 |

    7 | Error: 8 | Bake your controller, and the model if missing, with the following commands: 9 |

    10 | 17 |
    18 |
    19 | cake bake model  -theme 
    20 | 
    21 | cake bake controller  admin -theme 
    22 | 
    23 | element('trace', array('paths' => 'controllers')); 24 | $this->layout = 'error'; -------------------------------------------------------------------------------- /views/errors/missing_helper_file.ctp: -------------------------------------------------------------------------------- 1 |

    Missing Helper File

    2 |

    3 | Error: 4 | 5 |

    6 |

    7 | Error: 8 | 9 |

    10 |
    11 | <?php
    12 | class  extends AppHelper {
    13 | 
    14 | }
    15 | ?>
    16 | 
    17 | element('trace', array('paths' => 'helpers')); 18 | $this->layout = 'fatal_error'; -------------------------------------------------------------------------------- /views/errors/missing_layout.ctp: -------------------------------------------------------------------------------- 1 |

    Missing Layout

    2 |

    3 | Error: 4 | " . $file . "");?> 5 |

    6 |

    7 | Error: 8 | " . $file . "");?> 9 |

    10 | element('trace', array('paths' => 'views')); 11 | $this->layout = 'fatal_error'; -------------------------------------------------------------------------------- /views/errors/missing_table.ctp: -------------------------------------------------------------------------------- 1 |

    Missing Database Table

    2 |

    3 | Error: 4 | " . $table . "", "" . $model . "");?> 5 |

    6 |
    7 |

    Detected tables:

    8 | $plugin . $model, 12 | 'table'=> false 13 | )); 14 | $db =& ConnectionManager::getDataSource($Inst->useDbConfig); 15 | $db->cacheSources = ($Inst->cacheSources && $db->cacheSources); 16 | if ($db->isInterfaceSupported('listSources')) { 17 | echo '
    • ' . implode($db->listSources(), '
    • ') . '
    '; 18 | } 19 | echo $this->element('trace'); 20 | $this->layout = 'error'; -------------------------------------------------------------------------------- /views/errors/missing_view.ctp: -------------------------------------------------------------------------------- 1 |

    Missing View

    2 |

    3 | Error: 4 | " . $controller . "Controller::", "". $action . "()");?> 5 |

    6 |

    7 | Error: 8 | Bake your controller with the following command: 9 |

    10 | 16 |
    17 |
    18 | cake bake view  $action -theme 
    19 | 
    20 | 21 |

    22 | Error: 23 | 24 |

    25 | element('trace', array('paths' => 'views')); 26 | $this->layout = 'error'; -------------------------------------------------------------------------------- /views/helpers/theme.php: -------------------------------------------------------------------------------- 1 | Html->clean($html); 36 | if ($this->params['theme'] === 'default') { 37 | return $html; 38 | } 39 | $root = trim(Router::url('/'), '/'); 40 | if ($root) { 41 | $root .= '/'; 42 | } 43 | $find = '@href="/' . $root . '@'; 44 | $replace = 'href="/' . $root . $this->params['theme'][0] . '/'; 45 | $html = preg_replace($find, $replace, $html); 46 | return $html; 47 | } 48 | } -------------------------------------------------------------------------------- /views/layouts/ajax.ctp: -------------------------------------------------------------------------------- 1 | flash('auth'); 3 | $session->flash(); 4 | echo $content_for_layout; 5 | //echo $miJavascript->link(); 6 | ?> -------------------------------------------------------------------------------- /views/layouts/error.ctp: -------------------------------------------------------------------------------- 1 | docType('xhtml-trans'); ?> 17 | 18 | 19 | charset(); ?> 20 | <?php echo htmlspecialchars($title_for_layout); ?> 21 | meta('icon'); 23 | echo $html->css('default'); 24 | ?> 25 | 26 | 27 |
    28 | 32 |
    element('plugin_check'); 35 | } 36 | echo $content_for_layout; 37 | ?>
    38 |
    39 | 40 | -------------------------------------------------------------------------------- /views/layouts/fatal_error.ctp: -------------------------------------------------------------------------------- 1 | docType('xhtml-trans'); ?> 18 | 19 | 20 | charset(); ?> 21 | <?php echo htmlspecialchars($title_for_layout); ?> 22 | meta('icon'); 24 | echo $html->css('default'); 25 | ?> 26 | 27 | 28 |
    29 | 33 |
    element('plugin_check'); 36 | } 37 | echo $content_for_layout; 38 | ?>
    39 |
    40 | 41 | -------------------------------------------------------------------------------- /views/layouts/flash.ctp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <?php echo $page_title?> 5 | 6 | 7 | 8 | 9 | 14 | 15 | 16 | 17 | 18 |

    19 | 20 | 21 | -------------------------------------------------------------------------------- /views/layouts/flash/new_content_default_language.ctp: -------------------------------------------------------------------------------- 1 |
    link(__('Want to know why?', true), array('controller' => 'nodes', 'action' => 'view', Configure::read('Site.methodologyNode'), 'lang' => $lang)); 6 | Configure::write('Config.language', $_lang); 7 | ?>
    -------------------------------------------------------------------------------- /views/layouts/rss/default.ctp: -------------------------------------------------------------------------------- 1 | header(); 3 | 4 | if (!isset($channel)) { 5 | $channel = array(); 6 | } 7 | if (!isset($channel['title'])) { 8 | $channel['title'] = 'Cookbook :: ' . $title_for_layout; 9 | } 10 | 11 | echo $rss->document( 12 | $rss->channel( 13 | array(), $channel, $content_for_layout 14 | ) 15 | ); 16 | if (!$this->cacheAction) { 17 | $this->cacheAction = CACHE_DURATION; 18 | } 19 | $this->data = null; 20 | Configure::write('debug', 0); 21 | ?> -------------------------------------------------------------------------------- /views/layouts/xml/default.ctp: -------------------------------------------------------------------------------- 1 | 2 | header()); 4 | echo $content_for_layout; 5 | if (!$this->cacheAction) { 6 | $this->cacheAction = CACHE_DURATION; 7 | } 8 | $this->data = null; 9 | Configure::write('debug', 0); 10 | ?> -------------------------------------------------------------------------------- /views/nodes/admin_edit.ctp: -------------------------------------------------------------------------------- 1 |
    2 |

    Properties for data['Revision']['title']; ?>

    3 | 'Admin', 7 | EDITOR => 'Editor', 8 | MODERATOR => 'Moderator', 9 | COMMENTER => 'Commenter', 10 | READ => 'Read (to allow the link to the action to be publicly visible)' 11 | ); 12 | echo $this->element('preview'); 13 | echo $form->create(null, array('url' => '/' . $this->params['url']['url'])); 14 | echo $form->inputs(array ( 15 | 'Node.comment_level' => array('options' => $auth), 16 | 'Node.edit_level' => array('options' => $auth), 17 | 'Node.show_in_toc' => array('type' => 'checkbox', 'label' => 'Show this section in the TOC? Setting to no will prevent this section from having a 18 | sequence number and make this section (and any sub sections) always appear inline when viewing "' . $parent . '"'), 19 | 'Node.show_subsections_inline' => array('type' => 'checkbox', 'label' => 'Show subsections inline? This will set all subsections to not appear in the TOC (No effect if left unchecked).'), 20 | )); 21 | echo $form->submit('save'); 22 | echo $form->end(); 23 | ?> 24 |
    -------------------------------------------------------------------------------- /views/nodes/admin_import.ctp: -------------------------------------------------------------------------------- 1 | create(null, array('type' => 'file', 'url' => '/' . $this->params['url']['url'])); 3 | echo $form->inputs(array( 4 | 'legend' => 'Import contents from another install, or restore to a previous backup', 5 | 'file' => array('type' => 'file', 'label' => 'XML file to import'), 6 | 'backup' => array('options' => $backups, 'label' => 'Or choose a previous backup', 'empty' => true), 7 | 'delete_missing' => array('type' => 'checkbox', 'label' => 'Delete any nodes in this install that are not in the import file?'), 8 | 'allow_moves' => array('type' => 'checkbox', 'label' => 'Allow moving nodes around?'), 9 | 'auto_approve' => array('type' => 'checkbox', 'label' => 'Auto approve changes?'), 10 | 'take_backup' => array('type' => 'checkbox', 'checked' => 'checked', 'label' => 'Backup current contents before import?'), 11 | )); 12 | echo $form->submit(); 13 | echo $form->end(); 14 | ?> -------------------------------------------------------------------------------- /views/nodes/admin_merge.ctp: -------------------------------------------------------------------------------- 1 | 4 |
    5 |

    6 |
    auto($preview['content']); 9 | } else { 10 | echo $preview['content']; 11 | } 12 | ?>
    13 |
    14 | create('Node', array('url' => '/' . $this->params['url']['url'])); 17 | if (array_key_exists('merge_id', $this->data['Node'])) { 18 | echo $form->input('confirmation', array('type' => isset($this->data['Node']['merge_id'])?'checkbox':'hidden', 'label' => __('You are sure? Please check the preview', true), 'error' => false)); 19 | } 20 | echo $form->inputs(array( 21 | 'legend' => 'Merging contents', 22 | 'id' => array('options' => $nodes, 'label' => 'Take the content from here', 'value' => $data['Node']['id']), 23 | 'merge_id' => array('options' => $nodes, 'label' => 'And merge it with', 'value' => 24 | isset($data['Node']['merge_id'])?$data['Node']['merge_id']:$data['Node']['id']), 25 | )); 26 | echo $form->submit('merge it'); 27 | echo $form->end(); 28 | ?> 29 | -------------------------------------------------------------------------------- /views/nodes/admin_move.ctp: -------------------------------------------------------------------------------- 1 | create('Node', array('url' => '/' . $this->params['url']['url'])); 3 | echo $form->inputs(array( 4 | 'id' => array('options' => $nodes, 'label' => 'Move this', 'value' => $data['Node']['id']), 5 | 'parent_id' => array('options' => $nodes, 'label' => 'Under this'), 6 | )); 7 | echo $form->submit('move it'); 8 | echo $form->end(); 9 | ?> 10 | -------------------------------------------------------------------------------- /views/nodes/admin_toc.ctp: -------------------------------------------------------------------------------- 1 | 2 |

    Table of Contents

    3 |
    4 | generate($data, array ('element' => 'toc/admin_item', 'class' => 'tree')); ?> 5 |
    -------------------------------------------------------------------------------- /views/nodes/compare.ctp: -------------------------------------------------------------------------------- 1 |
    2 | $row) { 5 | if (empty($this->params['isAjax'])) { 6 | echo '

    {' . up($row['Revision']['lang']) . '} - ' . $row['Node']['sequence'] . ' ' . h($row['Revision']['title']) . '

    '; 7 | //echo $html->clean($currentNode['Revision']['content']); 8 | echo '
    ' . $row['Revision']['content'] . '
    '; 9 | } 10 | $compare[$key] = '' . $row['Revision']['title'] . "\r\n" . $row['Revision']['content']; 11 | } 12 | if (empty($this->params['isAjax'])) { 13 | echo '

    ' . __('Differences', true) . '

    '; 14 | } 15 | echo $diff->compare(h($compare['compare']), h($compare['original'])); 16 | ?> 17 |
    -------------------------------------------------------------------------------- /views/nodes/english_todo.ctp: -------------------------------------------------------------------------------- 1 |
    2 |
    3 |

    These sections have been marked as needing updating.

    4 |
    5 | $row) { 7 | $sequence = $row['Node']['sequence']; 8 | $sequence = $sequence?$sequence:'#'; 9 | echo "

    " . 10 | $html->link($sequence, array('action' => 'view', $row['Node']['id'], $row['Revision']['slug'])) . ' ' . h($row['Revision']['title']) . "

    "; 11 | 12 | echo '
    '; 13 | echo $this->element('node_options', array('data' => $row)); 14 | echo '
    '; 15 | } 16 | ?> 17 |
    18 | element('paging'); -------------------------------------------------------------------------------- /views/nodes/history.ctp: -------------------------------------------------------------------------------- 1 | params['isAjax'])) : ?> 2 |

    3 | params['lang'] != $defaultLang) { 6 | $url = $this->passedArgs; 7 | $url[] = 1; 8 | echo '

    ' . $html->link(__('See English edits too', true), $url) . '

    '; 9 | } ?> 10 |
    11 | 12 | passedArgs; 14 | $paginator->options(array('url' => $pass)); 15 | $th = array( 16 | 'Revision Id', 17 | 'Language', 18 | 'User', 19 | 'Note', 20 | 'Status', 21 | 'Submitted' 22 | ); 23 | $firstTranslation = true; 24 | echo $html->tableHeaders($th); 25 | foreach ($data as $row) { 26 | $defaultReason = 'edit'; 27 | if ($row['Revision']['lang'] != $defaultLang) { 28 | $defaultReason = 'edit/translation'; 29 | } 30 | if ($row['Revision']['status'] == 'pending') { 31 | $link = $row['Revision']['id']; 32 | } else { 33 | $link = $html->link($row['Revision']['id'], array('controller' => 'revisions', 'action' => 'view', 34 | $row['Revision']['id'], $row['Revision']['slug'])); 35 | } 36 | $tr = array( 37 | $link, 38 | $row['Revision']['lang'], 39 | isset($users[$row['Revision']['user_id']])?$users[$row['Revision']['user_id']]:'-', 40 | $row['Revision']['reason']?$row['Revision']['reason']:$defaultReason, 41 | $row['Revision']['status'], 42 | $time->niceShort($row['Revision']['created']) 43 | ); 44 | echo $html->tableCells($tr, array('class' => 'odd'), array('class' => 'even')); 45 | } 46 | ?> 47 |
    48 | element('paging'); ?>
    -------------------------------------------------------------------------------- /views/nodes/rss/view_all.ctp: -------------------------------------------------------------------------------- 1 | items($data, 'transformRSS'); 4 | 5 | function transformRSS($row, &$_html = false) { 6 | static $html; 7 | if ($_html) { 8 | $html = $_html; 9 | return; 10 | } 11 | extract($row); 12 | return array( 13 | 'title' => $Revision['title'], 14 | 'link' => array('action' => 'view', $Node['id'], $Revision['slug']), 15 | 'description' => $Revision['content'], 16 | 'pubDate' => date('r', strtotime($Revision['modified'])), 17 | ); 18 | } 19 | ?> -------------------------------------------------------------------------------- /views/nodes/toc.ctp: -------------------------------------------------------------------------------- 1 |
    2 | ' . $data[0]['Revision']['title'] . ''; 4 | echo '

    ' . __('Table of Contents', true) . '

    '; 5 | $selected = array(); 6 | if (isset($currentPath)) { 7 | $currentNode = array_pop($currentPath); 8 | $selected = array($currentNode['Node']['lft'], $currentNode['Node']['rght'], 'active', 'selected'); 9 | } 10 | echo $tree->generate($data, array ('element' => 'toc/public_item', 'class' => 'tree', 'model' => 'Node', 'autoPath' => $selected));?> 11 |
    -------------------------------------------------------------------------------- /views/nodes/todo.ctp: -------------------------------------------------------------------------------- 1 |
    2 |
    3 | link(__('Please help out by updating the translation file', true), array('action' => 'view', 817)); 6 | if (file_exists(APP . 'locale' . DS . $i18n->l10n->locale . DS . 'LC_MESSAGES' . DS . 'default.po')) { 7 | echo '

    ' . sprintf(__('Want to check the fixed texts used on the site for %1$s? %2$s', true), 8 | $i18n->l10n->language, $translatorHelp); 9 | } else { 10 | echo '

    ' . sprintf(__('We don\'t have %1$s translations for the fixed texts used on the site. %2$s', true), 11 | $i18n->l10n->language, $translatorHelp); 12 | } 13 | echo '

    ' . __('These sections either do not have a translation, or the English text has changed since it was translated', true) . '

    '; 14 | ?> 15 |
    16 | $row) { 18 | $sequence = $row['Node']['sequence']; 19 | $sequence = $sequence?$sequence:'#'; 20 | echo "

    " . 21 | $html->link($sequence, array('action' => 'view', $row['Node']['id'], $row['Revision']['slug'])) . ' ' . h($row['Revision']['title']) . "

    "; 22 | 23 | echo '
    '; 24 | echo $this->element('node_options', array('data' => $row)); 25 | echo '
    '; 26 | } 27 | ?> 28 |
    29 | element('paging'); -------------------------------------------------------------------------------- /views/nodes/xml/view_all.ctp: -------------------------------------------------------------------------------- 1 | serialize(array('meta' => array( 5 | 'from' => env('HTTP_HOST'), 6 | 'uuid_key' => $key, 7 | 'on' => date('Y-m-d H:i'), 8 | 'lang' => $this->params['lang'])), array('format' => 'tags')); 9 | foreach ($data as $row) { 10 | if ($this->webroot != '/') { 11 | $row['Revision']['content'] = preg_replace('@(href|src)=(\'|")' . $this->webroot . '@', '\\1=\\2/', $row['Revision']['content']); 12 | } 13 | $content .= $xml->serialize($row, array('format' => 'tags')); 14 | } 15 | echo $xml->elem('contents', null, $content); 16 | ?> -------------------------------------------------------------------------------- /views/plugins/users/users/login.ctp: -------------------------------------------------------------------------------- 1 | element('login_hint'); 4 | include(APP . 'plugins/users/views/users/login.ctp'); 5 | 6 | ?> -------------------------------------------------------------------------------- /views/revisions/admin_change_status.ctp: -------------------------------------------------------------------------------- 1 |

    action) ?> Revision

    2 | create(null, array('url' => '/' . $this->params['url']['url'])); 4 | $fields = array( 5 | 'legend' => false, 6 | 'Revision.reason' => array('label' => 'Public Log message') 7 | ); 8 | if (isset($isSignificant) && $isSignificant) { 9 | $fields['is_significant'] = array('type' => 'radio', 10 | 'default' => 1, 11 | 'options' => array(1 => 'yes', 0 => 'no'), 12 | 'legend' => 'Should translations be marked for review?', 13 | 'class' => 'radio' 14 | ); 15 | 16 | } 17 | echo $form->inputs($fields); 18 | echo $form->submit(); 19 | echo $form->end(); -------------------------------------------------------------------------------- /views/revisions/admin_edit.ctp: -------------------------------------------------------------------------------- 1 |

    Revisions - edit Revision

    2 |
    3 | data['Revision']['content'])) { 6 | $contents = $this->data['Revision']['content']; 7 | preg_match_all('@]*>([\\s\\S]*?)@i', $contents, $result, PREG_PATTERN_ORDER); 8 | if (!empty($result['0'])) { 9 | $count = count($result['0']); 10 | for($i = 0; $i < $count; $i++) { 11 | $replaced = str_replace('<', '<', $result['1'][$i]); 12 | $replaced = str_replace('>', '>', $replaced); 13 | $contents = str_replace($result[1][$i], $replaced, $contents); 14 | } 15 | } 16 | } 17 | $action = in_array($this->action, array('add', 'admin_add'))?'Add':'Edit'; 18 | $action = Inflector::humanize($action); 19 | echo $form->create(); 20 | echo $form->inputs(array( 21 | 'legend' => false, 22 | 'id', 23 | 'node_id' => array('empty' => true), 24 | 'under_node_id', 25 | 'after_node_id', 26 | 'status', 27 | 'user_id' => array('empty' => true), 28 | 'lang', 29 | 'title', 30 | 'content' => array('value' => $contents), 31 | )); 32 | echo $form->end('Submit'); 33 | echo $this->element('markitup', array('process' => 'textarea')); 34 | ?>
    -------------------------------------------------------------------------------- /views/revisions/results.ctp: -------------------------------------------------------------------------------- 1 | element('search_form'); 3 | echo '
    '; 4 | if(!empty($results)){ 5 | $pass = $this->passedArgs; 6 | $pass['action'] = str_replace(Configure::read('Routing.admin') . '_', '', $this->action); 7 | $paginator->options(array('url' => $pass)); 8 | echo '

    ' . __('Search Results', true) . ' ('.$paginator->counter(array('format' => '%start% - %end% of %count%')).')

    '; 9 | echo '
      '; 10 | foreach($results as $result){ 11 | switch($result['Result']['cake_model']){ 12 | case 'Revision': 13 | echo '
    1. '; 14 | $url = array('controller' => 'nodes', 15 | 'action' => 'view', $result['Result']['node_id'], $result['Result']['slug']); 16 | break; 17 | case 'Comment': 18 | echo '
    2. '; 19 | $url = array('controller' => 'comments', 20 | 'action' => 'view', $result['Result']['cake_id']); 21 | break; 22 | } 23 | echo $html->link($search->highlight($terms, $result['Result']['title'], false), 24 | $url, null, null, false ); 25 | echo '
    3. '; 26 | echo $search->highlight($terms, $result['Result']['content']); 27 | echo '

    4. '; 28 | } 29 | echo '
    '; 30 | echo $this->element('paging'); 31 | } else { 32 | echo '

    ' . __('No results', true) . '

    '; 33 | } 34 | ?> 35 |
    -------------------------------------------------------------------------------- /views/revisions/rss/index.ctp: -------------------------------------------------------------------------------- 1 | items($data, 'transformRSS'); 4 | 5 | function transformRSS($row, &$_html = false) { 6 | static $html; 7 | if ($_html) { 8 | $html = $_html; 9 | return; 10 | } 11 | $desc = '
      '; 12 | $author = isset($row['User']['username'])?$row['User']['username']:'unknown'; 13 | $desc .= '
    • ' . sprintf(__('Submitted by: %1$s', true), $author) . '
    • '; 14 | $comment = $html->clean(trim($row['Revision']['reason'])); 15 | if ($comment) { 16 | $desc .= '
    • ' . $comment . '
    • '; 17 | } 18 | $desc .= '
    '; 19 | if ($row['Node']['sequence']) { 20 | $title = $row['Node']['sequence'] . ' - ' . $row['Revision']['title']; 21 | } else { 22 | $title = $row['Revision']['title']; 23 | } 24 | return array( 25 | 'title' => $title, 26 | 'link' => array('controller' => 'revisions', 'action' => 'view', $row['Revision']['id'], $row['Revision']['slug']), 27 | 'description' => $desc, 28 | 'pubDate' => date('r', strtotime($row['Revision']['created'])), 29 | ); 30 | } 31 | ?> -------------------------------------------------------------------------------- /views/revisions/search.ctp: -------------------------------------------------------------------------------- 1 |

    2 | element('search_form'); ?> -------------------------------------------------------------------------------- /views/revisions/view.ctp: -------------------------------------------------------------------------------- 1 |
    2 | $row) { 5 | echo '

    {' . up($row['Revision']['id']) . '} - ' . $row['Node']['sequence'] . ' ' . h($row['Revision']['title']) . '

    '; 6 | //echo $html->clean($currentNode['Revision']['content']); 7 | echo '
    ' . $row['Revision']['content'] . '
    '; 8 | $compare[] = '' . $row['Revision']['title'] . "\r\n" . $row['Revision']['content']; 9 | } 10 | if (count($compare) > 1) { 11 | echo '

    ' . __('Differences', true) . '

    '; 12 | echo $diff->compare(h($compare[1]), h($compare[0])); 13 | } 14 | ?>read('Auth.User.Level') == ADMIN) { 16 | $menu->add(array( 17 | 'section' => 'This Revision', 18 | 'title' => 'Admin view', 19 | 'url' => am(array('admin' => true, 'action' => 'view'), $this->passedArgs) 20 | )); 21 | if ($row['Revision']['node_id']) { 22 | $menu->add(array( 23 | 'section' => 'This Revision', 24 | 'title' => 'See History', 25 | 'url' => am(array('admin' => true, 'action' => 'history'), $this->passedArgs) 26 | )); 27 | } 28 | $menu->add(array( 29 | 'section' => 'This Revision', 30 | 'title' => 'Edit', 31 | 'url' => am(array('admin' => true, 'action' => 'edit'), $this->passedArgs) 32 | )); 33 | if ($row['Revision']['status'] == 'pending') { 34 | $menu->add(array( 35 | 'title' => 'Approve', 36 | 'url' => am(array('admin' => true, 'action' => 'approve'), $this->passedArgs), 37 | 'class' => 'dialogs' 38 | )); 39 | $menu->add(array( 40 | 'title' => 'Reject', 41 | 'url' => am(array('admin' => true, 'action' => 'reject'), $this->passedArgs), 42 | 'class' => 'dialogs' 43 | )); 44 | $menu->add(array( 45 | 'title' => 'Ignore', 46 | 'url' => am(array('admin' => true, 'action' => 'ignore'), $this->passedArgs) 47 | )); 48 | } 49 | } 50 | ?> 51 |
    -------------------------------------------------------------------------------- /webroot/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine On 3 | RewriteCond %{REQUEST_FILENAME} !-d 4 | RewriteCond %{REQUEST_FILENAME} !-f 5 | RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] 6 | -------------------------------------------------------------------------------- /webroot/css/full_width.css: -------------------------------------------------------------------------------- 1 | div#content { 2 | text-align: center; 3 | } 4 | div#body { 5 | width: 100%; 6 | margin:auto; 7 | padding: 0 2em; 8 | } 9 | div#side { 10 | display: none; 11 | } 12 | div#body ul li { 13 | list-style: none; 14 | margin: 1em 0 0.6em 0; 15 | font-weight:bold; 16 | font-size: 120%; 17 | } 18 | div#body ul li ul li { 19 | list-style-image: url(images/arrow.gif); 20 | margin: 0.6em 0 0.6em 1em; 21 | font-weight:normal; 22 | font-size: 80%; 23 | } 24 | div.column { 25 | width: 24%; 26 | float: left; 27 | } -------------------------------------------------------------------------------- /webroot/css/images/24-message-contribute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/24-message-contribute.png -------------------------------------------------------------------------------- /webroot/css/images/24-message-info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/24-message-info.png -------------------------------------------------------------------------------- /webroot/css/images/24-message-warn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/24-message-warn.png -------------------------------------------------------------------------------- /webroot/css/images/arrow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/arrow.gif -------------------------------------------------------------------------------- /webroot/css/images/arrow_down.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/arrow_down.gif -------------------------------------------------------------------------------- /webroot/css/images/body_bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/body_bg.gif -------------------------------------------------------------------------------- /webroot/css/images/feed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/feed.png -------------------------------------------------------------------------------- /webroot/css/images/ui-bg_flat_55_999999_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/ui-bg_flat_55_999999_40x100.png -------------------------------------------------------------------------------- /webroot/css/images/ui-bg_flat_75_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/ui-bg_flat_75_aaaaaa_40x100.png -------------------------------------------------------------------------------- /webroot/css/images/ui-bg_glass_45_0078ae_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/ui-bg_glass_45_0078ae_1x400.png -------------------------------------------------------------------------------- /webroot/css/images/ui-bg_glass_55_f8da4e_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/ui-bg_glass_55_f8da4e_1x400.png -------------------------------------------------------------------------------- /webroot/css/images/ui-bg_glass_75_79c9ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/ui-bg_glass_75_79c9ec_1x400.png -------------------------------------------------------------------------------- /webroot/css/images/ui-bg_gloss-wave_45_e14f1c_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/ui-bg_gloss-wave_45_e14f1c_500x100.png -------------------------------------------------------------------------------- /webroot/css/images/ui-bg_gloss-wave_50_6eac2c_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/ui-bg_gloss-wave_50_6eac2c_500x100.png -------------------------------------------------------------------------------- /webroot/css/images/ui-bg_gloss-wave_75_003D4C_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/ui-bg_gloss-wave_75_003D4C_500x100.png -------------------------------------------------------------------------------- /webroot/css/images/ui-bg_inset-hard_100_fcfdfd_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/ui-bg_inset-hard_100_fcfdfd_1x100.png -------------------------------------------------------------------------------- /webroot/css/images/ui-icons_0078ae_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/ui-icons_0078ae_256x240.png -------------------------------------------------------------------------------- /webroot/css/images/ui-icons_056b93_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/ui-icons_056b93_256x240.png -------------------------------------------------------------------------------- /webroot/css/images/ui-icons_d8e7f3_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/ui-icons_d8e7f3_256x240.png -------------------------------------------------------------------------------- /webroot/css/images/ui-icons_e0fdff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/ui-icons_e0fdff_256x240.png -------------------------------------------------------------------------------- /webroot/css/images/ui-icons_f5e175_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/ui-icons_f5e175_256x240.png -------------------------------------------------------------------------------- /webroot/css/images/ui-icons_f7a50d_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/ui-icons_f7a50d_256x240.png -------------------------------------------------------------------------------- /webroot/css/images/ui-icons_fcd113_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/css/images/ui-icons_fcd113_256x240.png -------------------------------------------------------------------------------- /webroot/css/print.20100125.min.css: -------------------------------------------------------------------------------- 1 | div#header h1,div#main_nav,div#secondary_nav,div#sites_nav,form#search,div#side,div.options,div#footer span,pre.code,div.flags{display:none;}body{font-family:"lucida grande",verdana,helvetica,arial,sans-serif;font-size:12px;color:#333;background:#003d4c url(images/body_bg.gif) repeat-x;margin:0;}#container{position:relative;background:url(../img/cake.icon.gif) no-repeat 10px 10px;padding-top:44px;}div#body{display:block;width:auto;margin:0;padding:0 10px;border:0;color:black;background:#fff;border-top:1px solid #333;border-bottom:1px solid #333;}#container a:link,#container a:visited{color:blue;background:transparent;font-weight:bold;text-decoration:underline;}#container a:link:after,#container a:visited:after{content:"(" attr(href) ") ";font-size:90%;}ol.code{margin:1em 0;padding:0;font-size:.75em;line-height:1.8em;overflow:hidden;color:#939399;text-align:left;list-style-position:inside;border:1px solid #d3d3d0;}ol.code li{float:left;clear:both;width:99%;white-space:nowrap;margin:0;padding:0 0 0 1%;background:#f3f3f0;}ol.code li.even{background:#fff;}ol.code li code{font:1.2em courier,monospace;color:#c30;white-space:pre;padding-left:.5em;}.code .comment{color:#939399;}.code .default{color:#44c;}.code .keyword{color:#373;}.code .string{color:#c30;} 2 | -------------------------------------------------------------------------------- /webroot/css/print.css: -------------------------------------------------------------------------------- 1 | div#header h1, div#main_nav, div#secondary_nav, div#sites_nav, form#search, div#side, div.options, div#footer span, pre.code, div.flags { 2 | display:none; 3 | } 4 | body{ 5 | font-family:"lucida grande",verdana,helvetica,arial,sans-serif; 6 | font-size:12px; 7 | color:#333; 8 | background:#003d4c url(images/body_bg.gif) repeat-x; 9 | /*background:url(images/grid_bg.gif) repeat-y center;*/ 10 | margin: 0; 11 | } 12 | #container { 13 | position:relative; 14 | background: url(../img/cake.icon.gif) no-repeat 10px 10px; 15 | padding-top:44px; 16 | } 17 | div#body { 18 | display:block; 19 | width: auto; 20 | margin: 0; 21 | padding: 0 10px; 22 | border: 0; 23 | color: black; 24 | background:#fff; 25 | border-top: 1px solid #333; 26 | border-bottom: 1px solid #333; 27 | } 28 | 29 | #container a:link, #container a:visited { 30 | color: blue; 31 | background: transparent; 32 | font-weight: bold; 33 | text-decoration: underline; 34 | } 35 | 36 | #container a:link:after, #container a:visited:after { 37 | content: " (" attr(href) ") "; 38 | font-size: 90%; 39 | } 40 | h3 { 41 | /* page-break-before: always; */ 42 | } 43 | ol.code { 44 | margin: 1em 0; 45 | padding: 0; 46 | font-size: 0.75em; 47 | line-height: 1.8em; 48 | overflow: hidden; 49 | color: #939399; 50 | text-align: left; 51 | list-style-position: inside; 52 | border: 1px solid #d3d3d0; 53 | } 54 | ol.code li { 55 | float: left; 56 | clear: both; 57 | width: 99%; 58 | white-space: nowrap; 59 | margin: 0; 60 | padding: 0 0 0 1%; 61 | background: #f3f3f0; 62 | } 63 | ol.code li.even { background: #fff; } 64 | ol.code li code { 65 | font: 1.2em courier, monospace; 66 | color: #c30; 67 | white-space: pre; 68 | padding-left: 0.5em; 69 | } 70 | .code .comment { color: #939399; } 71 | .code .default { color: #44c; } 72 | .code .keyword { color: #373; } 73 | .code .string { color: #c30; } 74 | -------------------------------------------------------------------------------- /webroot/css/theme/ui.accordion.css: -------------------------------------------------------------------------------- 1 | /* Accordion 2 | ----------------------------------*/ 3 | .ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } 4 | .ui-accordion li {display: inline;} 5 | .ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } 6 | .ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em 2.2em; } 7 | .ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } 8 | .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; } 9 | .ui-accordion .ui-accordion-content-active { display: block; } -------------------------------------------------------------------------------- /webroot/css/theme/ui.all.css: -------------------------------------------------------------------------------- 1 | @import "ui.base.css"; 2 | @import "ui.theme.css"; 3 | -------------------------------------------------------------------------------- /webroot/css/theme/ui.base.css: -------------------------------------------------------------------------------- 1 | @import url("ui.core.css"); 2 | 3 | @import url("ui.accordion.css"); 4 | @import url("ui.datepicker.css"); 5 | @import url("ui.dialog.css"); 6 | @import url("ui.progressbar.css"); 7 | @import url("ui.resizable.css"); 8 | @import url("ui.slider.css"); 9 | @import url("ui.tabs.css"); 10 | -------------------------------------------------------------------------------- /webroot/css/theme/ui.core.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery UI CSS Framework 3 | * Copyright (c) 2009 AUTHORS.txt (http://ui.jquery.com/about) 4 | * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. 5 | */ 6 | 7 | /* Layout helpers 8 | ----------------------------------*/ 9 | .ui-helper-hidden { display: none; } 10 | .ui-helper-hidden-accessible { position: absolute; left: -99999999px; } 11 | .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } 12 | .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } 13 | .ui-helper-clearfix { display: inline-block; } 14 | /* required comment for clearfix to work in Opera \*/ 15 | * html .ui-helper-clearfix { height:1%; } 16 | .ui-helper-clearfix { display:block; } 17 | /* end clearfix */ 18 | .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } 19 | 20 | 21 | /* Interaction Cues 22 | ----------------------------------*/ 23 | .ui-state-disabled { cursor: default !important; } 24 | 25 | 26 | /* Icons 27 | ----------------------------------*/ 28 | 29 | /* states and images */ 30 | .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } 31 | 32 | 33 | /* Misc visuals 34 | ----------------------------------*/ 35 | 36 | /* Overlays */ 37 | .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } -------------------------------------------------------------------------------- /webroot/css/theme/ui.dialog.css: -------------------------------------------------------------------------------- 1 | /* Dialog 2 | ----------------------------------*/ 3 | .ui-dialog { position: relative; padding: .2em; width: 300px; } 4 | .ui-dialog .ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative; } 5 | .ui-dialog .ui-dialog-title { float: left; margin: .1em 0 .2em; } 6 | .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } 7 | .ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } 8 | .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } 9 | .ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; } 10 | .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } 11 | .ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; } 12 | .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } 13 | .ui-draggable .ui-dialog-titlebar { cursor: move; } -------------------------------------------------------------------------------- /webroot/css/theme/ui.progressbar.css: -------------------------------------------------------------------------------- 1 | /* Progressbar 2 | ----------------------------------*/ 3 | .ui-progressbar { height:2em; text-align: left; } 4 | .ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } -------------------------------------------------------------------------------- /webroot/css/theme/ui.resizable.css: -------------------------------------------------------------------------------- 1 | /* Resizable 2 | ----------------------------------*/ 3 | .ui-resizable { position: relative;} 4 | .ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} 5 | .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } 6 | .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0px; } 7 | .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0px; } 8 | .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px; height: 100%; } 9 | .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px; height: 100%; } 10 | .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } 11 | .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } 12 | .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } 13 | .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;} -------------------------------------------------------------------------------- /webroot/css/theme/ui.slider.css: -------------------------------------------------------------------------------- 1 | /* Slider 2 | ----------------------------------*/ 3 | .ui-slider { position: relative; text-align: left; } 4 | .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } 5 | .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: 1%; display: block; border: 0; } 6 | 7 | .ui-slider-horizontal { height: .8em; } 8 | .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } 9 | .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } 10 | .ui-slider-horizontal .ui-slider-range-min { left: 0; } 11 | .ui-slider-horizontal .ui-slider-range-max { right: 0; } 12 | 13 | .ui-slider-vertical { width: .8em; height: 100px; } 14 | .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } 15 | .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } 16 | .ui-slider-vertical .ui-slider-range-min { bottom: 0; } 17 | .ui-slider-vertical .ui-slider-range-max { top: 0; } -------------------------------------------------------------------------------- /webroot/css/theme/ui.tabs.css: -------------------------------------------------------------------------------- 1 | /* Tabs 2 | ----------------------------------*/ 3 | .ui-tabs {padding: .2em;} 4 | .ui-tabs .ui-tabs-nav { padding: .2em .2em 0 .2em; position: relative; } 5 | .ui-tabs .ui-tabs-nav li { float: left; border-bottom: 0 !important; margin: 0 .2em -1px 0; padding: 0; list-style: none; } 6 | .ui-tabs .ui-tabs-nav li a { display:block; text-decoration: none; padding: .5em 1em; } 7 | .ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: .1em; border-bottom: 0; } 8 | .ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border: 0; background: none; } 9 | .ui-tabs .ui-tabs-hide { display: none !important; } -------------------------------------------------------------------------------- /webroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/favicon.ico -------------------------------------------------------------------------------- /webroot/img/arrow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/img/arrow.gif -------------------------------------------------------------------------------- /webroot/img/basic_mvc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/img/basic_mvc.png -------------------------------------------------------------------------------- /webroot/img/cake.icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/img/cake.icon.gif -------------------------------------------------------------------------------- /webroot/img/cake.power.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/img/cake.power.gif -------------------------------------------------------------------------------- /webroot/img/cakefest2009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/img/cakefest2009.png -------------------------------------------------------------------------------- /webroot/img/iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/img/iphone.png -------------------------------------------------------------------------------- /webroot/img/license.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/img/license.png -------------------------------------------------------------------------------- /webroot/img/orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/img/orange.png -------------------------------------------------------------------------------- /webroot/img/pending.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/img/pending.gif -------------------------------------------------------------------------------- /webroot/img/typical-cake-request.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/img/typical-cake-request.gif -------------------------------------------------------------------------------- /webroot/js/AUTHORS.txt: -------------------------------------------------------------------------------- 1 | jQuery UI Authors (http://ui.jquery.com/about) 2 | 3 | This software consists of voluntary contributions made by many 4 | individuals. For exact contribution history, see the revision history 5 | and logs, available at http://jquery-ui.googlecode.com/svn/ 6 | 7 | Brandon Aaron 8 | Paul Bakaus (paulbakaus.com) 9 | David Bolter 10 | Rich Caloggero 11 | Chi Cheng (cloudream@gmail.com) 12 | Colin Clark (http://colin.atrc.utoronto.ca/) 13 | Michelle D'Souza 14 | Aaron Eisenberger (aaronchi@gmail.com) 15 | Ariel Flesler 16 | Bohdan Ganicky 17 | Scott González 18 | Marc Grabanski (m@marcgrabanski.com) 19 | Klaus Hartl (stilbuero.de) 20 | Scott Jehl 21 | Cody Lindley 22 | Eduardo Lundgren (eduardolundgren@gmail.com) 23 | Todd Parker 24 | John Resig 25 | Patty Toland 26 | Ca-Phun Ung (yelotofu.com) 27 | Keith Wood (kbwood@virginbroadband.com.au) 28 | Maggie Costello Wachs 29 | Richard D. Worth (rdworth.org) 30 | Jörn Zaefferer (bassistance.de) 31 | -------------------------------------------------------------------------------- /webroot/js/MIT-LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009 Paul Bakaus, http://ui.jquery.com/ 2 | 3 | This software consists of voluntary contributions made by many 4 | individuals (AUTHORS.txt, http://ui.jquery.com/about) For exact 5 | contribution history, see the revision history and logs, available 6 | at http://jquery-ui.googlecode.com/svn/ 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining 9 | a copy of this software and associated documentation files (the 10 | "Software"), to deal in the Software without restriction, including 11 | without limitation the rights to use, copy, modify, merge, publish, 12 | distribute, sublicense, and/or sell copies of the Software, and to 13 | permit persons to whom the Software is furnished to do so, subject to 14 | the following conditions: 15 | 16 | The above copyright notice and this permission notice shall be 17 | included in all copies or substantial portions of the Software. 18 | 19 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 20 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 21 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 22 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 23 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 24 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 25 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 26 | -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-ar.js: -------------------------------------------------------------------------------- 1 | /* Arabic Translation for jQuery UI date picker plugin. */ 2 | /* Khaled Al Horani -- koko.dw@gmail.com */ 3 | /* خالد الحوراني -- koko.dw@gmail.com */ 4 | /* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */ 5 | jQuery(function($){ 6 | $.datepicker.regional['ar'] = { 7 | closeText: 'إغلاق', 8 | prevText: '<السابق', 9 | nextText: 'التالي>', 10 | currentText: 'اليوم', 11 | monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'آذار', 'حزيران', 12 | 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'], 13 | monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'], 14 | dayNames: ['السبت', 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة'], 15 | dayNamesShort: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'], 16 | dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'], 17 | dateFormat: 'dd/mm/yy', firstDay: 0, 18 | isRTL: true}; 19 | $.datepicker.setDefaults($.datepicker.regional['ar']); 20 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-bg.js: -------------------------------------------------------------------------------- 1 | /* Bulgarian initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Stoyan Kyosev (http://svest.org). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['bg'] = { 5 | closeText: 'затвори', 6 | prevText: '<назад', 7 | nextText: 'напред>', 8 | nextBigText: '>>', 9 | currentText: 'днес', 10 | monthNames: ['Януари','Февруари','Март','Април','Май','Юни', 11 | 'Юли','Август','Септември','Октомври','Ноември','Декември'], 12 | monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни', 13 | 'Юли','Авг','Сеп','Окт','Нов','Дек'], 14 | dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'], 15 | dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'], 16 | dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'], 17 | dateFormat: 'dd.mm.yy', firstDay: 1, 18 | isRTL: false}; 19 | $.datepicker.setDefaults($.datepicker.regional['bg']); 20 | }); 21 | -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-ca.js: -------------------------------------------------------------------------------- 1 | /* Inicialitzaci� en catal� per a l'extenci� 'calendar' per jQuery. */ 2 | /* Writers: (joan.leon@gmail.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['ca'] = { 5 | closeText: 'Tancar', 6 | prevText: '<Ant', 7 | nextText: 'Seg>', 8 | currentText: 'Avui', 9 | monthNames: ['Gener','Febrer','Març','Abril','Maig','Juny', 10 | 'Juliol','Agost','Setembre','Octubre','Novembre','Desembre'], 11 | monthNamesShort: ['Gen','Feb','Mar','Abr','Mai','Jun', 12 | 'Jul','Ago','Set','Oct','Nov','Des'], 13 | dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'], 14 | dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'], 15 | dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'], 16 | dateFormat: 'mm/dd/yy', firstDay: 0, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['ca']); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-cs.js: -------------------------------------------------------------------------------- 1 | /* Czech initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Tomas Muller (tomas@tomas-muller.net). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['cs'] = { 5 | closeText: 'Zavřít', 6 | prevText: '<Dříve', 7 | nextText: 'Později>', 8 | currentText: 'Nyní', 9 | monthNames: ['leden','únor','březen','duben','květen','červen', 10 | 'červenec','srpen','září','říjen','listopad','prosinec'], 11 | monthNamesShort: ['led','úno','bře','dub','kvě','čer', 12 | 'čvc','srp','zář','říj','lis','pro'], 13 | dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'], 14 | dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], 15 | dayNamesMin: ['ne','po','út','st','čt','pá','so'], 16 | dateFormat: 'dd.mm.yy', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['cs']); 19 | }); 20 | -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-da.js: -------------------------------------------------------------------------------- 1 | /* Danish initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Jan Christensen ( deletestuff@gmail.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['da'] = { 5 | closeText: 'Luk', 6 | prevText: '<Forrige', 7 | nextText: 'Næste>', 8 | currentText: 'Idag', 9 | monthNames: ['Januar','Februar','Marts','April','Maj','Juni', 10 | 'Juli','August','September','Oktober','November','December'], 11 | monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', 12 | 'Jul','Aug','Sep','Okt','Nov','Dec'], 13 | dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], 14 | dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], 15 | dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], 16 | dateFormat: 'dd-mm-yy', firstDay: 0, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['da']); 19 | }); 20 | -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-de.js: -------------------------------------------------------------------------------- 1 | /* German initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Milian Wolff (mail@milianw.de). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['de'] = { 5 | closeText: 'schließen', 6 | prevText: '<zurück', 7 | nextText: 'Vor>', 8 | currentText: 'heute', 9 | monthNames: ['Januar','Februar','März','April','Mai','Juni', 10 | 'Juli','August','September','Oktober','November','Dezember'], 11 | monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun', 12 | 'Jul','Aug','Sep','Okt','Nov','Dez'], 13 | dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'], 14 | dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'], 15 | dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'], 16 | dateFormat: 'dd.mm.yy', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['de']); 19 | }); 20 | -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-el.js: -------------------------------------------------------------------------------- 1 | /* Greek (el) initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Alex Cicovic (http://www.alexcicovic.com) */ 3 | jQuery(function($){ 4 | $.datepicker.regional['el'] = { 5 | closeText: 'Κλείσιμο', 6 | prevText: 'Προηγούμενος', 7 | nextText: 'Επόμενος', 8 | currentText: 'Τρέχων Μήνας', 9 | monthNames: ['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος', 10 | 'Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'], 11 | monthNamesShort: ['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν', 12 | 'Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'], 13 | dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'], 14 | dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'], 15 | dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'], 16 | dateFormat: 'dd/mm/yy', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['el']); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-eo.js: -------------------------------------------------------------------------------- 1 | /* Esperanto initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Olivier M. (olivierweb@ifrance.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['eo'] = { 5 | closeText: 'Fermi', 6 | prevText: '<Anta', 7 | nextText: 'Sekv>', 8 | currentText: 'Nuna', 9 | monthNames: ['Januaro','Februaro','Marto','Aprilo','Majo','Junio', 10 | 'Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'], 11 | monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', 12 | 'Jul','Aŭg','Sep','Okt','Nov','Dec'], 13 | dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'], 14 | dayNamesShort: ['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'], 15 | dayNamesMin: ['Di','Lu','Ma','Me','Ĵa','Ve','Sa'], 16 | dateFormat: 'dd/mm/yy', firstDay: 0, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['eo']); 19 | }); 20 | -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-es.js: -------------------------------------------------------------------------------- 1 | /* Inicializaci�n en espa�ol para la extensi�n 'UI date picker' para jQuery. */ 2 | /* Traducido por Vester (xvester@gmail.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['es'] = { 5 | closeText: 'Cerrar', 6 | prevText: '<Ant', 7 | nextText: 'Sig>', 8 | currentText: 'Hoy', 9 | monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio', 10 | 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'], 11 | monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun', 12 | 'Jul','Ago','Sep','Oct','Nov','Dic'], 13 | dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'], 14 | dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'], 15 | dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'], 16 | dateFormat: 'dd/mm/yy', firstDay: 0, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['es']); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-fa.js: -------------------------------------------------------------------------------- 1 | /* Persian (Farsi) Translation for the jQuery UI date picker plugin. */ 2 | /* Javad Mowlanezhad -- jmowla@gmail.com */ 3 | /* Jalali calendar should supported soon! (Its implemented but I have to test it) */ 4 | jQuery(function($) { 5 | $.datepicker.regional['fa'] = { 6 | closeText: 'بستن', 7 | prevText: '<قبلي', 8 | nextText: 'بعدي>', 9 | currentText: 'امروز', 10 | monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور', 11 | 'مهر','آبان','آذر','دي','بهمن','اسفند'], 12 | monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'], 13 | dayNames: ['يکشنبه','دوشنبه','سه‌شنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'], 14 | dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'], 15 | dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'], 16 | dateFormat: 'yy/mm/dd', firstDay: 6, 17 | isRTL: true}; 18 | $.datepicker.setDefaults($.datepicker.regional['fa']); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-fi.js: -------------------------------------------------------------------------------- 1 | /* Finnish initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Harri Kilpi� (harrikilpio@gmail.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['fi'] = { 5 | closeText: 'Sulje', 6 | prevText: '«Edellinen', 7 | nextText: 'Seuraava»', 8 | currentText: 'Tänään', 9 | monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kesäkuu', 10 | 'Heinäkuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'], 11 | monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kesä', 12 | 'Heinä','Elo','Syys','Loka','Marras','Joulu'], 13 | dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'], 14 | dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'], 15 | dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'], 16 | dateFormat: 'dd.mm.yy', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['fi']); 19 | }); 20 | -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-fr.js: -------------------------------------------------------------------------------- 1 | /* French initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Keith Wood (kbwood@virginbroadband.com.au) and Stéphane Nahmani (sholby@sholby.net). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['fr'] = { 5 | closeText: 'Fermer', 6 | prevText: '<Préc', 7 | nextText: 'Suiv>', 8 | currentText: 'Courant', 9 | monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', 10 | 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], 11 | monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun', 12 | 'Jul','Aoû','Sep','Oct','Nov','Déc'], 13 | dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], 14 | dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], 15 | dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'], 16 | dateFormat: 'dd/mm/yy', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['fr']); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-he.js: -------------------------------------------------------------------------------- 1 | /* Hebrew initialisation for the UI Datepicker extension. */ 2 | /* Written by Amir Hardon (ahardon at gmail dot com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['he'] = { 5 | closeText: 'סגור', 6 | prevText: '<הקודם', 7 | nextText: 'הבא>', 8 | currentText: 'היום', 9 | monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני', 10 | 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'], 11 | monthNamesShort: ['1','2','3','4','5','6', 12 | '7','8','9','10','11','12'], 13 | dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'], 14 | dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], 15 | dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], 16 | dateFormat: 'dd/mm/yy', firstDay: 0, 17 | isRTL: true}; 18 | $.datepicker.setDefaults($.datepicker.regional['he']); 19 | }); 20 | -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-hr.js: -------------------------------------------------------------------------------- 1 | /* Croatian i18n for the jQuery UI date picker plugin. */ 2 | /* Written by Vjekoslav Nesek. */ 3 | jQuery(function($){ 4 | $.datepicker.regional['hr'] = { 5 | closeText: 'Zatvori', 6 | prevText: '<', 7 | nextText: '>', 8 | currentText: 'Danas', 9 | monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipani', 10 | 'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'], 11 | monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip', 12 | 'Srp','Kol','Ruj','Lis','Stu','Pro'], 13 | dayNames: ['Nedjalja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'], 14 | dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'], 15 | dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], 16 | dateFormat: 'dd.mm.yy.', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['hr']); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-hu.js: -------------------------------------------------------------------------------- 1 | /* Hungarian initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Istvan Karaszi (jquerycalendar@spam.raszi.hu). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['hu'] = { 5 | closeText: 'bezárás', 6 | prevText: '« vissza', 7 | nextText: 'előre »', 8 | currentText: 'ma', 9 | monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június', 10 | 'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'], 11 | monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún', 12 | 'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'], 13 | dayNames: ['Vasámap', 'Hétfö', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'], 14 | dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'], 15 | dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], 16 | dateFormat: 'yy-mm-dd', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['hu']); 19 | }); 20 | -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-hy.js: -------------------------------------------------------------------------------- 1 | /* Armenian(UTF-8) initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Levon Zakaryan (levon.zakaryan@gmail.com)*/ 3 | jQuery(function($){ 4 | $.datepicker.regional['hy'] = { 5 | closeText: 'Փակել', 6 | prevText: '<Նախ.', 7 | nextText: 'Հաջ.>', 8 | currentText: 'Այսօր', 9 | monthNames: ['Հունվար','Փետրվար','Մարտ','Ապրիլ','Մայիս','Հունիս', 10 | 'Հուլիս','Օգոստոս','Սեպտեմբեր','Հոկտեմբեր','Նոյեմբեր','Դեկտեմբեր'], 11 | monthNamesShort: ['Հունվ','Փետր','Մարտ','Ապր','Մայիս','Հունիս', 12 | 'Հուլ','Օգս','Սեպ','Հոկ','Նոյ','Դեկ'], 13 | dayNames: ['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'], 14 | dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], 15 | dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], 16 | dateFormat: 'dd.mm.yy', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['hy']); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-id.js: -------------------------------------------------------------------------------- 1 | /* Indonesian initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Deden Fathurahman (dedenf@gmail.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['id'] = { 5 | closeText: 'Tutup', 6 | prevText: '<mundur', 7 | nextText: 'maju>', 8 | currentText: 'hari ini', 9 | monthNames: ['Januari','Februari','Maret','April','Mei','Juni', 10 | 'Juli','Agustus','September','Oktober','Nopember','Desember'], 11 | monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun', 12 | 'Jul','Agus','Sep','Okt','Nop','Des'], 13 | dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'], 14 | dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'], 15 | dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'], 16 | dateFormat: 'dd/mm/yy', firstDay: 0, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['id']); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-is.js: -------------------------------------------------------------------------------- 1 | /* Icelandic initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Haukur H. Thorsson (haukur@eskill.is). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['is'] = { 5 | closeText: 'Loka', 6 | prevText: '< Fyrri', 7 | nextText: 'Næsti >', 8 | currentText: 'Í dag', 9 | monthNames: ['Janúar','Febrúar','Mars','Apríl','Maí','Júní', 10 | 'Júlí','Ágúst','September','Október','Nóvember','Desember'], 11 | monthNamesShort: ['Jan','Feb','Mar','Apr','Maí','Jún', 12 | 'Júl','Ágú','Sep','Okt','Nóv','Des'], 13 | dayNames: ['Sunnudagur','Mánudagur','Þriðjudagur','Miðvikudagur','Fimmtudagur','Föstudagur','Laugardagur'], 14 | dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'], 15 | dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'], 16 | dateFormat: 'dd/mm/yy', firstDay: 0, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['is']); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-it.js: -------------------------------------------------------------------------------- 1 | /* Italian initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Apaella (apaella@gmail.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['it'] = { 5 | closeText: 'Chiudi', 6 | prevText: '<Prec', 7 | nextText: 'Succ>', 8 | currentText: 'Oggi', 9 | monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno', 10 | 'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'], 11 | monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu', 12 | 'Lug','Ago','Set','Ott','Nov','Dic'], 13 | dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'], 14 | dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'], 15 | dayNamesMin: ['Do','Lu','Ma','Me','Gio','Ve','Sa'], 16 | dateFormat: 'dd/mm/yy', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['it']); 19 | }); 20 | -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-ja.js: -------------------------------------------------------------------------------- 1 | /* Japanese initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Kentaro SATO (kentaro@ranvis.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['ja'] = { 5 | closeText: '閉じる', 6 | prevText: '<前', 7 | nextText: '次>', 8 | currentText: '今日', 9 | monthNames: ['1月','2月','3月','4月','5月','6月', 10 | '7月','8月','9月','10月','11月','12月'], 11 | monthNamesShort: ['1月','2月','3月','4月','5月','6月', 12 | '7月','8月','9月','10月','11月','12月'], 13 | dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'], 14 | dayNamesShort: ['日','月','火','水','木','金','土'], 15 | dayNamesMin: ['日','月','火','水','木','金','土'], 16 | dateFormat: 'yy/mm/dd', firstDay: 0, 17 | isRTL: false, 18 | showMonthAfterYear: true}; 19 | $.datepicker.setDefaults($.datepicker.regional['ja']); 20 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-ko.js: -------------------------------------------------------------------------------- 1 | /* Korean initialisation for the jQuery calendar extension. */ 2 | /* Written by DaeKwon Kang (ncrash.dk@gmail.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['ko'] = { 5 | closeText: '닫기', 6 | prevText: '이전달', 7 | nextText: '다음달', 8 | currentText: '오늘', 9 | monthNames: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)', 10 | '7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'], 11 | monthNamesShort: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)', 12 | '7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'], 13 | dayNames: ['일','월','화','수','목','금','토'], 14 | dayNamesShort: ['일','월','화','수','목','금','토'], 15 | dayNamesMin: ['일','월','화','수','목','금','토'], 16 | dateFormat: 'yy-mm-dd', firstDay: 0, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['ko']); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-lt.js: -------------------------------------------------------------------------------- 1 | /* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */ 2 | /* @author Arturas Paleicikas */ 3 | jQuery(function($){ 4 | $.datepicker.regional['lt'] = { 5 | closeText: 'Uždaryti', 6 | prevText: '<Atgal', 7 | nextText: 'Pirmyn>', 8 | currentText: 'Šiandien', 9 | monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis', 10 | 'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'], 11 | monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir', 12 | 'Lie','Rugp','Rugs','Spa','Lap','Gru'], 13 | dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'], 14 | dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'], 15 | dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'], 16 | dateFormat: 'yy-mm-dd', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['lt']); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-lv.js: -------------------------------------------------------------------------------- 1 | /* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */ 2 | /* @author Arturas Paleicikas */ 3 | jQuery(function($){ 4 | $.datepicker.regional['lv'] = { 5 | closeText: 'Aizvērt', 6 | prevText: 'Iepr', 7 | nextText: 'Nāka', 8 | currentText: 'Šodien', 9 | monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs', 10 | 'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'], 11 | monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jūn', 12 | 'Jūl','Aug','Sep','Okt','Nov','Dec'], 13 | dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'], 14 | dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'], 15 | dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'], 16 | dateFormat: 'dd-mm-yy', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['lv']); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-ms.js: -------------------------------------------------------------------------------- 1 | /* Malaysian initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['ms'] = { 5 | closeText: 'Tutup', 6 | prevText: '<Sebelum', 7 | nextText: 'Selepas>', 8 | currentText: 'hari ini', 9 | monthNames: ['Januari','Februari','Mac','April','Mei','Jun', 10 | 'Julai','Ogos','September','Oktober','November','Disember'], 11 | monthNamesShort: ['Jan','Feb','Mac','Apr','Mei','Jun', 12 | 'Jul','Ogo','Sep','Okt','Nov','Dis'], 13 | dayNames: ['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'], 14 | dayNamesShort: ['Aha','Isn','Sel','Rab','kha','Jum','Sab'], 15 | dayNamesMin: ['Ah','Is','Se','Ra','Kh','Ju','Sa'], 16 | dateFormat: 'dd/mm/yy', firstDay: 0, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['ms']); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-nl.js: -------------------------------------------------------------------------------- 1 | /* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Mathias Bynens */ 3 | jQuery(function($){ 4 | $.datepicker.regional.nl = { 5 | closeText: 'Sluiten', 6 | prevText: '←', 7 | nextText: '→', 8 | currentText: 'Vandaag', 9 | monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 10 | 'juli', 'augustus', 'september', 'oktober', 'november', 'december'], 11 | monthNamesShort: ['jan', 'feb', 'maa', 'apr', 'mei', 'jun', 12 | 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'], 13 | dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], 14 | dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'], 15 | dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], 16 | dateFormat: 'dd/mm/yy', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional.nl); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-no.js: -------------------------------------------------------------------------------- 1 | /* Norwegian initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Naimdjon Takhirov (naimdjon@gmail.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['no'] = { 5 | closeText: 'Lukk', 6 | prevText: '«Forrige', 7 | nextText: 'Neste»', 8 | currentText: 'I dag', 9 | monthNames: ['Januar','Februar','Mars','April','Mai','Juni', 10 | 'Juli','August','September','Oktober','November','Desember'], 11 | monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jun', 12 | 'Jul','Aug','Sep','Okt','Nov','Des'], 13 | dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], 14 | dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], 15 | dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], 16 | dateFormat: 'yy-mm-dd', firstDay: 0, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['no']); 19 | }); 20 | -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-pl.js: -------------------------------------------------------------------------------- 1 | /* Polish initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['pl'] = { 5 | closeText: 'Zamknij', 6 | prevText: '<Poprzedni', 7 | nextText: 'Następny>', 8 | currentText: 'Dziś', 9 | monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec', 10 | 'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'], 11 | monthNamesShort: ['Sty','Lu','Mar','Kw','Maj','Cze', 12 | 'Lip','Sie','Wrz','Pa','Lis','Gru'], 13 | dayNames: ['Niedziela','Poniedzialek','Wtorek','Środa','Czwartek','Piątek','Sobota'], 14 | dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'], 15 | dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'], 16 | dateFormat: 'yy-mm-dd', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['pl']); 19 | }); 20 | -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-pt-BR.js: -------------------------------------------------------------------------------- 1 | /* Brazilian initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Leonildo Costa Silva (leocsilva@gmail.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['pt-BR'] = { 5 | closeText: 'Fechar', 6 | prevText: '<Anterior', 7 | nextText: 'Próximo>', 8 | currentText: 'Hoje', 9 | monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho', 10 | 'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'], 11 | monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun', 12 | 'Jul','Ago','Set','Out','Nov','Dez'], 13 | dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sabado'], 14 | dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'], 15 | dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'], 16 | dateFormat: 'dd/mm/yy', firstDay: 0, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['pt-BR']); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-ro.js: -------------------------------------------------------------------------------- 1 | /* Romanian initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Edmond L. (ll_edmond@walla.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['ro'] = { 5 | closeText: 'Inchide', 6 | prevText: '<Anterior', 7 | nextText: 'Urmator>', 8 | currentText: 'Azi', 9 | monthNames: ['Ianuarie','Februarie','Martie','Aprilie','Mai','Junie', 10 | 'Julie','August','Septembrie','Octobrie','Noiembrie','Decembrie'], 11 | monthNamesShort: ['Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Jun', 12 | 'Jul', 'Aug', 'Sep', 'Oct', 'Noi', 'Dec'], 13 | dayNames: ['Duminica', 'Luni', 'Marti', 'Miercuri', 'Joi', 'Vineri', 'Sambata'], 14 | dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sam'], 15 | dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sa'], 16 | dateFormat: 'mm/dd/yy', firstDay: 0, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['ro']); 19 | }); 20 | -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-ru.js: -------------------------------------------------------------------------------- 1 | /* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Andrew Stromnov (stromnov@gmail.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['ru'] = { 5 | closeText: 'Закрыть', 6 | prevText: '<Пред', 7 | nextText: 'След>', 8 | currentText: 'Сегодня', 9 | monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь', 10 | 'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'], 11 | monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн', 12 | 'Июл','Авг','Сен','Окт','Ноя','Дек'], 13 | dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'], 14 | dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'], 15 | dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'], 16 | dateFormat: 'dd.mm.yy', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['ru']); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-sk.js: -------------------------------------------------------------------------------- 1 | /* Slovak initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Vojtech Rinik (vojto@hmm.sk). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['sk'] = { 5 | closeText: 'Zavrieť', 6 | prevText: '<Predchádzajúci', 7 | nextText: 'Nasledujúci>', 8 | currentText: 'Dnes', 9 | monthNames: ['Január','Február','Marec','Apríl','Máj','Jún', 10 | 'Júl','August','September','Október','November','December'], 11 | monthNamesShort: ['Jan','Feb','Mar','Apr','Máj','Jún', 12 | 'Júl','Aug','Sep','Okt','Nov','Dec'], 13 | dayNames: ['Nedel\'a','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota'], 14 | dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'], 15 | dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'], 16 | dateFormat: 'dd.mm.yy', firstDay: 0, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['sk']); 19 | }); 20 | -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-sl.js: -------------------------------------------------------------------------------- 1 | /* Slovenian initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Jaka Jancar (jaka@kubje.org). */ 3 | /* c = č, s = š z = ž C = Č S = Š Z = Ž */ 4 | jQuery(function($){ 5 | $.datepicker.regional['sl'] = { 6 | closeText: 'Zapri', 7 | prevText: '<Prejšnji', 8 | nextText: 'Naslednji>', 9 | currentText: 'Trenutni', 10 | monthNames: ['Januar','Februar','Marec','April','Maj','Junij', 11 | 'Julij','Avgust','September','Oktober','November','December'], 12 | monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', 13 | 'Jul','Avg','Sep','Okt','Nov','Dec'], 14 | dayNames: ['Nedelja','Ponedeljek','Torek','Sreda','Četrtek','Petek','Sobota'], 15 | dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'], 16 | dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'], 17 | dateFormat: 'dd.mm.yy', firstDay: 1, 18 | isRTL: false}; 19 | $.datepicker.setDefaults($.datepicker.regional['sl']); 20 | }); 21 | -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-sq.js: -------------------------------------------------------------------------------- 1 | /* Albanian initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Flakron Bytyqi (flakron@gmail.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['sq'] = { 5 | closeText: 'mbylle', 6 | prevText: '<mbrapa', 7 | nextText: 'Përpara>', 8 | currentText: 'sot', 9 | monthNames: ['Janar','Shkurt','Mars','Pril','Maj','Qershor', 10 | 'Korrik','Gusht','Shtator','Tetor','Nëntor','Dhjetor'], 11 | monthNamesShort: ['Jan','Shk','Mar','Pri','Maj','Qer', 12 | 'Kor','Gus','Sht','Tet','Nën','Dhj'], 13 | dayNames: ['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'], 14 | dayNamesShort: ['Di','Hë','Ma','Më','En','Pr','Sh'], 15 | dayNamesMin: ['Di','Hë','Ma','Më','En','Pr','Sh'], 16 | dateFormat: 'dd.mm.yy', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['sq']); 19 | }); 20 | -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-sv.js: -------------------------------------------------------------------------------- 1 | /* Swedish initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Anders Ekdahl ( anders@nomadiz.se). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['sv'] = { 5 | closeText: 'Stäng', 6 | prevText: '«Förra', 7 | nextText: 'Nästa»', 8 | currentText: 'Idag', 9 | monthNames: ['Januari','Februari','Mars','April','Maj','Juni', 10 | 'Juli','Augusti','September','Oktober','November','December'], 11 | monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', 12 | 'Jul','Aug','Sep','Okt','Nov','Dec'], 13 | dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'], 14 | dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'], 15 | dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'], 16 | dateFormat: 'yy-mm-dd', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['sv']); 19 | }); 20 | -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-th.js: -------------------------------------------------------------------------------- 1 | /* Thai initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by pipo (pipo@sixhead.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['th'] = { 5 | closeText: 'ปิด', 6 | prevText: '« ย้อน', 7 | nextText: 'ถัดไป »', 8 | currentText: 'วันนี้', 9 | monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน', 10 | 'กรกฏาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'], 11 | monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.', 12 | 'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'], 13 | dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'], 14 | dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], 15 | dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], 16 | dateFormat: 'dd/mm/yy', firstDay: 0, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['th']); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-tr.js: -------------------------------------------------------------------------------- 1 | /* Turkish initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Izzet Emre Erkan (kara@karalamalar.net). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['tr'] = { 5 | closeText: 'kapat', 6 | prevText: '<geri', 7 | nextText: 'ileri>', 8 | currentText: 'bugün', 9 | monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran', 10 | 'Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'], 11 | monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz', 12 | 'Tem','Ağu','Eyl','Eki','Kas','Ara'], 13 | dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'], 14 | dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], 15 | dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], 16 | dateFormat: 'dd.mm.yy', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['tr']); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-uk.js: -------------------------------------------------------------------------------- 1 | /* Ukrainian (UTF-8) initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Maxim Drogobitskiy (maxdao@gmail.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['uk'] = { 5 | closeText: 'Закрити', 6 | prevText: '<', 7 | nextText: '>', 8 | currentText: 'Сьогодні', 9 | monthNames: ['Січень','Лютий','Березень','Квітень','Травень','Червень', 10 | 'Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'], 11 | monthNamesShort: ['Січ','Лют','Бер','Кві','Тра','Чер', 12 | 'Лип','Сер','Вер','Жов','Лис','Гру'], 13 | dayNames: ['неділя','понеділок','вівторок','середа','четвер','пятниця','суббота'], 14 | dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'], 15 | dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'], 16 | dateFormat: 'dd.mm.yy', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['uk']); 19 | }); -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-zh-CN.js: -------------------------------------------------------------------------------- 1 | /* Chinese initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Cloudream (cloudream@gmail.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['zh-CN'] = { 5 | closeText: '关闭', 6 | prevText: '<上月', 7 | nextText: '下月>', 8 | currentText: '今天', 9 | monthNames: ['一月','二月','三月','四月','五月','六月', 10 | '七月','八月','九月','十月','十一月','十二月'], 11 | monthNamesShort: ['一','二','三','四','五','六', 12 | '七','八','九','十','十一','十二'], 13 | dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], 14 | dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], 15 | dayNamesMin: ['日','一','二','三','四','五','六'], 16 | dateFormat: 'yy-mm-dd', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['zh-CN']); 19 | }); 20 | -------------------------------------------------------------------------------- /webroot/js/i18n/ui.datepicker-zh-TW.js: -------------------------------------------------------------------------------- 1 | /* Chinese initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Ressol (ressol@gmail.com). */ 3 | jQuery(function($){ 4 | $.datepicker.regional['zh-TW'] = { 5 | closeText: '關閉', 6 | prevText: '<上月', 7 | nextText: '下月>', 8 | currentText: '今天', 9 | monthNames: ['一月','二月','三月','四月','五月','六月', 10 | '七月','八月','九月','十月','十一月','十二月'], 11 | monthNamesShort: ['一','二','三','四','五','六', 12 | '七','八','九','十','十一','十二'], 13 | dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], 14 | dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], 15 | dayNamesMin: ['日','一','二','三','四','五','六'], 16 | dateFormat: 'yy/mm/dd', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['zh-TW']); 19 | }); 20 | -------------------------------------------------------------------------------- /webroot/js/loadingAnimation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/loadingAnimation.gif -------------------------------------------------------------------------------- /webroot/js/markitup/sets/default/images/bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/sets/default/images/bold.png -------------------------------------------------------------------------------- /webroot/js/markitup/sets/default/images/clean.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/sets/default/images/clean.png -------------------------------------------------------------------------------- /webroot/js/markitup/sets/default/images/code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/sets/default/images/code.png -------------------------------------------------------------------------------- /webroot/js/markitup/sets/default/images/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/sets/default/images/image.png -------------------------------------------------------------------------------- /webroot/js/markitup/sets/default/images/italic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/sets/default/images/italic.png -------------------------------------------------------------------------------- /webroot/js/markitup/sets/default/images/link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/sets/default/images/link.png -------------------------------------------------------------------------------- /webroot/js/markitup/sets/default/images/list-bullet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/sets/default/images/list-bullet.png -------------------------------------------------------------------------------- /webroot/js/markitup/sets/default/images/list-item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/sets/default/images/list-item.png -------------------------------------------------------------------------------- /webroot/js/markitup/sets/default/images/list-numeric.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/sets/default/images/list-numeric.png -------------------------------------------------------------------------------- /webroot/js/markitup/sets/default/images/paragraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/sets/default/images/paragraph.png -------------------------------------------------------------------------------- /webroot/js/markitup/sets/default/images/picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/sets/default/images/picture.png -------------------------------------------------------------------------------- /webroot/js/markitup/sets/default/images/preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/sets/default/images/preview.png -------------------------------------------------------------------------------- /webroot/js/markitup/sets/default/images/stroke.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/sets/default/images/stroke.png -------------------------------------------------------------------------------- /webroot/js/markitup/sets/default/set.js: -------------------------------------------------------------------------------- 1 | // ---------------------------------------------------------------------------- 2 | // markItUp! 3 | // ---------------------------------------------------------------------------- 4 | // Copyright (C) 2007 Jay Salvat 5 | // http://markitup.jaysalvat.com/ 6 | // ---------------------------------------------------------------------------- 7 | // Html tags 8 | // http://en.wikipedia.org/wiki/html 9 | // ---------------------------------------------------------------------------- 10 | // Basic set. Feel free to add more tags 11 | // ---------------------------------------------------------------------------- 12 | mySettings = { 13 | nameSpace: "html", 14 | onShiftEnter: {keepDefault:false, replaceWith:'
    \n'}, 15 | onCtrlEnter: {keepDefault:false, openWith:'\n

    ', closeWith:'

    '}, 16 | onTab: {keepDefault:false, replaceWith:' '}, 17 | markupSet: [ 18 | {name:'Bold', key:'B', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' }, 19 | {name:'Italic', key:'I', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' }, 20 | {name:'Stroke through', key:'S', openWith:'', closeWith:'' }, 21 | {separator:'---------------' }, 22 | {name:'Paragraph', openWith:'', closeWith:'

    ' }, 23 | {name:'Code', openWith:'\n
    \n', closeWith:'\n
    \n' }, 24 | {separator:'---------------' }, 25 | {name:'Ul', openWith:'
      \n', closeWith:'
    \n' }, 26 | {name:'Ol', openWith:'
      \n', closeWith:'
    \n' }, 27 | {name:'Li', openWith:'
  • ', closeWith:'
  • ' }, 28 | {separator:'---------------' }, 29 | {name:'Link', key:'L', openWith:'', closeWith:'', placeHolder:'Your text to link...' }, 30 | {separator:'---------------' }, 31 | {name:'Clean', className:'clean', replaceWith:function(markitup) { return markitup.selection.replace(/<(.*?)>/g, "") } }, 32 | //{name:'Preview', className:'preview', call:'preview'} 33 | ] 34 | } -------------------------------------------------------------------------------- /webroot/js/markitup/sets/default/style.css: -------------------------------------------------------------------------------- 1 | /* ------------------------------------------------------------------- 2 | // markItUp! 3 | // By Jay Salvat - http://markitup.jaysalvat.com/ 4 | // ------------------------------------------------------------------*/ 5 | 6 | .markItUp .markItUpButton1 a { 7 | background-image:url(images/bold.png); 8 | } 9 | .markItUp .markItUpButton2 a { 10 | background-image:url(images/italic.png); 11 | } 12 | .markItUp .markItUpButton3 a { 13 | background-image:url(images/stroke.png); 14 | } 15 | .markItUp .markItUpButton4 a { 16 | background-image:url(images/paragraph.png); 17 | } 18 | .markItUp .markItUpButton5 a { 19 | background-image:url(images/code.png); 20 | } 21 | .markItUp .markItUpButton6 a { 22 | background-image:url(images/link.png); 23 | } 24 | 25 | 26 | .markItUp .markItUpButton7 a { 27 | background-image:url(images/list-bullet.png); 28 | } 29 | .markItUp .markItUpButton8 a { 30 | background-image:url(images/list-numeric.png); 31 | } 32 | .markItUp .markItUpButton9 a { 33 | background-image:url(images/list-item.png); 34 | } 35 | 36 | .markItUp .clean a { 37 | background-image:url(images/clean.png); 38 | } 39 | .markItUp .preview a { 40 | background-image:url(images/preview.png); 41 | } -------------------------------------------------------------------------------- /webroot/js/markitup/sets/toolbar settings: -------------------------------------------------------------------------------- 1 | empty -------------------------------------------------------------------------------- /webroot/js/markitup/skins/editor skins: -------------------------------------------------------------------------------- 1 | empty -------------------------------------------------------------------------------- /webroot/js/markitup/skins/markitup/images/bg-container.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/skins/markitup/images/bg-container.png -------------------------------------------------------------------------------- /webroot/js/markitup/skins/markitup/images/bg-editor-bbcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/skins/markitup/images/bg-editor-bbcode.png -------------------------------------------------------------------------------- /webroot/js/markitup/skins/markitup/images/bg-editor-dotclear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/skins/markitup/images/bg-editor-dotclear.png -------------------------------------------------------------------------------- /webroot/js/markitup/skins/markitup/images/bg-editor-html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/skins/markitup/images/bg-editor-html.png -------------------------------------------------------------------------------- /webroot/js/markitup/skins/markitup/images/bg-editor-json.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/skins/markitup/images/bg-editor-json.png -------------------------------------------------------------------------------- /webroot/js/markitup/skins/markitup/images/bg-editor-markdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/skins/markitup/images/bg-editor-markdown.png -------------------------------------------------------------------------------- /webroot/js/markitup/skins/markitup/images/bg-editor-textile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/skins/markitup/images/bg-editor-textile.png -------------------------------------------------------------------------------- /webroot/js/markitup/skins/markitup/images/bg-editor-wiki.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/skins/markitup/images/bg-editor-wiki.png -------------------------------------------------------------------------------- /webroot/js/markitup/skins/markitup/images/bg-editor-xml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/skins/markitup/images/bg-editor-xml.png -------------------------------------------------------------------------------- /webroot/js/markitup/skins/markitup/images/bg-editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/skins/markitup/images/bg-editor.png -------------------------------------------------------------------------------- /webroot/js/markitup/skins/markitup/images/handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/skins/markitup/images/handle.png -------------------------------------------------------------------------------- /webroot/js/markitup/skins/markitup/images/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/skins/markitup/images/menu.png -------------------------------------------------------------------------------- /webroot/js/markitup/skins/markitup/images/submenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/skins/markitup/images/submenu.png -------------------------------------------------------------------------------- /webroot/js/markitup/skins/simple/images/handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/skins/simple/images/handle.png -------------------------------------------------------------------------------- /webroot/js/markitup/skins/simple/images/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/skins/simple/images/menu.png -------------------------------------------------------------------------------- /webroot/js/markitup/skins/simple/images/submenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cakephp/old-cookbook/e637d74aada224ed956ad55d8cd4fd3e4d93165a/webroot/js/markitup/skins/simple/images/submenu.png -------------------------------------------------------------------------------- /webroot/js/markitup/templates/preview templates: -------------------------------------------------------------------------------- 1 | empty -------------------------------------------------------------------------------- /webroot/js/markitup/templates/preview.css: -------------------------------------------------------------------------------- 1 | /* preview style examples */ 2 | body { 3 | background-color:#EFEFEF; 4 | font:70% Verdana, Arial, Helvetica, sans-serif; 5 | } -------------------------------------------------------------------------------- /webroot/js/markitup/templates/preview.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | markItUp! preview template 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /webroot/js/markitup/utils/tools and scripts: -------------------------------------------------------------------------------- 1 | empty --------------------------------------------------------------------------------