Example #1
0
 public function check_updates()
 {
     $exist = $this->session->userdata('user_data');
     $result = array();
     foreach ($exist as $feed_id => $feed) {
         $flag = 0;
         $user_data[$feed_id]['likes'] = $this->get_feed_like_count($feed_id);
         $user_data[$feed_id]['comments'] = $this->get_feed_comment_count($feed_id);
         if ($exist[$feed_id]['likes'] != $user_data[$feed_id]['likes'] || $exist[$feed_id]['comments'] != $user_data[$feed_id]['comments']) {
             $flag = 1;
         }
         $user_data[$feed_id]['comment_details'] = array();
         $comments = $this->get_feed_comment($feed_id);
         foreach ($comments as $comment) {
             $user_data[$feed_id]['comment_details'][$comment->tc_feed_comment_id] = $this->get_comment_likes($comment->tc_feed_comment_id);
             if (isset($exist[$feed_id]['comment_details'][$comment->tc_feed_comment_id])) {
                 if ($exist[$feed_id]['comment_details'][$comment->tc_feed_comment_id] != $user_data[$feed_id]['comment_details'][$comment->tc_feed_comment_id]) {
                     $flag = 1;
                 } else {
                     $flag = 1;
                 }
             }
         }
         if ($flag == 1) {
             $result[$feed_id] = $user_data[$feed_id];
         }
     }
     __e($exist);
     __e($result);
     __e($user_data);
     return $result;
 }
 public function test__e()
 {
     ob_start();
     __e("<br />\n");
     $output = ob_get_clean();
     $this->assertEquals("&lt;br /&gt;\n", $output);
 }
    function not_compatible_notice()
    {
        ?>
		<div class="error">
		    <p><?php 
        __e('This plugin is only multisite compatible.', 'siw');
        ?>
</p>
		</div>
		<?php 
    }
Example #4
0
 public function uploadparent()
 {
     $this->data['file_error'] = "";
     __e($this->input->post());
     if ($this->input->post('upload')) {
         $file = $this->do_upload('parent');
         $file_path = "./media/uploads/parent/" . $file;
         if ($this->csvimport->get_array($file_path)) {
             $csv_array = $this->csvimport->get_array($file_path);
             foreach ($csv_array as $parent) {
                 $this->admin->upload_parent($parent);
             }
             redirect('admin/user/inesertparent');
         } else {
             echo "file not found";
             die;
         }
     }
     $this->data['inner_nav'] = 5;
     $this->data['view_file'] = 'user/uploadparent';
     echo Modules::run('template/admin', $this->data);
 }
Example #5
0
?>
						</td>
					</tr>
					<tr>
						<th><p>希望されるサンプル<strong>※</strong></p></th>
						<td>
							<?php 
__e($mailform->getMultiSelectedValue('interesting_items'));
?>
						</td>
					</tr>
					<tr>
						<th><p>ご希望の時間帯<strong>※</strong></p></th>
						<td>
							<?php 
__e($mailform->getSelectedValue('time'));
?>
						</td>
					</tr>
				</table>
			</div>
			<ul class="btnbox cfx">
				<input type="reset" class="btnreset" onclick="javascript:history.back();" value="前の画面に戻って編集">
				<input type="submit" class="btnconf" name="mailform-complete-submit"  value="送信する">
			</ul>
		</form>
	</div><!--/formarea-->
</div><!-- /contact -->

</body>
</html>
        echo javascript_link_tag(__('Remove user from this scope'), array('onclick' => "TBG.Main.Helpers.Dialog.show('" . __e('Remove this user?') . "', '" . __e('Are you sure you want to remove this user from the current scope? The users login is kept, and you can re-add the user later.') . "', {yes: {click: function() {TBG.Config.User.remove('" . make_url('configure_users_delete_user', array('user_id' => $user->getID())) . "', " . $user->getID() . "); TBG.Main.Helpers.Dialog.dismiss(); } }, no: {click: TBG.Main.Helpers.Dialog.dismiss}});"));
        ?>
