PageRenderTime 6ms queryFilters 0ms Sphinxql 228ms GetByIds 367ms meta 0ms repositoryFilters 17ms languageFilters 1ms sourceFilters 1ms

108,410 results for 'php compact repo:facebook/hiphop-php' (6 ms)

Source

Language

Repository

Forms.php https://github.com/scogle/cockpit.git | PHP | 34 lines
1<?php
2
7	public function index(){
8        return $this->render("forms:views/index.php");
9    }
16
17        return $this->render("forms:views/form.php", compact('id'));
18    }
31
32        return $this->render("forms:views/entries.php", compact('id', 'form', 'count'));
33    }
Accounts.php https://github.com/arjunmenon/cockpit.git | PHP | 237 lines
1<?php
2
18
19        return $this->render('auth:views/accounts/index.php', compact('accounts', 'current'));
20    }
39
40        return $this->render('auth:views/accounts/account.php', compact('account', 'uid', 'languages', 'groups'));
41    }
50
51        return $this->render('auth:views/accounts/account.php', compact('account', 'uid', 'languages', 'groups'));
52    }
106
107        return $this->render('auth:views/accounts/groups.php', compact('acl'));
108    }
192
193        foreach ($this->app->helper("fs")->ls('*.php', 'cockpit:i18n') as $file) {
194
Accounts.php https://github.com/asdlfz/cockpit.git | PHP | 235 lines
1<?php
2
18
19        return $this->render('auth:views/accounts/index.php', compact('accounts', 'current'));
20    }
39
40        return $this->render('auth:views/accounts/account.php', compact('account', 'uid', 'languages', 'groups'));
41    }
50
51        return $this->render('auth:views/accounts/account.php', compact('account', 'uid', 'languages', 'groups'));
52    }
105
106        return $this->render('auth:views/accounts/groups.php', compact('acl'));
107    }
191
192        foreach ($this->app->helper("fs")->ls('*.php', 'cockpit:i18n') as $file) {
193
PodsAdmin.php https://github.com/BenjaminNolan/pods.git | PHP | 1,990 lines
318                        if ( 'post' == $post_type )
319                            remove_submenu_page( 'edit.php', 'edit-tags.php?taxonomy=' . $pod[ 'name' ] );
320                        elseif ( 'attachment' == $post_type )
772    public function mce_popup () {
773        pods_view( PODS_DIR . 'ui/admin/shortcode.php', compact( array_keys( get_defined_vars() ) ) );
774    }
1487    public function admin_advanced () {
1488        pods_view( PODS_DIR . 'ui/admin/advanced.php', compact( array_keys( get_defined_vars() ) ) );
1489    }
1494    public function admin_settings () {
1495        pods_view( PODS_DIR . 'ui/admin/settings.php', compact( array_keys( get_defined_vars() ) ) );
1496    }
1777
1778                pods_view( PODS_DIR . 'ui/admin/upgrade/upgrade_' . $new_version . '.php', compact( array_keys( get_defined_vars() ) ) );
1779
Accounts.php https://github.com/berrigan/cockpit.git | PHP | 237 lines
1<?php
2
18
19        return $this->render('auth:views/accounts/index.php', compact('accounts', 'current'));
20    }
39
40        return $this->render('auth:views/accounts/account.php', compact('account', 'uid', 'languages', 'groups'));
41    }
50
51        return $this->render('auth:views/accounts/account.php', compact('account', 'uid', 'languages', 'groups'));
52    }
106
107        return $this->render('auth:views/accounts/groups.php', compact('acl'));
108    }
192
193        foreach ($this->app->helper("fs")->ls('*.php', 'cockpit:i18n') as $file) {
194
Accounts.php https://github.com/brunoom1/cockpit.git | PHP | 237 lines
1<?php
2
18
19        return $this->render('auth:views/accounts/index.php', compact('accounts', 'current'));
20    }
39
40        return $this->render('auth:views/accounts/account.php', compact('account', 'uid', 'languages', 'groups'));
41    }
50
51        return $this->render('auth:views/accounts/account.php', compact('account', 'uid', 'languages', 'groups'));
52    }
106
107        return $this->render('auth:views/accounts/groups.php', compact('acl'));
108    }
192
193        foreach ($this->app->helper("fs")->ls('*.php', 'cockpit:i18n') as $file) {
194
FrmProDisplaysController.php https://github.com/ajency/intellidocs-server.git | PHP | 1,122 lines
106            $values = FrmProDisplaysHelper::setup_new_vars();
107            require_once(FRMPRO_VIEWS_PATH.'/displays/new.php');
108        }else{
120        global $frmpro_display;
121        $templates = glob($path."/*.php");
122        
123        for($i = count($templates) - 1; $i >= 0; $i--){
124            $filename = str_replace('.php', '', str_replace($path.'/', '', $templates[$i]));
125            $display = $frmpro_display->getAll(array('display_key' => $filename), '', 1);
271        ob_start();
272        include(FRMPRO_VIEWS_PATH.'/displays/calendar-header.php');
273        $content .= ob_get_contents();
1011                if($page_count > 1)
1012                    $pagination = FrmProDisplaysController::get_pagination_file(FRMPRO_VIEWS_PATH.'/displays/pagination.php', compact('current_page', 'record_count', 'page_count', 'page_last_record', 'page_first_record'));
1013            }else{
FrmProDisplaysController.php https://github.com/ajency/Myshala.git | PHP | 1,122 lines
106            $values = FrmProDisplaysHelper::setup_new_vars();
107            require_once(FRMPRO_VIEWS_PATH.'/displays/new.php');
108        }else{
120        global $frmpro_display;
121        $templates = glob($path."/*.php");
122        
123        for($i = count($templates) - 1; $i >= 0; $i--){
124            $filename = str_replace('.php', '', str_replace($path.'/', '', $templates[$i]));
125            $display = $frmpro_display->getAll(array('display_key' => $filename), '', 1);
271        ob_start();
272        include(FRMPRO_VIEWS_PATH.'/displays/calendar-header.php');
273        $content .= ob_get_contents();
1011                if($page_count > 1)
1012                    $pagination = FrmProDisplaysController::get_pagination_file(FRMPRO_VIEWS_PATH.'/displays/pagination.php', compact('current_page', 'record_count', 'page_count', 'page_last_record', 'page_first_record'));
1013            }else{
CompactSassRenderer.class.php git://github.com/m3nt0r/chaml---cakephp-haml-sass-integration.git | PHP | 49 lines
1<?php
2/**
2/**
3 * Compact Sass renderer.
4 *
5 * @link http://haml.hamptoncatlin.com/ Original Sass parser (for Ruby)
6 * @link http://phphaml.sourceforge.net/ Online documentation
7 * @link http://sourceforge.net/projects/phphaml/ SourceForge project page
7 * @link http://sourceforge.net/projects/phphaml/ SourceForge project page
8 * @license http://www.opensource.org/licenses/mit-license.php MIT (X11) License
9 * @author Amadeusz Jasak <amadeusz.jasak@gmail.com>
9 * @author Amadeusz Jasak <amadeusz.jasak@gmail.com>
10 * @package phpHaml
11 * @subpackage Sass
13
14require_once dirname(__FILE__) . '/../SassRenderer.class.php';
15
color.php https://github.com/ElmsPark/pods.git | PHP | 195 lines
1<?php
2/**
101        if ( pods_wp_version( '3.5', '>' ) )
102            pods_view( PODS_DIR . 'ui/fields/farbtastic.php', compact( array_keys( get_defined_vars() ) ) );
103        // WP Color Picker for 3.5+
104        else
105            pods_view( PODS_DIR . 'ui/fields/color.php', compact( array_keys( get_defined_vars() ) ) );
106    }
Roles.php https://github.com/ElmsPark/pods.git | PHP | 486 lines
1<?php
2/**
68                $roles[ $key ][ 'users' ] .= '<br /><a href="'
69                                             . admin_url( esc_url( 'users.php?role=' . $key ) ) . '">'
70                                             . __( 'View Users', 'pods' ) . '</a>';
134
135        pods_view( PODS_DIR . 'components/Roles/ui/add.php', compact( array_keys( get_defined_vars() ) ) );
136    }
162
163        pods_view( PODS_DIR . 'components/Roles/ui/edit.php', compact( array_keys( get_defined_vars() ) ) );
164    }
214                $roles[ $key ][ 'users' ] .= '<br /><a href="'
215                                             . admin_url( esc_url( 'users.php?role=' . $key ) ) . '">'
216                                             . __( 'View Users', 'pods' ) . '</a>';
Settings.php https://github.com/scogle/cockpit.git | PHP | 114 lines
1<?php
2
12
13        return $this->render('cockpit:views/settings/general.php', compact('token', 'registry'));
14    }
22        $info['system']        = php_uname();
23        $info['phpversion']    = phpversion();
24        $info['sapi_name']     = php_sapi_name();
35
36        return $this->render('cockpit:views/settings/info.php', compact('info'));
37    }
repeatablepro.php https://gitlab.com/vnsoftdev/amms.git | PHP | 301 lines
134		$separator = json_decode($separator, true); $filter = json_decode($filter, true); $specific = json_decode($specific, true);
135		$params = compact('layout', 'separator', 'filter', 'specific');
136		return $this->render($params);
162		// render layout
163		$_edit = $this->config->find('specific._edit_sublayout', '_edit.php');
164		return (($layout = $this->getLayout("edit/$_edit")) || ($layout = $this->getLayout("edit/_edit.php"))) ? $this->renderLayout($layout) : '';
222			$report['hash'] = $hash;
223			$this->_rendered_values[$hash] = compact('report', 'result');
224		}
270		// render layout or value
271		$main_layout = basename($params->find('layout._layout', 'default.php'), '.php');
272		if($layout = $this->getLayout('render/'.$main_layout.'/_sublayouts/'.$params->find('layout._sublayout', '_default.php'))){
286    protected function _renderRepeatable($function, $params = array()) {
287		return $this->renderLayout($this->app->path->path('elements:'.$this->getElementType().'/tmpl/edit/edit.php'), compact('function', 'params'));
288    }
admin.plugin.php https://github.com/AbhishekGhosh/OpenShift-FlatPress.git | PHP | 147 lines
1<?php
2
66					unset($fp_plugins[$i]);
67					sort($fp_plugins); /* compact indices */
68					do_action('deactivate_'.$id);
68					do_action('deactivate_'.$id);
69					$success = system_save(CONFIG_DIR . 'plugins.conf.php', compact('fp_plugins'));
70				} else {
96					do_action('activate_'.$id);
97					$success = system_save(CONFIG_DIR . 'plugins.conf.php', compact('fp_plugins'));
98				} else {
115		
116			//$conf = io_load_file(CONFIG_DIR . 'plugins.conf.php');
117			
133			$fp_plugins = array_keys($_POST['plugin_enabled']);
134			$success = system_save(CONFIG_DIR . 'plugins.conf.php', compact('fp_plugins'));
135			
Admin.php https://github.com/agentejo/cockpit.git | PHP | 117 lines
1<?php
2/**
33
34        return $this->render('forms:views/index.php', compact('forms'));
35    }
49
50        return $this->render('forms:views/form.php', compact('form'));
51    }
74
75        $view = 'forms:views/entries.php';
76
76
77        if ($override = $this->app->path('#config:forms/'.$form['name'].'/views/entries.php')) {
78            $view = $override;
80
81        return $this->render($view, compact('form', 'count'));
82    }
textareapro.php https://gitlab.com/vnsoftdev/amms.git | PHP | 400 lines
1<?php
2/**
218		// render layout or value
219		$main_layout = basename($params->find('layout._layout', 'default.php'), '.php');
220		if ($layout = $this->getLayout('render/'.$main_layout.'/_sublayouts/'.$params->find('layout._sublayout', '_default.php')))
221		{
222			return $this->renderLayout($layout, compact('params'));
223		}
322		
323        if ($layout = $this->getLayout('submission.php')) {
324			return $this->renderLayout($layout,
324			return $this->renderLayout($layout,
325				compact('trusted_mode')
326			);
381			$this->rewind();
382			return $this->config->get('repeatable') ? $this->renderLayout($this->getLayout('edit/edit_yoo.php'), compact('params')) : $this->_addEditor(0, $this->get('value', $this->config->get('default')), $params->get('trusted_mode', false));
383    	} else {
ImportExport.php https://github.com/amdrew/ninja-forms.git | PHP | 371 lines
1<?php if ( ! defined( 'ABSPATH' ) ) exit;
2
112
113        Ninja_Forms::template( 'admin-menu-import-export.html.php', compact( 'tabs', 'active_tab' ) );
114    }
154    {
155        Ninja_Forms::template( 'admin-metabox-import-export-forms-import.html.php' );
156    }
160        $forms = Ninja_Forms()->form()->get_forms();
161        Ninja_Forms::template( 'admin-metabox-import-export-forms-export.html.php', compact( 'forms' ) );
162    }
165    {
166        Ninja_Forms::template( 'admin-metabox-import-export-favorite-fields-import.html.php' );
167    }
171        $fields = Ninja_Forms()->form()->get_fields( array( 'saved' => 1) );
172        Ninja_Forms::template( 'admin-metabox-import-export-favorite-fields-export.html.php', compact( 'fields' ) );
173    }
widget.php https://gitlab.com/vnsoftdev/amms.git | PHP | 61 lines
38    <?php if ($settings['position'] == 'top') : ?>
39    <?php echo $this->render('plugins/widgets/' . $widget->getConfig('name') . '/views/_nav.php', compact('items', 'settings')); ?>
40    <?php endif ?>
41
42    <?php echo $this->render('plugins/widgets/' . $widget->getConfig('name')  . '/views/_content.php', compact('items', 'settings')); ?>
43
44    <?php if ($settings['position'] == 'bottom') : ?>
45    <?php echo $this->render('plugins/widgets/' . $widget->getConfig('name')  . '/views/_nav.php', compact('items', 'settings')); ?>
46    <?php endif ?>
53    <div class="<?php echo $nav_width ?><?php if ($settings['position'] == 'right') echo ' uk-float-right uk-flex-order-last-medium' ?>">
54        <?php echo $this->render('plugins/widgets/' . $widget->getConfig('name')  . '/views/_nav.php', compact('items', 'settings')); ?>
55    </div>
56    <div class="<?php echo $content_width ?>">
57        <?php echo $this->render('plugins/widgets/' . $widget->getConfig('name')  . '/views/_content.php', compact('items', 'settings')); ?>
58    </div>
Auth.php https://github.com/agentejo/cockpit.git | PHP | 166 lines
1<?php
2/**
62
63        return $this->render('cockpit:views/layouts/login.php', compact('redirectTo'));
64    }
78
79        return $this->render('cockpit:views/layouts/forgotpassword.php');
80    }
104            $this->app->storage->save('cockpit/accounts', $data);
105            $message = $this->app->view('cockpit:emails/recover.php', compact('user','token','target'));
106
138
139            return $this->render('cockpit:views/layouts/newpassword.php', compact('user', 'token'));
140        }
Collections.php https://github.com/arjunmenon/cockpit.git | PHP | 59 lines
1<?php
2
8	public function index() {
9		return $this->render("collections:views/index.php");
10	}
17
18        return $this->render("collections:views/collection.php", compact('id'));
19    }
33
34        return $this->render("collections:views/entries.php", compact('id', 'collection', 'count'));
35    }
54
55        return $this->render("collections:views/entry.php", compact('collection', 'entry'));
56
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21