code
string
repo_name
string
path
string
language
string
license
string
size
int64
<?php if (is_array($array)): ?> <div class="page-toc"> <?php foreach ($array as $item): ?> <?php if ($item['level'] > 1): ?> <?php echo str_repeat('&nbsp;', ($item['level'] - 1) * 4) ?> <?php endif ?> <?php echo HTML::anchor('#'.$item['id'],$item['name'], NULL, NULL, TRUE); ?><br /> <?php endforeach; ?> </div...
zuber-personal-page
trunk/personal/modules/userguide/views/userguide/page-toc.php
PHP
asf20
337
<h1> <?php echo $doc->modifiers, $doc->class->name ?> <?php foreach ($doc->parents as $parent): ?> <br/><small>extends <?php echo HTML::anchor($route->uri(array('class' => $parent->name)), $parent->name, NULL, NULL, TRUE) ?></small> <?php endforeach; ?> </h1> <?php if ($interfaces = $doc->class->getInterfaceNames(...
zuber-personal-page
trunk/personal/modules/userguide/views/userguide/api/class.php
PHP
asf20
3,938
<h2>Modules</h2> <ol class="menu"> <?php foreach ($menu as $package => $categories): ksort($categories); ?> <li><span><strong><?php echo $package ?></strong></span> <ol> <?php foreach ($categories as $category => $classes): sort($classes); ?> <li><?php if ($category !== 'Base'): ?><span><?php echo $category ?></sp...
zuber-personal-page
trunk/personal/modules/userguide/views/userguide/api/menu.php
PHP
asf20
564
<h4>Tags</h4> <ul class="tags"> <?php foreach ($tags as $name => $set): ?> <li><?php echo ucfirst($name).($set?' - '.implode(', ',$set):''); ?> <?php endforeach ?> </ul>
zuber-personal-page
trunk/personal/modules/userguide/views/userguide/api/tags.php
PHP
asf20
169
<h1><?php echo 'Available Classes' ?></h1> <label>Filter:</label> <input type="text" id="kodoc-api-filter-box" /> <script type="text/javascript"> (function($) { $.fn.extend({ api_filter: function(api_container_selector){ var $api_container = $(api_container_selector); var $this = this; if ($api_container...
zuber-personal-page
trunk/personal/modules/userguide/views/userguide/api/toc.php
PHP
asf20
1,688
<div class="method"> <?php $declares = $doc->method->getDeclaringClass(); ?> <h3 id="<?php echo $doc->method->name ?>"> <?php echo $doc->modifiers, $doc->method->name ?>( <?php echo $doc->params ? $doc->params_short() : '' ?>) <small>(defined in <?php echo html::anchor($route->uri(array('class' => $declares->name)),...
zuber-personal-page
trunk/personal/modules/userguide/views/userguide/api/method.php
PHP
asf20
1,487
<?php // Should trigger an ErrorException with an E_NOTICE level echo $var_does_not_exist; ?>
zuber-personal-page
trunk/personal/modules/userguide/views/userguide/examples/error.php
PHP
asf20
95
<style type="text/css"> #kohana_error { background: #ddd; font-size: 1em; font-family:sans-serif; text-align: left; color: #111; } #kohana_error h1, #kohana_error h2 { margin: 0; padding: 1em; font-size: 1em; font-weight: normal; background: #911; color: #fff; } #kohana_error h1 a, #kohana_error h2 a { color: #fff; }...
zuber-personal-page
trunk/personal/modules/userguide/views/userguide/examples/hello_world_error.php
PHP
asf20
25,258
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title><?php echo $title ?> | Kohana <?php echo 'User Guide'; ?><...
zuber-personal-page
trunk/personal/modules/userguide/views/userguide/template.php
PHP
asf20
3,713
<?php defined('SYSPATH') or die('No direct script access.'); return array( 'translations' => array( 'de-de' => 'Deutsch', 'en-us' => 'English', 'es-es' => 'Español', 'zh-cn' => '简体中文', 'ru-ru' => 'Русский', 'fr-fr' => 'Français', 'he-il' => 'עברית', 'nl' => 'Nederlands', ), );
zuber-personal-page
trunk/personal/modules/userguide/messages/userguide.php
PHP
asf20
319
/*! * Sizzle CSS Selector Engine - v1.0 * Copyright 2009, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * More information: http://sizzlejs.com/ */ (function(){ var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\...
zuber-personal-page
trunk/personal/modules/userguide/media/guide/js/sizzle.js
JavaScript
asf20
26,729
$(document).ready(function() { // Syntax highlighter $('pre:not(.debug) code').each(function() { $(this).addClass('brush: php, class-name: highlighted'); }); SyntaxHighlighter.config.tagName = 'code'; // Don't show the toolbar or line-numbers. SyntaxHighlighter.defaults.gutter = false; SyntaxHighlighter.all...
zuber-personal-page
trunk/personal/modules/userguide/media/guide/js/kodoc.js
JavaScript
asf20
2,229
/** * Cookie plugin * * Copyright (c) 2006 Klaus Hartl (stilbuero.de) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * */ /** * Create a cookie with the given name and value and other optional parameters. * * @examp...
zuber-personal-page
trunk/personal/modules/userguide/media/guide/js/jquery.cookie.js
JavaScript
asf20
4,246
/** * SyntaxHighlighter * http://alexgorbatchev.com/SyntaxHighlighter * * SyntaxHighlighter is donationware. If you are using it, please donate. * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * * @version * 3.0.83 (July 02 2010) * * @copyright * Copyright (C) 2004-2010 Alex Gorbatchev. * * @lic...
zuber-personal-page
trunk/personal/modules/userguide/media/guide/css/shCore.css
CSS
asf20
6,204
/** * SyntaxHighlighter * http://alexgorbatchev.com/SyntaxHighlighter * * SyntaxHighlighter is donationware. If you are using it, please donate. * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * * @version * 3.0.83 (July 02 2010) * * @copyright * Copyright (C) 2004-2010 Alex Gorbatchev. * * @lic...
zuber-personal-page
trunk/personal/modules/userguide/media/guide/css/shThemeDefault.css
CSS
asf20
2,877
/* Smaller font for printing */ body { font:14px/1.5 Helvetica,Arial; } /* Show link urls, imitating markdown syntax */ a:link, a:visited { text-decoration:none; } a:link:before, a:visited:before { content:"["; } a:link:after, a:visited:after { content:"](" attr(href) ")"; } /* Hide things like navigation, header l...
zuber-personal-page
trunk/personal/modules/userguide/media/guide/css/print.css
CSS
asf20
991
/** * SyntaxHighlighter * http://alexgorbatchev.com/ * * SyntaxHighlighter is donationware. If you are using it, please donate. * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate * * @version * 2.1.364 (October 15 2009) * * @copyright * Copyright (C) 2004-2009 Alex Gorbatchev. * * @license * This ...
zuber-personal-page
trunk/personal/modules/userguide/media/guide/css/shThemeKodoc.css
CSS
asf20
3,561
/* Api browser stuff */ /* api index page */ div.class-list div.class { width: 50%; } div.class-list div.class.left { float: left; clear: both; } div.class-list div.class.right { float: right; } div.class-list div.class h2 { background:none; } /* table of contents at the top of each class */ div.toc { } div.toc div ...
zuber-personal-page
trunk/personal/modules/userguide/media/guide/css/api.css
CSS
asf20
1,505
/* ----------------------------------------------------------------------- BlueTrip CSS Framework Mike Crittenden mike@capsizedesigns.com Copyright 2008 Mike Crittenden License - MIT or GPL (whichever suits you better) ----------------------------------------------------------------------- */ /* MEY...
zuber-personal-page
trunk/personal/modules/userguide/media/guide/css/screen.css
CSS
asf20
11,120
@import url('api.css'); html { background: #00262f; font-size: 70%; } body { margin: 0; } ol ol, ol ul, ul ul, ul ol { margin-bottom: 0; } a img { border: 0; } h1 small, h2 small, h3 small, h4 small { font-weight: normal; font-size: 0.7em; } h5 small, h6 small { font-weight: normal; font-size: 0.8em; } dl dd { margi...
zuber-personal-page
trunk/personal/modules/userguide/media/guide/css/kodoc.css
CSS
asf20
4,588
<?php defined('SYSPATH') or die('No direct script access.'); // Static file serving (CSS, JS, images) Route::set('docs/media', 'guide-media(/<file>)', array('file' => '.+')) ->defaults(array( 'controller' => 'Userguide', 'action' => 'media', 'file' => NULL, )); // API Browser, if enabled if (Kohana:...
zuber-personal-page
trunk/personal/modules/userguide/init.php
PHP
asf20
1,165
<?php defined('SYSPATH') OR die('No direct script access.'); class Controller_Userguide extends Kohana_Controller_Userguide {}
zuber-personal-page
trunk/personal/modules/userguide/classes/Controller/Userguide.php
PHP
asf20
128
<?php defined('SYSPATH') or die('No direct script access.'); abstract class Kodoc_Missing extends Kohana_Kodoc_Missing { }
zuber-personal-page
trunk/personal/modules/userguide/classes/Kodoc/Missing.php
PHP
asf20
125
<?php defined('SYSPATH') or die('No direct script access.'); class Kodoc_Property extends Kohana_Kodoc_Property {}
zuber-personal-page
trunk/personal/modules/userguide/classes/Kodoc/Property.php
PHP
asf20
116
<?php defined('SYSPATH') or die('No direct script access.'); class Kodoc_Markdown extends Kohana_Kodoc_Markdown {}
zuber-personal-page
trunk/personal/modules/userguide/classes/Kodoc/Markdown.php
PHP
asf20
116
<?php defined('SYSPATH') or die('No direct script access.'); class Kodoc_Method extends Kohana_Kodoc_Method {}
zuber-personal-page
trunk/personal/modules/userguide/classes/Kodoc/Method.php
PHP
asf20
112
<?php defined('SYSPATH') or die('No direct script access.'); class Kodoc_Method_Param extends Kohana_Kodoc_Method_Param {}
zuber-personal-page
trunk/personal/modules/userguide/classes/Kodoc/Method/Param.php
PHP
asf20
124
<?php defined('SYSPATH') or die('No direct script access.'); class Kodoc_Class extends Kohana_Kodoc_Class {}
zuber-personal-page
trunk/personal/modules/userguide/classes/Kodoc/Class.php
PHP
asf20
110
<?php defined('SYSPATH') or die('No direct script access.'); /** * Kohana user guide and api browser. * * @package Kohana/Userguide * @category Controllers * @author Kohana Team */ abstract class Kohana_Controller_Userguide extends Controller_Template { public $template = 'userguide/template'; // Rou...
zuber-personal-page
trunk/personal/modules/userguide/classes/Kohana/Controller/Userguide.php
PHP
asf20
12,331
<?php defined('SYSPATH') or die('No direct script access.'); /** * Set Kodoc_Missing::create_class as an autoloading to prevent missing classes * from crashing the api browser. Classes that are missing a parent will * extend this class, and get a warning in the API browser. * * @package Kohana/Userguide * @ca...
zuber-personal-page
trunk/personal/modules/userguide/classes/Kohana/Kodoc/Missing.php
PHP
asf20
917
<?php defined('SYSPATH') or die('No direct script access.'); /** * Class property documentation generator. * * @package Kohana/Userguide * @category Base * @author Kohana Team * @copyright (c) 2009-2012 Kohana Team * @license http://kohanaphp.com/license */ class Kohana_Kodoc_Property extends Kodoc...
zuber-personal-page
trunk/personal/modules/userguide/classes/Kohana/Kodoc/Property.php
PHP
asf20
2,181
<?php defined('SYSPATH') or die('No direct script access.'); /** * Custom Markdown parser for Kohana documentation. * * @package Kohana/Userguide * @category Base * @author Kohana Team * @copyright (c) 2009-2012 Kohana Team * @license http://kohanaphp.com/license */ class Kohana_Kodoc_Markdown exte...
zuber-personal-page
trunk/personal/modules/userguide/classes/Kohana/Kodoc/Markdown.php
PHP
asf20
6,759
<?php defined('SYSPATH') or die('No direct script access.'); /** * Class method documentation generator. * * @package Kohana/Userguide * @category Base * @author Kohana Team * @copyright (c) 2009 Kohana Team * @license http://kohanaphp.com/license */ class Kohana_Kodoc_Method extends Kodoc { /** ...
zuber-personal-page
trunk/personal/modules/userguide/classes/Kohana/Kodoc/Method.php
PHP
asf20
2,856
<?php defined('SYSPATH') or die('No direct script access.'); /** * Class method parameter documentation generator. * * @package Kohana/Userguide * @category Base * @author Kohana Team * @copyright (c) 2009 Kohana Team * @license http://kohanaphp.com/license */ class Kohana_Kodoc_Method_Param extend...
zuber-personal-page
trunk/personal/modules/userguide/classes/Kohana/Kodoc/Method/Param.php
PHP
asf20
1,902
<?php defined('SYSPATH') or die('No direct script access.'); /** * Class documentation generator. * * @package Kohana/Userguide * @category Base * @author Kohana Team * @copyright (c) 2009-2012 Kohana Team * @license http://kohanaphp.com/license */ class Kohana_Kodoc_Class extends Kodoc { /** *...
zuber-personal-page
trunk/personal/modules/userguide/classes/Kohana/Kodoc/Class.php
PHP
asf20
6,658
<?php defined('SYSPATH') or die('No direct script access.'); /** * Documentation generator. * * @package Kohana/Userguide * @category Base * @author Kohana Team * @copyright (c) 2008-2012 Kohana Team * @license http://kohanaphp.com/license */ class Kohana_Kodoc { /** * @var string PCRE fragmen...
zuber-personal-page
trunk/personal/modules/userguide/classes/Kohana/Kodoc.php
PHP
asf20
10,959
<?php defined('SYSPATH') or die('No direct script access.'); class Kodoc extends Kohana_Kodoc {}
zuber-personal-page
trunk/personal/modules/userguide/classes/Kodoc.php
PHP
asf20
98
<?php return array ( 'modules' => array( 'minion' => array( 'enabled' => TRUE, 'name' => 'Minion', 'description' => 'Minion is a simple command line task runner', 'copyright' => '&copy; 2009-2011 Kohana Team', ) ) );
zuber-personal-page
trunk/personal/modules/minion/config/userguide.php
PHP
asf20
235
Parameter Errors: <?php foreach ($errors as $parameter => $error): ?> <?php echo $parameter; ?> - <?php echo $error; ?> <?php endforeach; ?> Run php index.php --task=<?php echo $task?> --help for more help
zuber-personal-page
trunk/personal/modules/minion/views/minion/error/validation.php
PHP
asf20
217
<?php echo $error; ?> Run index.php --uri=minion for more help
zuber-personal-page
trunk/personal/modules/minion/views/minion/help/error.php
PHP
asf20
71
Usage ======= php minion.php --task=<?php echo $task; ?> [--option1=value1] [--option2=value2] Details ======= <?php foreach($tags as $tag_name => $tag_content): ?> <?php echo ucfirst($tag_name) ?>: <?php echo $tag_content ?> <?php endforeach; ?> Description =========== <?php echo $description; ?>
zuber-personal-page
trunk/personal/modules/minion/views/minion/help/task.php
PHP
asf20
305
Minion is a cli tool for performing tasks Usage <?php echo $_SERVER['argv'][0]; ?> {task} --task=[options] Where {task} is one of the following: <?php foreach($tasks as $task): ?> * <?php echo $task; ?> <?php endforeach; ?> For more information on what a task does and usage details execute <?php echo...
zuber-personal-page
trunk/personal/modules/minion/views/minion/help/list.php
PHP
asf20
367
#!/bin/bash # # This script is similar to minion but will do a few additional things: # - PHP process is run in the background # - PHP process is monitored and restarted if it exits for any reason # - Added handlers for SUGHUP, SIGINT, and SIGTERM # # This is meant for long running minion tasks (like background workers...
zuber-personal-page
trunk/personal/modules/minion/miniond
Shell
asf20
1,670
<?php return array( 'minion_option' => ':field is not a valid option for this task!', );
zuber-personal-page
trunk/personal/modules/minion/messages/validation.php
PHP
asf20
90
<?php /** * Test case for Minion_Util * * @package Kohana/Minion * @group kohana * @group kohana.minion * @category Test * @author Kohana Team * @copyright (c) 2009-2012 Kohana Team * @license http://kohanaframework.org/license */ class Minion_TaskTest extends Kohana_Unittest_TestCase...
zuber-personal-page
trunk/personal/modules/minion/tests/minion/task.php
PHP
asf20
1,635
#!/bin/bash # # This script is similar to minion but will do a few additional things: # - PHP process is run in the background # - PHP process is monitored and restarted if it exits for any reason # - Added handlers for SUGHUP, SIGINT, and SIGTERM # # This is meant for long running minion tasks (like background workers...
zuber-personal-page
trunk/personal/modules/minion/.svn/text-base/miniond.svn-base
Shell
asf20
1,670
#!/usr/bin/env php <?php include __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'index.php';
zuber-personal-page
trunk/personal/modules/minion/.svn/text-base/minion.svn-base
PHP
asf20
124
<?php defined('SYSPATH') or die('No direct script access.'); class Minion_Exception_InvalidTask extends Kohana_Minion_Exception_InvalidTask {}
zuber-personal-page
trunk/personal/modules/minion/classes/Minion/Exception/InvalidTask.php
PHP
asf20
144
<?php defined('SYSPATH') or die('No direct script access.'); class Minion_CLI extends Kohana_Minion_CLI {}
zuber-personal-page
trunk/personal/modules/minion/classes/Minion/CLI.php
PHP
asf20
107
<?php defined('SYSPATH') or die('No direct script access.'); class Minion_Exception extends Kohana_Minion_Exception {}
zuber-personal-page
trunk/personal/modules/minion/classes/Minion/Exception.php
PHP
asf20
120
<?php defined('SYSPATH') or die('No direct script access.'); /** * Interface that all minion tasks must implement */ abstract class Minion_Task extends Kohana_Minion_Task { }
zuber-personal-page
trunk/personal/modules/minion/classes/Minion/Task.php
PHP
asf20
179
<?php defined('SYSPATH') or die('No direct script access.'); /** * Invalid Task Exception * * @package Kohana * @category Minion * @author Kohana Team * @copyright (c) 2009-2011 Kohana Team * @license http://kohanaframework.org/license */ class Kohana_Minion_Exception_InvalidTask extends Minion_Exc...
zuber-personal-page
trunk/personal/modules/minion/classes/Kohana/Minion/Exception/InvalidTask.php
PHP
asf20
422
<?php defined('SYSPATH') or die('No direct script access.'); class Kohana_Minion_CLI { public static $wait_msg = 'Press any key to continue...'; protected static $foreground_colors = array( 'black' => '0;30', 'dark_gray' => '1;30', 'blue' => '0;34', 'light_blue' => '1;34', 'green' ...
zuber-personal-page
trunk/personal/modules/minion/classes/Kohana/Minion/CLI.php
PHP
asf20
7,411
<?php defined('SYSPATH') or die('No direct script access.'); /** * Minipn exception * * @package Kohana * @category Minion * @author Kohana Team * @copyright (c) 2009-2011 Kohana Team * @license http://kohanaframework.org/license */ class Kohana_Minion_Exception extends Kohana_Exception { /** * ...
zuber-personal-page
trunk/personal/modules/minion/classes/Kohana/Minion/Exception.php
PHP
asf20
1,343
<?php defined('SYSPATH') or die('No direct script access.'); /** * Interface that all minion tasks must implement * * @package Kohana * @category Minion * @author Kohana Team * @copyright (c) 2009-2011 Kohana Team * @license http://kohanaframework.org/license */ abstract class Kohana_Minion_Task { ...
zuber-personal-page
trunk/personal/modules/minion/classes/Kohana/Minion/Task.php
PHP
asf20
7,991
<?php defined('SYSPATH') or die('No direct script access.'); /** * Help task to display general instructons and list all tasks * * @package Kohana * @category Helpers * @author Kohana Team * @copyright (c) 2009-2011 Kohana Team * @license http://kohanaframework.org/license */ class Task_Help extend...
zuber-personal-page
trunk/personal/modules/minion/classes/Task/Help.php
PHP
asf20
615
#!/usr/bin/env php <?php include __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'index.php';
zuber-personal-page
trunk/personal/modules/minion/minion
PHP
asf20
124
<?php defined('SYSPATH') or die('No direct script access.'); /** * @package Captcha * * Captcha configuration is defined in groups which allows you to easily switch * between different Captcha settings for different forms on your website. * Note: all groups inherit and overwrite the default group. * * Group Opt...
zuber-personal-page
trunk/personal/modules/captcha/config/captcha.php
PHP
asf20
2,026
<?php defined('SYSPATH') or die('No direct script access.'); // Catch-all route for Captcha classes to run Route::set('captcha', 'captcha(/<group>)') ->defaults(array( 'controller' => 'captcha', 'action' => 'index', 'group' => NULL));
zuber-personal-page
trunk/personal/modules/captcha/init.php
PHP
asf20
243
<?php defined('SYSPATH') OR die('No direct access.'); /** * Captcha abstract class. * * @package Captcha * @author Michael Lavers * @author Kohana Team * @copyright (c) 2008-2010 Kohana Team * @license http://kohanaphp.com/license.html */ abstract class Captcha { /** * @var object Captcha si...
zuber-personal-page
trunk/personal/modules/captcha/classes/captcha.php
PHP
asf20
12,294
<?php defined('SYSPATH') OR die('No direct access allowed.'); /** * Outputs the dynamic Captcha resource. * Usage: Call the Captcha controller from a view, e.g. * <img src="<?php echo url::site('captcha') ?>" /> * * $Id: captcha.php 3769 2008-12-15 00:48:56Z zombor $ * * @package Captcha * @sub...
zuber-personal-page
trunk/personal/modules/captcha/classes/controller/captcha.php
PHP
asf20
1,084
<?php defined('SYSPATH') OR die('No direct access.'); /** * Math captcha class. * * @package Captcha * @subpackage Captcha_Math * @author Michael Lavers * @author Kohana Team * @copyright (c) 2008-2010 Kohana Team * @license http://kohanaphp.com/license.html */ class Captcha_Math extends Captcha { /** ...
zuber-personal-page
trunk/personal/modules/captcha/classes/captcha/math.php
PHP
asf20
1,289
<?php defined('SYSPATH') OR die('No direct access.'); /** * Basic captcha class. * * @package Captcha * @subpackage Captcha_Basic * @author Michael Lavers * @author Kohana Team * @copyright (c) 2008-2010 Kohana Team * @license http://kohanaphp.com/license.html */ class Captcha_Basic extends Captcha { /**...
zuber-personal-page
trunk/personal/modules/captcha/classes/captcha/basic.php
PHP
asf20
2,796
<?php defined('SYSPATH') OR die('No direct access.'); /** * Alpha captcha class. * * @package Captcha * @subpackage Captcha_Alpha * @author Michael Lavers * @author Kohana Team * @copyright (c) 2008-2010 Kohana Team * @license http://kohanaphp.com/license.html */ class Captcha_Alpha extends Captcha { /**...
zuber-personal-page
trunk/personal/modules/captcha/classes/captcha/alpha.php
PHP
asf20
3,412
<?php defined('SYSPATH') OR die('No direct access.'); /** * Black captcha class. * * @package Captcha * @subpackage Captcha_Black * @author Michael Lavers * @author Kohana Team * @copyright (c) 2008-2010 Kohana Team * @license http://kohanaphp.com/license.html */ class Captcha_Black extends Captcha { /** ...
zuber-personal-page
trunk/personal/modules/captcha/classes/captcha/black.php
PHP
asf20
3,230
<?php defined('SYSPATH') OR die('No direct access.'); /** * Riddle captcha class. * * @package Captcha * @subpackage Captcha_Riddle * @author Michael Lavers * @author Kohana Team * @copyright (c) 2008-2010 Kohana Team * @license http://kohanaphp.com/license.html */ class Captcha_Riddle extends Captcha { /...
zuber-personal-page
trunk/personal/modules/captcha/classes/captcha/riddle.php
PHP
asf20
1,005
<?php defined('SYSPATH') OR die('No direct access.'); /** * Word captcha class. * * @package Captcha * @subpackage Captcha_Word * @author Michael Lavers * @author Kohana Team * @copyright (c) 2008-2010 Kohana Team * @license http://kohanaphp.com/license.html */ class Captcha_Word extends Captcha_Basic { /...
zuber-personal-page
trunk/personal/modules/captcha/classes/captcha/word.php
PHP
asf20
920
<?php defined('SYSPATH') or die('No direct access allowed.'); return array( 'leftmenu' => array( array( 'link' => 'Avideocat', 'title' => 'Категории видео' ), array( 'link' => 'Aphotocat', 'title' => 'Категории фото' ), array( 'link' => 'Avideo', 'title' => 'Видео' ), array( 'link' ...
zuber-personal-page
trunk/personal/modules/administration/config/administration.php
PHP
asf20
746
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- Стили --> <link href="<?= URL::site('static/bootstrap/css/bootstrap.min.css') ?>" rel="stylesheet" type="text/css" /> <link href="<?= URL::site('static/bootstrap/css/bootstrap-responsive.min.css') ?>"...
zuber-personal-page
trunk/personal/modules/administration/views/alogin.php
PHP
asf20
1,455
<div class="well" style="display: none; background-color: #FCF8E3"> <button type="button" class="close" data-dismiss="alert">&times;</button> <!-- <div class="pop-up"> --> <table class="table" style="margin-top: 20px"> <tr> <th width="10%"> # </th> <th width="60%"> Заголовок <...
zuber-personal-page
trunk/personal/modules/administration/views/aajax/ahasmanylist.php
PHP
asf20
1,165
<? $id = Request::$current->param('id'); !empty($id) ? $active = array('form' => 'active', 'list' => '') : $active = array('form' => '', 'list' => 'active') ?> <div class="tabbable tabs-<?= (empty($_COOKIE['tabs-view'])) ? 'left' : $_COOKIE['tabs-view'] ?>"> <ul class="nav nav-tabs"> <li class="<?= $active['list'...
zuber-personal-page
trunk/personal/modules/administration/views/apieces/acontent/asubscribersContent.php
PHP
asf20
1,708
<? if (count($data) < 1): ?> <div class="well"> Ничего не найдено </div> <? else: ?> <div class="well"> <table class="table table-striped" cellspacing="1px" rules="rows"> <thead> <td width="14%"> <h2 style="display: inline;">№&nbsp;</h2> </td> <td width="66%"> <h2 style="disp...
zuber-personal-page
trunk/personal/modules/administration/views/apieces/abase/searchResults.php
PHP
asf20
1,262
<ul class="nav nav-pills nav-stacked"> <? foreach($leftmenu as $item): ?> <? if ($controller == $item['link']): ?> <li class="active"> <a href="#"> <?= $item['title'] ?>&nbsp;» </a> </li> <? else: ?> <li> <a href="<?= URL::base() ?>administration/<?= $item['link'] ?>"><?= $item[...
zuber-personal-page
trunk/personal/modules/administration/views/apieces/abase/leftmenu.php
PHP
asf20
387
<? $id = Request::$current->param('id'); if (!empty($id)) { $active = array('form' => 'active', 'list' => ''); } else { $active = array('form' => '', 'list' => 'active'); } ?> <div class="tabbable tabs-<?= (empty($_COOKIE['tabs-view'])) ? 'left' : $_COOKIE['tabs-view'] ?>"> <ul class="nav nav-tabs"> ...
zuber-personal-page
trunk/personal/modules/administration/views/apieces/abase/adefaultContent.php
PHP
asf20
1,776
<button type="button" class="btn addButton"><?= $text ?></button>
zuber-personal-page
trunk/personal/modules/administration/views/apieces/abase/addButton.php
PHP
asf20
65
<div class="well"> <table class="table table-striped" cellspacing="1px" rules="rows"> <thead> <td width="14%"> <h2 style="display: inline;">№&nbsp;</h2> <a href="#" title="Сортировать по убыванию" style="display: inline;">↑</a> <a href="#" title="Сортировать по убыванию" style="display: inline;"...
zuber-personal-page
trunk/personal/modules/administration/views/apieces/abase/adefaultList.php
PHP
asf20
2,660
<?= (count($data) == 0) ? '<div>Не найдено ни одной записи для отображения</div>' : FALSE ?> <div class="row-fluid"> <ul class="thumbnails"> <? $i = 0; foreach ($data as $key => $item): ?> <? //echo $i; if ($item->id == $defaults['item_id']) { ...
zuber-personal-page
trunk/personal/modules/administration/views/apieces/abase/aphotoList.php
PHP
asf20
5,449
<div class="pagination"> <?= $pagination ?> </div>
zuber-personal-page
trunk/personal/modules/administration/views/apieces/abase/apagination.php
PHP
asf20
53
<div class="well"> <table class="table table-striped" cellspacing="1px" rules="rows"> <thead> <td width="14%"> <h2 style="display: inline;">№&nbsp;</h2> <a href="#" title="Сортировать по убыванию" style="display: inline;">↑</a> <a href="#" title="Сортировать по убыванию" style="display: inline;"...
zuber-personal-page
trunk/personal/modules/administration/views/apieces/alist/asaysList.php
PHP
asf20
2,791
<!-- Yandex Maps --> <script src="http://api-maps.yandex.ru/2.0/?load=package.full&amp;lang=ru-RU" type="text/javascript"></script> <!-- Codeeditor --> <script src="<?= URL::site('static/administration/js/codemirror/lib/codemirror.js') ?>"></script> <script src="<?= URL::site('static/administration/js/codemirror/...
zuber-personal-page
trunk/personal/modules/administration/views/asettings/default.php
PHP
asf20
2,680
<div class="form-actions content-header"> <h1 class="pull-left"><?= $title ?></h1> </div> <?= Form::open('administration/Asettings/'.$_key.'/save', array('method' => 'post', 'enctype' => 'multipart/form-data', 'class' => 'form-horizontal')) ?> <div class="control-group"> <label class="control-label" for="accou...
zuber-personal-page
trunk/personal/modules/administration/views/asettings/account.php
PHP
asf20
1,294
<div class="form-actions content-header"> <h1 class="pull-left"><?= $title ?></h1> <? if (!empty($search_indexes)): ?> <form id="search" action="<?= URL::base() ?>administration/Asearch/" method="post" style="margin: 0; padding: 0"> <div class="input-prepend pull-right"> <div class="btn-group"> <b...
zuber-personal-page
trunk/personal/modules/administration/views/apages/amain.php
PHP
asf20
1,296
<div class="well"> <?= Form::open($actionLink, array('method' => 'post', 'enctype' => 'multipart/form-data', 'class' => 'form-horizontal')) ?> <div class="control-group"> <label class="control-label" for="subject">Тема письма</label> <div class="controls"> <?= Form::input('subject', '', array('class' ...
zuber-personal-page
trunk/personal/modules/administration/views/aforms/amailerForm.php
PHP
asf20
1,044
<script type="text/javascript" src="<?= URL::base() ?>static/administration/js/ckeditor/ckeditor.js"></script> <!-- elFinder CSS (REQUIRED) --> <link rel="stylesheet" type="text/css" media="screen" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/smoothness/jquery-ui.css"> <link rel="stylesheet" typ...
zuber-personal-page
trunk/personal/modules/administration/views/aforms/adefaultForm.php
PHP
asf20
7,070
<?php defined('SYSPATH') or die('No direct script access.'); Route::set('apages', 'administration/Apages(/<page>)(/<action>(/<id>(/<save>)))', array('page' => '[0-9]+')) // надо найти способ засунуть все роуты для пагинации в 1, если таковой конечно есть ->defaults(array( 'controller' => 'Apages', // 4...
zuber-personal-page
trunk/personal/modules/administration/init.php
PHP
asf20
4,666
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Asitetext extends Controller_Abase_Adefaultactions { }
zuber-personal-page
trunk/personal/modules/administration/classes/Controller/Asitetext.php
PHP
asf20
138
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Aadmins extends Controller_Abase_Adefaultactions { public function before() { parent::before(); if (Cookie::get('role', null) != 0) die('Access denied!'); } public function action_add() { $newO...
zuber-personal-page
trunk/personal/modules/administration/classes/Controller/Aadmins.php
PHP
asf20
2,303
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Abackground extends Controller_Abase_Adefaultactions { }
zuber-personal-page
trunk/personal/modules/administration/classes/Controller/Abackground.php
PHP
asf20
140
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Apages extends Controller_Abase_Adefaultactions { }
zuber-personal-page
trunk/personal/modules/administration/classes/Controller/Apages.php
PHP
asf20
135
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Asocial extends Controller_Abase_Adefaultactions { }
zuber-personal-page
trunk/personal/modules/administration/classes/Controller/Asocial.php
PHP
asf20
136
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Avideo extends Controller_Abase_Adefaultactions { }
zuber-personal-page
trunk/personal/modules/administration/classes/Controller/Avideo.php
PHP
asf20
135
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Aindex extends Controller_Abase_Acommon { public $template='alayout/amain'; public function action_index() { $this->template->right = ''; } }
zuber-personal-page
trunk/personal/modules/administration/classes/Controller/Aindex.php
PHP
asf20
238
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Aphoto extends Controller_Abase_Adefaultactions { }
zuber-personal-page
trunk/personal/modules/administration/classes/Controller/Aphoto.php
PHP
asf20
135
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Aauth extends Controller { public function action_index() { if ($this->request->post('login') || $this->request->post('pass')) { $userObj = ORM::factory('Aadmins', array( 'login' => $this->request->post('login'), ...
zuber-personal-page
trunk/personal/modules/administration/classes/Controller/Aauth.php
PHP
asf20
1,070
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Avideocat extends Controller_Abase_Adefaultactions { }
zuber-personal-page
trunk/personal/modules/administration/classes/Controller/Avideocat.php
PHP
asf20
138
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Aphotocat extends Controller_Abase_Adefaultactions { }
zuber-personal-page
trunk/personal/modules/administration/classes/Controller/Aphotocat.php
PHP
asf20
138
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Abase_Asettings extends Controller_Abase_Acommon { public $template = 'alayout/amain'; public $obj = NULL; public function showSettings() { if (!in_array(Cookie::get('role', null), unserialize($this->settings[$t...
zuber-personal-page
trunk/personal/modules/administration/classes/Controller/Abase/Asettings.php
PHP
asf20
5,457
<?php defined('SYSPATH') or die('No direct script access.'); class Controller_Abase_Asearch extends Controller { public function before() { parent::before(); if (!Cookie::get('admin', null) || !$this->request->is_ajax()) die('Access denied'); } public function params() { ...
zuber-personal-page
trunk/personal/modules/administration/classes/Controller/Abase/Asearch.php
PHP
asf20
1,381
<?php defined('SYSPATH') or die('No direct script access.'); abstract class Controller_Abase_Acommon extends Controller_Template { public $offset; public $_config; public $form; public $pagination; public $settings; public function before() { parent::before(); $thi...
zuber-personal-page
trunk/personal/modules/administration/classes/Controller/Abase/Acommon.php
PHP
asf20
9,968
<?php defined('SYSPATH') or die('No direct script access.'); abstract class Controller_Abase_Adefaultactions extends Controller_Abase_Acommon { public $template = 'alayout/amain'; public $obj = NULL; public function action_index() { $params = $this->params(); $this->showDefaultFo...
zuber-personal-page
trunk/personal/modules/administration/classes/Controller/Abase/Adefaultactions.php
PHP
asf20
3,094