</li>
            <?php 
    } else {
        ?>
                <li><?php 
        echo javascript_link_tag(__('Cancel invitation'), array('onclick' => "TBG.Main.Helpers.Dialog.show('" . __e('Cancel membership in this scope?') . "', '" . __e('If you cancel the invitation to this scope, then this user will be notified and the unconfirmed membership removed from this scope.') . "', {yes: {click: function() {TBG.Config.User.remove('" . make_url('configure_users_delete_user', array('user_id' => $user->getID())) . "', " . $user->getID() . "); TBG.Main.Helpers.Dialog.dismiss(); } }, no: {click: TBG.Main.Helpers.Dialog.dismiss}});"));
        ?>
</li>
            <?php 
    }
    ?>
        <?php 
} else {
    ?>
            <li class="disabled"><a href="javascript:void(0);" onclick="TBG.Main.Helpers.Message.error('<?php 
    echo __e('This user cannot be removed');
    ?>
', '<?php 
    echo __e('This is a system user which cannot be removed');
    ?>
');" class="disabled"><?php 
    echo __('Delete this user');
    ?>
</a></li>
        <?php 
}
?>
    </ul>
</td>
 private function eat(FinalClass $num, FinalClass $nums)
 {
     __e($num, $nums);
 }
Example #8
0
//Send 404 headers...
header('HTTP/1.1 404 Not Found');
header('Status: 404 Not Found');
include_once 'engine/engine.inc';
$page = new Page();
$page->printHead(__('Error 404 (Page Not Found)'), TAB_HOME);
$page->printHeading(__('Page Not Found...'));
$page->printPara(__('For some reason (mis-typed URL, faulty referral from another site, out-of-date search engine listing or we simply deleted a file) the page you were looking for could not be found.'), __('This site has recently undergone a major re-working, so that might explain why you got this page instead.'));
$page->printSubHeading(__('Were you looking for...'));
?>
<ul>
  <li><?php 
__e('<a href="%s">Download</a>?', $translations->prepareLink('/{lang}/#download'));
?>
</li>
  <li><?php 
__e('<a href="%s">Screenshots</a>?', $translations->prepareLink('/{lang}/screenshots/'));
?>
</li>
  <li><?php 
__e('<a href="%s">Support</a>?', $translations->prepareLink('/{lang}/#support'));
?>
</li>
  <li><?php 
__e('<a href="%s">Translations</a>?', $translations->prepareLink('/{lang}/translations/'));
?>
</li>
</ul>
<?php 
$page->printFoot();
                                <?php 
    foreach ($key_headers as $key => $val) {
        ?>
                                    <tr id="<?php 
        __e($key);
        ?>
" class="<?php 
        odd_even(++$i);
        ?>
">
                                        <th><?php 
        __e($val);
        ?>
</th>
                                        <td class="center" id="<?php 
        __e($object . '-' . $i . '-' . $key);
        ?>
"><?php 
        __ed($key, $object_data);
        ?>
</td>
                                    </tr>
                                <?php 
    }
    ?>
                            <?php 
}
?>
                        </tbody>
                    </table> 
                </form>
Example #10
0
            <?php 
    }
    ?>
            <div style="line-height: 1.4; word-break: break-all; word-wrap: break-word; -ms-word-break: break-all; <?php 
    if (!isset($include_issue_title) || $include_issue_title == false) {
        ?>
margin-top: -7px; margin-bottom: 10px;<?php 
    }
    ?>
