当前位置: 首页>>代码示例>>PHP>>正文


PHP get_phrase函数代码示例

本文整理汇总了PHP中get_phrase函数的典型用法代码示例。如果您正苦于以下问题:PHP get_phrase函数的具体用法?PHP get_phrase怎么用?PHP get_phrase使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了get_phrase函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: recover_password

 function recover_password()
 {
     $email = $this->input->post('email');
     $result = $this->email_model->password_reset_email($email);
     //SEND EMAIL ACCOUNT OPENING EMAIL
     if ($result == true) {
         $this->session->set_flashdata('flash_message', get_phrase('password_sent'));
     } else {
         if ($result == false) {
             $this->session->set_flashdata('flash_message', get_phrase('account_not_found'));
         }
     }
     redirect(base_url(), 'refresh');
 }
开发者ID:Rih,项目名称:rih.github.io,代码行数:14,代码来源:recover.php

示例2: base_url

if ($class_id == "") {
    ?>
<center>
<div class="span5" style="float:none !important;">
    <div class="box">
		<div class="box-header">
			<span class="title"> <i class="icon-info-sign"></i> Please select a class to manage student.</span>
		</div>
		<div class="box-content padded">
            <br />
            <select name="class_id" onchange="window.location='<?php 
    echo base_url();
    ?>
index.php?admin/student/'+this.value">
                <option value=""><?php 
    echo get_phrase('select_a_class');
    ?>
</option>
                <?php 
    $classes = $this->db->get('class')->result_array();
    foreach ($classes as $row) {
        ?>
                    <option value="<?php 
        echo $row['class_id'];
        ?>
"
                        <?php 
        if ($class_id == $row['class_id']) {
            echo 'selected';
        }
        ?>
开发者ID:iaraujoisraell,项目名称:Educacional,代码行数:31,代码来源:student.php

示例3: get_phrase

                                        <option value="unpaid"><?php 
echo get_phrase('unpaid');
?>
</option>
                                    </select>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label"><?php 
echo get_phrase('date');
?>
</label>
                                <div class="controls">
                                    <input type="text" class="datepicker fill-up" name="date"/>
                                </div>
                            </div>
                        </div>
                        <div class="form-actions">
                            <button type="submit" class="btn btn-gray"><?php 
echo get_phrase('add_invoice');
?>
</button>
                        </div>
                    </form>                
                </div>                
			</div>
			<!----CREATION FORM ENDS--->
            
		</div>
	</div>
</div>
开发者ID:iaraujoisraell,项目名称:Educacional,代码行数:31,代码来源:invoice.php

示例4: get_phrase

?>
</option>
                            </select>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label"><?php 
echo get_phrase('date');
?>
</label>
                        <div class="col-sm-6">
                            <input type="text" class="datepicker form-control" name="timestamp"/>
                        </div>
                    </div>
                    
                    <div class="form-group">
						<div class="col-sm-offset-3 col-sm-5">
							<button type="submit" class="btn btn-info"><?php 
echo get_phrase('add_expense');
?>
</button>
						</div>
					</div>
                <?php 
echo form_close();
?>
            </div>
        </div>
    </div>
</div>
开发者ID:rinodung,项目名称:schoolManagement,代码行数:31,代码来源:expense_add.php

示例5: get_phrase

?>
</div></th>
                    		<th><div><?php 
echo get_phrase('description');
?>
</div></th>
                    		<th><div><?php 
echo get_phrase('creation_timestamp');
?>
</div></th>
                    		<th><div><?php 
echo get_phrase('status');
?>
</div></th>
                    		<th><div><?php 
echo get_phrase('option');
?>
</div></th>
						</tr>
					</thead>
                    <tbody>
                    	<?php 
$count = 1;
foreach ($invoices as $row) {
    ?>
                        <tr>
                            <td><?php 
    echo $count++;
    ?>
</td>
							<td><?php 
开发者ID:SyedArifulIslamEmon,项目名称:helthinfo_jayeed,代码行数:31,代码来源:view_invoice.php

示例6: base_url

                      
                        <!-- DELETION LINK -->
                        <li>
                            <a href="#" onclick="confirm_modal('<?php 
    echo base_url();
    ?>
index.php?staff/accounting_expense/delete/<?php 
    echo $row['payment_id'];
    ?>
' , '<?php 
    echo base_url();
    ?>
index.php?staff/reload_expense_list');" >
                                <i class="entypo-trash"></i>
                                    <?php 
    echo get_phrase('delete');
    ?>
                            </a>
                        </li>
                    </ul>
                </div>
			</td>
		</tr>
		<?php 
}
?>
	</tbody>
</table>


开发者ID:CreativeDino,项目名称:savanna-portal,代码行数:27,代码来源:expense_list.php

示例7: get_phrase

"   
                                                   href="<?php 
                    echo $row2['twitter_profile_link'];
                    ?>
" style="color:#bbb;" target="_blank">
                                                    <i class="entypo-twitter"></i>
                                                </a>
                                            <?php 
                }
                ?>
                                            <?php 
                if ($row2['linkedin_profile_link'] != '') {
                    ?>
                                                <a class="tooltip-primary" data-toggle="tooltip" data-placement="top" 
                                                   data-original-title="<?php 
                    echo get_phrase('linkedin_profile');
                    ?>
"  
                                                   href="<?php 
                    echo $row2['linkedin_profile_link'];
                    ?>
" style="color:#bbb;" target="_blank">
                                                    <i class="entypo-linkedin"></i>
                                                </a>
                                            <?php 
                }
                ?>

                                        </td>
                                    </tr>
                                </table>
开发者ID:CreativeDino,项目名称:savanna-portal,代码行数:31,代码来源:project_overview.php

示例8: study_material

 function study_material($task = "", $document_id = "")
 {
     if ($this->session->userdata('student_login') != 1) {
         $this->session->set_userdata('last_page', current_url());
         redirect(base_url(), 'refresh');
     }
     $data['study_material_info'] = $this->crud_model->select_study_material_info_for_student();
     $data['page_name'] = 'study_material';
     $data['page_title'] = get_phrase('study_material');
     $this->load->view('backend/index', $data);
 }
开发者ID:rinodung,项目名称:schoolManagement,代码行数:11,代码来源:Student.php

示例9: get_phrase

echo get_phrase('language');
?>
</label>
                                <div class="col-sm-5">
                                    <input type="text" class="form-control" name="language" data-validate="required" data-message-required="<?php 
echo get_phrase('value_required');
?>
"/>
                                </div>
                            </div>
                            
                        </div>
                        <div class="form-group">
                              <div class="col-sm-offset-3 col-sm-5">
                                  <button type="submit" class="btn btn-info"><?php 
echo get_phrase('add_language');
?>
</button>
                              </div>
							</div>
                    <?php 
echo form_close();
?>
 
                </div>
			</div>
            <!----LANGUAGE ADDING FORM ENDS--->
            
		</div>
	</div>
</div>
开发者ID:SyedArifulIslamEmon,项目名称:university_BUBT,代码行数:31,代码来源:manage_language.php

示例10: get_phrase

        ?>
>
                                        <?php 
        echo $row2['teacher_code'];
        ?>
                                            </option>
                            <?php 
    }
    ?>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-3 col-sm-5">
                        <button type="submit" class="btn btn-info"><?php 
    echo get_phrase('edit_subject');
    ?>
