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


PHP URL::to_route方法代码示例

本文整理汇总了PHP中URL::to_route方法的典型用法代码示例。如果您正苦于以下问题:PHP URL::to_route方法的具体用法?PHP URL::to_route怎么用?PHP URL::to_route使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在URL的用法示例。


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

示例1: action_facebookConnect

    public function action_facebookConnect()
    {
        assert(Auth::guest());
        $profile = Helper::facebook()->api('/me');
        $user = Model\User::where_facebook_id($profile['id'])->first();
        if (!$user) {
            $user = new Model\User();
            $user->facebook_id = $profile['id'];
            $user->name = $profile['name'];
            $user->save();
        }
        Auth::login($user->id);
        ?>
		<html>
			<head>
				<script type="text/javascript">
					if (window.opener) {
						window.opener.location = '<?php 
        echo URL::to_route('login');
        ?>
';
						window.close();
					} else {
						window.location = '<?php 
        echo URL::to_route('login');
        ?>
';
					}
				</script>
			</head>	
			<body>
			</body>
		</html>
		<?php 
    }
开发者ID:mjrouser,项目名称:cityapi2.0,代码行数:35,代码来源:auth.php

示例2: __callStatic

 /**
  * Magic Method to handle redirecting to routes.
  */
 public static function __callStatic($method, $parameters)
 {
     $parameters = isset($parameters[0]) ? $parameters[0] : array();
     if (strpos($method, 'to_secure_') === 0) {
         return static::to(URL::to_route(substr($method, 10), $parameters, true));
     }
     if (strpos($method, 'to_') === 0) {
         return static::to(URL::to_route(substr($method, 3), $parameters));
     }
     throw new \Exception("Method [{$method}] is not defined on the Redirect class.");
 }
开发者ID:hpaul,项目名称:Google-short,代码行数:14,代码来源:redirect.php

示例3: __construct

 /**
  * Constructor function
  *
  * @param string|int	$field
  * @param array|string	$info
  * @param ModelConfig 	$config
  */
 public function __construct($field, $info, $config)
 {
     parent::__construct($field, $info, $config);
     $this->sizes = array_get($info, 'sizes', $this->sizes);
     $this->naming = array_get($info, 'naming', $this->naming);
     $this->location = array_get($info, 'location');
     $this->sizeLimit = (int) array_get($info, 'size_limit', $this->sizeLimit);
     $this->uploadUrl = \URL::to_route('admin_image_upload', array($config->name, $this->field));
     $replace = path('public');
     if (strpos($this->location, $replace) === 0) {
         $this->displayUrl = \URL::to('/' . substr_replace($this->location, '', 0, strlen($replace)));
     }
     //make sure the naming is one of the two accepted values
     $this->naming = in_array($this->naming, array('keep', 'random')) ? $this->naming : 'random';
 }
开发者ID:TahsinGokalp,项目名称:L3-Sozluk,代码行数:22,代码来源:Image.php

示例4: post_send_message

 public function post_send_message()
 {
     $input = Input::all();
     try {
         $validator = new Services\Home\Contact\Validator($input);
         $validator->publish();
     } catch (ValidateException $errors) {
         return Redirect::to(URL::to_route('home.contact'))->with_input()->with_errors($errors->get());
     }
     $errors = new Laravel\Messages();
     try {
         $message = Message::to(Config::get('app.email_address'))->from($input['email'], $input['last_name'] + ', ' + $input['first_name'])->subject($input['subject'])->body($input['message'])->send();
         if ($message->was_sent()) {
             return Redirect::to(URL::to_route('home.index'))->with('status_success', __('application.email_sent'));
         } else {
             $errors->add('errors', __('application.email_error'));
             return Redirect::to(URL::to_route('home.contact'))->with_input()->with_errors($errors);
         }
     } catch (\Exception $e) {
         $errors->add('errors', $e->getMessage());
         return Redirect::to(URL::to_route('home.contact'))->with_input()->with_errors($errors);
     }
 }
开发者ID:jvillasante,项目名称:cubanartjb,代码行数:23,代码来源:home.php