">
            <?php 
    switch ($log_action['change_type']) {
        case \thebuggenie\core\entities\tables\Log::LOG_ISSUE_CREATED:
            echo '<i>' . __('Issue created') . '</i>';
            if (isset($include_details) && $include_details) {
                echo '<div class="timeline_inline_details">' . nl2br(__e($issue->getDescription())) . '</div>';
            }
            break;
        case \thebuggenie\core\entities\tables\Log::LOG_COMMENT:
            $comment = \thebuggenie\core\entities\Comment::getB2DBTable()->selectById((int) $log_action['text']);
            echo '<div class="timeline_inline_details">';
            echo nl2br(tbg_truncateText(tbg_decodeUTF8($comment->getContent())));
            echo '</div>';
            break;
        case \thebuggenie\core\entities\tables\Log::LOG_ISSUE_CLOSE:
            echo '<span class="issue_closed"><i>' . __('Issue closed %text', array('%text' => $log_action['text'])) . '</i></span>';
            break;
        case \thebuggenie\core\entities\tables\Log::LOG_ISSUE_REOPEN:
            echo '<i>' . __('Issue reopened') . '</i>';
            break;
        case \thebuggenie\core\entities\tables\Log::LOG_ISSUE_UPDATE:
Example #11
0
<!-- start: Content -->
<div id="content" class="span10">
    <ul class="breadcrumb">
        <li>
            <i class="icon-home"></i>
            <a href="<?php 
__e(base_url("admin/dashboard"));
?>
">Home</a> 
            <i class="icon-angle-right"></i>
        </li>
    </ul>
    <?php 
__e($action_messages);
Example #12
0
 function sendComplete()
 {
     $this->saved->updateQuick('tm_finished', $this->getDi()->sqlDateTime);
     $total = $this->saved->count_users;
     $this->view->assign('title', ___('Email Sent'));
     ob_start();
     $queue_id = $this->getFiltered('queue_id');
     print '<div class="info">';
     __e('E-Mail has been successfully sent to %s customers. E-Mail Batch ID is %s', $total, $queue_id);
     print '. ';
     $url = $this->getUrl(null, 'index');
     print '<a href="' . $url . '">' . ___('Send New E-Mail') . '</a></div>';
     $this->view->assign('content', ob_get_clean());
     $this->view->display('admin/layout.phtml');
 }
<li class="epic" id="epic_<?php 
echo $epic->getId();
?>
" data-issue-id="<?php 
echo $epic->getID();
?>
" data-assign-issue-url="<?php 
echo make_url('agile_assignepic', array('project_key' => $board->getProject()->getKey(), 'epic_id' => $epic->getID()));
?>
" title="<?php 
echo __e($epic->getFormattedTitle(true, false));
?>
" data-shortname="<?php 
echo __e($epic->getShortname());
?>
">
    <?php 
include_component('agile/colorpicker', array('issue' => $epic));
?>
    <div class="planning_indicator" id="issue_<?php 
echo $epic->getId();
?>
_indicator" style="display: none;"><?php 
echo image_tag('spinning_30.gif');
?>
</div>
    <a class="epic_name" href="<?php 
echo make_url('viewissue', array('issue_no' => $epic->getFormattedIssueNo(), 'project_key' => $epic->getProject()->getKey()));
?>
"><?php 
echo $epic->getTitle();
    echo __('%save or %cancel', array('%save' => '<input type="submit" value="' . __('Save') . '">', '%cancel' => '<a href="#" onclick="$(\'shortname_change\').hide(); return false;">' . __('cancel') . '</a>'));
    ?>
                                </form>
                            </li>
                            <li id="shortname_spinning" style="margin-top: 3px; display: none;"><?php 
    echo image_tag('spinning_20.gif', array('style' => 'float: left; margin-right: 5px;')) . '&nbsp;' . __('Please wait');
    ?>
...</li>
                            <li id="shortname_change_error" class="error_message" style="display: none;"></li>
                        </ul>
                    <?php 
}
?>
                    <span id="shortname_name"><?php 
if ($issue->hasShortname()) {
    echo __e($issue->getShortname());
}
?>
</span>
                    <span class="faded_out" id="no_shortname"<?php 
if ($issue->hasShortname()) {
    ?>
 style="display: none;"<?php 
}
?>
><?php 
echo __('No label set');
?>
</span>
                </dd>
            </dl>
Example #15
0
<?php

$page = new Page();
$page->printHead(__('Screenshots'));
$page->printHeading(__('Screenshots'));
$page->printSubHeading(__('Main Window'));
?>
<a href="/sites/screenshots/frhed_main_window.png" target="_blank"><img src="/sites/screenshots/frhed_main_window_small.png" alt="<?php 
__e('Main Window');
?>
" style="border:none;" /></a>
<?php 
$page->printPara(__('The main window from Frhed.'));
$page->printFoot();
Example #16
0
" class="input-date-day">
	<input type="text" name="<?php 
    echo $name;
    ?>
[month]" value="<?php 
    echo $month;
    ?>
" placeholder="<?php 
    __e('Month');
    ?>
