Indefero

Indefero Commit Details


Date:2008-12-02 06:22:01 (16 years 20 days ago)
Author:Loic d'Anterroches
Branch:dev, develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:209715a6b363df436c12471e33bd443ef8eeb777
Parents: 2bd74621cef3862d4e9766654ba0d0c11062b923
Message:Increased the size of the edition area of the documentation pages.

Changes:

File differences

src/IDF/Form/WikiCreate.php
8080
8181
8282
83
83
8484
8585
8686
'initial' => $initial,
'widget' => 'Pluf_Form_Widget_TextareaInput',
'widget_attrs' => array(
'cols' => 58,
'cols' => 68,
'rows' => 26,
),
));
src/IDF/Form/WikiUpdate.php
7373
7474
7575
76
76
7777
7878
7979
'initial' => $rev->content,
'widget' => 'Pluf_Form_Widget_TextareaInput',
'widget_attrs' => array(
'cols' => 58,
'cols' => 68,
'rows' => 26,
),
));
src/IDF/Project.php
6262
6363
6464
65
66
67
68
69
70
71
72
6573
6674
6775
'help_text' => __('Used in the url to access the project, must be short with only letters and numbers.'),
'unique' => true,
),
'shortdesc' =>
array(
'type' => 'Pluf_DB_Field_Varchar',
'blank' => false,
'size' => 255,
'verbose' => __('short description'),
'help_text' => __('A one line description of the project.'),
),
'description' =>
array(
'type' => 'Pluf_DB_Field_Text',
src/IDF/Views/Project.php
134134
135135
136136
137
137
138
138139
139140
140141
......
149150
150151
151152
153
154
155
152156
153157
154158
{
$prj = $request->project;
$title = sprintf(__('%s Project Summary'), (string) $prj);
$form_fields = array('fields'=> array('name', 'description'));
$form_fields = array('fields'=> array('name', 'shortdesc',
'description'));
if ($request->method == 'POST') {
$form = Pluf_Shortcuts_GetFormForModel($prj, $request->POST,
$form_fields);
$form = Pluf_Shortcuts_GetFormForModel($prj, $prj->getData(),
$form_fields);
}
$form->fields['description']->widget->attrs['cols'] = 68;
$form->fields['description']->widget->attrs['rows'] = 26;
$form->fields['shortdesc']->widget->attrs['size'] = 67;
return Pluf_Shortcuts_RenderToResponse('idf/admin/summary.html',
array(
'page_title' => $title,
src/IDF/templates/idf/admin/summary.html
1818
1919
2020
21
22
23
24
25
26
27
2128
2229
2330
</td>
</tr>
<tr>
<th><strong>{$form.f.shortdesc.labelTag}:</strong></th>
<td>{if $form.f.shortdesc.errors}{$form.f.shortdesc.fieldErrors}{/if}
{$form.f.shortdesc|unsafe}<br />
<span class="helptext">{$form.f.shortdesc.help_text}</span>
</td>
</tr>
<tr>
<th><strong>{$form.f.description.labelTag}:</strong></th>
<td>{if $form.f.description.errors}{$form.f.description.fieldErrors}{/if}
{$form.f.description|unsafe}
src/IDF/templates/idf/base-full.html
2828
2929
3030
31
31
3232
3333
3434
<link rel="stylesheet" type="text/css" href="{media '/idf/css/ie6.css'}" />
<![endif]-->
{block extraheader}{/block}
<title>{block pagetitle}{$page_title|strip_tags}{/block}</title>
<title>{block pagetitle}{$page_title|strip_tags}{/block}{if $project} - {$project.shortdesc}{/if}</title>
</head>
<body>
<div id="{block docid}doc3{/block}">
src/IDF/templates/idf/base.html
2828
2929
3030
31
31
3232
3333
3434
<link rel="stylesheet" type="text/css" href="{media '/idf/css/ie6.css'}" />
<![endif]-->
{block extraheader}{/block}
<title>{block pagetitle}{$page_title|strip_tags}{/block}</title>
<title>{block pagetitle}{$page_title|strip_tags}{/block}{if $project} - {$project.shortdesc}{/if}</title>
</head>
<body>
<div id="{block docid}doc3{/block}" class="{block docclass}yui-t3{/block}">
src/IDF/templates/idf/index.html
55
66
77
8
8
9
10
911
1012
11
13
1214
1315
1416
{block body}
{if $projects.count() == 0}
<p>{trans 'No projects managed with InDefero were found.'}</p>
{if $user.administrator}<p>{blocktrans}Create a new project.{/blocktrans}</p>{/if}
{if $isAdmin}
{aurl 'url', 'IDF_Views_Admin::projectCreate'}
<p><a href="{$url}"><img style="vertical-align: text-bottom;" src="{media '/idf/img/add.png'}" alt="+" align="bottom" /></a> <a href="{$url}">{trans 'Create Project'}</a></p>{/if}
{else}
<ul>{foreach $projects as $p}
<li><a href="{url 'IDF_Views_Project::home', array($p.shortname)}">{$p}</a></li>
<li><a href="{url 'IDF_Views_Project::home', array($p.shortname)}">{$p}</a>, {$p.shortdesc}</li>
{/foreach}</ul>
{/if}
{/block}

Archive Download the corresponding diff file

Page rendered in 0.18504s using 13 queries.