</button>
                    </div>
                 </div>
        		</form>
            </div>
        </div>
    </div>
</div>

<?php 
}
?>

开发者ID:SyedArifulIslamEmon,项目名称:university_BUBT,代码行数:29,代码来源:modal_edit_subject.php

示例11: array

    $system_currency_id = $this->db->get_where('settings', array('type' => 'system_currency_id'))->row()->description;
    $currency = $this->db->get_where('currency', array('currency_id' => $system_currency_id))->row()->currency_symbol;
    echo $currency . $row['amount'];
    ?>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="100%" border="0">    
            
            <tr>
                <td colspan="2"><hr style="margin:0px;"></td>
            </tr>
            <tr>
                <td align="right" width="80%"><h4><?php 
    echo get_phrase('grand_total');
    ?>
 :</h4></td>
                <td align="right"><h4><?php 
    echo $currency . $row['amount'];
    ?>
 </h4></td>
            </tr>
        </table>

    </div>
<?php 
}
?>

<script>
开发者ID:CreativeDino,项目名称:savanna-portal,代码行数:31,代码来源:project_milestone_view.php

示例12: base_url

                        Action <span class="caret"></span>
                    </button>
                    <ul class="dropdown-menu dropdown-default pull-right" role="menu">

                        <!-- VIEW LINK -->
                        <li>
                            <a href="<?php 
    echo base_url();
    ?>