" class="input-date-month">
	<input type="text" name="<?php 
    echo $name;
    ?>
[year]" value="<?php 
    echo $year;
    ?>
" placeholder="<?php 
    __e('Year');
    ?>
" class="input-date-year">
	<?php 
}
if ($comment) {
    ?>
	<span class="comment"><?php 
    echo $comment;
    ?>
</span>
	<?php 
}
Example #17
0
                    <label class="control-label" for="city_country">Country </label>
                    <div class="controls">
                        <?php 
$country = isset($country) ? $country : '';
?>
                        <?php 
__e(form_dropdown('city[country]', $countries, $country, 'required="" class="input-xlarge" id="city_country"'));
?>
                    </div>
                </div>

                <?php 
if (isset($id)) {
    ?>
                    <input type="hidden" name="id" value="<?php 
    __e($id);
    ?>
" />
                <?php 
}
?>

                <div class="form-actions">
                    <button type="submit" class="btn btn-primary">Save</button>
                    <button type="reset" class="btn">Cancel</button>
                </div>
            </fieldset>
        </form>   

    </div>
</div><!--/span-->
<div class="form-control">
    <input type="text" 
           name="s" 
           id="search-input"
           class="search-box ajax-search" 
           data-result="<?php 
__e(isset($result_box) ? $result_box : '');
?>
" 
           data-search_type="<?php 
__e(isset($search_type) ? $search_type : 'basic');
?>
" 
           data-action="<?php 
__e(isset($ajax_action) ? $ajax_action : '');
?>
"
           value="<?php 
__e($search_type == request('search_type') ? request('s') : '');
?>
" />
    <button type="button" class="btn btn-primary search-button" name="submit_search">Search</button>  
