├── .gitattributes ├── .gitignore ├── .htaccess ├── README.md ├── application ├── .htaccess ├── cache │ ├── .htaccess │ └── index.html ├── composer.json ├── composer.lock ├── config │ ├── _email.php │ ├── autoload.php │ ├── cms_settings.php │ ├── config.php │ ├── constants.php │ ├── database.php │ ├── doctypes.php │ ├── foreign_chars.php │ ├── hooks.php │ ├── image_nation.php │ ├── index.html │ ├── ion_auth.php │ ├── memcached.php │ ├── migration.php │ ├── mimes.php │ ├── postal.php │ ├── profiler.php │ ├── routes.php │ ├── smileys.php │ └── user_agents.php ├── controllers │ ├── Findcontent.php │ ├── Offline.php │ ├── Test.php │ ├── Welcome.php │ ├── admin │ │ ├── Contents.php │ │ ├── Dashboard.php │ │ ├── Dictionary.php │ │ ├── Groups.php │ │ ├── Images.php │ │ ├── Languages.php │ │ ├── Master.php │ │ ├── Menus.php │ │ ├── Preview.php │ │ ├── Rake.php │ │ ├── Slugs.php │ │ ├── User.php │ │ ├── Users.php │ │ └── Verify.php │ └── index.html ├── core │ ├── MY_Controller.php │ ├── MY_Loader.php │ ├── MY_Model.php │ └── index.html ├── helpers │ └── index.html ├── hooks │ └── index.html ├── index.html ├── language │ ├── english │ │ ├── app_files │ │ │ └── welcome_index_lang.php │ │ ├── app_lang.php │ │ ├── auth_lang.php │ │ ├── form_validation_lang.php │ │ ├── index.html │ │ └── ion_auth_lang.php │ ├── index.html │ ├── romanian │ │ ├── app_files │ │ │ └── welcome_index_lang.php │ │ ├── app_lang.php │ │ ├── auth_lang.php │ │ ├── calendar_lang.php │ │ ├── date_lang.php │ │ ├── db_lang.php │ │ ├── email_lang.php │ │ ├── form_validation_lang.php │ │ ├── ftp_lang.php │ │ ├── imglib_lang.php │ │ ├── index.html │ │ ├── ion_auth_lang.php │ │ ├── migration_lang.php │ │ ├── number_lang.php │ │ ├── pagination_lang.php │ │ ├── profiler_lang.php │ │ ├── unit_test_lang.php │ │ └── upload_lang.php │ └── spanish │ │ ├── app_files │ │ └── welcome_index_lang.php │ │ └── app_lang.php ├── libraries │ ├── Bcrypt.php │ ├── Flashing.php │ ├── Image_nation.php │ ├── Ion_auth.php │ ├── MY_Form_validation.php │ ├── MY_Upload.php │ ├── Menus_creator.php │ ├── Postal.php │ └── index.html ├── logs │ └── index.html ├── matches.php ├── matches │ └── templates │ │ ├── controller.txt │ │ └── model.txt ├── models │ ├── Banned_model.php │ ├── Content_model.php │ ├── Content_translation_model.php │ ├── Dictionary_model.php │ ├── Image_model.php │ ├── Ion_auth_model.php │ ├── Keyphrase_model.php │ ├── Keyword_model.php │ ├── Language_model.php │ ├── Menu_item_model.php │ ├── Menu_item_translation_model.php │ ├── Menu_model.php │ ├── Phrase_model.php │ ├── Slug_model.php │ ├── Website_model.php │ └── index.html ├── third_party │ └── index.html ├── vendor │ ├── autoload.php │ └── composer │ │ ├── ClassLoader.php │ │ ├── autoload_classmap.php │ │ ├── autoload_namespaces.php │ │ ├── autoload_psr4.php │ │ ├── autoload_real.php │ │ └── installed.json └── views │ ├── admin │ ├── contents │ │ ├── create_view.php │ │ ├── edit_view.php │ │ └── index_view.php │ ├── dashboard_view.php │ ├── dictionary │ │ ├── create_view.php │ │ ├── edit_view.php │ │ └── index_view.php │ ├── groups │ │ ├── create_view.php │ │ ├── edit_view.php │ │ └── index_view.php │ ├── images │ │ ├── edit_title_view.php │ │ ├── index_view.php │ │ └── upload_featured_view.php │ ├── languages │ │ ├── create_view.php │ │ ├── edit_view.php │ │ └── index_view.php │ ├── login_view.php │ ├── master │ │ └── index_view.php │ ├── menus │ │ ├── create_item_view.php │ │ ├── create_menu_view.php │ │ ├── edit_item_view.php │ │ ├── edit_menu_view.php │ │ ├── index_items_view.php │ │ └── index_view.php │ ├── rake │ │ ├── edit_view.php │ │ └── index_view.php │ ├── user │ │ └── profile_view.php │ ├── users │ │ ├── create_view.php │ │ ├── edit_view.php │ │ └── index_view.php │ └── verify_view.php │ ├── errors │ ├── cli │ │ ├── error_404.php │ │ ├── error_db.php │ │ ├── error_exception.php │ │ ├── error_general.php │ │ ├── error_php.php │ │ └── index.html │ ├── html │ │ ├── error_404.php │ │ ├── error_db.php │ │ ├── error_exception.php │ │ ├── error_general.php │ │ ├── error_php.php │ │ └── index.html │ └── index.html │ ├── index.html │ ├── public │ ├── category_view.php │ ├── homepage_view.php │ ├── page_view.php │ └── post_view.php │ ├── templates │ ├── _parts │ │ ├── admin_master_footer_view.php │ │ ├── admin_master_header_view.php │ │ ├── public_master_footer_view.php │ │ ├── public_master_header_view.php │ │ └── user_menu_admin_view.php │ ├── admin_master_view.php │ └── public_master_view.php │ └── welcome_message.php ├── assets ├── .htaccess ├── admin │ ├── css │ │ ├── bootstrap-datetimepicker.min.css │ │ ├── bootstrap-theme.css │ │ ├── bootstrap-theme.css.map │ │ ├── bootstrap-theme.min.css │ │ ├── bootstrap.css │ │ ├── bootstrap.css.map │ │ ├── bootstrap.min.css │ │ └── textext │ │ │ ├── arrow.png │ │ │ ├── close.png │ │ │ ├── textext.core.css │ │ │ ├── textext.plugin.arrow.css │ │ │ ├── textext.plugin.autocomplete.css │ │ │ ├── textext.plugin.clear.css │ │ │ ├── textext.plugin.focus.css │ │ │ ├── textext.plugin.prompt.css │ │ │ └── textext.plugin.tags.css │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ └── js │ │ ├── bootstrap-datetimepicker.min.js │ │ ├── bootstrap.js │ │ ├── bootstrap.min.js │ │ ├── moment.js │ │ ├── npm.js │ │ ├── textext.core.js │ │ ├── textext.plugin.ajax.js │ │ ├── textext.plugin.arrow.js │ │ ├── textext.plugin.autocomplete.js │ │ ├── textext.plugin.clear.js │ │ ├── textext.plugin.filter.js │ │ ├── textext.plugin.focus.js │ │ ├── textext.plugin.prompt.js │ │ ├── textext.plugin.suggestions.js │ │ ├── textext.plugin.tags.js │ │ └── tinymce │ │ ├── jquery.tinymce.min.js │ │ ├── langs │ │ └── readme.md │ │ ├── license.txt │ │ ├── plugins │ │ ├── advlist │ │ │ └── plugin.min.js │ │ ├── anchor │ │ │ └── plugin.min.js │ │ ├── autolink │ │ │ └── plugin.min.js │ │ ├── autoresize │ │ │ └── plugin.min.js │ │ ├── autosave │ │ │ └── plugin.min.js │ │ ├── bbcode │ │ │ └── plugin.min.js │ │ ├── charmap │ │ │ └── plugin.min.js │ │ ├── code │ │ │ └── plugin.min.js │ │ ├── colorpicker │ │ │ └── plugin.min.js │ │ ├── contextmenu │ │ │ └── plugin.min.js │ │ ├── directionality │ │ │ └── plugin.min.js │ │ ├── emoticons │ │ │ ├── img │ │ │ │ ├── smiley-cool.gif │ │ │ │ ├── smiley-cry.gif │ │ │ │ ├── smiley-embarassed.gif │ │ │ │ ├── smiley-foot-in-mouth.gif │ │ │ │ ├── smiley-frown.gif │ │ │ │ ├── smiley-innocent.gif │ │ │ │ ├── smiley-kiss.gif │ │ │ │ ├── smiley-laughing.gif │ │ │ │ ├── smiley-money-mouth.gif │ │ │ │ ├── smiley-sealed.gif │ │ │ │ ├── smiley-smile.gif │ │ │ │ ├── smiley-surprised.gif │ │ │ │ ├── smiley-tongue-out.gif │ │ │ │ ├── smiley-undecided.gif │ │ │ │ ├── smiley-wink.gif │ │ │ │ └── smiley-yell.gif │ │ │ └── plugin.min.js │ │ ├── example │ │ │ ├── dialog.html │ │ │ └── plugin.min.js │ │ ├── example_dependency │ │ │ └── plugin.min.js │ │ ├── fullpage │ │ │ └── plugin.min.js │ │ ├── fullscreen │ │ │ └── plugin.min.js │ │ ├── hr │ │ │ └── plugin.min.js │ │ ├── image │ │ │ └── plugin.min.js │ │ ├── importcss │ │ │ └── plugin.min.js │ │ ├── insertdatetime │ │ │ └── plugin.min.js │ │ ├── layer │ │ │ └── plugin.min.js │ │ ├── legacyoutput │ │ │ └── plugin.min.js │ │ ├── link │ │ │ └── plugin.min.js │ │ ├── lists │ │ │ └── plugin.min.js │ │ ├── media │ │ │ ├── moxieplayer.swf │ │ │ └── plugin.min.js │ │ ├── nonbreaking │ │ │ └── plugin.min.js │ │ ├── noneditable │ │ │ └── plugin.min.js │ │ ├── pagebreak │ │ │ └── plugin.min.js │ │ ├── paste │ │ │ └── plugin.min.js │ │ ├── preview │ │ │ └── plugin.min.js │ │ ├── print │ │ │ └── plugin.min.js │ │ ├── save │ │ │ └── plugin.min.js │ │ ├── searchreplace │ │ │ └── plugin.min.js │ │ ├── spellchecker │ │ │ └── plugin.min.js │ │ ├── tabfocus │ │ │ └── plugin.min.js │ │ ├── table │ │ │ └── plugin.min.js │ │ ├── template │ │ │ └── plugin.min.js │ │ ├── textcolor │ │ │ └── plugin.min.js │ │ ├── textpattern │ │ │ └── plugin.min.js │ │ ├── visualblocks │ │ │ ├── css │ │ │ │ └── visualblocks.css │ │ │ └── plugin.min.js │ │ ├── visualchars │ │ │ └── plugin.min.js │ │ └── wordcount │ │ │ └── plugin.min.js │ │ ├── skins │ │ ├── light │ │ │ ├── content.inline.min.css │ │ │ ├── content.min.css │ │ │ ├── fonts │ │ │ │ ├── tinymce-small.eot │ │ │ │ ├── tinymce-small.json │ │ │ │ ├── tinymce-small.svg │ │ │ │ ├── tinymce-small.ttf │ │ │ │ ├── tinymce-small.woff │ │ │ │ ├── tinymce.eot │ │ │ │ ├── tinymce.json │ │ │ │ ├── tinymce.svg │ │ │ │ ├── tinymce.ttf │ │ │ │ └── tinymce.woff │ │ │ ├── img │ │ │ │ ├── anchor.gif │ │ │ │ ├── loader.gif │ │ │ │ ├── object.gif │ │ │ │ └── trans.gif │ │ │ ├── skin.ie7.min.css │ │ │ └── skin.min.css │ │ └── lightgray │ │ │ ├── content.inline.min.css │ │ │ ├── content.min.css │ │ │ ├── fonts │ │ │ ├── tinymce-small.eot │ │ │ ├── tinymce-small.svg │ │ │ ├── tinymce-small.ttf │ │ │ ├── tinymce-small.woff │ │ │ ├── tinymce.eot │ │ │ ├── tinymce.svg │ │ │ ├── tinymce.ttf │ │ │ └── tinymce.woff │ │ │ ├── img │ │ │ ├── anchor.gif │ │ │ ├── loader.gif │ │ │ ├── object.gif │ │ │ └── trans.gif │ │ │ ├── skin.ie7.min.css │ │ │ └── skin.min.css │ │ ├── themes │ │ └── modern │ │ │ └── theme.min.js │ │ └── tinymce.min.js └── index.html ├── index.php ├── multilanguage.sql └── system ├── .htaccess ├── core ├── Benchmark.php ├── CodeIgniter.php ├── Common.php ├── Config.php ├── Controller.php ├── Exceptions.php ├── Hooks.php ├── Input.php ├── Lang.php ├── Loader.php ├── Log.php ├── Model.php ├── Output.php ├── Router.php ├── Security.php ├── URI.php ├── Utf8.php ├── compat │ ├── hash.php │ ├── index.html │ ├── mbstring.php │ ├── password.php │ └── standard.php └── index.html ├── database ├── DB.php ├── DB_cache.php ├── DB_driver.php ├── DB_forge.php ├── DB_query_builder.php ├── DB_result.php ├── DB_utility.php ├── drivers │ ├── cubrid │ │ ├── cubrid_driver.php │ │ ├── cubrid_forge.php │ │ ├── cubrid_result.php │ │ ├── cubrid_utility.php │ │ └── index.html │ ├── ibase │ │ ├── ibase_driver.php │ │ ├── ibase_forge.php │ │ ├── ibase_result.php │ │ ├── ibase_utility.php │ │ └── index.html │ ├── index.html │ ├── mssql │ │ ├── index.html │ │ ├── mssql_driver.php │ │ ├── mssql_forge.php │ │ ├── mssql_result.php │ │ └── mssql_utility.php │ ├── mysql │ │ ├── index.html │ │ ├── mysql_driver.php │ │ ├── mysql_forge.php │ │ ├── mysql_result.php │ │ └── mysql_utility.php │ ├── mysqli │ │ ├── index.html │ │ ├── mysqli_driver.php │ │ ├── mysqli_forge.php │ │ ├── mysqli_result.php │ │ └── mysqli_utility.php │ ├── oci8 │ │ ├── index.html │ │ ├── oci8_driver.php │ │ ├── oci8_forge.php │ │ ├── oci8_result.php │ │ └── oci8_utility.php │ ├── odbc │ │ ├── index.html │ │ ├── odbc_driver.php │ │ ├── odbc_forge.php │ │ ├── odbc_result.php │ │ └── odbc_utility.php │ ├── pdo │ │ ├── index.html │ │ ├── pdo_driver.php │ │ ├── pdo_forge.php │ │ ├── pdo_result.php │ │ ├── pdo_utility.php │ │ └── subdrivers │ │ │ ├── index.html │ │ │ ├── pdo_4d_driver.php │ │ │ ├── pdo_4d_forge.php │ │ │ ├── pdo_cubrid_driver.php │ │ │ ├── pdo_cubrid_forge.php │ │ │ ├── pdo_dblib_driver.php │ │ │ ├── pdo_dblib_forge.php │ │ │ ├── pdo_firebird_driver.php │ │ │ ├── pdo_firebird_forge.php │ │ │ ├── pdo_ibm_driver.php │ │ │ ├── pdo_ibm_forge.php │ │ │ ├── pdo_informix_driver.php │ │ │ ├── pdo_informix_forge.php │ │ │ ├── pdo_mysql_driver.php │ │ │ ├── pdo_mysql_forge.php │ │ │ ├── pdo_oci_driver.php │ │ │ ├── pdo_oci_forge.php │ │ │ ├── pdo_odbc_driver.php │ │ │ ├── pdo_odbc_forge.php │ │ │ ├── pdo_pgsql_driver.php │ │ │ ├── pdo_pgsql_forge.php │ │ │ ├── pdo_sqlite_driver.php │ │ │ ├── pdo_sqlite_forge.php │ │ │ ├── pdo_sqlsrv_driver.php │ │ │ └── pdo_sqlsrv_forge.php │ ├── postgre │ │ ├── index.html │ │ ├── postgre_driver.php │ │ ├── postgre_forge.php │ │ ├── postgre_result.php │ │ └── postgre_utility.php │ ├── sqlite │ │ ├── index.html │ │ ├── sqlite_driver.php │ │ ├── sqlite_forge.php │ │ ├── sqlite_result.php │ │ └── sqlite_utility.php │ ├── sqlite3 │ │ ├── index.html │ │ ├── sqlite3_driver.php │ │ ├── sqlite3_forge.php │ │ ├── sqlite3_result.php │ │ └── sqlite3_utility.php │ └── sqlsrv │ │ ├── index.html │ │ ├── sqlsrv_driver.php │ │ ├── sqlsrv_forge.php │ │ ├── sqlsrv_result.php │ │ └── sqlsrv_utility.php └── index.html ├── fonts ├── index.html └── texb.ttf ├── helpers ├── array_helper.php ├── captcha_helper.php ├── cookie_helper.php ├── date_helper.php ├── directory_helper.php ├── download_helper.php ├── email_helper.php ├── file_helper.php ├── form_helper.php ├── html_helper.php ├── index.html ├── inflector_helper.php ├── language_helper.php ├── number_helper.php ├── path_helper.php ├── security_helper.php ├── smiley_helper.php ├── string_helper.php ├── text_helper.php ├── typography_helper.php ├── url_helper.php └── xml_helper.php ├── index.html ├── language ├── english │ ├── calendar_lang.php │ ├── date_lang.php │ ├── db_lang.php │ ├── email_lang.php │ ├── form_validation_lang.php │ ├── ftp_lang.php │ ├── imglib_lang.php │ ├── index.html │ ├── migration_lang.php │ ├── number_lang.php │ ├── pagination_lang.php │ ├── profiler_lang.php │ ├── unit_test_lang.php │ └── upload_lang.php └── index.html └── libraries ├── Cache ├── Cache.php ├── drivers │ ├── Cache_apc.php │ ├── Cache_dummy.php │ ├── Cache_file.php │ ├── Cache_memcached.php │ ├── Cache_redis.php │ ├── Cache_wincache.php │ └── index.html └── index.html ├── Calendar.php ├── Cart.php ├── Driver.php ├── Email.php ├── Encrypt.php ├── Encryption.php ├── Form_validation.php ├── Ftp.php ├── Image_lib.php ├── Javascript.php ├── Javascript ├── Jquery.php └── index.html ├── Migration.php ├── Pagination.php ├── Parser.php ├── Profiler.php ├── Session ├── Session.php ├── SessionHandlerInterface.php ├── Session_driver.php ├── drivers │ ├── Session_database_driver.php │ ├── Session_files_driver.php │ ├── Session_memcached_driver.php │ ├── Session_redis_driver.php │ └── index.html └── index.html ├── Table.php ├── Trackback.php ├── Typography.php ├── Unit_test.php ├── Upload.php ├── User_agent.php ├── Xmlrpc.php ├── Xmlrpcs.php ├── Zip.php └── index.html /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Windows image file caches 2 | Thumbs.db 3 | ehthumbs.db 4 | 5 | # Folder config file 6 | Desktop.ini 7 | 8 | # Recycle Bin used on file shares 9 | $RECYCLE.BIN/ 10 | 11 | # Windows Installer files 12 | *.cab 13 | *.msi 14 | *.msm 15 | *.msp 16 | 17 | # Windows shortcuts 18 | *.lnk 19 | 20 | # ========================= 21 | # Operating System Files 22 | # ========================= 23 | 24 | # OSX 25 | # ========================= 26 | 27 | .DS_Store 28 | .AppleDouble 29 | .LSOverride 30 | 31 | # Thumbnails 32 | ._* 33 | 34 | # Files that might appear on external disk 35 | .Spotlight-V100 36 | .Trashes 37 | 38 | # Directories potentially created on remote AFP share 39 | .AppleDB 40 | .AppleDesktop 41 | Network Trash Folder 42 | Temporary Items 43 | .apdisk 44 | .idea 45 | system 46 | media 47 | uploads 48 | application/session 49 | .gitignore 50 | application/cache -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | RewriteEngine On 2 | SetEnvIf Host www.yoursite.tld$ CI_ENV=production 3 | #SetEnvIf Host test.yoursite.tld$ CI_ENV=testing 4 | SetEnvIf Host localhost$ CI_ENV=development 5 | 6 | RewriteCond $1 !^(index\\.php|resources|robots\\.txt) 7 | RewriteCond %{REQUEST_FILENAME} !-f 8 | RewriteCond %{REQUEST_FILENAME} !-d 9 | RewriteRule ^(.*)$ index.php?/$1 [L,QSA] -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CodeIgniter-multilanguage-site 2 | A multi-language site created in CodeIgniter 3 3 | 4 | 1. First of all, import the SQL file into the database. 5 | 6 | 2. Go to the database.php file in application/config and update the database settings accordingly to your settings. 7 | 8 | 3. Go to the config.php file in application/config, change the ```$config['base_url']```, ```$config['sess_cookie_name']```, ```$config['csrf_token_name']```, ```$config['csrf_cookie_name']```, add an ```$config['encryption_key']```. 9 | 10 | 4. Go to yoursite/admin, login with username: "administrator" and password: "password". 11 | 12 | This is not a final product. Take care. If you have issues to report, I would be more than happy to find a solutions. If you don't understand something, you can write me at avenir.ro[@]gmail(.)com 13 | 14 | Questions? Ask away... 15 | -------------------------------------------------------------------------------- /application/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Require all denied 3 | 4 | 5 | Deny from all 6 | -------------------------------------------------------------------------------- /application/cache/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Require all denied 3 | 4 | 5 | Deny from all 6 | -------------------------------------------------------------------------------- /application/cache/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "description" : "CodeIgniter application", 3 | "name" : "Avenirer/ciApp", 4 | "require": { 5 | "php": ">=5.3" 6 | } 7 | } -------------------------------------------------------------------------------- /application/composer.lock: -------------------------------------------------------------------------------- 1 | { 2 | "_readme": [ 3 | "This file locks the dependencies of your project to a known state", 4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", 5 | "This file is @generated automatically" 6 | ], 7 | "hash": "96bd2f6695d952c74614af51d344e3b0", 8 | "packages": [], 9 | "packages-dev": [], 10 | "aliases": [], 11 | "minimum-stability": "stable", 12 | "stability-flags": [], 13 | "prefer-stable": false, 14 | "prefer-lowest": false, 15 | "platform": { 16 | "php": ">=5.3" 17 | }, 18 | "platform-dev": [] 19 | } 20 | -------------------------------------------------------------------------------- /application/config/_email.php: -------------------------------------------------------------------------------- 1 | '', 6 | 'xhtml1-strict' => '', 7 | 'xhtml1-trans' => '', 8 | 'xhtml1-frame' => '', 9 | 'xhtml-basic11' => '', 10 | 'html5' => '', 11 | 'html4-strict' => '', 12 | 'html4-trans' => '', 13 | 'html4-frame' => '', 14 | 'mathml1' => '', 15 | 'mathml2' => '', 16 | 'svg10' => '', 17 | 'svg11' => '', 18 | 'svg11-basic' => '', 19 | 'svg11-tiny' => '', 20 | 'xhtml-math-svg-xh' => '', 21 | 'xhtml-math-svg-sh' => '', 22 | 'xhtml-rdfa-1' => '', 23 | 'xhtml-rdfa-2' => '' 24 | ); 25 | -------------------------------------------------------------------------------- /application/config/hooks.php: -------------------------------------------------------------------------------- 1 | 'center','horizontal'=>'center'); // here we say what is our preference when the cropping is done. we want the cropping to be done from the center of the image (where the action is actually happening inside a photo) 11 | $config['overwrite_images'] = FALSE; // if we are sure that there is no possibility that the overwriting of existing files would affect our application, we can set this one to TRUE. but I think is much better to leave it to FALSE 12 | $config['default_quality'] = '70%'; // we can set a default quality for the processed image. Usually should be set to 70% -------------------------------------------------------------------------------- /application/config/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/config/memcached.php: -------------------------------------------------------------------------------- 1 | array( 15 | 'hostname' => '127.0.0.1', 16 | 'port' => '11211', 17 | 'weight' => '1', 18 | ), 19 | ); 20 | -------------------------------------------------------------------------------- /application/config/postal.php: -------------------------------------------------------------------------------- 1 | array(''), 4 | 'error' => array(''), 5 | 'message' => array('
', '
')); -------------------------------------------------------------------------------- /application/config/profiler.php: -------------------------------------------------------------------------------- 1 | array( 15 | 'willkommen/list' => 'welcome/list', 16 | 'willkommen' => 'welcome' 17 | ), 18 | 'fr' => array( 19 | 'bienvenu/list' => 'welcome/list', 20 | 'bienvenu' => 'welcome' 21 | ) 22 | ); 23 | 24 | 25 | //$route['^(\w{2})/(.*)$'] = '$2'; 26 | //$route['^(\w{2})$'] = $route['default_controller']; 27 | 28 | $route['^(\w{2})/(.*)'] = function($language, $link) use ($controllers_methods) 29 | { 30 | if(array_key_exists($language,$controllers_methods)) 31 | { 32 | foreach ($controllers_methods[$language] as $key => $sym_link) { 33 | if (strrpos($link, $key, 0) !== FALSE) { 34 | $new_link = ltrim($link, $key); 35 | $new_link = $sym_link . $new_link; 36 | return $new_link; 37 | } 38 | else 39 | { 40 | return 'findcontent/index'; 41 | } 42 | } 43 | } 44 | else 45 | { 46 | return $link; 47 | } 48 | }; 49 | $route['^(\w{2})$'] = $route['default_controller']; 50 | 51 | /* End of file routes.php */ 52 | /* Location: ./application/config/routes.php */ -------------------------------------------------------------------------------- /application/controllers/Offline.php: -------------------------------------------------------------------------------- 1 | render('public/homepage_view'); 16 | } 17 | } -------------------------------------------------------------------------------- /application/controllers/admin/Dashboard.php: -------------------------------------------------------------------------------- 1 | render('admin/dashboard_view'); 16 | 17 | } 18 | 19 | public function clear_cache() 20 | { 21 | $leave_files = array('.htaccess', 'index.html'); 22 | $i = 0; 23 | foreach( glob(APPPATH.'cache/*') as $file ) { 24 | if(!in_array(basename($file), $leave_files)) 25 | { 26 | unlink($file); 27 | $i++; 28 | } 29 | } 30 | $this->session->set_flashdata('message', $i.' files were deleted from the cache directory.'); 31 | redirect('admin','refresh'); 32 | } 33 | } -------------------------------------------------------------------------------- /application/controllers/admin/Preview.php: -------------------------------------------------------------------------------- 1 | ion_auth->in_group('admin')) 15 | { 16 | $this->session->set_flashdata('message','You are not allowed to visit the RAKE page'); 17 | redirect('admin','refresh'); 18 | } 19 | $this->load->model('content_model'); 20 | $this->load->model('content_translation_model'); 21 | $this->load->model('keyword_model'); 22 | $this->load->model('keyphrase_model'); 23 | $this->load->library('form_validation'); 24 | $this->load->helper('text'); 25 | 26 | } 27 | } -------------------------------------------------------------------------------- /application/controllers/admin/Slugs.php: -------------------------------------------------------------------------------- 1 | ion_auth->in_group('admin')) 10 | { 11 | $this->postal->add('You are not allowed to visit the Slugs page','error'); 12 | redirect('admin'); 13 | } 14 | $this->load->model('slug_model'); 15 | $this->load->library('form_validation'); 16 | $this->load->helper('text'); 17 | } 18 | 19 | private function _verify_slug($str,$language) 20 | { 21 | if($this->slug_model->where(array('url'=>$str,'language_slug'=>$language))->get() !== FALSE) 22 | { 23 | $parts = explode('-',$str); 24 | if(is_numeric($parts[sizeof($parts)-1])) 25 | { 26 | $parts[sizeof($parts)-1] = $parts[sizeof($parts)-1]++; 27 | } 28 | else 29 | { 30 | $parts[] = '1'; 31 | } 32 | $str = implode('-',$parts); 33 | $this->_verify_slug($str,$language); 34 | } 35 | return $str; 36 | } 37 | 38 | public function delete($slug_id) 39 | { 40 | if($this->slug_model->delete($slug_id)) 41 | { 42 | $this->postal->add('The slug was deleted','success'); 43 | } 44 | else 45 | { 46 | $this->postal->add('There is no slug with that ID.','error'); 47 | } 48 | redirect($_SERVER['HTTP_REFERER']); 49 | 50 | } 51 | } -------------------------------------------------------------------------------- /application/controllers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/core/MY_Loader.php: -------------------------------------------------------------------------------- 1 | _ci_classes; 10 | } 11 | public function get_loaded_helpers() 12 | { 13 | $loaded_helpers = array(); 14 | if(sizeof($this->_ci_helpers)!== 0) { 15 | foreach ($this->_ci_helpers as $key => $value) 16 | { 17 | $loaded_helpers[] = $key; 18 | } 19 | } 20 | return $loaded_helpers; 21 | } 22 | public function get_loaded_models() 23 | { 24 | return $this->_ci_models; 25 | } 26 | } 27 | /* End of file 'MY_Loader' */ 28 | /* Location: ./application/core/MY_Loader.php */ -------------------------------------------------------------------------------- /application/core/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/helpers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/hooks/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/language/english/app_files/welcome_index_lang.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/language/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/language/romanian/app_files/welcome_index_lang.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/language/romanian/migration_lang.php: -------------------------------------------------------------------------------- 1 | ci = & get_instance(); 8 | $this->ci->load->library('session'); 9 | } 10 | 11 | function clear($type = null) { 12 | if (!empty($type)) { 13 | $messages = $_SESSION['messages']; 14 | if (!is_array($messages)) { 15 | $messages = array(); 16 | } 17 | 18 | if (array_key_exists($type, $messages)) { 19 | unset($messages[$type]); 20 | } 21 | 22 | $_SESSION['messages']; 23 | } else { 24 | $_SESSION['messages'] = array(); 25 | } 26 | } 27 | 28 | function add($message, $type = 'message') { 29 | $messages = $_SESSION['messages']; 30 | if (!is_array($messages)) { 31 | $messages = array(); 32 | } 33 | 34 | if (is_a($message, 'Exception')) { 35 | $message = $message->getMessage(); 36 | $type = 'error'; 37 | } 38 | 39 | if ((!isset($messages[$type]) || !in_array($message, $messages[$type])) && is_string($message) && $message) { 40 | $messages[$type][] = $message; 41 | } 42 | 43 | $_SESSION['messages'] = $messages; 44 | } 45 | 46 | function count($type = null) { 47 | $messages = $_SESSION['messages']; 48 | if (!is_array($messages)) { 49 | $messages = array(); 50 | } 51 | 52 | if (!empty($type)) { 53 | if (array_key_exists($type, $messages)) { 54 | return count($messages[$type]); 55 | } else { 56 | return 0; 57 | } 58 | } 59 | 60 | $i = 0; 61 | foreach ($messages as $type => $m) { 62 | $i += count($messages[$type]); 63 | } 64 | return $i; 65 | } 66 | 67 | function get($type = null) { 68 | $messages = $_SESSION['messages']; 69 | if (!is_array($messages)) { 70 | $messages = array(); 71 | } 72 | 73 | if (!empty($type)) { 74 | if (array_key_exists($type, $messages)) { 75 | $messages = $messages[$type]; 76 | $this->clear($type); 77 | return $messages; 78 | } else { 79 | return array(); 80 | } 81 | } 82 | 83 | $this->clear(); 84 | return $messages; 85 | } 86 | } -------------------------------------------------------------------------------- /application/libraries/MY_Form_validation.php: -------------------------------------------------------------------------------- 1 | 23 || (int) $time_values[1]>59 || (int) $time_values[2]>59) 24 | { 25 | return FALSE; 26 | } 27 | return TRUE; 28 | } 29 | return FALSE; 30 | } 31 | } -------------------------------------------------------------------------------- /application/libraries/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/logs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/matches/templates/controller.txt: -------------------------------------------------------------------------------- 1 | array( 17 | 'ip' => array('field'=>'ip','label'=>'IP','rules'=>'trim|required|is_unique[banned.ip]') 18 | ) 19 | ); 20 | } -------------------------------------------------------------------------------- /application/models/Content_translation_model.php: -------------------------------------------------------------------------------- 1 | has_one['content_type'] = array('foreign_model'=>'Content_model','foreign_table'=>'contents','foreign_key'=>'id','local_key'=>'content_id'); 17 | $this->has_one['slug'] = array('foreign_model'=>'Slug_model','foreign_table'=>'slugs','foreign_key'=>'translation_id','local_key'=>'id'); 18 | } 19 | 20 | public function created_by($data) 21 | { 22 | $data['created_by'] = $this->user_id; 23 | return $data; 24 | } 25 | 26 | public function updated_by($data) 27 | { 28 | $data['updated_by'] = $this->user_id; 29 | return $data; 30 | } 31 | 32 | public function get_category_posts($content_id,$language_slug,$page_number) 33 | { 34 | $this->_database->select('content_translations.title,content_translations.teaser,content_translations.created_at,content_translations.updated_at,slugs.url'); 35 | $this->_database->where('content_translations.language_slug',$language_slug); 36 | $this->_database->where('contents.content_type','post'); 37 | $this->_database->where('contents.parent_id',$content_id); 38 | $this->_database->where('slugs.content_type','post'); 39 | $this->_database->order_by('content_translations.updated_at, content_translations.created_at','DESC'); 40 | $this->_database->limit(10,($page_number-1)*10); 41 | $this->_database->join('contents','content_translations.content_id = contents.id'); 42 | $this->_database->join('slugs','content_translations.id = slugs.translation_id AND slugs.content_type = \'post\''); 43 | $query = $this->_database->get('content_translations'); 44 | return $query->result(); 45 | } 46 | } -------------------------------------------------------------------------------- /application/models/Dictionary_model.php: -------------------------------------------------------------------------------- 1 | pagination_delimiters = array('
  • ','
  • '); 14 | $this->pagination_arrows = array('',''); 15 | parent::__construct(); 16 | } 17 | 18 | public $rules = array( 19 | 'insert' => array( 20 | 'word' => array('field'=>'word','label'=>'Word','rules'=>'trim|required'), 21 | 'root_word' => array('field'=>'root_word','label'=>'Root of word','rules'=>'trim'), 22 | 'noise_word' => array('field'=>'noise_word','label'=>'Noise word','rules'=>'trim'), 23 | 'language_slug' => array('field'=>'language_slug','label'=>'language_slug','rules'=>'trim|required') 24 | ), 25 | 'update' => array( 26 | 'word' => array('field'=>'word','label'=>'Word','rules'=>'trim|required'), 27 | 'root_word' => array('field'=>'root_word','label'=>'Root of word','rules'=>'trim'), 28 | 'noise_word' => array('field'=>'noise_word','label'=>'Noise word','rules'=>'trim'), 29 | 'word_id' => array('field'=>'word_id', 'label'=>'Word ID', 'rules'=>'trim|is_natural_no_zero|required'), 30 | 'language_slug' => array('field'=>'language_slug','label'=>'language_slug','rules'=>'trim|required') 31 | ) 32 | ); 33 | } -------------------------------------------------------------------------------- /application/models/Image_model.php: -------------------------------------------------------------------------------- 1 | has_many['translations'] = array('Post_translation_model','post_id','id'); 11 | $this->has_one['category'] = array('Category_model','id','category_id'); 12 | $this->pagination_delimiters = array('
  • ','
  • '); 13 | $this->pagination_arrows = array('',''); 14 | parent::__construct(); 15 | } 16 | 17 | public $rules = array( 18 | 'insert' => array( 19 | //'content_type' => array('field'=>'content_type','label'=>'Content type', 'rules'=>'trim|required'), 20 | 'content_id' => array('field'=>'content_id','label'=>'Content ID','rules'=>'trim|is_natural_no_zero|required'), 21 | 'titles' => array('field'=>'titles','label'=>'Title(s)','rules'=>'trim'), 22 | 'file_names' => array('field'=>'file_names','label'=>'File name(s)','rules'=>'trim') 23 | ), 24 | 'update_title' => array( 25 | 'title' => array('field'=>'title','label'=>'Title','rules'=>'trim|required'), 26 | 'image_id' => array('field'=>'image_id','label'=>'Image ID','rules'=>'trim|is_natural_no_zero|required') 27 | ) 28 | /* 29 | 'update' => array( 30 | 'category_id' => array('field'=>'category_id','label'=>'Parent category ID','rules'=>'trim|is_natural|required'), 31 | 'title' => array('field'=>'title','label'=>'Title','rules'=>'trim|required'), 32 | 'short_title' => array('field'=>'short_title','label'=>'Short title','rules'=>'trim'), 33 | 'slug' => array('field'=>'slug', 'label'=>'Slug', 'rules'=>'trim'), 34 | 'teaser' => array('field'=>'teaser','label'=>'Teaser','rules'=>'trim'), 35 | 'content' => array('field'=>'content','label'=>'Content','rules'=>'trim|required'), 36 | 'page_title' => array('field'=>'page_title','label'=>'Page title','rules'=>'trim|required'), 37 | 'page_description' => array('field'=>'page_description','label'=>'Page description','rules'=>'trim'), 38 | 'page_keywords' => array('field'=>'page_keywords','label'=>'Page keywords','rules'=>'trim'), 39 | 'translation_id' => array('field'=>'translation_id', 'label'=>'Translation ID', 'rules'=>'trim|is_natural_no_zero|required'), 40 | 'post_id' => array('field'=>'post_id', 'label'=>'Post ID', 'rules'=>'trim|is_natural_no_zero|required'), 41 | 'language_slug' => array('field'=>'language_slug','label'=>'language_slug','rules'=>'trim|required') 42 | )*/ 43 | ); 44 | } -------------------------------------------------------------------------------- /application/models/Keyphrase_model.php: -------------------------------------------------------------------------------- 1 | pagination_delimiters = array('
  • ','
  • '); 14 | $this->pagination_arrows = array('',''); 15 | parent::__construct(); 16 | } 17 | /* 18 | public $rules = array( 19 | 'insert' => array( 20 | 'parent_id' => array('field'=>'parent_id','label'=>'Parent ID','rules'=>'trim|is_natural|required'), 21 | 'title' => array('field'=>'title','label'=>'Title','rules'=>'trim|required'), 22 | 'menu_title' => array('field'=>'menu_title','label'=>'Menu title','rules'=>'trim'), 23 | 'slug' => array('field'=>'slug', 'label'=>'Slug', 'rules'=>'trim'), 24 | 'order' => array('field'=>'order','label'=>'Order','rules'=>'trim|is_natural|required'), 25 | 'page_title' => array('field'=>'page_title','label'=>'Page title','rules'=>'trim'), 26 | 'page_description' => array('field'=>'page_description','label'=>'Page description','rules'=>'trim'), 27 | 'page_keywords' => array('field'=>'page_keywords','label'=>'Page keywords','rules'=>'trim'), 28 | 'category_id' => array('field'=>'category_id', 'label'=>'Category ID', 'rules'=>'trim|is_natural|required'), 29 | 'language_slug' => array('field'=>'language_slug','label'=>'language_slug','rules'=>'trim|required') 30 | ), 31 | 'update' => array( 32 | 'word' => array('field'=>'word','label'=>'Parent ID','rules'=>'trim|required'), 33 | 'root_word' => array('field'=>'root_word','label'=>'Title','rules'=>'trim'), 34 | 'noise_word' => array('field'=>'noise_word','label'=>'Noise word','rules'=>'trim'), 35 | 'word_id' => array('field'=>'word_id', 'label'=>'Word ID', 'rules'=>'trim|is_natural_no_zero|required'), 36 | 'language_slug' => array('field'=>'language_slug','label'=>'language_slug','rules'=>'trim|required') 37 | ) 38 | ); 39 | */ 40 | } -------------------------------------------------------------------------------- /application/models/Keyword_model.php: -------------------------------------------------------------------------------- 1 | pagination_delimiters = array('
  • ','
  • '); 14 | $this->pagination_arrows = array('',''); 15 | parent::__construct(); 16 | } 17 | /* 18 | public $rules = array( 19 | 'insert' => array( 20 | 'parent_id' => array('field'=>'parent_id','label'=>'Parent ID','rules'=>'trim|is_natural|required'), 21 | 'title' => array('field'=>'title','label'=>'Title','rules'=>'trim|required'), 22 | 'menu_title' => array('field'=>'menu_title','label'=>'Menu title','rules'=>'trim'), 23 | 'slug' => array('field'=>'slug', 'label'=>'Slug', 'rules'=>'trim'), 24 | 'order' => array('field'=>'order','label'=>'Order','rules'=>'trim|is_natural|required'), 25 | 'page_title' => array('field'=>'page_title','label'=>'Page title','rules'=>'trim'), 26 | 'page_description' => array('field'=>'page_description','label'=>'Page description','rules'=>'trim'), 27 | 'page_keywords' => array('field'=>'page_keywords','label'=>'Page keywords','rules'=>'trim'), 28 | 'category_id' => array('field'=>'category_id', 'label'=>'Category ID', 'rules'=>'trim|is_natural|required'), 29 | 'language_slug' => array('field'=>'language_slug','label'=>'language_slug','rules'=>'trim|required') 30 | ), 31 | 'update' => array( 32 | 'word' => array('field'=>'word','label'=>'Parent ID','rules'=>'trim|required'), 33 | 'root_word' => array('field'=>'root_word','label'=>'Title','rules'=>'trim'), 34 | 'noise_word' => array('field'=>'noise_word','label'=>'Noise word','rules'=>'trim'), 35 | 'word_id' => array('field'=>'word_id', 'label'=>'Word ID', 'rules'=>'trim|is_natural_no_zero|required'), 36 | 'language_slug' => array('field'=>'language_slug','label'=>'language_slug','rules'=>'trim|required') 37 | ) 38 | ); 39 | */ 40 | } -------------------------------------------------------------------------------- /application/models/Language_model.php: -------------------------------------------------------------------------------- 1 | timestamps = FALSE; 12 | $this->before_create[] = 'remove_defaults'; 13 | $this->before_update[] = 'remove_defaults'; 14 | parent::__construct(); 15 | } 16 | 17 | public $rules = array( 18 | 'insert' => array( 19 | 'language_name' => array('field'=>'language_name', 'label'=>'Language name', 'rules'=>'trim|required|is_unique[languages.language_name]'), 20 | 'slug' => array('field'=>'slug', 'label'=>'Slug', 'rules'=>'trim|alpha_dash|required|is_unique[languages.slug]'), 21 | 'language_directory' => array('field'=>'language_directory','label'=>'Language directory','rules'=>'trim|required'), 22 | 'language_code' => array('field'=>'language_code','label'=>'Language code','rules'=>'trim|alpha_dash|required|is_unique[languages.language_code]'), 23 | 'default' => array('field'=>'default','label'=>'Default','rules'=>'trim|in_list[0,1]') 24 | ), 25 | 'update' => array( 26 | 'language_name' => array('field'=>'language_name', 'label'=>'Language name','rules'=>'trim|required'), 27 | 'slug' => array('field'=>'slug','label'=>'Slug','rules'=>'trim|alpha_dash|required'), 28 | 'language_directory' => array('field'=>'language_directory','label'=>'Language directory','rules'=>'trim|required'), 29 | 'language_code' => array('field'=>'language_code','label'=>'Language code','rules'=>'trim|alpha_dash|required'), 30 | 'default' => array('field'=>'default','label'=>'Default','rules'=>'trim|in_list[0,1]'), 31 | 'language_id' => array('field'=>'language_id','label'=>'Language ID','rules'=>'trim|integer') 32 | ) 33 | ); 34 | 35 | public function remove_defaults($data) 36 | { 37 | if($data['default']=='1') 38 | { 39 | $this->db->where('default', '1'); 40 | $this->db->update('languages', array('default'=>'0')); 41 | } 42 | return $data; 43 | } 44 | } -------------------------------------------------------------------------------- /application/models/Menu_item_model.php: -------------------------------------------------------------------------------- 1 | has_many['translations'] = array('Menu_item_translation_model','item_id','id'); 13 | $this->pagination_delimiters = array('
  • ','
  • '); 14 | $this->pagination_arrows = array('',''); 15 | parent::__construct(); 16 | } 17 | 18 | public $rules = array( 19 | 'insert' => array( 20 | 'parent_id' => array('field'=>'parent_id','label'=>'Parent ID','rules'=>'trim|is_natural|required'), 21 | 'title' => array('field'=>'title','label'=>'Title','rules'=>'trim|required'), 22 | 'url' => array('field'=>'url', 'label'=>'URL', 'rules'=>'trim|required'), 23 | 'absolute_path' => array('field'=>'absolute_path','label'=>'Absolute path','rules'=>'trim|is_natural'), 24 | 'order' => array('field'=>'order','label'=>'Order','rules'=>'trim|is_natural|required'), 25 | 'styling' => array('field'=>'styling','label'=>'Additional styling','rules'=>'trim'), 26 | 'item_id' => array('field'=>'item_id', 'label'=>'item ID', 'rules'=>'trim|is_natural|required'), 27 | 'menu_id' => array('field'=>'menu_id', 'label'=>'Menu ID', 'rules'=>'trim|is_natural_no_zero|required'), 28 | 'language_slug' => array('field'=>'language_slug','label'=>'language_slug','rules'=>'trim|required') 29 | ), 30 | 'update' => array( 31 | 'parent_id' => array('field'=>'parent_id','label'=>'Parent ID','rules'=>'trim|is_natural|required'), 32 | 'title' => array('field'=>'title','label'=>'Title','rules'=>'trim|required'), 33 | 'url' => array('field'=>'url', 'label'=>'URL', 'rules'=>'trim|required'), 34 | 'absolute_path' => array('field'=>'absolute_path','label'=>'Absolute path','rules'=>'trim|is_natural'), 35 | 'order' => array('field'=>'order','label'=>'Order','rules'=>'trim|is_natural|required'), 36 | 'styling' => array('field'=>'styling','label'=>'Additional styling','rules'=>'trim'), 37 | 'item_id' => array('field'=>'item_id', 'label'=>'item ID', 'rules'=>'trim|is_natural|required'), 38 | 'menu_id' => array('field'=>'menu_id', 'label'=>'Menu ID', 'rules'=>'trim|is_natural_no_zero|required'), 39 | 'translation_id' => array('field'=>'translation_id', 'label'=>'Translation ID', 'rules'=>'trim|is_natural_no_zero|required'), 40 | 'language_slug' => array('field'=>'language_slug','label'=>'language_slug','rules'=>'trim|required') 41 | ) 42 | ); 43 | } -------------------------------------------------------------------------------- /application/models/Menu_item_translation_model.php: -------------------------------------------------------------------------------- 1 | has_one['menu_item'] = array('Menu_item_model','id','item_id'); 13 | parent::__construct(); 14 | } 15 | } -------------------------------------------------------------------------------- /application/models/Menu_model.php: -------------------------------------------------------------------------------- 1 | has_many['items'] = array('Menu_item_model','menu_id','id'); 13 | $this->pagination_delimiters = array('
  • ','
  • '); 14 | $this->pagination_arrows = array('',''); 15 | parent::__construct(); 16 | } 17 | 18 | public $rules = array( 19 | 'insert' => array( 20 | 'title' => array('field'=>'title','label'=>'Title','rules'=>'trim|required') 21 | ), 22 | 'update' => array( 23 | 'title' => array('field'=>'title','label'=>'Title','rules'=>'trim|required'), 24 | 'menu_id' => array('field'=>'menu_id', 'label'=>'ID', 'rules'=>'trim|is_natural_no_zero|required') 25 | ) 26 | ); 27 | } -------------------------------------------------------------------------------- /application/models/Phrase_model.php: -------------------------------------------------------------------------------- 1 | pagination_delimiters = array('
  • ','
  • '); 14 | $this->pagination_arrows = array('',''); 15 | parent::__construct(); 16 | } 17 | /* 18 | public $rules = array( 19 | 'insert' => array( 20 | 'parent_id' => array('field'=>'parent_id','label'=>'Parent ID','rules'=>'trim|is_natural|required'), 21 | 'title' => array('field'=>'title','label'=>'Title','rules'=>'trim|required'), 22 | 'menu_title' => array('field'=>'menu_title','label'=>'Menu title','rules'=>'trim'), 23 | 'slug' => array('field'=>'slug', 'label'=>'Slug', 'rules'=>'trim'), 24 | 'order' => array('field'=>'order','label'=>'Order','rules'=>'trim|is_natural|required'), 25 | 'page_title' => array('field'=>'page_title','label'=>'Page title','rules'=>'trim'), 26 | 'page_description' => array('field'=>'page_description','label'=>'Page description','rules'=>'trim'), 27 | 'page_keywords' => array('field'=>'page_keywords','label'=>'Page keywords','rules'=>'trim'), 28 | 'category_id' => array('field'=>'category_id', 'label'=>'Category ID', 'rules'=>'trim|is_natural|required'), 29 | 'language_slug' => array('field'=>'language_slug','label'=>'language_slug','rules'=>'trim|required') 30 | ), 31 | 'update' => array( 32 | 'word' => array('field'=>'word','label'=>'Parent ID','rules'=>'trim|required'), 33 | 'root_word' => array('field'=>'root_word','label'=>'Title','rules'=>'trim'), 34 | 'noise_word' => array('field'=>'noise_word','label'=>'Noise word','rules'=>'trim'), 35 | 'word_id' => array('field'=>'word_id', 'label'=>'Word ID', 'rules'=>'trim|is_natural_no_zero|required'), 36 | 'language_slug' => array('field'=>'language_slug','label'=>'language_slug','rules'=>'trim|required') 37 | ) 38 | ); 39 | */ 40 | } -------------------------------------------------------------------------------- /application/models/Website_model.php: -------------------------------------------------------------------------------- 1 | array( 17 | 'title' => array('field'=>'title','label'=>'Title','rules'=>'trim|required'), 18 | 'page_title' => array('field'=>'page_title','label'=>'Page title','rules'=>'trim'), 19 | 'admin_email' => array('field'=>'admin_email','label'=>'Admin email','rules'=>'trim|valid_email|required'), 20 | 'contact_email' => array('field'=>'contact_email', 'label'=>'Contact email', 'rules'=>'trim|valid_email') 21 | ) 22 | ); 23 | } -------------------------------------------------------------------------------- /application/models/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

    Directory access is forbidden.

    8 | 9 | 10 | -------------------------------------------------------------------------------- /application/third_party/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

    Directory access is forbidden.

    8 | 9 | 10 | -------------------------------------------------------------------------------- /application/vendor/autoload.php: -------------------------------------------------------------------------------- 1 | $path) { 28 | $loader->set($namespace, $path); 29 | } 30 | 31 | $map = require __DIR__ . '/autoload_psr4.php'; 32 | foreach ($map as $namespace => $path) { 33 | $loader->setPsr4($namespace, $path); 34 | } 35 | 36 | $classMap = require __DIR__ . '/autoload_classmap.php'; 37 | if ($classMap) { 38 | $loader->addClassMap($classMap); 39 | } 40 | 41 | $loader->register(true); 42 | 43 | return $loader; 44 | } 45 | } 46 | 47 | function composerRequirea199869a5564a3cc79ae1570cb058567($file) 48 | { 49 | require $file; 50 | } 51 | -------------------------------------------------------------------------------- /application/vendor/composer/installed.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /application/views/admin/dashboard_view.php: -------------------------------------------------------------------------------- 1 |
    2 |

    Welcome to the Dashboard!

    3 |
    4 |
    5 | 8 |
    9 |
    10 |
    -------------------------------------------------------------------------------- /application/views/admin/dictionary/create_view.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    4 |
    5 |

    Add word in dictionary

    6 | 7 |
    8 | 13 |
    14 |
    15 | 20 |
    21 | 27 |
    28 |
    29 | 30 | 31 | 34 | 35 | 36 |
    37 |
    38 |
    -------------------------------------------------------------------------------- /application/views/admin/dictionary/edit_view.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    4 |
    5 |

    Edit word in

    6 | 7 |
    8 | word),'class="form-control"'); 12 | ?> 13 |
    14 |
    15 | 20 |
    21 | 27 |
    28 |
    29 | 30 | id));?> 31 | 32 | 33 | 36 | 37 | 38 |
    39 |
    40 |
    -------------------------------------------------------------------------------- /application/views/admin/groups/create_view.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    4 |
    5 |

    Create group

    6 | 7 |
    8 | 9 | 10 | 11 |
    12 |
    13 | 14 | 15 | 16 |
    17 | 18 | 19 | 20 |
    21 |
    22 |
    -------------------------------------------------------------------------------- /application/views/admin/groups/edit_view.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    4 |
    5 |

    Edit group

    6 | 7 |
    8 | 9 | 10 | name),'class="form-control"');?> 11 |
    12 |
    13 | 14 | 15 | description),'class="form-control"');?> 16 |
    17 | id));?> 18 | 19 | 20 | 21 |
    22 |
    23 |
    24 | -------------------------------------------------------------------------------- /application/views/admin/groups/index_view.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    4 |
    5 | Create group 6 |
    7 |
    8 |
    9 |
    10 | '; 14 | echo 'IDGroup nameGroup descriptionOperations'; 15 | foreach($groups as $group) 16 | { 17 | echo ''; 18 | echo ''.$group->id.''.anchor('admin/users/index/'.$group->id, $group->name).''.$group->description.''.anchor('admin/groups/edit/'.$group->id,''); 19 | if(!in_array($group->name, array('admin','members'))) echo ' '.anchor('admin/groups/delete/'.$group->id,''); 20 | echo ''; 21 | echo ''; 22 | } 23 | echo ''; 24 | } 25 | ?> 26 |
    27 |
    28 |
    -------------------------------------------------------------------------------- /application/views/admin/images/edit_title_view.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    4 |
    5 |

    Edit title

    6 | 7 |
    8 | title),'class="form-control"'); 12 | ?> 13 |
    14 | 15 | id);?> 16 | '; 19 | echo form_submit('submit', $submit_button, 'class="btn btn-primary btn-lg btn-block"'); 20 | echo '
    '; 21 | ?> 22 | 23 | 24 |
    25 |
    26 | -------------------------------------------------------------------------------- /application/views/admin/images/upload_featured_view.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    4 |
    5 |

    Upload featured image

    6 | 7 |
    8 | 14 |
    15 |
    16 | 21 |
    22 | 23 | 24 | id));?> 25 | 28 | content_type, 'Cancel','class="btn btn-default btn-lg btn-block"');?> 29 | 30 |
    31 |
    32 |
    -------------------------------------------------------------------------------- /application/views/admin/languages/create_view.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    4 |
    5 |

    Add language

    6 | 7 |
    8 | 13 |
    14 |
    15 | 20 |
    21 |
    22 | 27 |
    28 |
    29 | 34 |
    35 |
    36 | 'Not default', '1'=>'Default'),set_value('default',0),'class="form-control"'); 40 | ?> 41 |
    42 | 43 | 44 | 45 |
    46 |
    47 |
    -------------------------------------------------------------------------------- /application/views/admin/languages/edit_view.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    4 |
    5 |

    Edit language

    6 | 7 |
    8 | language_name),'class="form-control"'); 12 | ?> 13 |
    14 |
    15 | slug),'class="form-control"'); 19 | ?> 20 |
    21 |
    22 | language_directory),'class="form-control"'); 26 | ?> 27 |
    28 |
    29 | language_code),'class="form-control"'); 33 | ?> 34 |
    35 |
    36 | 'Not default', '1'=>'Default'),set_value('default',$language->default),'class="form-control"'); 39 | ?> 40 |
    41 | 42 | id);?> 43 | 44 | 45 | 46 |
    47 |
    48 |
    -------------------------------------------------------------------------------- /application/views/admin/languages/index_view.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    4 |
    5 | Add language 6 |
    7 |
    8 |
    9 |
    10 | '; 12 | echo 'IDLanguage nameSlugLanguage directoryLanguage codeDefaultOperations'; 13 | if(!empty($languages)) 14 | { 15 | 16 | foreach($languages as $lang) 17 | { 18 | echo ''; 19 | echo ''.$lang->id.''.$lang->language_name.''.$lang->slug.''.$lang->language_directory.''.$lang->language_code.''; 20 | echo ''; 21 | echo ($lang->default == '1') ? '' : ' '; 22 | echo ''; 23 | echo ''.anchor('admin/languages/update/'.$lang->id,'').' '.anchor('admin/languages/delete/'.$lang->id,'').''; 24 | echo ''; 25 | } 26 | 27 | } 28 | echo ''; 29 | ?> 30 |
    31 |
    32 |
    -------------------------------------------------------------------------------- /application/views/admin/login_view.php: -------------------------------------------------------------------------------- 1 |
    2 |
    3 |

    Login

    4 | postal->get(); 6 | ?> 7 | 'form-horizontal'));?> 8 |
    9 | 10 | 11 | 12 |
    13 |
    14 | 15 | 16 | 17 |
    18 |
    19 | 22 |
    23 |
    24 | 25 |
    26 | 27 |
    28 |
    -------------------------------------------------------------------------------- /application/views/admin/menus/create_menu_view.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    4 |
    5 |

    Create menu

    6 | 7 |
    8 | 13 |
    14 | 17 | 18 | 19 |
    20 |
    21 |
    -------------------------------------------------------------------------------- /application/views/admin/menus/edit_menu_view.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    4 |
    5 |

    Edit menu

    6 | 7 |
    8 | title),'class="form-control"'); 12 | echo form_error('menu_id'); 13 | echo form_hidden('menu_id',$menu->id); 14 | ?> 15 |
    16 | 19 | 20 | 21 |
    22 |
    23 |
    -------------------------------------------------------------------------------- /application/views/admin/rake/index_view.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    4 |
    5 |

    RAKE re-check

    6 |

    This page is about refreshing the phrases created by the Rapid Keyword Extractor. I would advise you do visit this page and do a check at least once a day.
    7 | If you want to be thorough the best would be if you did this after you've altered some words in the Dictionary page.

    8 | 11 |
    12 |
    13 |
    -------------------------------------------------------------------------------- /application/views/admin/users/index_view.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    4 | 8 |
    9 |
    10 |
    11 | '; 15 | echo 'IDUsernameNameEmailLast loginOperations'; 16 | foreach($users as $user) 17 | { 18 | echo ''; 19 | echo ''.$user->id.''.$user->username.''.$user->first_name.' '.$user->last_name.''.$user->email.''.date('Y-m-d H:i:s', $user->last_login).''; 20 | if($current_user->id != $user->id) echo anchor('admin/users/edit/'.$user->id,'').' '.anchor('admin/users/delete/'.$user->id,''); 21 | else echo ' '; 22 | echo ''; 23 | echo ''; 24 | } 25 | echo ''; 26 | } 27 | ?> 28 |
    29 |
    30 |
    -------------------------------------------------------------------------------- /application/views/errors/cli/error_404.php: -------------------------------------------------------------------------------- 1 | 40 | 41 | An uncaught Exception was encountered 42 | 43 | Type: 44 | Message: 45 | Filename: getFile(); ?> 46 | Line Number: getLine(); ?> 47 | 48 | 49 | 50 | Backtrace: 51 | getTrace() as $error): ?> 52 | 53 | 54 | File: 55 | Line: 56 | Function: 57 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /application/views/errors/cli/error_general.php: -------------------------------------------------------------------------------- 1 | 40 | 41 | A PHP Error was encountered 42 | 43 | Severity: 44 | Message: 45 | Filename: 46 | Line Number: 47 | 48 | 49 | 50 | Backtrace: 51 | 52 | 53 | 54 | File: 55 | Line: 56 | Function: 57 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /application/views/errors/cli/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

    Directory access is forbidden.

    8 | 9 | 10 | -------------------------------------------------------------------------------- /application/views/errors/html/error_php.php: -------------------------------------------------------------------------------- 1 | 40 | 41 |
    42 | 43 |

    A PHP Error was encountered

    44 | 45 |

    Severity:

    46 |

    Message:

    47 |

    Filename:

    48 |

    Line Number:

    49 | 50 | 51 | 52 |

    Backtrace:

    53 | 54 | 55 | 56 | 57 |

    58 | File:
    59 | Line:
    60 | Function: 61 |

    62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 |
    -------------------------------------------------------------------------------- /application/views/errors/html/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

    Directory access is forbidden.

    8 | 9 | 10 | -------------------------------------------------------------------------------- /application/views/errors/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

    Directory access is forbidden.

    8 | 9 | 10 | -------------------------------------------------------------------------------- /application/views/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

    Directory access is forbidden.

    8 | 9 | 10 | -------------------------------------------------------------------------------- /application/views/public/category_view.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 | '.$title.''; 5 | echo $content; 6 | if($posts) 7 | { 8 | echo '
    ';
     9 |     print_r($posts);
    10 |     echo '
    '; 11 | foreach($posts as $post) 12 | { 13 | echo '

    '.$post->title.'

    '; 14 | echo $post->teaser; 15 | echo anchor($post->url, $post->title); 16 | } 17 | } 18 | ?> 19 |
    20 | -------------------------------------------------------------------------------- /application/views/public/homepage_view.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 | lang->line('homepage_welcome'); 5 | 6 | echo '
    '.$current_lang['slug']; 7 | echo '
    hello'; 8 | echo '
    ';
     9 | print_r($langs);
    10 | echo '
    '; 11 | ?> 12 |
    13 | -------------------------------------------------------------------------------- /application/views/public/page_view.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 | '.$title.''; 5 | echo $content; 6 | ?> 7 |
    8 | -------------------------------------------------------------------------------- /application/views/public/post_view.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 | '.$title.''; 5 | echo $content; 6 | ?> 7 |
    8 | -------------------------------------------------------------------------------- /application/views/templates/_parts/admin_master_footer_view.php: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /application/views/templates/_parts/public_master_footer_view.php: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /application/views/templates/_parts/user_menu_admin_view.php: -------------------------------------------------------------------------------- 1 | 2 |
  • 3 |
  • Groups
  • 4 |
  • Users
  • -------------------------------------------------------------------------------- /application/views/templates/admin_master_view.php: -------------------------------------------------------------------------------- 1 | load->view('templates/_parts/admin_master_header_view'); ?> 3 | 4 | load->view('templates/_parts/admin_master_footer_view');?> -------------------------------------------------------------------------------- /application/views/templates/public_master_view.php: -------------------------------------------------------------------------------- 1 | load->view('templates/_parts/public_master_header_view'); ?> 3 | 4 | load->view('templates/_parts/public_master_footer_view');?> -------------------------------------------------------------------------------- /application/views/welcome_message.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Welcome to CodeIgniter 7 | 8 | 9 | 10 |
    11 |

    Welcome to CodeIgniter!

    12 | 13 |
    14 | 15 | 16 | -------------------------------------------------------------------------------- /assets/.htaccess: -------------------------------------------------------------------------------- 1 | Options -Indexes 2 | -------------------------------------------------------------------------------- /assets/admin/css/textext/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/css/textext/arrow.png -------------------------------------------------------------------------------- /assets/admin/css/textext/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/css/textext/close.png -------------------------------------------------------------------------------- /assets/admin/css/textext/textext.core.css: -------------------------------------------------------------------------------- 1 | .text-core { 2 | position: relative; 3 | } 4 | .text-core .text-wrap { 5 | background: #fff; 6 | position: absolute; 7 | } 8 | .text-core .text-wrap textarea, 9 | .text-core .text-wrap input { 10 | -webkit-box-sizing: border-box; 11 | -moz-box-sizing: border-box; 12 | box-sizing: border-box; 13 | -webkit-border-radius: 0px; 14 | -moz-border-radius: 0px; 15 | border-radius: 0px; 16 | border: 1px solid #9daccc; 17 | outline: none; 18 | resize: none; 19 | position: absolute; 20 | z-index: 1; 21 | background: none; 22 | overflow: hidden; 23 | margin: 0; 24 | padding: 3px 5px 4px 5px; 25 | white-space: nowrap; 26 | font: 11px "lucida grande", tahoma, verdana, arial, sans-serif; 27 | line-height: 13px; 28 | height: auto; 29 | } 30 | -------------------------------------------------------------------------------- /assets/admin/css/textext/textext.plugin.arrow.css: -------------------------------------------------------------------------------- 1 | .text-core .text-wrap .text-arrow { 2 | -webkit-box-sizing: border-box; 3 | -moz-box-sizing: border-box; 4 | box-sizing: border-box; 5 | position: absolute; 6 | top: 0; 7 | right: 0; 8 | width: 22px; 9 | height: 22px; 10 | background: url("arrow.png") 50% 50% no-repeat; 11 | cursor: pointer; 12 | z-index: 2; 13 | } 14 | -------------------------------------------------------------------------------- /assets/admin/css/textext/textext.plugin.autocomplete.css: -------------------------------------------------------------------------------- 1 | .text-core .text-wrap .text-dropdown { 2 | -webkit-box-sizing: border-box; 3 | -moz-box-sizing: border-box; 4 | box-sizing: border-box; 5 | padding: 0; 6 | position: absolute; 7 | z-index: 3; 8 | background: #fff; 9 | border: 1px solid #9daccc; 10 | width: 100%; 11 | max-height: 100px; 12 | padding: 1px; 13 | font: 11px "lucida grande", tahoma, verdana, arial, sans-serif; 14 | display: none; 15 | overflow-x: hidden; 16 | overflow-y: auto; 17 | } 18 | .text-core .text-wrap .text-dropdown.text-position-below { 19 | margin-top: 1px; 20 | } 21 | .text-core .text-wrap .text-dropdown.text-position-above { 22 | margin-bottom: 1px; 23 | } 24 | .text-core .text-wrap .text-dropdown .text-list .text-suggestion { 25 | padding: 3px 5px; 26 | cursor: pointer; 27 | } 28 | .text-core .text-wrap .text-dropdown .text-list .text-suggestion em { 29 | font-style: normal; 30 | text-decoration: underline; 31 | } 32 | .text-core .text-wrap .text-dropdown .text-list .text-suggestion.text-selected { 33 | color: #fff; 34 | background: #6d84b4; 35 | } 36 | -------------------------------------------------------------------------------- /assets/admin/css/textext/textext.plugin.clear.css: -------------------------------------------------------------------------------- 1 | .text-core .text-wrap .text-clear { 2 | -webkit-box-sizing: border-box; 3 | -moz-box-sizing: border-box; 4 | box-sizing: border-box; 5 | position: absolute; 6 | top: 0; 7 | right: 14px; 8 | width: 22px; 9 | height: 22px; 10 | background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAYUlEQVR42mP4////P1IwA5RBNIBr+Pj5+/9Tlx78v373OYoCkBgIY2gACWr7tP63CO8BanoBlmyfuQssBsIYGtAVLNpwEsMADA0gAFMIw+hOpEwDSU4i2dMkByvJEUcsAABHaALCQIZDrAAAAABJRU5ErkJggg==") 50% 50% no-repeat; 11 | cursor: pointer; 12 | z-index: 2; 13 | } -------------------------------------------------------------------------------- /assets/admin/css/textext/textext.plugin.focus.css: -------------------------------------------------------------------------------- 1 | .text-core .text-wrap .text-focus { 2 | -webkit-box-shadow: 0px 0px 6px #6d84b4; 3 | -moz-box-shadow: 0px 0px 6px #6d84b4; 4 | box-shadow: 0px 0px 6px #6d84b4; 5 | position: absolute; 6 | width: 100%; 7 | height: 100%; 8 | display: none; 9 | } 10 | .text-core .text-wrap .text-focus.text-show-focus { 11 | display: block; 12 | } 13 | -------------------------------------------------------------------------------- /assets/admin/css/textext/textext.plugin.prompt.css: -------------------------------------------------------------------------------- 1 | .text-core .text-wrap .text-prompt { 2 | -webkit-box-sizing: border-box; 3 | -moz-box-sizing: border-box; 4 | box-sizing: border-box; 5 | position: absolute; 6 | width: 100%; 7 | height: 100%; 8 | margin: 1px 0 0 2px; 9 | font: 11px "lucida grande", tahoma, verdana, arial, sans-serif; 10 | color: #c0c0c0; 11 | overflow: hidden; 12 | white-space: pre; 13 | } 14 | .text-core .text-wrap .text-prompt.text-hide-prompt { 15 | display: none; 16 | } 17 | -------------------------------------------------------------------------------- /assets/admin/css/textext/textext.plugin.tags.css: -------------------------------------------------------------------------------- 1 | .text-core .text-wrap .text-tags { 2 | -webkit-box-sizing: border-box; 3 | -moz-box-sizing: border-box; 4 | box-sizing: border-box; 5 | position: absolute; 6 | width: 100%; 7 | height: 100%; 8 | padding: 3px 35px 3px 3px; 9 | cursor: text; 10 | } 11 | .text-core .text-wrap .text-tags.text-tags-on-top { 12 | z-index: 2; 13 | } 14 | .text-core .text-wrap .text-tags .text-tag { 15 | float: left; 16 | } 17 | .text-core .text-wrap .text-tags .text-tag .text-button { 18 | -webkit-border-radius: 2px; 19 | -moz-border-radius: 2px; 20 | border-radius: 2px; 21 | -webkit-box-sizing: border-box; 22 | -moz-box-sizing: border-box; 23 | box-sizing: border-box; 24 | position: relative; 25 | float: left; 26 | border: 1px solid #9daccc; 27 | background: #e2e6f0; 28 | color: #000; 29 | padding: 0px 17px 0px 3px; 30 | margin: 0 2px 2px 0; 31 | cursor: pointer; 32 | height: 16px; 33 | font: 11px "lucida grande", tahoma, verdana, arial, sans-serif; 34 | } 35 | .text-core .text-wrap .text-tags .text-tag .text-button a.text-remove { 36 | position: absolute; 37 | right: 3px; 38 | top: 2px; 39 | display: block; 40 | width: 11px; 41 | height: 11px; 42 | background: url("close.png") 0 0 no-repeat; 43 | } 44 | .text-core .text-wrap .text-tags .text-tag .text-button a.text-remove:hover { 45 | background-position: 0 -11px; 46 | } 47 | .text-core .text-wrap .text-tags .text-tag .text-button a.text-remove:active { 48 | background-position: 0 -22px; 49 | } 50 | -------------------------------------------------------------------------------- /assets/admin/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /assets/admin/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /assets/admin/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /assets/admin/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /assets/admin/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /assets/admin/js/tinymce/langs/readme.md: -------------------------------------------------------------------------------- 1 | This is where language files should be placed. 2 | 3 | Please DO NOT translate these directly use this service: https://www.transifex.com/projects/p/tinymce/ 4 | -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/advlist/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("advlist",function(a){function b(a,b){var c=[];return tinymce.each(b.split(/[ ,]/),function(a){c.push({text:a.replace(/\-/g," ").replace(/\b\w/g,function(a){return a.toUpperCase()}),data:"default"==a?"":a})}),c}function c(b,c){a.undoManager.transact(function(){var d,e=a.dom,f=a.selection;d=e.getParent(f.getNode(),"ol,ul"),d&&d.nodeName==b&&c!==!1||a.execCommand("UL"==b?"InsertUnorderedList":"InsertOrderedList"),c=c===!1?g[b]:c,g[b]=c,d=e.getParent(f.getNode(),"ol,ul"),d&&(e.setStyle(d,"listStyleType",c?c:null),d.removeAttribute("data-mce-style")),a.focus()})}function d(b){var c=a.dom.getStyle(a.dom.getParent(a.selection.getNode(),"ol,ul"),"listStyleType")||"";b.control.items().each(function(a){a.active(a.settings.data===c)})}var e,f,g={};e=b("OL",a.getParam("advlist_number_styles","default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman")),f=b("UL",a.getParam("advlist_bullet_styles","default,circle,disc,square")),a.addButton("numlist",{type:"splitbutton",tooltip:"Numbered list",menu:e,onshow:d,onselect:function(a){c("OL",a.control.settings.data)},onclick:function(){c("OL",!1)}}),a.addButton("bullist",{type:"splitbutton",tooltip:"Bullet list",menu:f,onshow:d,onselect:function(a){c("UL",a.control.settings.data)},onclick:function(){c("UL",!1)}})}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/anchor/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("anchor",function(a){function b(){var b=a.selection.getNode(),c="";"A"==b.tagName&&(c=b.name||b.id||""),a.windowManager.open({title:"Anchor",body:{type:"textbox",name:"name",size:40,label:"Name",value:c},onsubmit:function(b){a.execCommand("mceInsertContent",!1,a.dom.createHTML("a",{id:b.data.name}))}})}a.addButton("anchor",{icon:"anchor",tooltip:"Anchor",onclick:b,stateSelector:"a:not([href])"}),a.addMenuItem("anchor",{icon:"anchor",text:"Anchor",context:"insert",onclick:b})}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/autolink/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("autolink",function(a){function b(a){e(a,-1,"(",!0)}function c(a){e(a,0,"",!0)}function d(a){e(a,-1,"",!1)}function e(a,b,c){function d(a,b){if(0>b&&(b=0),3==a.nodeType){var c=a.data.length;b>c&&(b=c)}return b}function e(a,b){1!=a.nodeType||a.hasChildNodes()?g.setStart(a,d(a,b)):g.setStartBefore(a)}function f(a,b){1!=a.nodeType||a.hasChildNodes()?g.setEnd(a,d(a,b)):g.setEndAfter(a)}var g,h,i,j,k,l,m,n,o,p;if(g=a.selection.getRng(!0).cloneRange(),g.startOffset<5){if(n=g.endContainer.previousSibling,!n){if(!g.endContainer.firstChild||!g.endContainer.firstChild.nextSibling)return;n=g.endContainer.firstChild.nextSibling}if(o=n.length,e(n,o),f(n,o),g.endOffset<5)return;h=g.endOffset,j=n}else{if(j=g.endContainer,3!=j.nodeType&&j.firstChild){for(;3!=j.nodeType&&j.firstChild;)j=j.firstChild;3==j.nodeType&&(e(j,0),f(j,j.nodeValue.length))}h=1==g.endOffset?2:g.endOffset-1-b}i=h;do e(j,h>=2?h-2:0),f(j,h>=1?h-1:0),h-=1,p=g.toString();while(" "!=p&&""!==p&&160!=p.charCodeAt(0)&&h-2>=0&&p!=c);g.toString()==c||160==g.toString().charCodeAt(0)?(e(j,h),f(j,i),h+=1):0===g.startOffset?(e(j,0),f(j,i)):(e(j,h),f(j,i)),l=g.toString(),"."==l.charAt(l.length-1)&&f(j,i-1),l=g.toString(),m=l.match(/^(https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|www\.|(?:mailto:)?[A-Z0-9._%+\-]+@)(.+)$/i),m&&("www."==m[1]?m[1]="http://www.":/@$/.test(m[1])&&!/^mailto:/.test(m[1])&&(m[1]="mailto:"+m[1]),k=a.selection.getBookmark(),a.selection.setRng(g),a.execCommand("createlink",!1,m[1]+m[2]),a.selection.moveToBookmark(k),a.nodeChanged())}var f;return a.on("keydown",function(b){return 13==b.keyCode?d(a):void 0}),tinymce.Env.ie?void a.on("focus",function(){if(!f){f=!0;try{a.execCommand("AutoUrlDetect",!1,!0)}catch(b){}}}):(a.on("keypress",function(c){return 41==c.keyCode?b(a):void 0}),void a.on("keyup",function(b){return 32==b.keyCode?c(a):void 0}))}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/autoresize/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("autoresize",function(a){function b(){return a.plugins.fullscreen&&a.plugins.fullscreen.isFullscreen()}function c(d){var g,h,i,j,k,l,m,n,o,p,q,r,s=tinymce.DOM;if(h=a.getDoc()){if(i=h.body,j=h.documentElement,k=e.autoresize_min_height,!i||d&&"setcontent"===d.type&&d.initial||b())return void(i&&j&&(i.style.overflowY="auto",j.style.overflowY="auto"));m=a.dom.getStyle(i,"margin-top",!0),n=a.dom.getStyle(i,"margin-bottom",!0),o=a.dom.getStyle(i,"padding-top",!0),p=a.dom.getStyle(i,"padding-bottom",!0),q=a.dom.getStyle(i,"border-top-width",!0),r=a.dom.getStyle(i,"border-bottom-width",!0),l=i.offsetHeight+parseInt(m,10)+parseInt(n,10)+parseInt(o,10)+parseInt(p,10)+parseInt(q,10)+parseInt(r,10),(isNaN(l)||0>=l)&&(l=tinymce.Env.ie?i.scrollHeight:tinymce.Env.webkit&&0===i.clientHeight?0:i.offsetHeight),l>e.autoresize_min_height&&(k=l),e.autoresize_max_height&&l>e.autoresize_max_height?(k=e.autoresize_max_height,i.style.overflowY="auto",j.style.overflowY="auto"):(i.style.overflowY="hidden",j.style.overflowY="hidden",i.scrollTop=0),k!==f&&(g=k-f,s.setStyle(a.iframeElement,"height",k+"px"),f=k,tinymce.isWebKit&&0>g&&c(d))}}function d(a,b,e){setTimeout(function(){c({}),a--?d(a,b,e):e&&e()},b)}var e=a.settings,f=0;a.settings.inline||(e.autoresize_min_height=parseInt(a.getParam("autoresize_min_height",a.getElement().offsetHeight),10),e.autoresize_max_height=parseInt(a.getParam("autoresize_max_height",0),10),a.on("init",function(){var b,c;b=a.getParam("autoresize_overflow_padding",1),c=a.getParam("autoresize_bottom_margin",50),b!==!1&&a.dom.setStyles(a.getBody(),{paddingLeft:b,paddingRight:b}),c!==!1&&a.dom.setStyles(a.getBody(),{paddingBottom:c})}),a.on("nodechange setcontent keyup FullscreenStateChanged",c),a.getParam("autoresize_on_init",!0)&&a.on("init",function(){d(20,100,function(){d(5,1e3)})}),a.addCommand("mceAutoResize",c))}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/autosave/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce._beforeUnloadHandler=function(){var a;return tinymce.each(tinymce.editors,function(b){b.plugins.autosave&&b.plugins.autosave.storeDraft(),!a&&b.isDirty()&&b.getParam("autosave_ask_before_unload",!0)&&(a=b.translate("You have unsaved changes are you sure you want to navigate away?"))}),a},tinymce.PluginManager.add("autosave",function(a){function b(a,b){var c={s:1e3,m:6e4};return a=/^(\d+)([ms]?)$/.exec(""+(a||b)),(a[2]?c[a[2]]:1)*parseInt(a,10)}function c(){var a=parseInt(n.getItem(k+"time"),10)||0;return(new Date).getTime()-a>m.autosave_retention?(d(!1),!1):!0}function d(b){n.removeItem(k+"draft"),n.removeItem(k+"time"),b!==!1&&a.fire("RemoveDraft")}function e(){!j()&&a.isDirty()&&(n.setItem(k+"draft",a.getContent({format:"raw",no_events:!0})),n.setItem(k+"time",(new Date).getTime()),a.fire("StoreDraft"))}function f(){c()&&(a.setContent(n.getItem(k+"draft"),{format:"raw"}),a.fire("RestoreDraft"))}function g(){l||(setInterval(function(){a.removed||e()},m.autosave_interval),l=!0)}function h(){var b=this;b.disabled(!c()),a.on("StoreDraft RestoreDraft RemoveDraft",function(){b.disabled(!c())}),g()}function i(){a.undoManager.beforeChange(),f(),d(),a.undoManager.add()}function j(b){var c=a.settings.forced_root_block;return b=tinymce.trim("undefined"==typeof b?a.getBody().innerHTML:b),""===b||new RegExp("^<"+c+"[^>]*>((\xa0| |[ ]|]*>)+?|)|
    $","i").test(b)}var k,l,m=a.settings,n=tinymce.util.LocalStorage;k=m.autosave_prefix||"tinymce-autosave-{path}{query}-{id}-",k=k.replace(/\{path\}/g,document.location.pathname),k=k.replace(/\{query\}/g,document.location.search),k=k.replace(/\{id\}/g,a.id),m.autosave_interval=b(m.autosave_interval,"30s"),m.autosave_retention=b(m.autosave_retention,"20m"),a.addButton("restoredraft",{title:"Restore last draft",onclick:i,onPostRender:h}),a.addMenuItem("restoredraft",{text:"Restore last draft",onclick:i,onPostRender:h,context:"file"}),a.settings.autosave_restore_when_empty!==!1&&(a.on("init",function(){c()&&j()&&f()}),a.on("saveContent",function(){d()})),window.onbeforeunload=tinymce._beforeUnloadHandler,this.hasDraft=c,this.storeDraft=e,this.restoreDraft=f,this.removeDraft=d,this.isEmpty=j}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/code/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("code",function(a){function b(){var b=a.windowManager.open({title:"Source code",body:{type:"textbox",name:"code",multiline:!0,minWidth:a.getParam("code_dialog_width",600),minHeight:a.getParam("code_dialog_height",Math.min(tinymce.DOM.getViewPort().h-200,500)),spellcheck:!1,style:"direction: ltr; text-align: left"},onSubmit:function(b){a.focus(),a.undoManager.transact(function(){a.setContent(b.data.code)}),a.selection.setCursorLocation(),a.nodeChanged()}});b.find("#code").value(a.getContent({source_view:!0}))}a.addCommand("mceCodeEditor",b),a.addButton("code",{icon:"code",tooltip:"Source code",onclick:b}),a.addMenuItem("code",{icon:"code",text:"Source code",context:"tools",onclick:b})}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/colorpicker/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("colorpicker",function(a){function b(b,c){function d(a){var b=new tinymce.util.Color(a),c=b.toRgb();f.fromJSON({r:c.r,g:c.g,b:c.b,hex:b.toHex().substr(1)}),e(b.toHex())}function e(a){f.find("#preview")[0].getEl().style.background=a}var f=a.windowManager.open({title:"Color",items:{type:"container",layout:"flex",direction:"row",align:"stretch",padding:5,spacing:10,items:[{type:"colorpicker",value:c,onchange:function(){var a=this.rgb();f&&(f.find("#r").value(a.r),f.find("#g").value(a.g),f.find("#b").value(a.b),f.find("#hex").value(this.value().substr(1)),e(this.value()))}},{type:"form",padding:0,labelGap:5,defaults:{type:"textbox",size:7,value:"0",flex:1,spellcheck:!1,onchange:function(){var a,b,c=f.find("colorpicker")[0];return a=this.name(),b=this.value(),"hex"==a?(b="#"+b,d(b),void c.value(b)):(b={r:f.find("#r").value(),g:f.find("#g").value(),b:f.find("#b").value()},c.value(b),void d(b))}},items:[{name:"r",label:"R",autofocus:1},{name:"g",label:"G"},{name:"b",label:"B"},{name:"hex",label:"#",value:"000000"},{name:"preview",type:"container",border:1}]}]},onSubmit:function(){b("#"+this.toJSON().hex)}});d(c)}a.settings.color_picker_callback||(a.settings.color_picker_callback=b)}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/contextmenu/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("contextmenu",function(a){var b,c=a.settings.contextmenu_never_use_native;a.on("contextmenu",function(d){var e,f=a.getDoc();if(!d.ctrlKey||c){if(d.preventDefault(),tinymce.Env.mac&&tinymce.Env.webkit&&2==d.button&&f.caretRangeFromPoint&&a.selection.setRng(f.caretRangeFromPoint(d.x,d.y)),e=a.settings.contextmenu||"link image inserttable | cell row column deletetable",b)b.show();else{var g=[];tinymce.each(e.split(/[ ,]/),function(b){var c=a.menuItems[b];"|"==b&&(c={text:b}),c&&(c.shortcut="",g.push(c))});for(var h=0;h'}),a+=""}),a+=""}var d=[["cool","cry","embarassed","foot-in-mouth"],["frown","innocent","kiss","laughing"],["money-mouth","sealed","smile","surprised"],["tongue-out","undecided","wink","yell"]];a.addButton("emoticons",{type:"panelbutton",panel:{role:"application",autohide:!0,html:c,onclick:function(b){var c=a.dom.getParent(b.target,"a");c&&(a.insertContent(''+c.getAttribute('),this.hide())}},tooltip:"Emoticons"})}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/example/dialog.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |

    Custom dialog

    5 | Input some text: 6 | 7 | 8 | -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/example/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("example",function(a,b){a.addButton("example",{text:"My button",icon:!1,onclick:function(){a.windowManager.open({title:"Example plugin",body:[{type:"textbox",name:"title",label:"Title"}],onsubmit:function(b){a.insertContent("Title: "+b.data.title)}})}}),a.addMenuItem("example",{text:"Example plugin",context:"tools",onclick:function(){a.windowManager.open({title:"TinyMCE site",url:b+"/dialog.html",width:600,height:400,buttons:[{text:"Insert",onclick:function(){var b=a.windowManager.getWindows()[0];a.insertContent(b.getContentWindow().document.getElementById("content").value),b.close()}},{text:"Close",onclick:"close"}]})}})}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/example_dependency/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("example_dependency",function(){},["example"]); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/fullscreen/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("fullscreen",function(a){function b(){var a,b,c=window,d=document,e=d.body;return e.offsetWidth&&(a=e.offsetWidth,b=e.offsetHeight),c.innerWidth&&c.innerHeight&&(a=c.innerWidth,b=c.innerHeight),{w:a,h:b}}function c(){function c(){j.setStyle(m,"height",b().h-(l.clientHeight-m.clientHeight))}var k,l,m,n,o=document.body,p=document.documentElement;i=!i,l=a.getContainer(),k=l.style,m=a.getContentAreaContainer().firstChild,n=m.style,i?(d=n.width,e=n.height,n.width=n.height="100%",g=k.width,h=k.height,k.width=k.height="",j.addClass(o,"mce-fullscreen"),j.addClass(p,"mce-fullscreen"),j.addClass(l,"mce-fullscreen"),j.bind(window,"resize",c),c(),f=c):(n.width=d,n.height=e,g&&(k.width=g),h&&(k.height=h),j.removeClass(o,"mce-fullscreen"),j.removeClass(p,"mce-fullscreen"),j.removeClass(l,"mce-fullscreen"),j.unbind(window,"resize",f)),a.fire("FullscreenStateChanged",{state:i})}var d,e,f,g,h,i=!1,j=tinymce.DOM;return a.settings.inline?void 0:(a.on("init",function(){a.addShortcut("Meta+Alt+F","",c)}),a.on("remove",function(){f&&j.unbind(window,"resize",f)}),a.addCommand("mceFullScreen",c),a.addMenuItem("fullscreen",{text:"Fullscreen",shortcut:"Meta+Alt+F",selectable:!0,onClick:c,onPostRender:function(){var b=this;a.on("FullscreenStateChanged",function(a){b.active(a.state)})},context:"view"}),a.addButton("fullscreen",{tooltip:"Fullscreen",shortcut:"Meta+Alt+F",onClick:c,onPostRender:function(){var b=this;a.on("FullscreenStateChanged",function(a){b.active(a.state)})}}),{isFullscreen:function(){return i}})}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/hr/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("hr",function(a){a.addCommand("InsertHorizontalRule",function(){a.execCommand("mceInsertContent",!1,"
    ")}),a.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),a.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/importcss/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("importcss",function(a){function b(a){return"string"==typeof a?function(b){return-1!==b.indexOf(a)}:a instanceof RegExp?function(b){return a.test(b)}:a}function c(b,c){function d(a,b){var g,h=a.href;if(h&&c(h,b)){f(a.imports,function(a){d(a,!0)});try{g=a.cssRules||a.rules}catch(i){}f(g,function(a){a.styleSheet?d(a.styleSheet,!0):a.selectorText&&f(a.selectorText.split(","),function(a){e.push(tinymce.trim(a))})})}}var e=[],g={};f(a.contentCSS,function(a){g[a]=!0}),c||(c=function(a,b){return b||g[a]});try{f(b.styleSheets,function(a){d(a)})}catch(h){}return e}function d(b){var c,d=/^(?:([a-z0-9\-_]+))?(\.[a-z0-9_\-\.]+)$/i.exec(b);if(d){var e=d[1],f=d[2].substr(1).split(".").join(" "),g=tinymce.makeMap("a,img");return d[1]?(c={title:b},a.schema.getTextBlockElements()[e]?c.block=e:a.schema.getBlockElements()[e]||g[e.toLowerCase()]?c.selector=e:c.inline=e):d[2]&&(c={inline:"span",title:b.substr(1),classes:f}),a.settings.importcss_merge_classes!==!1?c.classes=f:c.attributes={"class":f},c}}var e=this,f=tinymce.each;a.on("renderFormatsMenu",function(g){var h=a.settings,i={},j=h.importcss_selector_converter||d,k=b(h.importcss_selector_filter),l=g.control;a.settings.importcss_append||l.items().remove();var m=[];tinymce.each(h.importcss_groups,function(a){a=tinymce.extend({},a),a.filter=b(a.filter),m.push(a)}),f(c(g.doc||a.getDoc(),b(h.importcss_file_filter)),function(b){if(-1===b.indexOf(".mce-")&&!i[b]&&(!k||k(b))){var c,d=j.call(e,b);if(d){var f=d.name||tinymce.DOM.uniqueId();if(m)for(var g=0;g'+d+"";var f=a.dom.getParent(a.selection.getStart(),"time");if(f)return void a.dom.setOuterHTML(f,d)}a.insertContent(d)}var d,e,f="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),g="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),h="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),i="January February March April May June July August September October November December".split(" "),j=[];a.addCommand("mceInsertDate",function(){c(a.getParam("insertdatetime_dateformat",a.translate("%Y-%m-%d")))}),a.addCommand("mceInsertTime",function(){c(a.getParam("insertdatetime_timeformat",a.translate("%H:%M:%S")))}),a.addButton("insertdatetime",{type:"splitbutton",title:"Insert date/time",onclick:function(){c(d||e)},menu:j}),tinymce.each(a.settings.insertdatetime_formats||["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"],function(a){e||(e=a),j.push({text:b(a),onclick:function(){d=a,c(a)}})}),a.addMenuItem("insertdatetime",{icon:"date",text:"Insert date/time",menu:j,context:"insert"})}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/layer/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("layer",function(a){function b(a){do if(a.className&&-1!=a.className.indexOf("mceItemLayer"))return a;while(a=a.parentNode)}function c(b){var c=a.dom;tinymce.each(c.select("div,p",b),function(a){/^(absolute|relative|fixed)$/i.test(a.style.position)&&(a.hasVisual?c.addClass(a,"mceItemVisualAid"):c.removeClass(a,"mceItemVisualAid"),c.addClass(a,"mceItemLayer"))})}function d(c){var d,e,f=[],g=b(a.selection.getNode()),h=-1,i=-1;for(e=[],tinymce.walk(a.getBody(),function(a){1==a.nodeType&&/^(absolute|relative|static)$/i.test(a.style.position)&&e.push(a)},"childNodes"),d=0;dh&&e[d]==g&&(h=d);if(0>c){for(d=0;d-1?(e[h].style.zIndex=f[i],e[i].style.zIndex=f[h]):f[h]>0&&(e[h].style.zIndex=f[h]-1)}else{for(d=0;df[h]){i=d;break}i>-1?(e[h].style.zIndex=f[i],e[i].style.zIndex=f[h]):e[h].style.zIndex=f[h]+1}a.execCommand("mceRepaint")}function e(){var b=a.dom,c=b.getPos(b.getParent(a.selection.getNode(),"*")),d=a.getBody();a.dom.add(d,"div",{style:{position:"absolute",left:c.x,top:c.y>20?c.y:20,width:100,height:100},"class":"mceItemVisualAid mceItemLayer"},a.selection.getContent()||a.getLang("layer.content")),tinymce.Env.ie&&b.setHTML(d,d.innerHTML)}function f(){var c=b(a.selection.getNode());c||(c=a.dom.getParent(a.selection.getNode(),"DIV,P,IMG")),c&&("absolute"==c.style.position.toLowerCase()?(a.dom.setStyles(c,{position:"",left:"",top:"",width:"",height:""}),a.dom.removeClass(c,"mceItemVisualAid"),a.dom.removeClass(c,"mceItemLayer")):(c.style.left||(c.style.left="20px"),c.style.top||(c.style.top="20px"),c.style.width||(c.style.width=c.width?c.width+"px":"100px"),c.style.height||(c.style.height=c.height?c.height+"px":"100px"),c.style.position="absolute",a.dom.setAttrib(c,"data-mce-style",""),a.addVisual(a.getBody())),a.execCommand("mceRepaint"),a.nodeChanged())}a.addCommand("mceInsertLayer",e),a.addCommand("mceMoveForward",function(){d(1)}),a.addCommand("mceMoveBackward",function(){d(-1)}),a.addCommand("mceMakeAbsolute",function(){f()}),a.addButton("moveforward",{title:"layer.forward_desc",cmd:"mceMoveForward"}),a.addButton("movebackward",{title:"layer.backward_desc",cmd:"mceMoveBackward"}),a.addButton("absolute",{title:"layer.absolute_desc",cmd:"mceMakeAbsolute"}),a.addButton("insertlayer",{title:"layer.insertlayer_desc",cmd:"mceInsertLayer"}),a.on("init",function(){tinymce.Env.ie&&a.getDoc().execCommand("2D-Position",!1,!0)}),a.on("mouseup",function(c){var d=b(c.target);d&&a.dom.setAttrib(d,"data-mce-style","")}),a.on("mousedown",function(c){var d,e=c.target,f=a.getDoc();tinymce.Env.gecko&&(b(e)?"on"!==f.designMode&&(f.designMode="on",e=f.body,d=e.parentNode,d.removeChild(e),d.appendChild(e)):"on"==f.designMode&&(f.designMode="off"))}),a.on("NodeChange",c)}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/media/moxieplayer.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/plugins/media/moxieplayer.swf -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/nonbreaking/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("nonbreaking",function(a){var b=a.getParam("nonbreaking_force_tab");if(a.addCommand("mceNonBreaking",function(){a.insertContent(a.plugins.visualchars&&a.plugins.visualchars.state?' ':" "),a.dom.setAttrib(a.dom.select("span.mce-nbsp"),"data-mce-bogus","1")}),a.addButton("nonbreaking",{title:"Nonbreaking space",cmd:"mceNonBreaking"}),a.addMenuItem("nonbreaking",{text:"Nonbreaking space",cmd:"mceNonBreaking",context:"insert"}),b){var c=+b>1?+b:3;a.on("keydown",function(b){if(9==b.keyCode){if(b.shiftKey)return;b.preventDefault();for(var d=0;c>d;d++)a.execCommand("mceNonBreaking")}})}}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/pagebreak/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("pagebreak",function(a){var b="mce-pagebreak",c=a.getParam("pagebreak_separator",""),d=new RegExp(c.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,function(a){return"\\"+a}),"gi"),e='';a.addCommand("mcePageBreak",function(){a.insertContent(a.settings.pagebreak_split_block?"

    "+e+"

    ":e)}),a.addButton("pagebreak",{title:"Page break",cmd:"mcePageBreak"}),a.addMenuItem("pagebreak",{text:"Page break",icon:"pagebreak",cmd:"mcePageBreak",context:"insert"}),a.on("ResolveName",function(c){"IMG"==c.target.nodeName&&a.dom.hasClass(c.target,b)&&(c.name="pagebreak")}),a.on("click",function(c){c=c.target,"IMG"===c.nodeName&&a.dom.hasClass(c,b)&&a.selection.select(c)}),a.on("BeforeSetContent",function(a){a.content=a.content.replace(d,e)}),a.on("PreInit",function(){a.serializer.addNodeFilter("img",function(b){for(var d,e,f=b.length;f--;)if(d=b[f],e=d.attr("class"),e&&-1!==e.indexOf("mce-pagebreak")){var g=d.parent;if(a.schema.getBlockElements()[g.name]&&a.settings.pagebreak_split_block){g.type=3,g.value=c,g.raw=!0,d.remove();continue}d.type=3,d.value=c,d.raw=!0}})})}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/preview/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("preview",function(a){var b=a.settings,c=!tinymce.Env.ie;a.addCommand("mcePreview",function(){a.windowManager.open({title:"Preview",width:parseInt(a.getParam("plugin_preview_width","650"),10),height:parseInt(a.getParam("plugin_preview_height","500"),10),html:'",buttons:{text:"Close",onclick:function(){this.parent().parent().close()}},onPostRender:function(){var d,e="";e+='',tinymce.each(a.contentCSS,function(b){e+=''});var f=b.body_id||"tinymce";-1!=f.indexOf("=")&&(f=a.getParam("body_id","","hash"),f=f[a.id]||f);var g=b.body_class||"";-1!=g.indexOf("=")&&(g=a.getParam("body_class","","hash"),g=g[a.id]||"");var h=a.settings.directionality?' dir="'+a.settings.directionality+'"':"";if(d=""+e+'"+a.getContent()+"",c)this.getEl("body").firstChild.src="data:text/html;charset=utf-8,"+encodeURIComponent(d);else{var i=this.getEl("body").firstChild.contentWindow.document;i.open(),i.write(d),i.close()}}})}),a.addButton("preview",{title:"Preview",cmd:"mcePreview"}),a.addMenuItem("preview",{text:"Preview",cmd:"mcePreview",context:"view"})}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/print/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("print",function(a){a.addCommand("mcePrint",function(){a.getWin().print()}),a.addButton("print",{title:"Print",cmd:"mcePrint"}),a.addShortcut("Meta+P","","mcePrint"),a.addMenuItem("print",{text:"Print",cmd:"mcePrint",icon:"print",shortcut:"Meta+P",context:"file"})}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/save/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("save",function(a){function b(){var b;return b=tinymce.DOM.getParent(a.id,"form"),!a.getParam("save_enablewhendirty",!0)||a.isDirty()?(tinymce.triggerSave(),a.getParam("save_onsavecallback")?void(a.execCallback("save_onsavecallback",a)&&(a.startContent=tinymce.trim(a.getContent({format:"raw"})),a.nodeChanged())):void(b?(a.isNotDirty=!0,(!b.onsubmit||b.onsubmit())&&("function"==typeof b.submit?b.submit():a.windowManager.alert("Error: Form submit field collision.")),a.nodeChanged()):a.windowManager.alert("Error: No form element found."))):void 0}function c(){var b=tinymce.trim(a.startContent);return a.getParam("save_oncancelcallback")?void a.execCallback("save_oncancelcallback",a):(a.setContent(b),a.undoManager.clear(),void a.nodeChanged())}function d(){var b=this;a.on("nodeChange",function(){b.disabled(a.getParam("save_enablewhendirty",!0)&&!a.isDirty())})}a.addCommand("mceSave",b),a.addCommand("mceCancel",c),a.addButton("save",{icon:"save",text:"Save",cmd:"mceSave",disabled:!0,onPostRender:d}),a.addButton("cancel",{text:"Cancel",icon:!1,cmd:"mceCancel",disabled:!0,onPostRender:d}),a.addShortcut("Meta+S","","mceSave")}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/tabfocus/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("tabfocus",function(a){function b(a){9!==a.keyCode||a.ctrlKey||a.altKey||a.metaKey||a.preventDefault()}function c(b){function c(c){function f(a){return"BODY"===a.nodeName||"hidden"!=a.type&&"none"!=a.style.display&&"hidden"!=a.style.visibility&&f(a.parentNode)}function i(a){return/INPUT|TEXTAREA|BUTTON/.test(a.tagName)&&tinymce.get(b.id)&&-1!=a.tabIndex&&f(a)}if(h=d.select(":input:enabled,*[tabindex]:not(iframe)"),e(h,function(b,c){return b.id==a.id?(g=c,!1):void 0}),c>0){for(j=g+1;j=0;j--)if(i(h[j]))return h[j];return null}var g,h,i,j;if(!(9!==b.keyCode||b.ctrlKey||b.altKey||b.metaKey||b.isDefaultPrevented())&&(i=f(a.getParam("tab_focus",a.getParam("tabfocus_elements",":prev,:next"))),1==i.length&&(i[1]=i[0],i[0]=":prev"),h=b.shiftKey?":prev"==i[0]?c(-1):d.get(i[0]):":next"==i[1]?c(1):d.get(i[1]))){var k=tinymce.get(h.id||h.name);h.id&&k?k.focus():window.setTimeout(function(){tinymce.Env.webkit||window.focus(),h.focus()},10),b.preventDefault()}}var d=tinymce.DOM,e=tinymce.each,f=tinymce.explode;a.on("init",function(){a.inline&&tinymce.DOM.setAttrib(a.getBody(),"tabIndex",null),a.on("keyup",b),tinymce.Env.gecko?a.on("keypress keydown",c):a.on("keydown",c)})}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/textpattern/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("textpattern",function(a){function b(){return j&&(i.sort(function(a,b){return a.start.length>b.start.length?-1:a.start.length'+a+""}function f(){var a,b="";for(a in n)b+=a;return new RegExp("["+b+"]","g")}function g(){var a,b="";for(a in n)b&&(b+=","),b+="span.mce-"+n[a];return b}var h,i,j,k,l,m,n,o,p=a.getBody(),q=a.selection;if(n={"\xa0":"nbsp","\xad":"shy"},d=!d,e.state=d,a.fire("VisualChars",{state:d}),o=f(),b&&(m=q.getBookmark()),d)for(i=[],tinymce.walk(p,function(a){3==a.nodeType&&a.nodeValue&&o.test(a.nodeValue)&&i.push(a)},"childNodes"),j=0;j=0;j--)a.dom.remove(i[j],1);q.moveToBookmark(m)}function c(){var b=this;a.on("VisualChars",function(a){b.active(a.state)})}var d,e=this;a.addCommand("mceVisualChars",b),a.addButton("visualchars",{title:"Show invisible characters",cmd:"mceVisualChars",onPostRender:c}),a.addMenuItem("visualchars",{text:"Show invisible characters",cmd:"mceVisualChars",onPostRender:c,selectable:!0,context:"view",prependToContext:!0}),a.on("beforegetcontent",function(a){d&&"raw"!=a.format&&!a.draft&&(d=!0,b(!1))})}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/plugins/wordcount/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("wordcount",function(a){function b(){a.theme.panel.find("#wordcount").text(["Words: {0}",e.getCount()])}var c,d,e=this;c=a.getParam("wordcount_countregex",/[\w\u2019\x27\-\u00C0-\u1FFF]+/g),d=a.getParam("wordcount_cleanregex",/[0-9.(),;:!?%#$?\x27\x22_+=\\\/\-]*/g),a.on("init",function(){var c=a.theme.panel&&a.theme.panel.find("#statusbar")[0];c&&window.setTimeout(function(){c.insert({type:"label",name:"wordcount",text:["Words: {0}",e.getCount()],classes:"wordcount",disabled:a.settings.readonly},0),a.on("setcontent beforeaddundo",b),a.on("keyup",function(a){32==a.keyCode&&b()})},0)}),e.getCount=function(){var b=a.getContent({format:"raw"}),e=0;if(b){b=b.replace(/\.\.\./g," "),b=b.replace(/<.[^<>]*?>/g," ").replace(/ | /gi," "),b=b.replace(/(\w+)(&#?[a-z0-9]+;)+(\w+)/i,"$1$3").replace(/&.+?;/g," "),b=b.replace(d,"");var f=b.match(c);f&&(e=f.length)}return e}}); -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/light/content.inline.min.css: -------------------------------------------------------------------------------- 1 | .mce-object{border:1px dotted #3A3A3A;background:#d5d5d5 url(img/object.gif) no-repeat center}.mce-pagebreak{cursor:default;display:block;border:0;width:100%;height:5px;border:1px dashed #666;margin-top:15px;page-break-before:always}@media print{.mce-pagebreak{border:0}}.mce-item-anchor{cursor:default;display:inline-block;-webkit-user-select:all;-webkit-user-modify:read-only;-moz-user-select:all;-moz-user-modify:read-only;user-select:all;user-modify:read-only;width:9px!important;height:9px!important;border:1px dotted #3A3A3A;background:#d5d5d5 url(img/anchor.gif) no-repeat center}.mce-nbsp{background:#AAA}hr{cursor:default}.mce-match-marker{background:#AAA;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-spellchecker-word{border-bottom:2px solid red;cursor:default}.mce-spellchecker-grammar{border-bottom:2px solid green;cursor:default}.mce-item-table,.mce-item-table td,.mce-item-table th,.mce-item-table caption{border:1px dashed #BBB}td.mce-item-selected,th.mce-item-selected{background-color:#39f!important}.mce-edit-focus{outline:1px dotted #333} -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/light/content.min.css: -------------------------------------------------------------------------------- 1 | body{background-color:#FFF;color:#000;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;scrollbar-3dlight-color:#F0F0EE;scrollbar-arrow-color:#676662;scrollbar-base-color:#F0F0EE;scrollbar-darkshadow-color:#DDD;scrollbar-face-color:#E0E0DD;scrollbar-highlight-color:#F0F0EE;scrollbar-shadow-color:#F0F0EE;scrollbar-track-color:#F5F5F5}td,th{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px}.mce-object{border:1px dotted #3A3A3A;background:#d5d5d5 url(img/object.gif) no-repeat center}.mce-pagebreak{cursor:default;display:block;border:0;width:100%;height:5px;border:1px dashed #666;margin-top:15px;page-break-before:always}@media print{.mce-pagebreak{border:0}}.mce-item-anchor{cursor:default;display:inline-block;-webkit-user-select:all;-webkit-user-modify:read-only;-moz-user-select:all;-moz-user-modify:read-only;user-select:all;user-modify:read-only;width:9px!important;height:9px!important;border:1px dotted #3A3A3A;background:#d5d5d5 url(img/anchor.gif) no-repeat center}.mce-nbsp{background:#AAA}hr{cursor:default}.mce-match-marker{background:#AAA;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-spellchecker-word{border-bottom:2px solid red;cursor:default}.mce-spellchecker-grammar{border-bottom:2px solid green;cursor:default}.mce-item-table,.mce-item-table td,.mce-item-table th,.mce-item-table caption{border:1px dashed #BBB}td.mce-item-selected,th.mce-item-selected{background-color:#39f!important}.mce-edit-focus{outline:1px dotted #333} -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/light/fonts/tinymce-small.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/light/fonts/tinymce-small.eot -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/light/fonts/tinymce-small.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/light/fonts/tinymce-small.ttf -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/light/fonts/tinymce-small.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/light/fonts/tinymce-small.woff -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/light/fonts/tinymce.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/light/fonts/tinymce.eot -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/light/fonts/tinymce.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/light/fonts/tinymce.ttf -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/light/fonts/tinymce.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/light/fonts/tinymce.woff -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/light/img/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/light/img/anchor.gif -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/light/img/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/light/img/loader.gif -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/light/img/object.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/light/img/object.gif -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/light/img/trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/light/img/trans.gif -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/lightgray/content.inline.min.css: -------------------------------------------------------------------------------- 1 | .mce-object{border:1px dotted #3A3A3A;background:#d5d5d5 url(img/object.gif) no-repeat center}.mce-pagebreak{cursor:default;display:block;border:0;width:100%;height:5px;border:1px dashed #666;margin-top:15px;page-break-before:always}@media print{.mce-pagebreak{border:0}}.mce-item-anchor{cursor:default;display:inline-block;-webkit-user-select:all;-webkit-user-modify:read-only;-moz-user-select:all;-moz-user-modify:read-only;user-select:all;user-modify:read-only;width:9px!important;height:9px!important;border:1px dotted #3A3A3A;background:#d5d5d5 url(img/anchor.gif) no-repeat center}.mce-nbsp,.mce-shy{background:#AAA}.mce-shy::after{content:'-'}hr{cursor:default}.mce-match-marker{background:#AAA;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-spellchecker-word{border-bottom:2px solid red;cursor:default}.mce-spellchecker-grammar{border-bottom:2px solid green;cursor:default}.mce-item-table,.mce-item-table td,.mce-item-table th,.mce-item-table caption{border:1px dashed #BBB}td.mce-item-selected,th.mce-item-selected{background-color:#39f!important}.mce-edit-focus{outline:1px dotted #333} -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/lightgray/content.min.css: -------------------------------------------------------------------------------- 1 | body{background-color:#FFF;color:#000;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;scrollbar-3dlight-color:#F0F0EE;scrollbar-arrow-color:#676662;scrollbar-base-color:#F0F0EE;scrollbar-darkshadow-color:#DDD;scrollbar-face-color:#E0E0DD;scrollbar-highlight-color:#F0F0EE;scrollbar-shadow-color:#F0F0EE;scrollbar-track-color:#F5F5F5}td,th{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px}.mce-object{border:1px dotted #3A3A3A;background:#d5d5d5 url(img/object.gif) no-repeat center}.mce-pagebreak{cursor:default;display:block;border:0;width:100%;height:5px;border:1px dashed #666;margin-top:15px;page-break-before:always}@media print{.mce-pagebreak{border:0}}.mce-item-anchor{cursor:default;display:inline-block;-webkit-user-select:all;-webkit-user-modify:read-only;-moz-user-select:all;-moz-user-modify:read-only;user-select:all;user-modify:read-only;width:9px!important;height:9px!important;border:1px dotted #3A3A3A;background:#d5d5d5 url(img/anchor.gif) no-repeat center}.mce-nbsp,.mce-shy{background:#AAA}.mce-shy::after{content:'-'}hr{cursor:default}.mce-match-marker{background:#AAA;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-spellchecker-word{border-bottom:2px solid red;cursor:default}.mce-spellchecker-grammar{border-bottom:2px solid green;cursor:default}.mce-item-table,.mce-item-table td,.mce-item-table th,.mce-item-table caption{border:1px dashed #BBB}td.mce-item-selected,th.mce-item-selected{background-color:#39f!important}.mce-edit-focus{outline:1px dotted #333} -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/lightgray/fonts/tinymce-small.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/lightgray/fonts/tinymce-small.eot -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/lightgray/fonts/tinymce-small.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/lightgray/fonts/tinymce-small.ttf -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/lightgray/fonts/tinymce-small.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/lightgray/fonts/tinymce-small.woff -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/lightgray/fonts/tinymce.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/lightgray/fonts/tinymce.eot -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/lightgray/fonts/tinymce.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/lightgray/fonts/tinymce.ttf -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/lightgray/fonts/tinymce.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/lightgray/fonts/tinymce.woff -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/lightgray/img/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/lightgray/img/anchor.gif -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/lightgray/img/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/lightgray/img/loader.gif -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/lightgray/img/object.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/lightgray/img/object.gif -------------------------------------------------------------------------------- /assets/admin/js/tinymce/skins/lightgray/img/trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/admin/js/tinymce/skins/lightgray/img/trans.gif -------------------------------------------------------------------------------- /assets/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/assets/index.html -------------------------------------------------------------------------------- /system/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Require all denied 3 | 4 | 5 | Deny from all 6 | -------------------------------------------------------------------------------- /system/core/compat/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/core/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/cubrid/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/ibase/ibase_utility.php: -------------------------------------------------------------------------------- 1 | db->hostname, $this->db->username, $this->db->password)) 58 | { 59 | $res = ibase_backup($service, $this->db->database, $filename.'.fbk'); 60 | 61 | // Close the service connection 62 | ibase_service_detach($service); 63 | return $res; 64 | } 65 | 66 | return FALSE; 67 | } 68 | 69 | } 70 | -------------------------------------------------------------------------------- /system/database/drivers/ibase/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/mssql/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/mssql/mssql_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 75 | } 76 | 77 | } 78 | -------------------------------------------------------------------------------- /system/database/drivers/mysql/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/mysqli/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/oci8/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/oci8/oci8_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 66 | } 67 | 68 | } 69 | -------------------------------------------------------------------------------- /system/database/drivers/odbc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/odbc/odbc_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/pdo_forge.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/subdrivers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/subdrivers/pdo_odbc_forge.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite/sqlite_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 59 | } 60 | 61 | } 62 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite3/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite3/sqlite3_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 59 | } 60 | 61 | } 62 | -------------------------------------------------------------------------------- /system/database/drivers/sqlsrv/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/fonts/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/fonts/texb.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avenirer/CodeIgniter-multilanguage-site/643f9f043c3909912f4fbcb8b2c5b0d6c97898a6/system/fonts/texb.ttf -------------------------------------------------------------------------------- /system/helpers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/language/english/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/language/english/migration_lang.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Cache/drivers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Cache/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Javascript/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Session/SessionHandlerInterface.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Session/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | --------------------------------------------------------------------------------