示例5: delete_events_delete

 public function delete_events_delete($id)
 {
     $event = GroupEvent::find($id);
     $errors = new Laravel\Messages();
     if ($event) {
         if ($event->delete()) {
             return Redirect::to(URL::to_route('dashboard.events'))->with('status_success', __('application.event_deleted'));
         } else {
             $errors->add('errors', __('application.generic_error'));
             return Redirect::to(URL::to_route('dashboard.events'))->with_errors($errors);
         }
     } else {
         return Response::error(404);
     }
 }
开发者ID:jvillasante,项目名称:cubanartjb,代码行数:15,代码来源:dashboard.php

示例6: chassisIdToSimpleName

        //this is the training frame, we don't want to display it.
        $count_progress_xp--;
    } else {
        //Let's setup some data
        $num_frames_for_width++;
        $current_battle_frame_id = $progress->xp[$i]->sdb_id;
        $is_active = $current_battle_frame_id != $progress->chassis_id ? '' : 'active';
        $current_battle_frame_simple_name = chassisIdToSimpleName($current_battle_frame_id);
        $current_battle_frame_as_class = strtolower($current_battle_frame_simple_name);
        $current_battle_frame_as_icon = simpleNameToClassIcon($current_battle_frame_simple_name);
        $current_battle_frame_lifetime_xp = number_format($progress->xp[$i]->lifetime_xp);
        $current_battle_frame_xp = number_format($progress->xp[$i]->current_xp);
        //Let's generate some data
        $ol_items .= "<li data-battleframe='{$current_battle_frame_id}' data-target='#frameCarousel' data-slide-to='" . $i . "' rel='tooltip' title='{$current_battle_frame_simple_name}' class='changeFrame {$is_active}'><img src='/img/assets/items/64/{$current_battle_frame_as_icon}.png' alt='' /></li>";
        $div_items .= "<div class='item {$current_battle_frame_as_class} {$is_active}'>";
        $div_items .= "<p><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a target='_blank' href='" . URL::to_route('players') . "/" . e($player->name) . "/battleframe/" . strtolower($current_battle_frame_simple_name) . "'>Link This Frame</a></p>";
        $div_items .= "<p class='total-xp'><i>{$current_battle_frame_simple_name}</i><br/>{$current_battle_frame_lifetime_xp} TOTAL XP</p>";
        $div_items .= "</div>";
    }
}
?>

			{{-- THIS OUTPUTS THE CAROUSEL SKIP LINKS --}}
	<div id="frameCarousel" class="carousel slide">
		<ol class="carousel-indicators">
			{{ $ol_items }}
		</ol>
		<div class="carousel-inner">
			{{-- THIS OUTPUTS THE CAROUSEL FRAME DATA COMPUTED ABOVE --}}
				{{ $div_items }}
		</div>
开发者ID:odie5533,项目名称:ThumpDumpDB,代码行数:31,代码来源:player_profile.blade.php

示例7: rejigger

<?php

echo File::get(Bundle::path('rejigger') . 'jquery/jquery-1.7.2.min.js');
?>
var reJquery = jQuery.noConflict(true);

var rejigger_version;
var rejigger_version_uri = "<?php 
echo URL::to_route('rejigger_version');
?>
";

reJquery(document).ready(function() {
	rejigger();
});