</div>
Example #19
0
    function renderPage()
    {
        global $mpsl_settings;
        $license = get_option('edd_mpsl_license_key');
        if (isset($_GET['settings-updated']) && $_GET['settings-updated']) {
            add_settings_error('mpslLicense', esc_attr('settings_updated'), __('Settings saved.', MPSL_TEXTDOMAIN), 'updated');
        }
        if ($license) {
            $licenseData = $this->checkLicense($license);
        }
        ?>
        <div class="wrap">
            <?php 
        screen_icon('options-general');
        ?>
            <h2><?php 
        _e('Slider License', MPSL_TEXTDOMAIN);
        ?>
</h2>
            <i><?php 
        _e("The License Key is required in order to get automatic plugin updates and support. You can manage your License Key in your personal account. <a href='https://motopress.zendesk.com/hc/en-us/articles/202812996-How-to-use-your-personal-MotoPress-account' target='blank'>Learn more</a>.", MPSL_TEXTDOMAIN);
        ?>
</i>
            <?php 
        settings_errors('mpslLicense', false);
        ?>
            <form action="" method="POST" autocomplete="off">
                <?php 
        wp_nonce_field('edd_mpsl_nonce', 'edd_mpsl_nonce');
        ?>
                <table class="form-table">
                    <tbody>
                    <tr valign="top">
                        <th scope="row" valign="top">
                            <?php 
        echo __('License Key', MPSL_TEXTDOMAIN) . " (" . $mpsl_settings['license_type'] . ")";
        ?>
                        </th>
                        <td>
                            <input id="edd_mpsl_license_key" name="edd_mpsl_license_key" type="password"
                                   class="regular-text" value="<?php 
        esc_attr_e($license);
        ?>
"/>
                            <?php 
        if ($license) {
            ?>
                                <i style="display:block;"><?php 
            echo str_repeat("&#8226;", 20) . substr($license, -7);
            ?>
</i>
                            <?php 
        }
        ?>
                        </td>
                    </tr>
                    <?php 
        if ($license) {
            ?>
                        <tr valign="top">
                            <th scope="row" valign="top">
                                <?php 
            _e('Status', MPSL_TEXTDOMAIN);
            ?>
                            </th>
                            <td>
                                <?php 
            if ($licenseData) {
                switch ($licenseData->license) {
                    case 'inactive':
                    case 'site_inactive':
                        _e('Inactive', MPSL_TEXTDOMAIN);
                        break;
                    case 'valid':
                        $date = $licenseData->expires ? new DateTime($licenseData->expires) : false;
                        $expires = $date ? ' ' . $date->format('d.m.Y') : '';
                        echo __('Valid until', MPSL_TEXTDOMAIN) . $expires;
                        break;
                    case 'disabled':
                        _e('Disabled', MPSL_TEXTDOMAIN);
                        break;
                    case 'expired':
                        __e('Expired', MPSL_TEXTDOMAIN);
                        break;
                    case 'invalid':
                        _e('Invalid', MPSL_TEXTDOMAIN);
                        break;
                    case 'item_name_mismatch':
                        _e("Your License Key does not match the installed plugin. <a href='https://motopress.zendesk.com/hc/en-us/articles/202957243-What-to-do-if-the-license-key-doesn-t-correspond-with-the-plugin-license' target='_blank'>How to fix this.</a>", MPSL_TEXTDOMAIN);
                        break;
                }
            }
            ?>
                            </td>
                        </tr>
                        <?php 
            if (isset($licenseData->license) && in_array($licenseData->license, array('inactive', 'site_inactive', 'valid', 'expired'))) {
                ?>
                        <tr valign="top">
                            <th scope="row" valign="top">
                                <?php 
                _e('Action', MPSL_TEXTDOMAIN);
                ?>
                            </th>
                            <td>
                                <?php 
                if ($licenseData) {
                    if ($licenseData->license === 'inactive' || $licenseData->license === 'site_inactive') {
                        wp_nonce_field('edd_mpsl_nonce', 'edd_mpsl_nonce');
                        ?>
                                        <input type="submit" class="button-secondary" name="edd_license_activate"
                                               value="<?php 
                        _e('Activate License', MPSL_TEXTDOMAIN);
                        ?>
"/>
                                    <?php 
                    } elseif ($licenseData->license === 'valid') {
                        wp_nonce_field('edd_mpsl_nonce', 'edd_mpsl_nonce');
                        ?>
                                        <input type="submit" class="button-secondary" name="edd_license_deactivate"
                                               value="<?php 
                        _e('Deactivate License', MPSL_TEXTDOMAIN);
                        ?>
"/>
                                    <?php 
                    } elseif ($licenseData->license === 'expired') {
                        ?>
                                        <a href="<?php 
                        echo $mpsl_settings['renew_url'];
                        ?>
"
                                           class="button-secondary"
                                           target="_blank"><?php 
                        _e('Renew License', MPSL_TEXTDOMAIN);
                        ?>
</a>
                                    <?php 
                    }
                }
                ?>
                            </td>
                        </tr>
                        <?php 
            }
            ?>
                    <?php 
        }
        ?>
                    </tbody>
                </table>
                <?php 
        submit_button(__('Save', MPSL_TEXTDOMAIN));
        ?>
            </form>
        </div>
    <?php 
    }
Example #20
0
                    <li>
                        <a class="btn" href="#">
                            <i class="halflings-icon white wrench"></i>
                        </a>
                    </li>
                    <!-- start: User Dropdown -->
                    <li class="dropdown">
                        <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
                            <i class="halflings-icon white user"></i> Dennis Ji
                            <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu">
                            <li class="dropdown-menu-title">
                                <span>Account Settings</span>
                            </li>
                            <li><a href="#"><i class="halflings-icon user"></i> Profile</a></li>
                            <li><a href="<?php 
__e(admin_base_url('login/logout', false));
?>
"><i class="halflings-icon off"></i> Logout</a></li>
                        </ul>
                    </li>
                    <!-- end: User Dropdown -->
                </ul>
            </div>
            <!-- end: Header Menu -->

        </div>
    </div>
</div>
<!-- start: Header -->
Example #21
0
        </div>
        <div class="box-content">
            <?php 
// debug($agency);
?>
            <table class="table table-bordered table-striped">
                <tbody>
                    <?php 
if ($view_keys) {
    ?>
                        <?php 
    foreach ($view_keys as $key => $value) {
        ?>
                            <tr>
                                <th><?php 
        __e($value);
        ?>
</th>
                                <td><?php 
        __ed($key, $view_data);
        ?>
</td>
                            </tr>
                        <?php 
    }
    ?>
                    <?php 
}
?>
                </tbody>
            </table>