index.php?staff/support_ticket_view/<?php 
    echo $row['ticket_code'];
    ?>
">
                                <i class="entypo-target"></i>
                                <?php 
    echo get_phrase('view_ticket');
    ?>
                            </a>
                        </li>
                    </ul>
                </div>
            </td>
        </tr>
    <?php 
}
?>
</tbody>
</table>


开发者ID:CreativeDino,项目名称:savanna-portal,代码行数:28,代码来源:support_ticket_opened.php

示例13: get_phrase

						<div class="col-sm-7">
                        	<div class="checkbox checkbox-replace color-blue">
								<input type="checkbox" name="notify_check" id="notify" value="yes" checked>
								<label> <?php 
    echo get_phrase('notify_staff');
    ?>
</label>
							</div>
						</div>
					</div>
                    
                  	<div class="form-group">
						<div class="col-sm-offset-4 col-sm-6">
							<button type="submit" class="btn btn-info" id="submit-button">
								<?php 
    echo get_phrase('assign_staff');
    ?>
</button>
                         <span id="preloader-form"></span>
						</div>
					</div>
                <?php 
    echo form_close();
    ?>
            </div>
        </div>
    </div>
</div>
<div class="progress progress-striped active" id="progress_bar_holder" style="visibility:hidden;">
    <div class="progress-bar progress-bar-info" id="progress_bar" style="width:0%; ">
    </div>
开发者ID:CreativeDino,项目名称:savanna-portal,代码行数:31,代码来源:support_ticket_assign_staff.php

示例14: get_phrase

</option>
                    <option value="student"><?php 
echo get_phrase('student');
?>
</option>
                    <option value="parent"><?php 
echo get_phrase('parent');
?>
</option>
                </select>
                <input type="email" name="email"  placeholder="<?php 
echo get_phrase('email');
?>
"  style="margin-bottom: 0px !important;"/>
                <input type="submit" value="<?php 
echo get_phrase('reset');
?>
"  class="btn btn-blue btn-medium"/>
            <?php 
echo form_close();
?>
          </div>
          <div class="modal-footer">
            <button class="btn btn-default" data-dismiss="modal">Close</button>
          </div>
        </div>
        <!-----------password reset form ------>
        
        
	</body>
</html>
开发者ID:iaraujoisraell,项目名称:Educacional,代码行数:31,代码来源:login.php

示例15: base_url

</td>-->
                                
                                <td>

                                            <!--View Notice-->

                                 <a href="#" class="btn btn-success btn-sm"onclick="showAjaxModal('<?php 
    echo base_url();
    ?>
index.php?modal/popup/modal_notice_view/<?php 
    echo $row['notice_id'];
    ?>
');">
                                                    <i class="entypo-user"></i>
                                                    <?php 
    echo get_phrase('Read More');
    ?>
                                                </a>








                                </td>
                            </tr>
                        <?php 
}
?>
开发者ID:saifulaiub123,项目名称:school-management-system,代码行数:31,代码来源:dashboard.php


注:本文中的get_phrase函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。