touched up input form styling
This commit is contained in:
parent
13e1743f7e
commit
c3ca69b67f
@ -42,27 +42,28 @@ $this->load->view (
|
|||||||
|
|
||||||
<?php if ($message != "") print '<div id="file_delete_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
<?php if ($message != "") print '<div id="file_delete_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
||||||
|
|
||||||
|
<div class="form_container">
|
||||||
<?=form_open("file/delete/{$project->id}/".$this->converter->AsciiToHex($file->name))?>
|
<?=form_open("file/delete/{$project->id}/".$this->converter->AsciiToHex($file->name))?>
|
||||||
<?=form_fieldset()?>
|
|
||||||
<div>
|
|
||||||
<div>
|
|
||||||
<?=form_checkbox('file_confirm', 'yes', set_checkbox('file_confirm', $file_confirm))?>
|
|
||||||
<?=$this->lang->line('MSG_SURE_TO_DELETE_THIS') ?> - <?=htmlspecialchars($file->name)?>
|
|
||||||
<?=form_error('file_confirm')?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<?=form_hidden('file_projectid', set_value('file_projectid', $file->projectid))?>
|
<?=form_checkbox('file_confirm', 'yes', set_checkbox('file_confirm', $file_confirm))?>
|
||||||
<?=form_hidden('file_name', set_value('file_name', $file->name))?>
|
<?=$this->lang->line('MSG_SURE_TO_DELETE_THIS') ?> - <?=htmlspecialchars($file->name)?>
|
||||||
|
<?=form_error('file_confirm')?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_submit('file', $this->lang->line('Delete'))?>
|
<?=form_hidden('file_projectid', set_value('file_projectid', $file->projectid))?>
|
||||||
</div>
|
<?=form_hidden('file_name', set_value('file_name', $file->name))?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<?=form_submit('file', $this->lang->line('Delete'))?>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?=form_fieldset_close()?>
|
|
||||||
<?=form_close();?>
|
<?=form_close();?>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -79,59 +79,60 @@ $this->load->view (
|
|||||||
|
|
||||||
<?php if ($message != "") print '<div id="file_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
<?php if ($message != "") print '<div id="file_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
||||||
|
|
||||||
|
<div class="form_container">
|
||||||
<?=form_open_multipart("file/$mode/{$project->id}/" . $this->converter->AsciiToHex($file->name))?>
|
<?=form_open_multipart("file/$mode/{$project->id}/" . $this->converter->AsciiToHex($file->name))?>
|
||||||
<?=form_fieldset()?>
|
|
||||||
<div class='form_input_field'>
|
|
||||||
<?=form_label($this->lang->line('Name').': ', 'file_name')?>
|
|
||||||
<?php
|
|
||||||
$extra = ($mode == 'update')? 'readonly="readonly"': '';
|
|
||||||
$extra .= 'maxlength="255" size="40"';
|
|
||||||
if ($mode == 'update')
|
|
||||||
print form_input('file_name', set_value('file_name', $file->name), $extra);
|
|
||||||
else
|
|
||||||
print form_upload('file_name', set_value('file_name', $file->name), $extra);
|
|
||||||
?>
|
|
||||||
<?=form_error('file_name');?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?=form_label($this->lang->line('Tag').': ', 'file_tag')?>
|
<?=form_label($this->lang->line('Name').': ', 'file_name')?>
|
||||||
<?php
|
<?php
|
||||||
$extra = 'maxlength="50" size="25"';
|
$extra = ($mode == 'update')? 'readonly="readonly"': '';
|
||||||
?>
|
$extra .= 'maxlength="255" size="40"';
|
||||||
<?=form_input('file_tag', set_value('file_tag', $file->tag), $extra)?>
|
if ($mode == 'update')
|
||||||
<?=form_error('file_tag');?>
|
print form_input('file_name', set_value('file_name', $file->name), $extra);
|
||||||
</div>
|
else
|
||||||
|
print form_upload('file_name', set_value('file_name', $file->name), $extra);
|
||||||
<div class='form_input_label'>
|
?>
|
||||||
<?=form_label($this->lang->line('Summary').': ', 'file_summary')?>
|
<?=form_error('file_name');?>
|
||||||
<?=form_error('file_summary');?>
|
</div>
|
||||||
</div>
|
|
||||||
<div class='form_input_field'>
|
|
||||||
<?php
|
|
||||||
$extra = 'maxlength="255" size="80"';
|
|
||||||
?>
|
|
||||||
<?=form_input('file_summary', set_value('file_summary', $file->summary), $extra)?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class='form_input_label'>
|
|
||||||
<?=form_label($this->lang->line('Description').': ', 'file_description')?>
|
|
||||||
<a href='#' id='file_edit_mainarea_description_preview_button'><?=$this->lang->line('Preview')?></a>
|
|
||||||
<?=form_error('file_description');?>
|
|
||||||
</div>
|
|
||||||
<div class='form_input_field'>
|
|
||||||
<?=form_textarea('file_description', set_value('file_description', $file->description), 'id=file_edit_mainarea_description')?>
|
|
||||||
</div>
|
|
||||||
<div id='file_edit_mainarea_description_preview' class='form_input_preview'></div>
|
|
||||||
|
|
||||||
|
<div class='form_input_field'>
|
||||||
<?=form_hidden('file_projectid', set_value('file_projectid', $file->projectid))?>
|
<?=form_label($this->lang->line('Tag').': ', 'file_tag')?>
|
||||||
|
<?php
|
||||||
|
$extra = 'maxlength="50" size="25"';
|
||||||
|
?>
|
||||||
|
<?=form_input('file_tag', set_value('file_tag', $file->tag), $extra)?>
|
||||||
|
<?=form_error('file_tag');?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class='form_input_label'>
|
||||||
|
<?=form_label($this->lang->line('Summary').': ', 'file_summary')?>
|
||||||
|
<?=form_error('file_summary');?>
|
||||||
|
</div>
|
||||||
|
<div class='form_input_field'>
|
||||||
|
<?php
|
||||||
|
$extra = 'maxlength="255" size="80"';
|
||||||
|
?>
|
||||||
|
<?=form_input('file_summary', set_value('file_summary', $file->summary), $extra)?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class='form_input_label'>
|
||||||
|
<?=form_label($this->lang->line('Description').': ', 'file_description')?>
|
||||||
|
<a href='#' id='file_edit_mainarea_description_preview_button'><?=$this->lang->line('Preview')?></a>
|
||||||
|
<?=form_error('file_description');?>
|
||||||
|
</div>
|
||||||
|
<div class='form_input_field'>
|
||||||
|
<?=form_textarea('file_description', set_value('file_description', $file->description), 'id=file_edit_mainarea_description')?>
|
||||||
|
</div>
|
||||||
|
<div id='file_edit_mainarea_description_preview' class='form_input_preview'></div>
|
||||||
|
|
||||||
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
|
||||||
<?=form_submit('file', $caption)?>
|
<?=form_hidden('file_projectid', set_value('file_projectid', $file->projectid))?>
|
||||||
|
|
||||||
|
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
||||||
|
<?=form_submit('file', $caption)?>
|
||||||
|
|
||||||
<?=form_fieldset_close()?>
|
|
||||||
<?=form_close();?>
|
<?=form_close();?>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div> <!-- file_mainarea -->
|
</div> <!-- file_mainarea -->
|
||||||
|
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
$this->load->view (
|
$this->load->view (
|
||||||
'projectbar',
|
'projectbar',
|
||||||
array (
|
array (
|
||||||
'banner' => NULL,
|
'banner' => NULL,
|
||||||
|
|
||||||
'page' => array (
|
'page' => array (
|
||||||
@ -31,8 +31,8 @@ $this->load->view (
|
|||||||
'project' => $project,
|
'project' => $project,
|
||||||
),
|
),
|
||||||
|
|
||||||
'ctxmenuitems' => array ()
|
'ctxmenuitems' => array ()
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
@ -42,27 +42,28 @@ $this->load->view (
|
|||||||
|
|
||||||
<?php if ($message != "") print '<div id="issue_delete_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
<?php if ($message != "") print '<div id="issue_delete_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
||||||
|
|
||||||
|
<div class="form_container">
|
||||||
<?=form_open("issue/delete/{$project->id}/".$this->converter->AsciiToHex($issue->id))?>
|
<?=form_open("issue/delete/{$project->id}/".$this->converter->AsciiToHex($issue->id))?>
|
||||||
<?=form_fieldset()?>
|
|
||||||
<div>
|
|
||||||
<div>
|
|
||||||
<?=form_checkbox('issue_confirm', 'yes', set_checkbox('issue_confirm', $issue_confirm))?>
|
|
||||||
<?=$this->lang->line('MSG_SURE_TO_DELETE_THIS')?> - <?=htmlspecialchars($issue->id)?>
|
|
||||||
<?=form_error('issue_confirm')?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<?=form_hidden('issue_projectid', set_value('issue_projectid', $issue->projectid))?>
|
<?=form_checkbox('issue_confirm', 'yes', set_checkbox('issue_confirm', $issue_confirm))?>
|
||||||
<?=form_hidden('issue_id', set_value('issue_id', $issue->id))?>
|
<?=$this->lang->line('MSG_SURE_TO_DELETE_THIS')?> - <?=htmlspecialchars($issue->id)?>
|
||||||
|
<?=form_error('issue_confirm')?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_submit('issue', $this->lang->line('Delete'))?>
|
<?=form_hidden('issue_projectid', set_value('issue_projectid', $issue->projectid))?>
|
||||||
</div>
|
<?=form_hidden('issue_id', set_value('issue_id', $issue->id))?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<?=form_submit('issue', $this->lang->line('Delete'))?>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?=form_fieldset_close()?>
|
|
||||||
<?=form_close();?>
|
<?=form_close();?>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div> <!-- mainarea -->
|
</div> <!-- mainarea -->
|
||||||
|
|
||||||
|
@ -86,71 +86,71 @@ $this->load->view (
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<div class='form_container'>
|
||||||
<?=form_open("issue/{$mode}/{$project->id}/".$this->converter->AsciiToHex($issue->id))?>
|
<?=form_open("issue/{$mode}/{$project->id}/".$this->converter->AsciiToHex($issue->id))?>
|
||||||
<?=form_fieldset()?>
|
<div>
|
||||||
<div>
|
<?=form_hidden('issue_id', set_value('issue_id', $issue->id))?>
|
||||||
<?=form_hidden('issue_id', set_value('issue_id', $issue->id))?>
|
<?=form_hidden('issue_projectid', set_value('issue_projectid', $issue->projectid))?>
|
||||||
<?=form_hidden('issue_projectid', set_value('issue_projectid', $issue->projectid))?>
|
<?=form_hidden('issue_status', set_value('issue_status', $issue->status))?>
|
||||||
<?=form_hidden('issue_status', set_value('issue_status', $issue->status))?>
|
<?=form_hidden('issue_priority', set_value('issue_priority', $issue->priority))?>
|
||||||
<?=form_hidden('issue_priority', set_value('issue_priority', $issue->priority))?>
|
<?=form_hidden('issue_owner', set_value('issue_owner', $issue->owner))?>
|
||||||
<?=form_hidden('issue_owner', set_value('issue_owner', $issue->owner))?>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id='issue_edit_mainarea_type' class='form_input_field'>
|
<div id='issue_edit_mainarea_type' class='form_input_field'>
|
||||||
<?php
|
<?php
|
||||||
if ($mode == 'update')
|
if ($mode == 'update')
|
||||||
{
|
{
|
||||||
print form_hidden('issue_type', set_value('issue_type', $issue->type));
|
print form_hidden('issue_type', set_value('issue_type', $issue->type));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print form_label($this->lang->line('Type').': ', 'issue_type');
|
print form_label($this->lang->line('Type').': ', 'issue_type');
|
||||||
print form_dropdown (
|
print form_dropdown (
|
||||||
'issue_type',
|
'issue_type',
|
||||||
$issue_type_array,
|
$issue_type_array,
|
||||||
set_value('issue_type', $issue->type),
|
set_value('issue_type', $issue->type),
|
||||||
'id="issue_edit_mainarea_type"');
|
'id="issue_edit_mainarea_type"');
|
||||||
print form_error('issue_type');
|
print form_error('issue_type');
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class='form_input_label'>
|
||||||
|
<?=form_label($this->lang->line('Summary').': ', 'issue_summary')?>
|
||||||
|
<?=form_error('issue_summary');?>
|
||||||
|
</div>
|
||||||
|
<div class='form_input_field'>
|
||||||
|
<?=form_input('issue_summary',
|
||||||
|
set_value('issue_summary', $issue->summary),
|
||||||
|
'size="80" id="issue_edit_mainarea_summary"')
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('Summary').': ', 'issue_summary')?>
|
<?=form_label($this->lang->line('Description').': ', 'issue_description')?>
|
||||||
<?=form_error('issue_summary');?>
|
<a href='#' id='issue_edit_mainarea_description_preview_button'><?=$this->lang->line('Preview')?></a>
|
||||||
</div>
|
<?=form_error('issue_description');?>
|
||||||
<div class='form_input_field'>
|
</div>
|
||||||
<?=form_input('issue_summary',
|
<div class='form_input_field'>
|
||||||
set_value('issue_summary', $issue->summary),
|
<?php
|
||||||
'size="80" id="issue_edit_mainarea_summary"')
|
$xdata = array (
|
||||||
?>
|
'name' => 'issue_description',
|
||||||
</div>
|
'value' => set_value ('issue_description', $issue->description),
|
||||||
|
'id' => 'issue_edit_mainarea_description',
|
||||||
<div class='form_input_label'>
|
'rows' => 20,
|
||||||
<?=form_label($this->lang->line('Description').': ', 'issue_description')?>
|
'cols' => 80
|
||||||
<a href='#' id='issue_edit_mainarea_description_preview_button'><?=$this->lang->line('Preview')?></a>
|
);
|
||||||
<?=form_error('issue_description');?>
|
print form_textarea ($xdata);
|
||||||
</div>
|
?>
|
||||||
<div class='form_input_field'>
|
</div>
|
||||||
<?php
|
<div id='issue_edit_mainarea_description_preview' class='form_input_preview'></div>
|
||||||
$xdata = array (
|
|
||||||
'name' => 'issue_description',
|
|
||||||
'value' => set_value ('issue_description', $issue->description),
|
|
||||||
'id' => 'issue_edit_mainarea_description',
|
|
||||||
'rows' => 20,
|
|
||||||
'cols' => 80
|
|
||||||
);
|
|
||||||
print form_textarea ($xdata);
|
|
||||||
?>
|
|
||||||
</div>
|
|
||||||
<div id='issue_edit_mainarea_description_preview' class='form_input_preview'></div>
|
|
||||||
|
|
||||||
|
|
||||||
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
||||||
<?=form_submit('issue', $caption)?>
|
<?=form_submit('issue', $caption)?>
|
||||||
|
|
||||||
<?=form_fieldset_close()?>
|
|
||||||
<?=form_close();?>
|
<?=form_close();?>
|
||||||
|
</div> <!-- form_container -->
|
||||||
|
|
||||||
</div> <!-- issue_edit_mainarea -->
|
</div> <!-- issue_edit_mainarea -->
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
$this->load->view (
|
$this->load->view (
|
||||||
'projectbar',
|
'projectbar',
|
||||||
array (
|
array (
|
||||||
'banner' => NULL,
|
'banner' => NULL,
|
||||||
|
|
||||||
'page' => array (
|
'page' => array (
|
||||||
'type' => 'login',
|
'type' => 'login',
|
||||||
@ -45,59 +45,57 @@ $this->load->view (
|
|||||||
|
|
||||||
<?php if ($message != "") print "<div id='project_create_message' class='form_message'>$message</div>"; ?>
|
<?php if ($message != "") print "<div id='project_create_message' class='form_message'>$message</div>"; ?>
|
||||||
|
|
||||||
|
<div class='form_container'>
|
||||||
<?=form_open('main/signin/')?>
|
<?=form_open('main/signin/')?>
|
||||||
<?=form_fieldset('')?>
|
<?=form_hidden('user_url', set_value ('user_url', $user_url))?>
|
||||||
|
|
||||||
<?=form_hidden('user_url', set_value ('user_url', $user_url))?>
|
<div class="form_input_field">
|
||||||
|
<!--
|
||||||
|
<?=form_label($this->lang->line('Username'), 'user_name')?>
|
||||||
|
<?=form_input('user_name', set_value ('user_name', $user_name))?>
|
||||||
|
-->
|
||||||
|
|
||||||
<div class="login_form_field_div">
|
<?php
|
||||||
<!--
|
print form_input (
|
||||||
<?=form_label($this->lang->line('Username'), 'user_name')?>
|
'user_name',
|
||||||
<?=form_input('user_name', set_value ('user_name', $user_name))?>
|
set_value ('user_name', $user_name),
|
||||||
-->
|
"size='30' id='login_user_name' placeholder={$this->lang->line('Username')}"
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
|
||||||
<?php
|
<?=form_error('user_name')?>
|
||||||
print form_input (
|
</div>
|
||||||
'user_name',
|
|
||||||
set_value ('user_name', $user_name),
|
|
||||||
"size='30' id='login_user_name' placeholder={$this->lang->line('Username')}"
|
|
||||||
);
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?=form_error('user_name')?>
|
<div class="form_input_field">
|
||||||
</div>
|
<!--
|
||||||
|
<?=form_label($this->lang->line('Password'), 'user_pass')?>
|
||||||
<div class="login_form_field_div">
|
<?=form_password('user_pass')?>
|
||||||
<!--
|
-->
|
||||||
<?=form_label($this->lang->line('Password'), 'user_pass')?>
|
<?php
|
||||||
<?=form_password('user_pass')?>
|
print form_password (
|
||||||
-->
|
'user_pass',
|
||||||
<?php
|
set_value ('user_pass', $user_pass),
|
||||||
print form_password (
|
"size='30' id='login_user_pass' placeholder={$this->lang->line('Password')}"
|
||||||
'user_pass',
|
);
|
||||||
set_value ('user_pass', $user_pass),
|
?>
|
||||||
"size='30' id='login_user_pass' placeholder={$this->lang->line('Password')}"
|
<?=form_error('user_pass')?>
|
||||||
);
|
</div>
|
||||||
?>
|
|
||||||
<?=form_error('user_pass')?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="login_form_field_div">
|
|
||||||
<!--
|
|
||||||
<?=form_submit('login', $this->lang->line('Sign in'))?>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<?php
|
<div class="form_input_field">
|
||||||
print form_submit (
|
<!--
|
||||||
'login',
|
<?=form_submit('login', $this->lang->line('Sign in'))?>
|
||||||
$this->lang->line('Sign in'),
|
-->
|
||||||
'class="button" id="login_signin_button"'
|
|
||||||
);
|
|
||||||
?>
|
|
||||||
</div>
|
|
||||||
<?=form_fieldset_close()?>
|
|
||||||
|
|
||||||
|
<?php
|
||||||
|
print form_submit (
|
||||||
|
'login',
|
||||||
|
$this->lang->line('Sign in'),
|
||||||
|
'class="button" id="login_signin_button"'
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
<?=form_close();?>
|
<?=form_close();?>
|
||||||
|
</div> <!-- form_container -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -41,27 +41,28 @@ $this->load->view (
|
|||||||
|
|
||||||
<?php if ($message != "") print "<div id='project_create_message' class='form_message'>$message</div>"; ?>
|
<?php if ($message != "") print "<div id='project_create_message' class='form_message'>$message</div>"; ?>
|
||||||
|
|
||||||
|
<div class="form_container">
|
||||||
<?=form_open('project/delete/'.$project->id)?>
|
<?=form_open('project/delete/'.$project->id)?>
|
||||||
<?=form_fieldset()?>
|
|
||||||
<div>
|
|
||||||
<div>
|
|
||||||
<?=form_checkbox('project_confirm', 'yes', set_checkbox('project_confirm', $project_confirm))?>
|
|
||||||
<?=$this->lang->line('MSG_SURE_TO_DELETE_THIS')?> - <?=htmlspecialchars($project->name)?>
|
|
||||||
<?=form_error('project_confirm')?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<?=form_hidden('project_id', set_value('project_id', $project->id))?>
|
<?=form_checkbox('project_confirm', 'yes', set_checkbox('project_confirm', $project_confirm))?>
|
||||||
<?=form_hidden('project_name', set_value('project_name', $project->name))?>
|
<?=$this->lang->line('MSG_SURE_TO_DELETE_THIS')?> - <?=htmlspecialchars($project->name)?>
|
||||||
|
<?=form_error('project_confirm')?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_submit('project', $this->lang->line('Delete'))?>
|
<?=form_hidden('project_id', set_value('project_id', $project->id))?>
|
||||||
</div>
|
<?=form_hidden('project_name', set_value('project_name', $project->name))?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<?=form_submit('project', $this->lang->line('Delete'))?>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?=form_fieldset_close()?>
|
|
||||||
<?=form_close();?>
|
<?=form_close();?>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -81,96 +81,96 @@ $this->load->view (
|
|||||||
if ($mode == 'update') $formurl .= '/'.$project->id;
|
if ($mode == 'update') $formurl .= '/'.$project->id;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<div class='form_container'>
|
||||||
<?=form_open($formurl)?>
|
<?=form_open($formurl)?>
|
||||||
<?=form_fieldset()?>
|
<div class='form_input_field'>
|
||||||
<div class='form_input_field'>
|
<?=form_label($this->lang->line('ID').': ', 'project_id')?>
|
||||||
<?=form_label($this->lang->line('ID').': ', 'project_id')?>
|
<?php
|
||||||
<?php
|
$extra = ($mode == 'update')? 'readonly="readonly"': '';
|
||||||
$extra = ($mode == 'update')? 'readonly="readonly"': '';
|
$extra .= 'maxlength="32" size="16"';
|
||||||
$extra .= 'maxlength="32" size="16"';
|
?>
|
||||||
?>
|
<?=form_input('project_id', set_value('project_id', $project->id), $extra)?>
|
||||||
<?=form_input('project_id', set_value('project_id', $project->id), $extra)?>
|
<?=form_error('project_id')?>
|
||||||
<?=form_error('project_id')?>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('Name').': ', 'project_name')?>
|
<?=form_label($this->lang->line('Name').': ', 'project_name')?>
|
||||||
<?=form_error('project_name')?>
|
<?=form_error('project_name')?>
|
||||||
</div>
|
</div>
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?php $extra = 'maxlength="80" size="40"'; ?>
|
<?php $extra = 'maxlength="80" size="60"'; ?>
|
||||||
<?=form_input('project_name', set_value('project_name', $project->name), $extra)?>
|
<?=form_input('project_name', set_value('project_name', $project->name), $extra)?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('Summary').': ', 'project_summary')?>
|
<?=form_label($this->lang->line('Summary').': ', 'project_summary')?>
|
||||||
<?=form_error('project_summary')?>
|
<?=form_error('project_summary')?>
|
||||||
</div>
|
</div>
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?php $extra = 'maxlength="80" size="50"'; ?>
|
<?php $extra = 'maxlength="80" size="80"'; ?>
|
||||||
<?=form_input('project_summary', set_value('project_summary', $project->summary), $extra)?>
|
<?=form_input('project_summary', set_value('project_summary', $project->summary), $extra)?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('Description').': ', 'project_description')?>
|
<?=form_label($this->lang->line('Description').': ', 'project_description')?>
|
||||||
<a href='#' id='project_edit_mainarea_description_preview_button'><?=$this->lang->line('Preview')?></a>
|
<a href='#' id='project_edit_mainarea_description_preview_button'><?=$this->lang->line('Preview')?></a>
|
||||||
<?=form_error('project_description')?>
|
<?=form_error('project_description')?>
|
||||||
</div>
|
</div>
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?php
|
<?php
|
||||||
$xdata = array (
|
$xdata = array (
|
||||||
'name' => 'project_description',
|
'name' => 'project_description',
|
||||||
'value' => set_value ('project_description', $project->description),
|
'value' => set_value ('project_description', $project->description),
|
||||||
'id' => 'project_edit_mainarea_description',
|
'id' => 'project_edit_mainarea_description',
|
||||||
'rows' => 20,
|
'rows' => 20,
|
||||||
'cols' => 80
|
'cols' => 80
|
||||||
);
|
);
|
||||||
print form_textarea ($xdata);
|
print form_textarea ($xdata);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<div id='project_edit_mainarea_description_preview' class='form_input_preview'></div>
|
<div id='project_edit_mainarea_description_preview' class='form_input_preview'></div>
|
||||||
|
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?=form_label($this->lang->line('Commitable').': ', 'project_commitable')?>
|
<?=form_label($this->lang->line('Commitable').': ', 'project_commitable')?>
|
||||||
<?=form_checkbox('project_commitable', 'Y', set_checkbox('project_commitable', $project->commitable, $project->commitable == 'Y'))?>
|
<?=form_checkbox('project_commitable', 'Y', set_checkbox('project_commitable', $project->commitable, $project->commitable == 'Y'))?>
|
||||||
<?=form_error('project_commitable')?>
|
<?=form_error('project_commitable')?>
|
||||||
|
|
||||||
<?=form_label($this->lang->line('Public').': ', 'project_public')?>
|
<?=form_label($this->lang->line('Public').': ', 'project_public')?>
|
||||||
<?=form_checkbox('project_public', 'Y', set_checkbox('project_public', $project->public, $project->public == 'Y'))?>
|
<?=form_checkbox('project_public', 'Y', set_checkbox('project_public', $project->public, $project->public == 'Y'))?>
|
||||||
<?=form_error('project_public')?>
|
<?=form_error('project_public')?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('Members').': ', 'project_members')?>
|
<?=form_label($this->lang->line('Members').': ', 'project_members')?>
|
||||||
<?=form_error('project_members')?>
|
<?=form_error('project_members')?>
|
||||||
</div>
|
</div>
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?php
|
<?php
|
||||||
$members = $project->members;
|
$members = $project->members;
|
||||||
$member_count = count($members);
|
$member_count = count($members);
|
||||||
$member_string = '';
|
$member_string = '';
|
||||||
for ($i = 0; $i < $member_count; $i++)
|
for ($i = 0; $i < $member_count; $i++)
|
||||||
{
|
{
|
||||||
if ($i >= 1) $member_string .= ',';
|
if ($i >= 1) $member_string .= ',';
|
||||||
$member_string .= $members[$i];
|
$member_string .= $members[$i];
|
||||||
}
|
}
|
||||||
|
|
||||||
$xdata = array (
|
$xdata = array (
|
||||||
'name' => 'project_members',
|
'name' => 'project_members',
|
||||||
'value' => set_value ('project_members', $member_string),
|
'value' => set_value ('project_members', $member_string),
|
||||||
'id' => 'project_edit_mainarea_members',
|
'id' => 'project_edit_mainarea_members',
|
||||||
'rows' => 2,
|
'rows' => 2,
|
||||||
'cols' => 80
|
'cols' => 80
|
||||||
);
|
);
|
||||||
print form_textarea ($xdata);
|
print form_textarea ($xdata);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
||||||
<?=form_submit('project', $caption)?>
|
<?=form_submit('project', $caption)?>
|
||||||
|
|
||||||
<?=form_fieldset_close()?>
|
|
||||||
<?=form_close();?>
|
<?=form_close();?>
|
||||||
|
</div> <!-- form_container -->
|
||||||
|
|
||||||
</div> <!-- project_edit_mainarea -->
|
</div> <!-- project_edit_mainarea -->
|
||||||
|
|
||||||
|
@ -40,27 +40,28 @@ $this->load->view (
|
|||||||
|
|
||||||
<?php if ($message != "") print "<div id='site_create_message' class='form_message'>$message</div>"; ?>
|
<?php if ($message != "") print "<div id='site_create_message' class='form_message'>$message</div>"; ?>
|
||||||
|
|
||||||
|
<div class="form_container">
|
||||||
<?=form_open("site/delete/{$site->id}")?>
|
<?=form_open("site/delete/{$site->id}")?>
|
||||||
<?=form_fieldset()?>
|
|
||||||
<div>
|
|
||||||
<div>
|
|
||||||
<?=form_checkbox('site_confirm', 'yes', set_checkbox('site_confirm', $site_confirm))?>
|
|
||||||
<?=$this->lang->line('MSG_SURE_TO_DELETE_THIS')?> - <?=htmlspecialchars($site->name)?> (<?=$site->id?>)
|
|
||||||
<?=form_error('site_confirm')?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<?=form_hidden('site_id', set_value('site_id', $site->id))?>
|
<?=form_checkbox('site_confirm', 'yes', set_checkbox('site_confirm', $site_confirm))?>
|
||||||
<?=form_hidden('site_name', set_value('site_name', $site->name))?>
|
<?=$this->lang->line('MSG_SURE_TO_DELETE_THIS')?> - <?=htmlspecialchars($site->name)?> (<?=$site->id?>)
|
||||||
|
<?=form_error('site_confirm')?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_submit('site', $this->lang->line('Delete'))?>
|
<?=form_hidden('site_id', set_value('site_id', $site->id))?>
|
||||||
</div>
|
<?=form_hidden('site_name', set_value('site_name', $site->name))?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<?=form_submit('site', $this->lang->line('Delete'))?>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?=form_fieldset_close()?>
|
|
||||||
<?=form_close();?>
|
<?=form_close();?>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -83,49 +83,49 @@ $this->load->view (
|
|||||||
if ($mode == 'update') $formurl .= '/'.$site->id;
|
if ($mode == 'update') $formurl .= '/'.$site->id;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<div class='form_container'>
|
||||||
<?=form_open($formurl, 'id="site_edit_form"')?>
|
<?=form_open($formurl, 'id="site_edit_form"')?>
|
||||||
<?=form_fieldset()?>
|
<div class='form_input_field'>
|
||||||
<div class='form_input_field'>
|
<?=form_label($this->lang->line('Language').': ', 'site_id')?>
|
||||||
<?=form_label($this->lang->line('Language').': ', 'site_id')?>
|
<?php
|
||||||
<?php
|
$extra = ($mode == 'update')? 'readonly="readonly"': '';
|
||||||
$extra = ($mode == 'update')? 'readonly="readonly"': '';
|
$extra .= 'maxlength="32" size="16" class="id"';
|
||||||
$extra .= 'maxlength="32" size="16" class="id"';
|
?>
|
||||||
?>
|
|
||||||
|
|
||||||
<?=form_input('site_id',
|
<?=form_input('site_id',
|
||||||
set_value('site_id', $site->id),
|
set_value('site_id', $site->id),
|
||||||
$extra)
|
$extra)
|
||||||
?>
|
?>
|
||||||
<?=form_error('site_id')?>
|
<?=form_error('site_id')?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?=form_label($this->lang->line('Name').': ', 'site_name')?>
|
<?=form_label($this->lang->line('Name').': ', 'site_name')?>
|
||||||
<?=form_input('site_name',
|
<?=form_input('site_name',
|
||||||
set_value('site_name', $site->name),
|
set_value('site_name', $site->name),
|
||||||
'maxlength="80" size="40" class="name"');
|
'maxlength="80" size="40" class="name"');
|
||||||
?>
|
?>
|
||||||
<?=form_error('site_name')?>
|
<?=form_error('site_name')?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('Text').': ', 'site_text')?>
|
<?=form_label($this->lang->line('Text').': ', 'site_text')?>
|
||||||
<a href='#' id='site_edit_mainarea_text_preview_button'><?=$this->lang->line('Preview')?></a>
|
<a href='#' id='site_edit_mainarea_text_preview_button'><?=$this->lang->line('Preview')?></a>
|
||||||
<?=form_error('site_text')?>
|
<?=form_error('site_text')?>
|
||||||
</div>
|
</div>
|
||||||
<div class='form_input_field'>
|
<div class='form_input_field'>
|
||||||
<?=form_textarea('site_text',
|
<?=form_textarea('site_text',
|
||||||
set_value('site_text', $site->text),
|
set_value('site_text', $site->text),
|
||||||
'class="text" id="site_edit_mainarea_text"')
|
'class="text" id="site_edit_mainarea_text"')
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<div id='site_edit_mainarea_text_preview' class='form_input_preview'></div>
|
<div id='site_edit_mainarea_text_preview' class='form_input_preview'></div>
|
||||||
|
|
||||||
|
|
||||||
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
||||||
<?=form_submit('site', $caption)?>
|
<?=form_submit('site', $caption)?>
|
||||||
<?=form_fieldset_close()?>
|
|
||||||
<?=form_close();?>
|
<?=form_close();?>
|
||||||
|
</div> <!-- form_container -->
|
||||||
|
|
||||||
</div> <!-- site_edit_mainarea -->
|
</div> <!-- site_edit_mainarea -->
|
||||||
|
|
||||||
|
@ -61,43 +61,35 @@ $this->load->view (
|
|||||||
|
|
||||||
<div id="user_settings_mainarea_result">
|
<div id="user_settings_mainarea_result">
|
||||||
|
|
||||||
|
<div class="form_container">
|
||||||
<?=form_open_multipart('user/settings/')?>
|
<?=form_open_multipart('user/settings/')?>
|
||||||
|
|
||||||
<?=form_fieldset($this->lang->line('Code'))?>
|
<?=form_checkbox('code_hide_line_num',
|
||||||
|
'Y', $settings->code_hide_line_num == 'Y')
|
||||||
|
?>
|
||||||
|
<?= $this->lang->line('USER_MSG_HIDE_LINE_NUMBER')?>
|
||||||
|
|
||||||
<?=form_checkbox('code_hide_line_num',
|
<?=form_checkbox('code_hide_details',
|
||||||
'Y', $settings->code_hide_line_num == 'Y')
|
'Y', $settings->code_hide_details == 'Y')
|
||||||
|
?>
|
||||||
|
<?= $this->lang->line('USER_MSG_HIDE_DETAILS')?>
|
||||||
|
|
||||||
|
<div class='form_input_field'>
|
||||||
|
<?=form_label($this->lang->line('Icon').': ', 'icon_img_file_name')?>
|
||||||
|
<?php
|
||||||
|
$extra = 'maxlength="255" size="40"';
|
||||||
|
print form_upload('icon_img_file_name', set_value('icon_img_file_name', ''), $extra);
|
||||||
?>
|
?>
|
||||||
<?= $this->lang->line('USER_MSG_HIDE_LINE_NUMBER')?>
|
<?=form_error('icon_img_file_name');?>
|
||||||
|
(.png, max. 100x100)
|
||||||
<?=form_checkbox('code_hide_details',
|
</div>
|
||||||
'Y', $settings->code_hide_details == 'Y')
|
|
||||||
?>
|
|
||||||
<?= $this->lang->line('USER_MSG_HIDE_DETAILS')?>
|
|
||||||
|
|
||||||
<div class='form_input_field'>
|
|
||||||
<?=form_label($this->lang->line('Icon').': ', 'icon_img_file_name')?>
|
|
||||||
<?php
|
|
||||||
$extra = 'maxlength="255" size="40"';
|
|
||||||
print form_upload('icon_img_file_name', set_value('icon_img_file_name', ''), $extra);
|
|
||||||
?>
|
|
||||||
<?=form_error('icon_img_file_name');?>
|
|
||||||
(.png, max. 100x100)
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?=form_fieldset_close()?>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
<?=form_fieldset($this->lang->line('Issue'))?>
|
|
||||||
<?=form_fieldset_close()?>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<?=form_submit('settings', $this->lang->line('OK'))?>
|
<?=form_submit('settings', $this->lang->line('OK'))?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?=form_close();?>
|
<?=form_close();?>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div> <!-- user_settings_mainarea_result -->
|
</div> <!-- user_settings_mainarea_result -->
|
||||||
|
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
$this->load->view (
|
$this->load->view (
|
||||||
'projectbar',
|
'projectbar',
|
||||||
array (
|
array (
|
||||||
'banner' => NULL,
|
'banner' => NULL,
|
||||||
|
|
||||||
'page' => array (
|
'page' => array (
|
||||||
@ -31,8 +31,8 @@ $this->load->view (
|
|||||||
'project' => $project,
|
'project' => $project,
|
||||||
),
|
),
|
||||||
|
|
||||||
'ctxmenuitems' => array ()
|
'ctxmenuitems' => array ()
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
@ -42,27 +42,28 @@ $this->load->view (
|
|||||||
|
|
||||||
<?php if ($message != "") print '<div id="wiki_delete_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
<?php if ($message != "") print '<div id="wiki_delete_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
||||||
|
|
||||||
|
<div class="form_container">
|
||||||
<?=form_open("wiki/delete/{$project->id}/".$this->converter->AsciiToHex($wiki->name))?>
|
<?=form_open("wiki/delete/{$project->id}/".$this->converter->AsciiToHex($wiki->name))?>
|
||||||
<?=form_fieldset()?>
|
|
||||||
<div>
|
|
||||||
<div>
|
|
||||||
<?=form_checkbox('wiki_confirm', 'yes', set_checkbox('wiki_confirm', $wiki_confirm))?>
|
|
||||||
<?=$this->lang->line('MSG_SURE_TO_DELETE_THIS')?> - <?=htmlspecialchars($wiki->name)?>
|
|
||||||
<?=form_error('wiki_confirm')?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<?=form_hidden('wiki_projectid', set_value('wiki_projectid', $wiki->projectid))?>
|
<?=form_checkbox('wiki_confirm', 'yes', set_checkbox('wiki_confirm', $wiki_confirm))?>
|
||||||
<?=form_hidden('wiki_name', set_value('wiki_name', $wiki->name))?>
|
<?=$this->lang->line('MSG_SURE_TO_DELETE_THIS')?> - <?=htmlspecialchars($wiki->name)?>
|
||||||
|
<?=form_error('wiki_confirm')?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<?=form_submit('wiki', $this->lang->line('Delete'))?>
|
<?=form_hidden('wiki_projectid', set_value('wiki_projectid', $wiki->projectid))?>
|
||||||
</div>
|
<?=form_hidden('wiki_name', set_value('wiki_name', $wiki->name))?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<?=form_submit('wiki', $this->lang->line('Delete'))?>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?=form_fieldset_close()?>
|
|
||||||
<?=form_close();?>
|
<?=form_close();?>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div> <!-- mainarea -->
|
</div> <!-- mainarea -->
|
||||||
|
|
||||||
|
@ -110,113 +110,112 @@ $this->load->view (
|
|||||||
|
|
||||||
<?php if ($message != "") print '<div id="wiki_edit_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
<?php if ($message != "") print '<div id="wiki_edit_message" class="form_message">'.htmlspecialchars($message).'</div>'; ?>
|
||||||
|
|
||||||
<div id="wiki_edit_mainarea_form">
|
<div class="form_container">
|
||||||
<?=form_open_multipart("wiki/{$mode}/{$project->id}/".$this->converter->AsciiToHex($wiki->name))?>
|
<?=form_open_multipart("wiki/{$mode}/{$project->id}/".$this->converter->AsciiToHex($wiki->name))?>
|
||||||
<!-- <?=form_fieldset()?> field set is problematic. if text contains a wide pre block, preview with multi-columns overflows beyond its container. -->
|
|
||||||
<div class='form_input_label'>
|
|
||||||
<?=form_label($this->lang->line('Name').': ', 'wiki_name')?>
|
|
||||||
<?=form_error('wiki_name');?>
|
|
||||||
</div>
|
|
||||||
<div class='form_input_field'>
|
|
||||||
<?php
|
|
||||||
$extra = 'maxlength="80" size="40" id="wiki_edit_mainarea_name"';
|
|
||||||
//$extra .= ($mode == 'update')? ' readonly="readonly"': '';
|
|
||||||
?>
|
|
||||||
<?=form_input('wiki_name', set_value('wiki_name', $wiki->name), $extra)?>
|
|
||||||
<?=($mode == 'update')? form_hidden('wiki_original_name', set_value('wiki_original_name', $wiki->name)): ''?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class='form_input_label'>
|
<div class='form_input_label'>
|
||||||
<?=form_label($this->lang->line('Text').': ', 'wiki_text')?>
|
<?=form_label($this->lang->line('Name').': ', 'wiki_name')?>
|
||||||
<a href='#' id='wiki_edit_mainarea_text_preview_button'><?=$this->lang->line('Preview')?></a>
|
<?=form_error('wiki_name');?>
|
||||||
|
</div>
|
||||||
|
<div class='form_input_field'>
|
||||||
|
<?php
|
||||||
|
$extra = 'maxlength="80" size="40" id="wiki_edit_mainarea_name"';
|
||||||
|
//$extra .= ($mode == 'update')? ' readonly="readonly"': '';
|
||||||
|
?>
|
||||||
|
<?=form_input('wiki_name', set_value('wiki_name', $wiki->name), $extra)?>
|
||||||
|
<?=($mode == 'update')? form_hidden('wiki_original_name', set_value('wiki_original_name', $wiki->name)): ''?>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php
|
<div class='form_input_label'>
|
||||||
$attrs = array (
|
<?=form_label($this->lang->line('Text').': ', 'wiki_text')?>
|
||||||
'name' => 'wiki_columns',
|
<a href='#' id='wiki_edit_mainarea_text_preview_button'><?=$this->lang->line('Preview')?></a>
|
||||||
'id' => 'wiki_edit_mainarea_text_column_count',
|
|
||||||
'value' => set_value('wiki_columns', $wiki->columns),
|
|
||||||
'size' => '2',
|
|
||||||
'min' => '1',
|
|
||||||
'max' => '9',
|
|
||||||
'type' => 'number');
|
|
||||||
print form_input ($attrs);
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?=$this->lang->line('Columns')?>(1-9)
|
|
||||||
|
|
||||||
<?=form_error('wiki_text');?>
|
<?php
|
||||||
</div>
|
$attrs = array (
|
||||||
<div class='form_input_field'>
|
'name' => 'wiki_columns',
|
||||||
<?php
|
'id' => 'wiki_edit_mainarea_text_column_count',
|
||||||
$xdata = array (
|
'value' => set_value('wiki_columns', $wiki->columns),
|
||||||
'name' => 'wiki_text',
|
'size' => '2',
|
||||||
'value' => set_value ('wiki_text', $wiki->text),
|
'min' => '1',
|
||||||
'id' => 'wiki_edit_mainarea_text',
|
'max' => '9',
|
||||||
'rows' => 20,
|
'type' => 'number');
|
||||||
'cols' => 80
|
print form_input ($attrs);
|
||||||
);
|
?>
|
||||||
print form_textarea ($xdata);
|
|
||||||
?>
|
|
||||||
</div>
|
|
||||||
<div id='wiki_edit_mainarea_text_preview' class='form_input_preview'></div>
|
|
||||||
|
|
||||||
<?php if (!empty($wiki->attachments)): ?>
|
|
||||||
<div class='form_input_label'>
|
|
||||||
<?=form_label($this->lang->line('WIKI_ATTACHMENTS').': ', 'wiki_edit_attachment_list')?>
|
|
||||||
<?=form_error('wiki_attachment_list');?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class='form_input_field'>
|
|
||||||
<ul id='wiki_edit_attachment_list'>
|
|
||||||
<?php
|
|
||||||
foreach ($wiki->attachments as $att)
|
|
||||||
{
|
|
||||||
$hexattname =
|
|
||||||
$this->converter->AsciiToHex($att->name) .
|
|
||||||
'@' .
|
|
||||||
$this->converter->AsciiToHex($att->encname);
|
|
||||||
$escattname = htmlspecialchars($att->name);
|
|
||||||
|
|
||||||
print '<li>';
|
|
||||||
print "<input type='checkbox' name='wiki_delete_attachment[]' value='{$hexattname}' title='Check to delete {$escattname}'/>";
|
|
||||||
print $escattname;
|
|
||||||
print '</li>';
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<div class='form_input_label'>
|
|
||||||
<?=form_label($this->lang->line('WIKI_NEW_ATTACHMENTS').': ', 'wiki_edit_new_attachment_list')?>
|
|
||||||
<a href='#' id='wiki_edit_more_new_attachment'>
|
|
||||||
<?=$this->lang->line('WIKI_MORE_NEW_ATTACHMENTS')?>
|
|
||||||
</a>
|
|
||||||
<?=form_error('wiki_edit_new_attachment_list');?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class='form_input_field'>
|
|
||||||
<ul id='wiki_edit_new_attachment_list'>
|
|
||||||
<li>
|
|
||||||
<input type='file' name='wiki_new_attachment_0' />
|
|
||||||
<!--<input type='checkbox' name='wiki_delete_attachment[]' value='delete'/>Delete-->
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
<?=$this->lang->line('Columns')?>(1-9)
|
||||||
<?=form_hidden('wiki_projectid', set_value('wiki_projectid', $wiki->projectid))?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
<?=form_error('wiki_text');?>
|
||||||
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
</div>
|
||||||
<?=form_submit('wiki', $caption)?>
|
<div class='form_input_field'>
|
||||||
</div>
|
<?php
|
||||||
|
$xdata = array (
|
||||||
|
'name' => 'wiki_text',
|
||||||
|
'value' => set_value ('wiki_text', $wiki->text),
|
||||||
|
'id' => 'wiki_edit_mainarea_text',
|
||||||
|
'rows' => 20,
|
||||||
|
'cols' => 80
|
||||||
|
);
|
||||||
|
print form_textarea ($xdata);
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
<div id='wiki_edit_mainarea_text_preview' class='form_input_preview'></div>
|
||||||
|
|
||||||
|
<?php if (!empty($wiki->attachments)): ?>
|
||||||
|
<div class='form_input_label'>
|
||||||
|
<?=form_label($this->lang->line('WIKI_ATTACHMENTS').': ', 'wiki_edit_attachment_list')?>
|
||||||
|
<?=form_error('wiki_attachment_list');?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class='form_input_field'>
|
||||||
|
<ul id='wiki_edit_attachment_list'>
|
||||||
|
<?php
|
||||||
|
foreach ($wiki->attachments as $att)
|
||||||
|
{
|
||||||
|
$hexattname =
|
||||||
|
$this->converter->AsciiToHex($att->name) .
|
||||||
|
'@' .
|
||||||
|
$this->converter->AsciiToHex($att->encname);
|
||||||
|
$escattname = htmlspecialchars($att->name);
|
||||||
|
|
||||||
|
print '<li>';
|
||||||
|
print "<input type='checkbox' name='wiki_delete_attachment[]' value='{$hexattname}' title='Check to delete {$escattname}'/>";
|
||||||
|
print $escattname;
|
||||||
|
print '</li>';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<div class='form_input_label'>
|
||||||
|
<?=form_label($this->lang->line('WIKI_NEW_ATTACHMENTS').': ', 'wiki_edit_new_attachment_list')?>
|
||||||
|
<a href='#' id='wiki_edit_more_new_attachment'>
|
||||||
|
<?=$this->lang->line('WIKI_MORE_NEW_ATTACHMENTS')?>
|
||||||
|
</a>
|
||||||
|
<?=form_error('wiki_edit_new_attachment_list');?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class='form_input_field'>
|
||||||
|
<ul id='wiki_edit_new_attachment_list'>
|
||||||
|
<li>
|
||||||
|
<input type='file' name='wiki_new_attachment_0' />
|
||||||
|
<!--<input type='checkbox' name='wiki_delete_attachment[]' value='delete'/>Delete-->
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<?=form_hidden('wiki_projectid', set_value('wiki_projectid', $wiki->projectid))?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<?php $caption = ($mode == 'update')? $this->lang->line('Update'): $this->lang->line('Create'); ?>
|
||||||
|
<?=form_submit('wiki', $caption)?>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- <?=form_fieldset_close()?> -->
|
|
||||||
<?=form_close();?>
|
<?=form_close();?>
|
||||||
</div> <!-- wiki_edit_mainarea_form -->
|
</div> <!-- form_container -->
|
||||||
|
|
||||||
</div> <!-- wiki_edit_mainarea -->
|
</div> <!-- wiki_edit_mainarea -->
|
||||||
|
|
||||||
|
@ -135,8 +135,8 @@ body {
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
//text-shadow: 2px 8px 6px rgba(0,0,0,0.2),
|
/*text-shadow: 2px 8px 6px rgba(0,0,0,0.2),
|
||||||
// 0px -5px 35px rgba(255,255,255,0.3);
|
0px -5px 35px rgba(255,255,255,0.3); */
|
||||||
text-shadow: 1px 1px 0 #7A7A7A;
|
text-shadow: 1px 1px 0 #7A7A7A;
|
||||||
letter-spacing: 0.1em;
|
letter-spacing: 0.1em;
|
||||||
}
|
}
|
||||||
@ -213,46 +213,108 @@ body {
|
|||||||
background-color: #BBCCDD;
|
background-color: #BBCCDD;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.content .mainarea .form_container {
|
||||||
|
padding: 0.3em 0.5em 0.3em 0.5em;
|
||||||
|
border: 1px solid #BBCCDD;
|
||||||
|
line-height: 2.2em;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.content .mainarea form {
|
.content .mainarea form {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content .mainarea form fieldset {
|
.content .mainarea form label
|
||||||
margin: 0;
|
{
|
||||||
border: 1px solid #BBCCDD;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content .mainarea form label {
|
|
||||||
font-style: italic;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
|
||||||
|
|
||||||
.content .mainarea form input[type="text"] {
|
|
||||||
border: 1px solid #BBCCDD;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content .mainarea form input[type="password"] {
|
|
||||||
border: 1px solid #BBCCDD;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content .mainarea form textarea {
|
|
||||||
border: 1px solid #BBCCDD;
|
|
||||||
font-family: consolas, "Andale Mono", monospace;
|
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content .mainarea .form_input_label {
|
.content .mainarea form input
|
||||||
margin-bottom: 0.2em;
|
{
|
||||||
|
vertical-align: middle;
|
||||||
|
border: none;
|
||||||
|
-moz-box-shadow: 0 2px 4px #bbb inset;
|
||||||
|
-webkit-box-shadow: 0 2px 4px #BBB inset;
|
||||||
|
box-shadow: 0 2px 4px #BBB inset;
|
||||||
|
-moz-border-radius: 3px;
|
||||||
|
-webkit-border-radius: 3px;
|
||||||
|
border-radius: 3px;
|
||||||
|
|
||||||
|
height: 1.8em;
|
||||||
|
font-size: inherit;
|
||||||
|
padding-left: 0.2em;
|
||||||
|
padding-right: 0.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content .mainarea .form_input_label .ui-button {
|
.content .mainarea form input:focus {
|
||||||
|
background-color: #E1E1E1;
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .mainarea form input[type="submit"]
|
||||||
|
{
|
||||||
|
cursor: pointer;
|
||||||
|
height: 2em;
|
||||||
|
vertical-align: middle;
|
||||||
|
padding-left: 5px;
|
||||||
|
padding-right: 5px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
|
||||||
|
background: #3498db;
|
||||||
|
background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
|
||||||
|
background-image: -moz-linear-gradient(top, #3498db, #2980b9);
|
||||||
|
background-image: -ms-linear-gradient(top, #3498db, #2980b9);
|
||||||
|
background-image: -o-linear-gradient(top, #3498db, #2980b9);
|
||||||
|
background-image: linear-gradient(to bottom, #3498db, #2980b9);
|
||||||
|
-webkit-border-radius: 28;
|
||||||
|
-moz-border-radius: 28;
|
||||||
|
border-radius: 5px;
|
||||||
|
text-shadow: 1px 1px 3px #666666;
|
||||||
|
color: #ffffff;
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
font-size: 1em;
|
||||||
|
border: 0 none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .mainarea form input[type="submit"]:hover
|
||||||
|
{
|
||||||
|
background: #3cb0fd;
|
||||||
|
background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
|
||||||
|
background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
|
||||||
|
background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
|
||||||
|
background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
|
||||||
|
background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .mainarea form textarea
|
||||||
|
{
|
||||||
|
vertical-align: middle;
|
||||||
|
border: 1px solid #B9BDC1;
|
||||||
|
-moz-box-shadow: 0 2px 4px #bbb inset;
|
||||||
|
-webkit-box-shadow: 0 2px 4px #BBB inset;
|
||||||
|
box-shadow: 0 2px 4px #BBB inset;
|
||||||
|
-moz-border-radius: 3px;
|
||||||
|
-webkit-border-radius: 3px;
|
||||||
|
border-radius: 3px;
|
||||||
|
|
||||||
|
font-family: consolas, "Andale Mono", monospace;
|
||||||
|
font-size: inherit;
|
||||||
|
padding: 0.2em 0.2em 0.2em 0.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .mainarea form textarea:focus
|
||||||
|
{
|
||||||
|
background-color: #E1E1E1;
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .mainarea form .ui-button
|
||||||
|
{
|
||||||
|
/* jquery-ui button inside the form */
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.content .mainarea .form_input_field {
|
|
||||||
margin-bottom: 0.5em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.content .mainarea .form_input_preview {
|
.content .mainarea .form_input_preview {
|
||||||
@ -260,14 +322,13 @@ body {
|
|||||||
/*border: 1px solid #DDDDDD;*/
|
/*border: 1px solid #DDDDDD;*/
|
||||||
background-color: #FFFFF0;
|
background-color: #FFFFF0;
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
|
padding: 0.2em 0.2em 0.2em 0.2em;
|
||||||
|
line-height: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content .mainarea .form_input_preview pre {
|
.content .mainarea .form_input_preview pre {
|
||||||
/*background-color: inherit;*/
|
|
||||||
background-color: #F8F8FA;
|
background-color: #F8F8FA;
|
||||||
padding: 0.3em;
|
padding: 0.2em 0.2em 0.2em 0.2em;
|
||||||
/*background-color: #FDF5D6;*/
|
|
||||||
/*border: none;*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.content .mainarea .icon {
|
.content .mainarea .icon {
|
||||||
@ -732,96 +793,48 @@ pre.prettyprint li.L9 { background: #eee }
|
|||||||
|
|
||||||
/* ================ login page =================== */
|
/* ================ login page =================== */
|
||||||
|
|
||||||
#login_user_name {
|
#login_user_name
|
||||||
|
{
|
||||||
background: url("images/username.png") no-repeat scroll 0% 0% rgb(234, 231, 231);
|
background: url("images/username.png") no-repeat scroll 0% 0% rgb(234, 231, 231);
|
||||||
background-position: 0px 3px !important;
|
background-position: 0px 3px !important;
|
||||||
padding-left: 24px;
|
padding-left: 24px;
|
||||||
|
|
||||||
height: 2.2em;
|
height: 2.2em;
|
||||||
vertical-align: middle;
|
|
||||||
|
|
||||||
border: 1px solid #B9BDC1;
|
|
||||||
-moz-box-shadow: 0 2px 4px #bbb inset;
|
|
||||||
-webkit-box-shadow: 0 2px 4px #BBB inset;
|
|
||||||
box-shadow: 0 2px 4px #BBB inset;
|
|
||||||
-moz-border-radius: 3px;
|
|
||||||
-webkit-border-radius: 3px;
|
|
||||||
border-radius: 3px;
|
|
||||||
|
|
||||||
font-size: 1em;
|
|
||||||
border: 0 none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#login_user_name:focus {
|
#login_user_name:focus
|
||||||
background-color: #E7E8E7;
|
{
|
||||||
|
background-color: #E1E1E1;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#login_user_pass {
|
#login_user_pass
|
||||||
|
{
|
||||||
background: url("images/password.png") no-repeat scroll 0% 0% rgb(234, 231, 231);
|
background: url("images/password.png") no-repeat scroll 0% 0% rgb(234, 231, 231);
|
||||||
background-position: 0px 3px !important;
|
background-position: 0px 3px !important;
|
||||||
padding-left: 24px;
|
padding-left: 24px;
|
||||||
|
|
||||||
height: 2.2em;
|
height: 2.2em;
|
||||||
vertical-align: middle;
|
|
||||||
|
|
||||||
border: 1px solid #B9BDC1;
|
|
||||||
-moz-box-shadow: 0 2px 4px #bbb inset;
|
|
||||||
-webkit-box-shadow: 0 2px 4px #BBB inset;
|
|
||||||
box-shadow: 0 2px 4px #BBB inset;
|
|
||||||
-moz-border-radius: 3px;
|
|
||||||
-webkit-border-radius: 3px;
|
|
||||||
border-radius: 3px;
|
|
||||||
|
|
||||||
font-size: 1em;
|
|
||||||
border: 0 none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#login_user_pass:focus {
|
#login_user_pass:focus
|
||||||
background-color: #E7E8E7;
|
{
|
||||||
|
background-color: #E1E1E1;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#login_signin_button {
|
#login_signin_button
|
||||||
cursor: pointer;
|
{
|
||||||
height: 2em;
|
/* make it higher than the standard submit buttons */
|
||||||
vertical-align: middle;
|
height: 2.5em;
|
||||||
padding-left: 5px;
|
|
||||||
padding-right: 5px;
|
|
||||||
text-transform: uppercase;
|
|
||||||
|
|
||||||
background: #3498db;
|
|
||||||
background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
|
|
||||||
background-image: -moz-linear-gradient(top, #3498db, #2980b9);
|
|
||||||
background-image: -ms-linear-gradient(top, #3498db, #2980b9);
|
|
||||||
background-image: -o-linear-gradient(top, #3498db, #2980b9);
|
|
||||||
background-image: linear-gradient(to bottom, #3498db, #2980b9);
|
|
||||||
-webkit-border-radius: 28;
|
|
||||||
-moz-border-radius: 28;
|
|
||||||
border-radius: 5px;
|
|
||||||
text-shadow: 1px 1px 3px #666666;
|
|
||||||
color: #ffffff;
|
|
||||||
text-decoration: none;
|
|
||||||
|
|
||||||
font-size: 1em;
|
|
||||||
border: 0 none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#login_signin_button:hover {
|
#login_mainarea .form_container form .form_input_field
|
||||||
background: #3cb0fd;
|
{
|
||||||
background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
|
/* keep it similar to taskbar and make it higher than normal form */
|
||||||
background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
|
|
||||||
background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
|
|
||||||
background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
|
|
||||||
background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#login_mainarea .login_form_field_div { // keep it similar to taskbar
|
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
padding-top: 0.3em;
|
padding-top: 0.3em;
|
||||||
padding-bottom: 0.3em;
|
padding-bottom: 0.3em;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,3 +65,6 @@
|
|||||||
column-gap: 2em;
|
column-gap: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#wiki_edit_mainarea_text_column_count {
|
||||||
|
font-size: 80%;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user