Example #22
0
<?php

ini_set('display_errors', 'On');
//composer autoloader
include '../vendor/autoload.php';
$lang = isset($_GET['lang']) ? $_GET['lang'] : 'bg';
$file_with_translations = 'locale/' . $lang . '/' . basename(__FILE__) . '.php';
$file_with_translationsJS = 'locale/' . $lang . '/javascript.js';
Gettext\Translator::loadTranslations($file_with_translations);
//Gettext\Translator::loadTranslations($file_with_translationsJS);
$date = date('d.m.Y');
?>

<header>
	<h1><?php 
__e('This is a text');
?>
</h1>
	<script src="jed.js"></script>
	<script src="javascript.js"></script>
</header>

<div>
	
	<p><?php 
echo __('Today is :date', [':date' => $date]);
?>
</p>
	<p><?php 
echo __('This is another text');
?>
Example #23
0
<?php

use thebuggenie\modules\agile\entities\AgileBoard;
use thebuggenie\core\entities\Milestone;
if (isset($board)) {
    switch ($board->getType()) {
        case AgileBoard::TYPE_SCRUM:
        case AgileBoard::TYPE_KANBAN:
            if (!isset($savebuttonlabel)) {
                $savebuttonlabel = __('Save sprint');
            }
            $milestoneplaceholder = __e('Give the sprint a name such as "Sprint 2", or similar');
            $milestoneheader = $milestone->getId() ? __('Edit sprint details') : __('Add new sprint');
            $milestonenamelabel = __e('Sprint name');
            $milestoneincludeissues_text = __e('The %number selected issue(s) will be automatically added to the new sprint', array('%number' => '<span id="milestone_include_num_issues"></span>'));
            break;
        case AgileBoard::TYPE_GENERIC:
        default:
            if (!isset($savebuttonlabel)) {
                $savebuttonlabel = __('Save milestone');
            }
            $milestoneplaceholder = __e('Enter a milestone name');
            $milestoneheader = $milestone->getId() ? __('Edit milestone details') : __('Add milestone');
            $milestonenamelabel = __e('Milestone name');
            $milestoneincludeissues_text = __e('The %number selected issue(s) will be automatically assigned to the new milestone', array('%number' => '<span id="milestone_include_num_issues"></span>'));
            break;
    }
}
$action_url = make_url('project_milestone', array('project_key' => $milestone->getProject()->getKey(), 'board_id' => isset($board) ? $board->getID() : '0', 'milestone_id' => (int) $milestone->getID()));
include_component('project/milestone', compact('starthidden', 'includeform', 'milestone', 'action_url', 'savebuttonlabel', 'milestoneplaceholder', 'milestoneheader', 'milestonenamelabel'));
Example #24
0
<div class="pagination ajax-pagination <?php 
__echeck(isset($ajax_pagi) and $ajax_pagi, 'ajax-pagination', '');
?>
">
    <?php 
__e($links);
?>
    <nav class="pull-right">
        <span>Showing <strong><?php 
__e($start);
?>
</strong> to <strong><?php 
__e($end);
?>
</strong> results of <strong><?php 
__e($total);
?>
</strong></span>
    </nav>
    <div class="clearfix"></div>
</div>
Example #25
0
/** Display in the wp backend
 * http://codex.wordpress.org/Plugin_API/Action_Reference/show_user_profile
 *
 * Show custom user profile fields
 * @param  obj $user The WP user object.
 * @return void
 */
function tutsplus_custom_user_profile_fields($user)
{
    ?>
<table class="form-table">
	<tr>
		<th>
			<label for="twitter_name"><?php 
    __e('Twitter name', 'sage');
    ?>
</label>
		</th>
		<td>
			<input type="text" name="twitter_name" id="twitter_name" value="<?php 
    echo esc_attr(get_the_author_meta('twitter_name', $user->ID));
    ?>
" class="regular-text" />
		</td>
	</tr>
</table>
<?php 
}
Example #26
0
    $languages = $status->getLanguagesArray();
    foreach ($languages as $language) {
        //for all languages...
        print "  <li>" . __($language) . "</li>\n";
    }
} catch (Exception $ex) {
    //If problems with translations status...
    print "  <li>" . __('English') . "</li>\n";
}
print "</ul>\n";
$page->printSubHeading(__('Status'));
$page->printPara(__('The following two pages inform you about the translations status of the stable and developer version of Frhed:'));
?>
<ul>
  <li><a href="status_branch.php"><?php 
