Author: sevein
Date: Fri Sep 30 14:15:55 2011
New Revision: 9886
Log:
RAD notes: use format_date, add type attribute to input, add third column empty
Modified:
trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/editSuccess.php
Modified:
trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/editSuccess.php
==============================================================================
--- trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/editSuccess.php
Fri Sep 30 12:54:45 2011 (r9885)
+++ trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/editSuccess.php
Fri Sep 30 14:15:55 2011 (r9886)
@@ -1,3 +1,5 @@
+<?php use_helper('Date') ?>
+
<h1><?php echo __('Edit archival description - RAD') ?></h1>
<h1 class="label"><?php echo render_title($rad) ?></h1>
@@ -61,7 +63,7 @@
<?php foreach ($resource->getNotesByTaxonomy(array('taxonomyId' =>
QubitTaxonomy::RAD_TITLE_NOTE_ID)) as $item): ?>
<tr class="related_obj_<?php echo $item->id ?>">
<td>
- <?php echo $item->getContent(array('cultureFallback' =>
'true')) ?><span class="note"><?php echo $item->user ?>, <?php echo
$item->updatedAt ?></span>
+ <?php echo $item->getContent(array('cultureFallback' =>
'true')) ?><span class="note"><?php echo $item->user ?>, <?php echo
format_date($item->object->updatedAt, 'f') ?></span>
</td><td>
<?php echo $item->type ?>
</td><td style="text-align: center">
@@ -72,13 +74,15 @@
<tr valign="top">
<td>
- <input name="rad_title_note"/>
+ <input type="text" name="rad_title_note"/>
</td><td>
<select name="rad_title_note_type" id="rad_title_note_type">
<?php foreach
(QubitTerm::getOptionsForSelectList(QubitTaxonomy::RAD_TITLE_NOTE_ID) as $value
=> $label): ?>
<option value="<?php echo esc_entities($value) ?>"><?php
echo esc_entities($label) ?></option>
<?php endforeach; ?>
</select>
+ </td><td>
+
</td>
</tr>
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.