function rejigger() {
	reJquery.get(rejigger_version_uri, {
		uri: window.location.href
	}, function(data) {
		if (data.charAt(0) == '{') {
			var json = (new Function("return " + data))();

			if (typeof rejigger_version == 'undefined') {
				rejigger_version = json.version;
			}

			if (rejigger_version == json.version) {
				setTimeout("rejigger()", <?php 
echo Config::get('rejigger::settings.update_milliseconds', '1000');
?>
开发者ID:acmadi,项目名称:rejigger-laravel,代码行数:31,代码来源:js.php

示例8: get_confirmation

 public function get_confirmation($email = null, $hash = null)
 {
     try {
         $confirmation = Sentry::reset_password_confirm($email, $hash);
         if ($confirmation) {
             return Redirect::to(URL::to_route('session.login'))->with('status_success', __('application.resset_ok'));
         } else {
             return View::make('session/reset_confirmation_invalid')->with('title', HtmlHelpers::name('reset_invalid_header'));
         }
     } catch (Sentry\SentryException $e) {
         return View::make('session/reset_confirmation_invalid')->with('title', HtmlHelpers::name('reset_invalid_header'));
     }
 }
开发者ID:jvillasante,项目名称:cubanartjb,代码行数:13,代码来源:session.php

示例9: isset

    $editFields = Field::getEditFields($config);
    //add the view fields
    $view->primaryKey = $model::$key;
    $view->rows = ModelHelper::getRows($config, $config->sort);
    $view->editFields = $editFields;
    $view->actions = $config->actions;
    $view->filters = Field::getFilters($config);
    $view->baseUrl = $baseUrl;
    $view->assetUrl = URL::to('bundles/administrator/');
    $view->route = $route['path'] . '/';
    $view->model = isset($view->model) ? $view->model : false;
});
//admin settings view
View::composer('administrator::settings', function ($view) {
    $config = $view->config;
    $baseUrl = URL::to_route('admin_index');
    $route = parse_url($baseUrl);
    //get the edit fields
    $editFields = Field::getEditFields($config);
    //add the view fields
    $view->editFields = $editFields;
    $view->actions = $config->actions;
    $view->baseUrl = $baseUrl;
    $view->assetUrl = URL::to('bundles/administrator/');
    $view->route = $route['path'] . '/';
});
//header view
View::composer(array('administrator::partials.header', 'administrator::dashboard'), function ($view) {
    $view->menu = Menu::getMenu();
    $view->settingsPrefix = Admin\Libraries\SettingsConfig::$prefix;
});
开发者ID:SerdarSanri,项目名称:admin,代码行数:31,代码来源:viewComposers.php

示例10:

?>
" />
<title>jQuery File Upload Plugin Test</title>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="http://code.jquery.com/qunit/git/qunit.css">
</head>
<body>
<h1 id="qunit-header">jQuery File Upload Plugin Test</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
    <!-- The file upload form used as target for the file upload widget -->
    <form id="fileupload" action="<?php 
echo URL::to_route('upload');
?>
" method="POST" enctype="multipart/form-data">
        <!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
        <div class="row fileupload-buttonbar">
            <div class="span7">
                <!-- The fileinput-button span is used to style the file input field as button -->
                <span class="btn btn-success fileinput-button">
                    <i class="icon-plus icon-white"></i>
                    <span>Add files...</span>
                    <input type="file" name="files[]" multiple>
                </span>
                <button type="submit" class="btn btn-primary start">
                    <i class="icon-upload icon-white"></i>
                    <span>Start upload</span>
                </button>
开发者ID:brucewu16899,项目名称:laravel-jquery-file-upload,代码行数:31,代码来源:test.php

示例11: array

<?php

Autoloader::map(array('Rejigger\\URI' => Bundle::path('rejigger') . 'uri.php'));
$envs = Config::get('rejigger::settings.environments', array('*'));
if (in_array('*', $envs) || isset($_SERVER['LARAVEL_ENV']) && in_array($_SERVER['LARAVEL_ENV'], $envs)) {
    Event::listen('laravel.done', function ($response) {
        if (!(Request::route()->is('rejigger_js') || Request::route()->is('rejigger_version'))) {
            echo HTML::script(URL::to_route('rejigger_js'));
        }
    });
}
开发者ID:acmadi,项目名称:rejigger-laravel,代码行数:11,代码来源:start.php

示例12: array

?>
",
		base_url = "<?php 
echo $baseUrl;
?>
/",
		asset_url = "<?php 
echo $assetUrl;
?>
",
		file_url = "<?php 
echo URL::to_route('admin_display_file', array($config->name));
?>
",
		rows_per_page_url = "<?php 
echo URL::to_route('admin_rows_per_page', array($config->name));
?>
",
		route = "<?php 
echo $route;
?>
",
		csrf = "<?php 
echo Session::token();
?>
",
		language = "<?php 
echo Config::get('application.language');
?>
",
		adminData = {
开发者ID:SerdarSanri,项目名称:admin,代码行数:31,代码来源:index.php

示例13:

  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <title>clementia</title>
  <meta name="viewport" content="width=device-width">
  <?php 
echo Asset::styles();
?>
  <?php 
echo Asset::container('header')->scripts();
?>
</head>
<body>
  <div class="navbar navbar-inverse navbar-fixed-top">
    <div class="navbar-inner">
      <div class="container">
        <a class="brand" href="<?php 
echo URL::to_route('home');
?>
">clementia</a>
        <ul class="nav">
        </ul>

        
        <ul class="nav pull-right">
          <?php 
if (Auth::check()) {
    ?>
            <li><?php 
    echo HTML::link('test', 'Tests');
    ?>
</li>
            <li><?php 
开发者ID:netcon-source,项目名称:clementia,代码行数:31,代码来源:common.php

示例14: array

<?php

return array('name_acronym' => 'J&amp;B', 'name' => 'J&amp;B Abstract Art Group', 'brouwer' => 'Juan L. Brouwer', 'brouwer_full' => 'Juan Leo Brouwer Pardo', 'jacas' => 'Oscar J. Jacas', 'jacas_full' => 'Oscar Javier Jacas Hern&aacute;ndez', 'phone_numbers' => '(537) 8 322929 <br /> (537) 8 325264', 'address_heading' => 'Address', 'address' => 'Línea No 6 entre N y O. Piso 10, Apto 10A. Plaza. La Habana. Cuba.', 'header1' => '<span class="firstword">Who</span> We Are', 'comment1' => 'J&amp;B Abstract Art Group continues motivated by the energy of this pictorial form. New artist generations explore new ways. The abstraction for us are revelations without end. Enjoy...', 'header2' => '<span class="firstword">Get</span> in Touch', 'comment2' => 'We would like to receive yours questions, opinions and comments. Thanks. If you are to interest some of our works you may <a href="' . URL::to_route('home.contact') . '">contact us</a>. We\'ll keep in touch.', 'header3' => '<span class="firstword">Oscar</span> J. Jacas', 'comment3' => 'I\'m a painter and artisan. Make Paper Marché. The technique is being used to develop environments. My designs and works have been used to decorate empty spaces of cafeteria, hotels, stand\'s and other inner spaces. You may <a href="' . URL::to_route('home.contact') . '">contact me</a>.', 'home' => 'Home', 'work' => 'Work', 'pricing' => 'Pricing', 'contact' => 'Contact', 'contact1' => 'Contact', 'about' => 'About', 'sign_in' => 'Sign In', 'motto' => '&ndash; Oscar J. Jacas &amp; Juan L. Brouwer &ndash;', 'all' => 'All', 'series' => 'Series', 'tags' => 'Tags', 'dashboard' => 'Dashboard', 'about_long' => "<p>The J&amp;B Abstract Art Group is the fruit of collaboration between two young Cuban artists: Juan Leo Brouwer Pardo and Oscar Javier Jacas Hernandez. From a friendship of more than 10 years emerge this project blended by the self admirations that feel these artists and their preference by Abstract Painting.</p>" . "<p>Juan L. Brouwer chooses this way since the time when he was a student at the Academy of San Alejandro where he had his first Exposition. The work he has been doing since then by experimentation using extra artistic resources and tools which visually send us to old textures and other constructive elements, the use of design in occasions combines with those showing a self aesthetics.</p>" . "<p>All these facts have encouraged Oscar Javier Jacas Hernández painter and artisan to wander in abstract painting some years ago. His work approach him to Action Painting for the use of expressive freedom in gestures.</p>", 'about_small' => 'We are a youg group of cuban painters specializing in the abstract world.', 'our' => 'Our', 'group' => 'Group', 'perks' => 'Perks', 'email_sent' => 'Message sent. Thanks for contacting us. We\'ll write back soon.', 'email_error' => 'There was a problem sending the email. It is our fault. Try again later.', 'events' => 'Events', 'event' => 'Event', 'manage_events' => 'Manage Events', 'search_events' => 'Search Events', 'new_event' => 'New Event', 'event_name' => 'Event Name', 'event_place' => 'Event Place', 'event_date' => 'Event Date', 'event_description' => 'Event Description', 'create_event' => 'Create Event', 'event_added' => 'Event Added.', 'edit_event' => 'Edit Event', 'event_save' => 'Save Event', 'event_updated' => 'Event Updated.', 'event_deleted' => 'Event Deleted.', 'brouwer_about' => "<p>This painter was born in Havana in 1973. Since early age he tends to plastic arts. He develops studies of Painting and Drawing. Graduated from the Academy of Fine Arts San Alejandro in 2001 and from the Technological Institute Pablo de la Torriente Brau specialty craftsmanship. He works professionally since 2001.</p>" . "<p>He has participated in many massive expositions and has 5 expositions of his own; he belongs to the Register of the Creator. In 2001 he performed his first personal exposition \"Beyond Identity\" in the gallery of the Center of development of Fine Arts on Luz and Oficios.st. In 2003 he performed \"From the possible\" at Salvador Allende's House. In 2004 he participated in the \"Event Jojazz\" with an exposition of paintings and photographs at the lobby of the theatre on 23 and 12 st.</p>" . "<p>His paintings and photographs are purely abstract. He has worked in more than 20 collective expositions. His works are part of private collections in Cuba, Canada, Mexico, Japan, Italy and U.S.A.</p>", 'jacas_about' => "<p>This painter and artisan was born in Havana in 1980. Since early age he tends to plastic arts winning contests of children's painting. He performs elementary studies in Painting and Ceramics at 11 years old. When finishing the secondary school he enters the Technological Institute Pablo de la Torriente Brau specialty Craftsmanship. In 1999 as part of his studies he performs works of imitation jewelry, engraving, miniature and marquetry in a Work Shop, being this the one he has chosen for his thesis \"Geometry for the box of cigars\", which was chosen among the best three works of the year, therefore it was shown at the International Fair (FIART) in 1999. He works professionally since then.</p>" . "<p>He has been linked to Artists participating in the design and development of works using different techniques which have been shown in national and international events. Since 2004 he works independently, he is a member of the Association of Artisans Artists of Cuba (ACAA) and also of the Register of the Creator.</p>" . "<h3>Expositions</h3>" . "<ul>" . "<li>FIART - 1999</li>" . "<li>Imago Gallery\t- 2002</li>" . "<li>Salvador Allende's House - 2003</li>" . "<li>Third Hall of Paper Marché \"Antonia Eiriz\" - 2004</li>" . "<li>Expocuba Journey of the African Culture - 2005</li>" . "<li>Fourth Hall of Paper Marché \"Antonia Eiriz\" - 2006</li>" . "<li>Exposition \"Guess of the ACAA\" - 2006</li>" . "<li>Casa de las FAR Gallery - 2006</li>" . "<li>Journey of the environment San Miguel del Padrón Gallery - 2006</li>" . "<li>Personal Exposition \"Identity and dreams\" - 2006</li>" . "<li>Fernando Boada Martin Gallery - 2008</li>" . "<li>Fifth Hall of Paper Marché \"Antonia Eiriz\" - 2008</li>" . "<li>Seventh Hall of Paper Marché \"Love and Fantasy\" - 2011</li>" . "<li>Exposition \"Looking Mexico from Cuba\" (Special Prize) - 2012</li>" . "<li>Exposition \"Connections\" Hotel Plaza Lobby - 2012</li>" . "</ul>" . "<p>He received awards at the Fourth National Hall of Paper Marché \"Antonia Eiriz\". Second award and award given by the Center of Development of Visual Arts and Special Prize for the Project Virgin.</p>" . "<p>He has made donations of his works to different Cuban organizations as the Work Shop \"Antonia Eiriz\", ACLIFIM, television programs and The Art Center for children \"José de la Luz y Caballero\". He donated paintings to The Office of the Historian of the City, to The State Council and Ministers. Paper Marché technique is being used to develop environments works of toys and kinetics besides a wide range of useful and decorative objects. His painting is abstract and it has a gesture character.</p>" . "<p>He performed environments in Belgium with the tour operator Montana at the 2007 Fair of Tourism. He designed sets of columns and capitals for The Aventoura Raisen Agency at the Fair of Tourism (ITB) Berlin 2008. Designs and works of his own have been used to decorate empty spaces of cafeterias, hotels, and other inner spaces. Some of his works are shown in private collections and institutions of different countries such as Cuba, Finland, Denmark, Switzerland, Germany, Holland, Belgium, England, Italy, Spain, USA, Argentina and Mexico.</p>", 'faq' => 'FAQ', 'faq_large' => 'Frequently Asked Questions', 'faq1' => 'Why J&B Abstrac Art Group?', 'faq1_answer' => 'It\'s because abstract art enthrall us and give meaning to our union. Jacas and Brouwer are our last names and the name under our work lives.', 'faq2' => 'Which painters has influenced us?', 'faq2_answer' => '<strong><a href="' . URL::to_route('home.contact') . '">Jacas</a>: </strong>On my case painters from the 50s and 70s. Painters of the height of Jackson Pollock of the so called "Beat Generation". Cuban painters also as Raúl Martínez with his phase Pop and Abstract, Carlos García, Glexys Novoa. Foreigns like Franz Kline, Gerard Richter, Tapies had also mark me on my conception and aesthetics of any given abstract work.<br /><br /><strong><a href="' . URL::to_route('home.contact') . '">Brouwer</a>: </strong> My influences extend across the 50s up until the 70s of the past century, and, among the prime painters, I have been influenced by Guido Llinas, Cabrera Moreno in his abstract stage and more recently from the 80s Carlos García de la Nuez. Foreign painters had also mark me in some way, they are Gerard Richter, Antoni Tapies, Brice Marden, Callum Innes, Barnett Newman, Cy Twombly and others from the abstract expressionism.', 'faq3' => 'Do you have paintings for sale?', 'faq3_answer' => 'You can become interested on some of our work and, for us to be able to inform and interact, you must use <a href="' . URL::to_route('home.contact') . '">our contacts</a> and employ Serie and (#) or Title of the painting you are interested in. We promise you that we will answer your requests as soon as possible.', 'faq4' => 'What projects do you have?', 'faq4_answer' => 'We are currently painting canvas of great format which we will include on a Dossier we are working on and that will soon be ready. We are planning the next Group exhibition on Havana. We also are counting with the collaboration of a canadian painter for us to participate on a collective display on Toronto in 2013.', 'lang' => 'Language', 'lang_en' => 'English', 'lang_sp' => 'Spanish', 'switch_lang' => 'Switch to Spanish (Cambiar a Español)', 'phones' => 'Phones', 'first_name' => 'First Name', 'email_address' => 'Email Address', 'last_name' => 'Last Name', 'subject' => 'Subject', 'message' => 'Message', 'send' => 'Send', 'work' => 'Work', 'painting_about' => 'About', 'no_paintings' => 'There are no paintings to show', 'view_gallery' => 'View Gallery', 'all' => 'All', 'search_results' => 'Search Results', 'navigation' => 'Navigation', 'links' => 'Usefull Links', 'mails' => 'Mails', 'group_mails' => HTML::mailto('brouwerart@cubarte.cult.cu', 'brouwerart@cubarte.cult.cu') . '<br />' . HTML::mailto('robertlour@infomed.sld.cu', 'robertlour@infomed.sld.cu'), 'who' => 'Who We Are', 'social' => 'Find us, connect &amp; collaborate.', 'quote' => 'What would replace the object?<br />According to Vasily Kandinsky it had to be a spiritual thing.', 'quote_author' => 'Vasily Kandinsky &ndash; <strong>Pintor</strong>', 'author' => 'Designed and built with all the love in the world by ' . HTML::mailto('jvillasantegomez@gmail.com', 'Julio C. Villasante') . ' &ndash; Copyright &copy; ' . date('Y'), 'photographer' => 'Luis Mario Gell &ndash; Photographer', 'note' => 'Best seen on Chrome4+, Firefox3.6+, Opera8+, IE9+', 'phones' => 'Phones', 'first_name' => 'First Name', 'email_address' => 'Email Address', 'last_name' => 'Last Name', 'subject' => 'Subject', 'message' => 'Message', 'send' => 'Send', 'work' => 'Work', 'painting_about' => 'About', 'no_paintings' => 'There are no paintings to show', 'view_gallery' => 'View Gallery', 'all' => 'All', 'search_results' => 'Search Results', 'navigation' => 'Navigation', 'links' => 'Usefull Links', 'mails' => 'Mails', 'who' => 'Who We Are', 'social' => 'Find us, connect &amp; collaborate.', 'quote' => 'What would replace the object?<br />According to Vasily Kandinsky it had to be a spiritual thing.', 'log_in' => 'Sign In', 'logout' => 'Log Out', 'email' => 'Email Address', 'password' => 'Password', 'new_password' => 'New Password', 'new_password_confirm' => 'Confirm New Password', 'remember_me' => 'Remember Me', 'forgot_password' => 'Forgot Your Password?', 'reset_password' => 'Reset Your Password', 'reset_confirm_header' => 'You are reseting your password.', 'reset_confirm_link' => 'Be sure to confirm the reseting by visiting', 'reset_invalid_header' => 'Invalid Confirmation Key', 'reset_invalid_body' => 'Make sure to confirm your password reset by visiting the link we send you.', 'dashboard' => 'Dashboard', 'profile' => 'Profile', 'manage_users' => 'Manage Users', 'manage_paintings' => 'Manage Paintings', 'manage_slideshow' => 'Manage Slideshow', 'logout' => 'Log Out', 'username' => 'Username', 'full_name' => 'Full Name', 'email_footer' => 'Your email is for logging in and cannot be changed.', 'first_name' => 'First Name', 'last_name' => 'Last Name', 'save_profile' => 'Save Profile', 'profile_updated' => 'You have updated your profile', 'new_user' => 'New User', 'add_painting' => 'Add Painting', 'painting_name' => 'Name of the Painting', 'painting_dimensions' => 'Painting Dimensions', 'painting_type' => 'Painting Type (Tempera sobre Lienzo)', 'painting_painter' => 'Painter Name', 'painting_year' => 'Painting Creation Year (2012)', 'painting_comment' => 'Painting Comment', 'painting_tags' => 'Painting Tags', 'painting_tags_explanation' => 'Type some tags in the input field, separate them with comma (or tab).', 'edit_painting' => 'Edit Painting', 'painting_save' => 'Save Changes', 'select_option' => '--Select Your Option--', 'new_painting' => 'New Painting', 'painting' => 'Painting', 'change_password' => 'Change Password', 'change_password_header' => 'Change your Password', 'current_password' => 'Current Password', 'new_password' => 'New Password', 'new_password_confirm' => 'Confirm New Password', 'new_user' => 'New User', 'create_user' => 'Create User', 'img1' => 'Image 1', 'img2' => 'Image 2', 'img3' => 'Image 3', 'img4' => 'Image 4', 'img5' => 'Image 5', 'img6' => 'Image 6', 'select_image' => 'Select Image', 'change_image' => 'Change', 'remove_image' => 'Remove', 'search' => 'Search', 'search_users' => 'Search Users', 'search_paintings' => 'Search Paintings', 'remove' => 'Remove', 'edit' => 'Edit', 'save' => 'Save', 'error_header' => 'Oh Snap! There are errors in the form you send.', 'generic_error' => 'Something went wrong. It is our fault. We are sorry for that.', 'pass_changed' => 'You have changed your password.', 'user_added' => 'User Added susscesfully', 'remove_yourself' => 'You can\'t remove yourself.', 'user_deleted' => 'User deleted.', 'painting_added' => 'Painting Added.', 'painting_updated' => 'Painting Updated.', 'painting_deleted' => 'Painting Deleted.', 'slideshow_added' => 'Slideshow Painting Added.', 'slideshow_deleted' => 'Slideshow Painting Deleted.', 'upload_error' => 'There was an error uploading the image. Sorry for that.', 'invalid_login' => 'Invalid Login', 'resset_error' => 'There was in issue when resseting your password.', 'resset_ok' => 'You have resseted your password', '404_message1' => 'We need a map.', '404_message2' => 'I think we\'re lost.', '404_message3' => 'We took a wrong turn.', '404_h2' => 'Server Error: 404 (Not Found)', '404_h3' => 'What does this mean?', '404_p1' => 'We couldn\'t find the page you requested on our servers. We\'re really sorry about that. It\'s our fault, not yours. We\'ll work hard to get this page back online as soon as possible.', '404_p2' => 'Perhaps you would like to go to our ' . HTML::link('/', 'home page') . '?');
开发者ID:jvillasante,项目名称:cubanartjb,代码行数:3,代码来源:application.php

示例15: link_to_route

 /**
  * Generate an HTML link to a route.
  *
  * @param  string  $name
  * @param  string  $title
  * @param  array   $parameters
  * @param  array   $attributes
  * @return string
  */
 public static function link_to_route($name, $title, $parameters = array(), $attributes = array(), $https = false)
 {
     return static::link(URL::to_route($name, $parameters, $https), $title, $attributes);
 }
开发者ID:hpaul,项目名称:Google-short,代码行数:13,代码来源:html.php


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