code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
[var main-content]; | zwf | trunk/html/resources/templates/layouts/blank.html | HTML | gpl2 | 19 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
[page meta-includes() tab=2];
<title>[page page-title()]; [page site-title()];</title>
<link rel="icon" href... | zwf | trunk/html/resources/templates/layouts/default.html | HTML | gpl2 | 1,025 |
package cn.nju.zyy;
import java.util.Comparator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.R... | zyy-spring-blog-mvc | trunk/src/cn/nju/zyy/HomeController.java | Java | asf20 | 1,257 |
package cn.nju.zyy;
import java.util.Comparator;
import org.springframework.stereotype.Service;
@Service
public class CaseInsensitiveComparator implements Comparator<String> {
@Override
public int compare(String s1, String s2) {
assert s1 != null && s2 != null;
return String.CASE_INSENSITIVE_ORDER... | zyy-spring-blog-mvc | trunk/src/cn/nju/zyy/CaseInsensitiveComparator.java | Java | asf20 | 348 |
package cn.nju.zyy;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.ViewResolver;
import org.springframework.web.servlet.view.InternalResourceViewResolver;
@Configuration
public class AppConfig {
// Res... | zyy-spring-blog-mvc | trunk/src/cn/nju/zyy/AppConfig.java | Java | asf20 | 613 |
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8" session="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Conten... | zyy-spring-blog-mvc | trunk/WebContent/WEB-INF/views/compareResult.jsp | Java Server Pages | asf20 | 477 |
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8" session="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Ty... | zyy-spring-blog-mvc | trunk/WebContent/WEB-INF/views/home.jsp | Java Server Pages | asf20 | 439 |
#!/usr/bin/env php
<?php
require_once(dirname(__FILE__).'/yiic.php');
| zy-task | trunk/rapid/protected/yiic | PHP | asf20 | 71 |
<?php
/*
* BController is a customized controller base class
* extended from Controller
* to provide shared author functions
* for controllers of objects that are joined to authors
*/
class BController extends Controller
{
public function actionCreateAuthor($id) {
// request must be made... | zy-task | trunk/rapid/protected/components/BController.php | PHP | asf20 | 4,219 |
<?php
class SelectableActiveRecord extends CActiveRecord {
public function getOptions()
{
return CHtml::listData($this->findAll(),'id','name');
}
}
| zy-task | trunk/rapid/protected/components/SelectableActiveRecord.php | PHP | asf20 | 193 |
<?php
/**
* Controller is the customized base controller class.
* All controller classes for this application should extend from this base class.
*/
class Controller extends SBaseController
{
/**
* @var string the default layout for the controller view. Defaults to '//layouts/column1',
* meaning using a single ... | zy-task | trunk/rapid/protected/components/Controller.php | PHP | asf20 | 816 |
<?php
/**
* UserIdentity represents the data needed to identity a user.
* It contains the authentication method that checks if the provided
* data can identity the user.
*/
class UserIdentity extends CUserIdentity
{
private $_id;
private $_username;
/**
* Authenticates a user.
* The example implementation m... | zy-task | trunk/rapid/protected/components/UserIdentity.php | PHP | asf20 | 1,199 |
<?php
Yii::import('zii.widgets.CMenu');
/**
* Smart Menu is an extension that aims to automatize the checkAccess()
* process to define the visibility of your menu items.
*
* @author Sidney Lins <solucoes@wmaior.com>
* @copyright Copyright © 2011 Sidney Lins
* @version 0.3.1
* @license New BSD Licence
*/
... | zy-task | trunk/rapid/protected/components/YiiSmartMenu.php | PHP | asf20 | 6,527 |
<?php
$this->breadcrumbs=array(
'Audit Trails'=>array('/auditTrail'),
'Manage',
);
/*
$this->menu=array(
array('label'=>'List AuditTrail', 'url'=>array('index')),
array('label'=>'Create AuditTrail', 'url'=>array('create')),
);
*/
Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(functio... | zy-task | trunk/rapid/protected/modules/auditTrail/views/admin/admin.php | PHP | asf20 | 1,338 |
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'id'); ?>
<?php echo $form->textField($model,'id',array('size'=>11,'maxlength'=>11)); ?>
</div>
<div class="row... | zy-task | trunk/rapid/protected/modules/auditTrail/views/admin/_search.php | PHP | asf20 | 1,656 |
<?php
$this->breadcrumbs=array(
$this->module->id,
);
?>
<h1>Welcome to Audit Trail!</h1>
<h2>Introduction</h2>
<p>
This is the audit trail module. This module provides basic access to any changes performed via active record through any class that has the LoggableBehavior assigned. It is based off of <?php echo CHtml... | zy-task | trunk/rapid/protected/modules/auditTrail/views/default/index.php | PHP | asf20 | 5,217 |
<?php
/**
* ShowAuditTrail shows the audit trail for the current item
*/
Yii::import('zii.widgets.CPortlet');
require_once(realpath(dirname(__FILE__) . '/../../AuditTrailModule.php'));
class ShowAuditTrail extends CPortlet
{
/**
* @var CActiveRecord the model you want to use with this field
*/
public $model;
... | zy-task | trunk/rapid/protected/modules/auditTrail/widgets/portlets/ShowAuditTrail.php | PHP | asf20 | 4,594 |
<?php
/**
* This is the model class for table "tbl_audit_trail".
*/
class AuditTrail extends CActiveRecord
{
/**
* The followings are the available columns in table 'tbl_audit_trail':
* @var integer $id
* @var string $new_value
* @var string $old_value
* @var string $action
* @var string $model
* @var... | zy-task | trunk/rapid/protected/modules/auditTrail/models/AuditTrail.php | PHP | asf20 | 3,191 |
<?php
class m110517_155003_create_tables_audit_trail extends CDbMigration
{
/**
* Creates initial version of the audit trail table
*/
public function up()
{
//Create our first version of the audittrail table
//Please note that this matches the original creation of the
//table from version 1 of the ext... | zy-task | trunk/rapid/protected/modules/auditTrail/migrations/m110517_155003_create_tables_audit_trail.php | PHP | asf20 | 1,893 |
<?php
class DefaultController extends Controller
{
public function actionIndex()
{
$this->render('index');
}
} | zy-task | trunk/rapid/protected/modules/auditTrail/controllers/DefaultController.php | PHP | asf20 | 116 |
<?php
class AdminController extends Controller
{
public $defaultAction = "admin";
public $layout='//layouts/column1';
public function actionAdmin()
{
$model=new AuditTrail('search');
$model->unsetAttributes(); // clear any default values
if(isset($_GET['AuditTrail'])) {
$model->attributes=$_GET['AuditTra... | zy-task | trunk/rapid/protected/modules/auditTrail/controllers/AdminController.php | PHP | asf20 | 391 |
<?php
class LoggableBehavior extends CActiveRecordBehavior
{
private $_oldattributes = array();
public function afterSave($event)
{
try {
$username = Yii::app()->user->Name;
$userid = Yii::app()->user->id;
} catch(Exception $e) { //If we have no user object, this must be a command line program
$usernam... | zy-task | trunk/rapid/protected/modules/auditTrail/behaviors/LoggableBehavior.php | PHP | asf20 | 2,872 |
<?php
class AuditTrailModule extends CWebModule
{
/**
* @var string the name of the User class. Defaults to "User"
*/
public $userClass = "User";
/**
* @var string the name of the column of the user class that is the primary key. Defaults to "id"
*/
public $userIdColumn = "id";
/**
* @var string the ... | zy-task | trunk/rapid/protected/modules/auditTrail/AuditTrailModule.php | PHP | asf20 | 2,113 |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of SHtml
*
* @author lordovol
*/
class SHtml extends CHtml {
/**
* Generates a button.
* @param string the button label
* @param array additional HTML attributes. Besides normal ... | zy-task | trunk/rapid/protected/modules/srbac/components/SHtml.php | PHP | asf20 | 5,174 |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of SDbAuthManager
*
* @author ssoldatos
*/
class SDbAuthManager extends CDbAuthManager {
/**
* Performs access check for the specified user.
* @param string the name of the operatio... | zy-task | trunk/rapid/protected/modules/srbac/components/SDbAuthManager.php | PHP | asf20 | 2,283 |
<?php
/**
* Helper class file.
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* Helper is a class providing static methods that are used across srbac.
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.components
* @since 1.0.0
*/
clas... | zy-task | trunk/rapid/protected/modules/srbac/components/Helper.php | PHP | asf20 | 20,317 |
<?php
return array();
?>
| zy-task | trunk/rapid/protected/modules/srbac/components/allowed.php | PHP | asf20 | 25 |
<?php
/**
* assign.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* The Assign tabview view
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem
* @since 1.0.0
*/
?>
<?php $this->breadcrumbs = array(
'Srbac Assig... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/assign.php | PHP | asf20 | 1,466 |
<?php
/**
* list.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* The auth items list view
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem.manage
* @since 1.0.0
*/
?>
<?php if (Yii::app()->user->hasFlash('updateName')): ?>
<div... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/manage/list.php | PHP | asf20 | 6,251 |
<?php
/**
* createItems.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* The auth items auto creation view
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem.manage
* @since 1.0.2
*/
?>
<?php
$script = "jQuery('#cb_createTasks').c... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/manage/createItems.php | PHP | asf20 | 2,737 |
<?php
/**
* show.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* The auth items information view. Also this view is used for deleting
* confirmation.
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem.manage
* @since... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/manage/show.php | PHP | asf20 | 1,721 |
<?php
/**
* obsoleteRemoved.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* The result of the obsolete authItems remove.
* Alist of authItems removed and not removed.
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem.manage
* @si... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/manage/obsoleteRemoved.php | PHP | asf20 | 1,112 |
<?php
/**
* _form.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* The create new auth item form.
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem.manage
* @since 1.0.0
*/
?>
<div class="srbacForm">
<p>
... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/manage/_form.php | PHP | asf20 | 3,766 |
<?php
/**
* manage.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* The auth items main administration page
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem.manage
* @since 1.0.0
*/
?>
<?php $this->breadcrumbs = array(
'Srba... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/manage/manage.php | PHP | asf20 | 6,381 |
<?php
/**
* update.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* A view used when an auth item is updated
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem.manage
* @since 1.0.0
*/
?>
<?php echo $this->renderPa... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/manage/update.php | PHP | asf20 | 406 |
<?php
/**
* create.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* The create new auth item view.
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem.manage
* @since 1.0.0
*/
?>
<div class="title"><?php echo Helper... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/manage/create.php | PHP | asf20 | 484 |
<?php
/**
* clearObsolete.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* A view for deleting authItems of controllers that no longer exist
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem.manage
* @since 1.1.1
*/
?>
<?php if ($... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/manage/clearObsolete.php | PHP | asf20 | 1,733 |
<?php
/**
* wizard.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* The auto creation of auth items main page.<br />
* The controllers / modules list is on the left and the auth item actions on
* the right table
*
* @author Spyros Soldatos <spyros@valor.gr>
... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/manage/wizard.php | PHP | asf20 | 3,558 |
<?php
/**
* admin.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* It's not used anymore
* Replaced by manage/manage
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem
* @since 1.0.0
* @obsolete
*/
?>
<h2><?php... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/admin.php | PHP | asf20 | 1,628 |
<?php
/**
* userAssignments.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* Shows a user's assignments
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem
* @since 1.0.2
*/
?>
<br />
<h1>Assignments of user : '<?php echo $username... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/userAssignments.php | PHP | asf20 | 1,509 |
<?php
/**
* saveAllowed.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* The view that displays the items that are saved in the alwaysAllowed file
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem
* @since 1.1.0
*/
?>
<div>
<?ph... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/saveAllowed.php | PHP | asf20 | 633 |
<?php
/**
* header.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* Srbac sample header
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem.header
* @since 1.1.0
*/
?>
<h1>
Srbac Administration Web Interface
</h1>
| zy-task | trunk/rapid/protected/modules/srbac/views/authitem/header.php | PHP | asf20 | 303 |
<?php
/**
* taskToRole.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* The tab view for assigning tasks to roles
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem.tabViews
* @since 1.0.0
*/
?>
<!-- ROLES -> TASKS... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/tabViews/taskToRole.php | PHP | asf20 | 1,792 |
<?php
/**
* taskAjax.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* The assigning operations to tasks listboxes
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem.tabViews
* @since 1.0.0
*/
?>
<table width="100%"... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/tabViews/taskAjax.php | PHP | asf20 | 2,181 |
<?php
/**
* operationToTask.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* The tab view for assigning operations to tasks
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem.tabViews
* @since 1.0.0
*/
?>
<?php
$cr... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/tabViews/operationToTask.php | PHP | asf20 | 2,922 |
<?php
/**
* roleAjax.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* The assigning task to roles listboxes
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem.tabViews
* @since 1.0.0
*/
?>
<table width="100%">
<... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/tabViews/roleAjax.php | PHP | asf20 | 2,148 |
<?php
/**
* roleToUser.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* The tab view for assigning roles to users
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem.tabViews
* @since 1.0.0
*/
?>
<!-- USER -> ROLES ... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/tabViews/roleToUser.php | PHP | asf20 | 1,878 |
<?php
/**
* userAjax.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* The assigning roles to users listboxes
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem.tabViews
* @since 1.0.0
*/
?>
<table width="100%">
... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/tabViews/userAjax.php | PHP | asf20 | 2,139 |
<?php
/**
* unauthorized.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* Default page shown when a not authorized user tries to access a page
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem
* @since 1.0.2
*/
?>
<h2 style="colo... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/unauthorized.php | PHP | asf20 | 440 |
<?php
/**
* assignments.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* The view of the users assignments
* If no user id is passed a drop down with all users is shown
* Else the user's assignments are shown.
*
* @author Spyros Soldatos <spyros@valor.gr>
* @... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/assignments.php | PHP | asf20 | 3,367 |
<?php
/**
* frontpage.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* Srbac main administration page
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem
* @since 1.0.2
*/
?>
<div class="marginBottom">
<div class="iconSet">
<... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/frontpage.php | PHP | asf20 | 2,115 |
<?php
/**
* footer.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* Srbac sample header
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem.header
* @since 1.1.0
*/
?>
<p align="right">
Yii Version <?php echo Yii::getVersion(); ?>... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/footer.php | PHP | asf20 | 551 |
<?php
/**
* allowed.php
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* The view for the editing of the alwaysAllowed list
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.views.authitem
* @since 1.1.0
*/
?>
<?php
//CVarDumper::dump($controllers,... | zy-task | trunk/rapid/protected/modules/srbac/views/authitem/allowed.php | PHP | asf20 | 1,900 |
<?php
/**
* Greek translation of srbac.
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.messages.el_gr
* @since 1.0.0
*/
return array (
"Fields with"=>"Τα πεδία με",
"are required"=>"... | zy-task | trunk/rapid/protected/modules/srbac/messages/el_gr/srbac.php | PHP | asf20 | 9,555 |
<?php
/**
* Hungarian translation of srbac.
*
* @author Szilveszter Szilagyi <szilveszter@gmx.co.uk>
* @link http://code.google.com/p/srbac/
*/
return array (
"Fields with"=>"A",
"are required"=>"elemek szükségesek",
"Name"=>"Név",
"Itemname"=>"Elemnév",
"Type"=>"Típus",
"Description"=>"... | zy-task | trunk/rapid/protected/modules/srbac/messages/hu/srbac.php | PHP | asf20 | 6,719 |
<?php
/**
* Czech translation of srbac.
*
* @author Jan Redl <jan@redl.eu>
*/
return array (
"Fields with"=>"Položky označené",
"are required"=>"jsou povinné",
"Name"=>"Jméno",
"Itemname"=>"Položka",
"Type"=>"Typ",
"Description"=>"Popis",
"Bizrule"=>"Bizrule",
"Data"=>"Data",
"S... | zy-task | trunk/rapid/protected/modules/srbac/messages/cz/srbac.php | PHP | asf20 | 7,153 |
<?php
/**
* Spanish translation of srbac.
*
* @author Ricardo Obregón <robregonm@gmail.com>
* @link http://code.google.com/p/srbac/
*/
/**
* @author Ricardo Obregón <robregonm@gmail.com>
* @package srbac.messages.es
* @since 1.0.2
*/
return array (
"Fields with"=>"Campos con",
"are required"=>"son requer... | zy-task | trunk/rapid/protected/modules/srbac/messages/es/srbac.php | PHP | asf20 | 7,141 |
<?php
return array (
"Fields with"=>"Felder mit",
"are required"=>"sind Pflichtfelder",
"Name"=>"Name",
"Itemname"=>"Anweisung",
"Type"=>"Typ",
"Description"=>"Beschreibung",
"Bizrule"=>"Businesslogik",
"Data"=>"Daten",
"Save"=>"Speichern",
"Create"=>"Erstellen",
"Managing AuthItem"=>"... | zy-task | trunk/rapid/protected/modules/srbac/messages/de/srbac.php | PHP | asf20 | 2,670 |
<?php
return array (
"Fields with"=>"Поля, содержащие",
"are required"=>"должны быть заполнены",
"Name"=>"Название",
"Itemname"=>"Название правила",
"Type"=>"Тип",
"Description"=>"Описание",
"Bizrule"=>"Бизнес-правило",
"Data"=>"Данные",
"Save"=>"Сохранить",
"Create"=>"Создать",
"Manag... | zy-task | trunk/rapid/protected/modules/srbac/messages/ru/srbac.php | PHP | asf20 | 8,029 |
<?php
/**
* Spanish translation of srbac.
*
* @author Ricardo Obregón <robregonm@gmail.com>
* @link http://code.google.com/p/srbac/
*/
/**
* @author Ricardo Obregón <robregonm@gmail.com>
* @package srbac.messages.es
* @since 1.0.2
*/
return array (
"Fields with"=>"Campos marcados com",
"are required"=>"s... | zy-task | trunk/rapid/protected/modules/srbac/messages/pt/srbac.php | PHP | asf20 | 6,006 |
<?php
/**
* Ukraininan translation of srbac.
*
* @author Anatol Koval <weralwolf@gmail.com>
* @link http://code.google.com/p/srbac/
*/
/**
* @author Anatol Koval <weralwolf@gmail.com>
* @package srbac.messages.ua
* @since 1.1.0
*/
return array(
"Fields with" => "Поля, що містять",
"are re... | zy-task | trunk/rapid/protected/modules/srbac/messages/ua/srbac.php | PHP | asf20 | 8,336 |
<?php
/**
* Lithuanian translation of srbac.
*
* @author Šarūnas Dargelis <sarunas.da@gmail.com>
* @link http://code.google.com/p/srbac/
*/
return array (
"Fields with"=>"Laukeliai pažymėti",
"are required"=>"yra būtini",
"Name"=>"Vardas",
"Itemname"=>"Įrašo numeris",
"Type"=>"Tipas",
"Des... | zy-task | trunk/rapid/protected/modules/srbac/messages/lt/srbac.php | PHP | asf20 | 6,512 |
<?php
/**
* 中文翻译版本的 srbac.演示站,无权进入srbac--正在开发中
* 需要国外代理访问,大家可以找spyros获取帮助:http://sys2009.200u.com/Belief
* 网址区分大小写
* @author sys2009<originwang@gmail.com>
* @link http://sys2009.200u.com/Belief
*/
/**
* @如果你在中共大陆,那么您需要使用国外代理访问本站,虽然此免费空间很快,可是被中共屏蔽
* @()
* @since 1.0.2
*/
return array (
"F... | zy-task | trunk/rapid/protected/modules/srbac/messages/zh/srbac.php | PHP | asf20 | 5,614 |
<?php
/**
* Assignments class file.
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* Assignments model is the authManager model that defines which operations /
* tasks / roles are assigned to which user.
*
* @author Spyros Soldatos <spyros@valor.gr>
... | zy-task | trunk/rapid/protected/modules/srbac/models/Assignments.php | PHP | asf20 | 1,990 |
<?php
/**
* Assignments class file.
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* Assignments model is the authManager model that controls which the assignments
* between useers/roles/tasks and operations
*
* @author Spyros Soldatos <spyros@valor.gr>
* @packag... | zy-task | trunk/rapid/protected/modules/srbac/models/ItemChildren.php | PHP | asf20 | 1,242 |
<?php
/**
* AuthItem class file.
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* AuthItem is the models for authManager items (operations, tasks and roles)
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.models
* @since 1.0.0
*/
cl... | zy-task | trunk/rapid/protected/modules/srbac/models/AuthItem.php | PHP | asf20 | 3,829 |
/**
* CSS styles for form and input fields.
*
* These styles are used with form and input fields generated via yiic script.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.yiiframework.com/
* @copyright Copyright © 2008-2009 Yii Software LLC
* @license http://www.yiiframework.com/l... | zy-task | trunk/rapid/protected/modules/srbac/css/srbac.css | CSS | asf20 | 6,835 |
<?php
/**
* SrbacModule class file.
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* SrbacModule is the module that loads the srbac module in the application
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac
* @since 1.0.0
*/
class ... | zy-task | trunk/rapid/protected/modules/srbac/SrbacModule.php | PHP | asf20 | 11,188 |
<?php
/**
* AuthitemController class file.
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* AuthitemController is the main controller for all of the srbac actions
*
* @author Spyros Soldatos <spyros@valor.gr>
* @package srbac.controllers
* @since 1... | zy-task | trunk/rapid/protected/modules/srbac/controllers/AuthitemController.php | PHP | asf20 | 39,304 |
<?php
/**
* The default srbac controller
*/
class DefaultController extends CController {
/**
* The default action if no route is specified
*/
public function actionIndex() {
//$this->render('index');
$this->redirect(array('authitem/frontpage'));
}
} | zy-task | trunk/rapid/protected/modules/srbac/controllers/DefaultController.php | PHP | asf20 | 281 |
<?php
/**
* SBaseController class file.
*
* @author Spyros Soldatos <spyros@valor.gr>
* @link http://code.google.com/p/srbac/
*/
/**
* SBaseController must be extended by all of the applications controllers
* if the auto srbac should be used.
* You can import it in your main config file as<br />
*... | zy-task | trunk/rapid/protected/modules/srbac/controllers/SBaseController.php | PHP | asf20 | 3,903 |
#!/usr/bin/env php
<?php
require_once(dirname(__FILE__).'/yiic.php');
| zy-task | trunk/rapid/protected/.svn/text-base/yiic.svn-base | PHP | asf20 | 71 |
<?php if(Yii::app()->user->hasFlash('success')) { ?>
<div class="flash-success">
<?php echo Yii::app()->user->getFlash('success'); ?>
</div>
<?php } ?>
<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'book-grid',
'dataProvider'=>$dataProvider,
'columns'=>array(
'... | zy-task | trunk/rapid/protected/views/library/index.php | PHP | asf20 | 1,287 |
<div class="view">
<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('name')); ?>:</b>
<?php echo CHtml::encode($data->name); ?>
<br />
</div>
| zy-task | trunk/rapid/protected/views/job/_view.php | PHP | asf20 | 316 |
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'job-form',
'enableAjaxValidation'=>false,
)); ?>
<p class="note">Fields with <span class="required">*</span> are required.</p>
<?php echo $form->errorSummary($model); ?>
<div class="row">
<?php echo $form->labelEx($model,'name'); ... | zy-task | trunk/rapid/protected/views/job/_form.php | PHP | asf20 | 833 |
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'id'); ?>
<?php echo $form->textField($model,'id',array('size'=>10,'maxlength'=>10)); ?>
</div>
<div class="row... | zy-task | trunk/rapid/protected/views/job/_search.php | PHP | asf20 | 600 |
<?php
$this->breadcrumbs=array(
'Registered Jobs'=>array('index'),
$model->name=>array('view','id'=>$model->id),
'Update',
);
$this->menu=array(
array('label'=>'Create Job', 'url'=>array('create')),
array('label'=>'View Job', 'url'=>array('view', 'id'=>$model->id)),
array('label'=>'List Registered Jobs', ... | zy-task | trunk/rapid/protected/views/job/update.php | PHP | asf20 | 554 |
<?php
$this->breadcrumbs=array(
'Registered Jobs'=>array('index'),
'Create',
);
$this->menu=array(
array('label'=>'List Registered Jobs', 'url'=>array('job/index')),
array('label'=>'List Scheduled Jobs', 'url'=>array('scheduledJob/index')),
);
?>
<h6>Register Job</h6>
<?php echo $this->renderPartia... | zy-task | trunk/rapid/protected/views/job/create.php | PHP | asf20 | 359 |
<?php
$this->breadcrumbs=array(
'Jobs'=>array('index'),
$model->name,
);
$this->menu=array(
array('label'=>'List Job', 'url'=>array('index')),
array('label'=>'Create Job', 'url'=>array('create')),
array('label'=>'Update Job', 'url'=>array('update', 'id'=>$model->id)),
array('label'=>'Delete Job', 'url'=>'#', 'li... | zy-task | trunk/rapid/protected/views/job/view.php | PHP | asf20 | 627 |
<?php
$this->breadcrumbs=array(
'Registered Jobs',
);
$this->menu=array(
array('label'=>'List Scheduled Jobs', 'url'=>array('scheduledJob/index')),
);
Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
$('.search-form').toggle();
return false;
});
$('.search-form for... | zy-task | trunk/rapid/protected/views/job/index.php | PHP | asf20 | 1,816 |
<div class="view">
<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('username')); ?>:</b>
<?php echo CHtml::encode($data->username); ?>
<br />
<b... | zy-task | trunk/rapid/protected/views/user/_view.php | PHP | asf20 | 590 |
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'user-form',
'enableAjaxValidation'=>false,
)); ?>
<p class="note">Fields with <span class="required">*</span> are required.</p>
<?php echo $form->errorSummary($user); ?>
<?php echo $form->errorSummary($person); ?>
<div clas... | zy-task | trunk/rapid/protected/views/user/_form.php | PHP | asf20 | 2,286 |
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'username'); ?>
<?php echo $form->textField($model,'username',array('size'=>20,'maxlength'=>20)); ?>
</div>
<di... | zy-task | trunk/rapid/protected/views/user/_search.php | PHP | asf20 | 795 |
<?php
Yii::app()->getClientScript()->registerCoreScript( 'jquery.ui' );
Yii::app()->clientScript->registerScriptFile(
Yii::app()->request->baseUrl . '/js/user_form_ajax.js'
);
$this->breadcrumbs=array(
'Users'=>array('index'),
$model->id=>array('view','id'=>$model->id),
'Update',
);
$this->menu=array(
arr... | zy-task | trunk/rapid/protected/views/user/update.php | PHP | asf20 | 731 |
<?php
Yii::app()->getClientScript()->registerCoreScript( 'jquery.ui' );
Yii::app()->clientScript->registerScriptFile(
Yii::app()->request->baseUrl . '/js/user_form_ajax.js'
);
$this->breadcrumbs=array(
'Users'=>array('index'),
'Create',
);
$this->menu=array(
array('label'=>'List User', 'url'=>array('index'... | zy-task | trunk/rapid/protected/views/user/create.php | PHP | asf20 | 495 |
<?php
$this->breadcrumbs=array(
'Users'=>array('index'),
$model->id,
);
$this->menu=array(
array('label'=>'List User', 'url'=>array('index')),
array('label'=>'Create User', 'url'=>array('create')),
array('label'=>'Update User', 'url'=>array('update', 'id'=>$model->id)),
array('label'=>'Delete User', 'url'=>'#', ... | zy-task | trunk/rapid/protected/views/user/view.php | PHP | asf20 | 849 |
<?php
$this->breadcrumbs=array(
'Users'=>array('index'),
'Manage',
);
$this->menu=array(
array('label'=>'List User', 'url'=>array('index')),
array('label'=>'Create User', 'url'=>array('create')),
);
Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
$('.search-form').toggl... | zy-task | trunk/rapid/protected/views/user/index.php | PHP | asf20 | 1,421 |
<?php
$this->pageTitle=Yii::app()->name . ' - Contact Us';
$this->breadcrumbs=array(
'Contact',
);
?>
<h1>Contact Us</h1>
<?php if(Yii::app()->user->hasFlash('contact')): ?>
<div class="flash-success">
<?php echo Yii::app()->user->getFlash('contact'); ?>
</div>
<?php else: ?>
<p>
If you have business inquiries o... | zy-task | trunk/rapid/protected/views/site/contact.php | PHP | asf20 | 2,057 |
<?php
$this->pageTitle=Yii::app()->name . ' - Error';
$this->breadcrumbs=array(
'Error',
);
?>
<h2>Error <?php echo $code; ?></h2>
<div class="error">
<?php echo CHtml::encode($message); ?>
</div> | zy-task | trunk/rapid/protected/views/site/error.php | PHP | asf20 | 199 |
<?php
$this->pageTitle=Yii::app()->name . ' - Login';
$this->breadcrumbs=array(
'Login',
);
?>
<h1>Login</h1>
<p>Please fill out the following form with your login credentials:</p>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'login-form',
'enableClientValidation'=>true,
'clientO... | zy-task | trunk/rapid/protected/views/site/login.php | PHP | asf20 | 1,148 |
<?php
$this->pageTitle=Yii::app()->name . ' - About';
$this->breadcrumbs=array(
'About',
);
?>
<h1>About</h1>
<p>This is a "static" page. You may change the content of this page
by updating the file <tt><?php echo __FILE__; ?></tt>.</p> | zy-task | trunk/rapid/protected/views/site/pages/about.php | PHP | asf20 | 238 |
<?php $this->pageTitle=Yii::app()->name; ?>
<h1>Welcome to <i>My <?php echo CHtml::encode(Yii::app()->name); ?></i></h1>
<p>My 10 latest comic book purchases:
</p>
<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'book-grid',
'dataProvider'=>$model,
'columns'=>array(
... | zy-task | trunk/rapid/protected/views/site/index.php | PHP | asf20 | 570 |
<?php $this->beginContent('//layouts/main'); ?>
<div id="content">
<?php echo $content; ?>
</div><!-- content -->
<?php $this->endContent(); ?> | zy-task | trunk/rapid/protected/views/layouts/column1.php | PHP | asf20 | 144 |
<?php $this->beginContent('//layouts/main'); ?>
<div class="span-14">
<div id="content">
<?php echo $content; ?>
</div><!-- content -->
</div>
<div class="span-5 last">
<div id="sidebar">
<?php
$this->beginWidget('zii.widgets.CPortlet', array(
'title'=>'Operations',
));
$this->widget('application.compone... | zy-task | trunk/rapid/protected/views/layouts/column2.php | PHP | asf20 | 512 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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" />
<meta name="language" content="en" />
<!-- bluepr... | zy-task | trunk/rapid/protected/views/layouts/main.php | PHP | asf20 | 3,864 |
<div class="view">
<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('name')); ?>:</b>
<?php echo CHtml::encode($data->name); ?>
<br />
</div> | zy-task | trunk/rapid/protected/views/grade/_view.php | PHP | asf20 | 316 |
<?php
$this->breadcrumbs=array(
'Grades'=>array('index'),
'Manage',
);
$this->menu=array(
array('label'=>'List Grade', 'url'=>array('index')),
array('label'=>'Create Grade', 'url'=>array('create')),
);
Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
$('.search-form').to... | zy-task | trunk/rapid/protected/views/grade/admin.php | PHP | asf20 | 1,197 |
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'grade-form',
'enableAjaxValidation'=>false,
)); ?>
<p class="note">Fields with <span class="required">*</span> are required.</p>
<?php echo $form->errorSummary($model); ?>
<div class="row">
<?php echo $form->labelEx($model,'name')... | zy-task | trunk/rapid/protected/views/grade/_form.php | PHP | asf20 | 626 |
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'id'); ?>
<?php echo $form->textField($model,'id',array('size'=>10,'maxlength'=>10)); ?>
</div>
<div class="row... | zy-task | trunk/rapid/protected/views/grade/_search.php | PHP | asf20 | 600 |
<?php
$this->breadcrumbs=array(
'Grades'=>array('index'),
$model->name=>array('view','id'=>$model->id),
'Update',
);
$this->menu=array(
array('label'=>'List Grade', 'url'=>array('index')),
array('label'=>'Create Grade', 'url'=>array('create')),
array('label'=>'View Grade', 'url'=>array('view', 'id'=>$model->id))... | zy-task | trunk/rapid/protected/views/grade/update.php | PHP | asf20 | 502 |