__e('Stable Version (Branch)');
?>
</a> <?php 
$page->printRssFeedLink('status_branch_rss.php');
?>
</li>
  <li><a href="status_trunk.php"><?php 
__e('Unstable Version (Trunk)');
?>
</a> <?php 
$page->printRssFeedLink('status_trunk_rss.php');
?>
</li>
</ul>
<?php 
$page->printFoot();
?>
    <div class="extra">
        <div class="description"><?php 
echo __e($issue->getDescription());
?>
</div>
    </div>
    <?php 
if ($issue->hasChildIssues()) {
    ?>
        <ol class="child-issues">
            <?php 
    foreach ($issue->getChildIssues() as $child_issue) {
        ?>
                <li title="<?php 
        echo __e($child_issue->getFormattedTitle());
        ?>
" class="<?php 
        if ($child_issue->isClosed()) {
            echo 'closed';
        }
        ?>
"><?php 
        echo link_tag(make_url('viewissue', array('issue_no' => $child_issue->getFormattedIssueNo(), 'project_key' => $child_issue->getProject()->getKey())), $child_issue->getFormattedTitle(true, false), array('title' => $child_issue->getFormattedTitle(), 'target' => '_new'));
        ?>
</li>
            <?php 
    }
    ?>
        </ol>
    <?php 
Example #28
0
?>
    <?php 
if (!isset($search_param)) {
    $search_param = array();
}
?>
    <div class="box span12 <?php 
__e(isset($box_class) ? $box_class : $object . '_box');
?>
" id="<?php 
__e(isset($box_id) ? $box_id : $object . '_box');
?>
" >
        <div class="box-header" data-original-title>
            <h2><i class="halflings-icon user"></i><span class="break"></span><?php 
__e($box_header);
?>
</h2>
        </div>
        <div class="box-content">
            <?php 
if (isset($show_search) && !isset($show_ajax_search)) {
    load_view('search-template', 'common', $search_param);
}
?>
         
            <?php 
if (isset($show_ajax_search)) {
    load_view('ajax-search-template', 'common', $search_param);
}
?>
Example #29
0
?>
</li>
  <li><?php 
__e('Load files partially');
?>
</li>
  <li><?php 
__e('Export as hexdump to file or clipboard');
?>
</li>
  <li><?php 
__e('Search for any combination of text and binary values');
?>
</li>
  <li><?php 
__e('Compare files');
?>
</li>
</ul>

<?php 
$page->printRssHeading(__('News'), 'http://sourceforge.net/export/rss2_projnews.php?group_id=236485');
$feed = new SimplePie();
$feed->set_feed_url('http://sourceforge.net/export/rss2_projnews.php?group_id=236485');
$feed->set_cache_location('./engine/simplepie/cache');
$feed->init();
print "<ul class=\"rssfeeditems\">\n";
foreach ($feed->get_items(0, 3) as $item) {
    //for the last 3 news items...
    print "  <li><a href=\"" . $item->get_link() . "\">" . $item->get_title() . "</a> <em>" . $item->get_date(__('Y-m-d')) . "</em></li>\n";
}
Example #30
0
__efd('agency_bank_accont_no', $agency);
?>
">
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="agency_bank_ifsc">Agency bank IFSC</label>
                        <div class="controls">
                            <input type="text" name="agency[agency_bank_ifsc]" class="input-xlarge" id="agency_bank_ifsc" value="<?php 
__efd('agency_bank_ifsc', $agency);
?>
">
                        </div>
                    </div>
                    <div class="form-actions">
                        <input type="hidden" name="action" value="<?php 
__e($action, 'insert');
?>
" />
                        <button type="submit" class="btn btn-primary">Save changes</button>
                        <button type="reset" class="btn">Cancel</button>
                    </div>
                </fieldset>
            </form>   

        </div>
    </div><!--/span-->

</div>