Author: jablko
Date: Thu Oct 28 15:43:52 2010
New Revision: 8636
Log:
De-tab
Modified:
trunk/apps/qubit/modules/admin/templates/error404Success.php
trunk/apps/qubit/modules/admin/templates/secureSuccess.php
trunk/apps/qubit/modules/admin/templates/termPermissionSuccess.php
trunk/apps/qubit/modules/admin/templates/translatePermissionSuccess.php
trunk/apps/qubit/modules/map/templates/editSuccess.php
trunk/apps/qubit/modules/map/templates/indexSuccess.php
trunk/apps/qubit/modules/object/templates/alouetteSuccess.xml.php
trunk/apps/qubit/modules/object/templates/metsSuccess.xml.php
trunk/apps/qubit/modules/place/templates/editSuccess.php
trunk/apps/qubit/modules/place/templates/indexSuccess.php
trunk/apps/qubit/modules/user/templates/readOnlySuccess.php
trunk/plugins/qbAclPlugin/modules/aclGroup/templates/protectedSuccess.php
Modified: trunk/apps/qubit/modules/admin/templates/error404Success.php
==============================================================================
--- trunk/apps/qubit/modules/admin/templates/error404Success.php Thu Oct
28 14:42:57 2010 (r8635)
+++ trunk/apps/qubit/modules/admin/templates/error404Success.php Thu Oct
28 15:43:52 2010 (r8636)
@@ -7,8 +7,8 @@
<h4 class="firstLetter"><?php echo __('Did you follow a broken link?');
?></h4>
- <a href="javascript:history.go(-1)"><?php echo __('Back to previous
page'); ?></a>
- <br/>
- <?php echo link_to(__('Go to homepage'), '@homepage') ?>
+ <a href="javascript:history.go(-1)"><?php echo __('Back to previous page');
?></a>
+ <br/>
+ <?php echo link_to(__('Go to homepage'), '@homepage') ?>
</div>
Modified: trunk/apps/qubit/modules/admin/templates/secureSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/admin/templates/secureSuccess.php Thu Oct 28
14:42:57 2010 (r8635)
+++ trunk/apps/qubit/modules/admin/templates/secureSuccess.php Thu Oct 28
15:43:52 2010 (r8636)
@@ -3,8 +3,8 @@
<h2 style="font-size: 20px;"><?php echo __('Sorry, you do not have
permission to access that page'); ?></h2>
- <a href="javascript:history.go(-1)"><?php echo __('Back to previous
page'); ?></a>
- <br/>
- <?php echo link_to(__('Go to homepage'), '@homepage') ?>
+ <a href="javascript:history.go(-1)"><?php echo __('Back to previous page');
?></a>
+ <br/>
+ <?php echo link_to(__('Go to homepage'), '@homepage') ?>
</div>
Modified: trunk/apps/qubit/modules/admin/templates/termPermissionSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/admin/templates/termPermissionSuccess.php Thu Oct
28 14:42:57 2010 (r8635)
+++ trunk/apps/qubit/modules/admin/templates/termPermissionSuccess.php Thu Oct
28 15:43:52 2010 (r8636)
@@ -9,8 +9,8 @@
<h2><?php echo __('This is a non-preferred term and cannot be edited -
please use <a href="%1%">%2%</a>.', array('%1%' => url_for(array($use, 'module'
=> 'term')), '%2%' => $use->__toString())); ?></h2>
<?php endif; ?>
- <a href="javascript:history.go(-1)"><?php echo __('Back to previous
page'); ?></a>
- <br/>
- <?php echo link_to(__('Go to homepage'), '@homepage') ?>
+ <a href="javascript:history.go(-1)"><?php echo __('Back to previous page');
?></a>
+ <br/>
+ <?php echo link_to(__('Go to homepage'), '@homepage') ?>
</div>
Modified:
trunk/apps/qubit/modules/admin/templates/translatePermissionSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/admin/templates/translatePermissionSuccess.php
Thu Oct 28 14:42:57 2010 (r8635)
+++ trunk/apps/qubit/modules/admin/templates/translatePermissionSuccess.php
Thu Oct 28 15:43:52 2010 (r8636)
@@ -3,8 +3,8 @@
<h2 style="font-size: 20px;"><?php echo __('Sorry, you do not have
permission to make %1% language translations', array('%1%' =>
format_language($sf_user->getCulture()))); ?></h2>
- <a href="javascript:history.go(-1)"><?php echo __('Back to previous
page'); ?></a>
- <br/>
- <?php echo link_to(__('Go to homepage'), '@homepage') ?>
+ <a href="javascript:history.go(-1)"><?php echo __('Back to previous page');
?></a>
+ <br/>
+ <?php echo link_to(__('Go to homepage'), '@homepage') ?>
</div>
Modified: trunk/apps/qubit/modules/map/templates/editSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/map/templates/editSuccess.php Thu Oct 28
14:42:57 2010 (r8635)
+++ trunk/apps/qubit/modules/map/templates/editSuccess.php Thu Oct 28
15:43:52 2010 (r8636)
@@ -8,9 +8,9 @@
<tbody>
<?php if ($map->getTitle()): ?>
- <tr><th colspan="2">
- <?php echo link_to($map->getTitle(),'map/show?id='.$map->id); ?>
- </th></tr>
+ <tr><th colspan="2">
+ <?php echo link_to($map->getTitle(),'map/show?id='.$map->id); ?>
+ </th></tr>
<?php endif; ?>
<tr><th><?php echo __('Id'); ?></th>
@@ -56,6 +56,6 @@
</form>
<div class="menu-extra">
- <?php echo link_to(__('List all maps'), 'map/list'); ?>
- <?php echo link_to(__('View map'), 'map/show?id='.$map->id ) ?>
+ <?php echo link_to(__('List all maps'), 'map/list'); ?>
+ <?php echo link_to(__('View map'), 'map/show?id='.$map->id ) ?>
</div>
Modified: trunk/apps/qubit/modules/map/templates/indexSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/map/templates/indexSuccess.php Thu Oct 28
14:42:57 2010 (r8635)
+++ trunk/apps/qubit/modules/map/templates/indexSuccess.php Thu Oct 28
15:43:52 2010 (r8636)
@@ -4,19 +4,19 @@
<tbody>
<?php if ($mapMetadata->getTitle()): ?>
- <tr><th colspan="2">
+ <tr><th colspan="2">
- <?php if ($editCredentials)
- {
- echo link_to($mapMetadata->getTitle(),
'map/edit/?id='.$mapMetadata->id);
- }
- else
- {
- echo $mapMetadata->getTitle();
- }
+ <?php if ($editCredentials)
+ {
+ echo link_to($mapMetadata->getTitle(), 'map/edit/?id='.$mapMetadata->id);
+ }
+ else
+ {
+ echo $mapMetadata->getTitle();
+ }
?>
- </th></tr>
+ </th></tr>
<?php endif; ?>
<tr><td colspan="2">
Modified: trunk/apps/qubit/modules/object/templates/alouetteSuccess.xml.php
==============================================================================
--- trunk/apps/qubit/modules/object/templates/alouetteSuccess.xml.php Thu Oct
28 14:42:57 2010 (r8635)
+++ trunk/apps/qubit/modules/object/templates/alouetteSuccess.xml.php Thu Oct
28 15:43:52 2010 (r8636)
@@ -1,61 +1,61 @@
<add>
<?php foreach (array_merge(array($baseObject), $baseObject->getDescendants())
as $object): ?>
- <doc>
- <field name="id"><?php echo
esc_entities($object->getIdentifier() ? $object->getIdentifier() : $object)
?></field>
- <field name="localid"><?php echo esc_entities($object->id)
?></field>
- <field name="accessionNo"/>
-
- <!--Dublin Core fields -->
- <field name="title"><?php echo
esc_entities($object->getTitle()) ?></field>
-
- <?php foreach ($object->getCreators() as $creator): ?>
- <field name="creator"><?php echo
esc_entities($creator->getAuthorizedFormOfName()) ?></field>
- <?php endforeach; ?>
-
- <field name="publisher"/><!-- how to distinguish creator from
publisher? -->
- <field name="source"><?php echo
esc_entities($object->getSources()) ?></field>
- <field name="language"><?php $i18nObject =
$object->getInformationObjecti18ns(); echo $i18nObject[0]->getCulture();
?></field>
- <field name="description"><?php echo
esc_entities($object->getScopeAndContent()) ?></field>
-
- <?php foreach ($object->getSubjectAccessPoints() as $subject):
?>
- <field name="subject"><?php echo
esc_entities($subject->getTerm()) ?></field>
- <?php endforeach; ?>
-
- <!-- the next two are based on dc.date-->
- <field name="created"><?php echo
esc_entities($object->getCreatedAt()) ?></field>
- <field name="modified"><?php echo
esc_entities($object->getUpdatedAt()) ?></field>
-
- <!-- the next two are based on dc.coverage-->
- <field name="spatial"/>
- <field name="temporal"><?php echo
esc_entities($object->getRevisionHistory()) ?></field>
-
- <!-- this is based on dc.identifier-->
- <field name="url"><?php echo
esc_entities(sfContext::getInstance()->getController()->genUrl('informationobject/show?id='.$object->id,
true)) ?></field>
- <field name="mediaType"/><!-- dc.type: digitalobject -->
- <field name="type"/><!-- refines mediatype somewhat -->
-
- <!--variations on Dublin core fields for presentation and/or
sorting-->
- <field name="thumbnail"/><!-- url to thumbnail image:
digitalobject -->
- <field name="titleSort"><?php echo
esc_entities(preg_replace('/[\[\]]/', '', strtolower($object->getTitle())))
?></field>
- <field name="bibliographicCitation"/><!-- eg. Department of the
Interior, and Keyes, Perley G., [Letter] 1904 July 19, Ottawa [to] Messrs.
Munson and Allan, Barristers, Winnipeg, Manitoba, 1904 -->
- <field name="fSpatial"/>
- <field name="fSubject"/>
- <field name="abstract"/>
-
- <!-- fields used in OurOntario toolkit for discovery or
faceting -->
- <field name="itemLatitude"/>
- <field name="itemLongitude"/>
- <field name="dateOldest"/>
- <field name="dateNewest"/>
- <!-- associated with eliciting and managing user comments -->
- <field name="mystery"/>
- <field name="featureMystery"/>
- <field name="comment"/>
- <field name="featureComment"/>
-
- <field name="site"><?php echo
esc_entities($object->getRepository()) ?></field>
- <field name="recordOwner"><?php echo
esc_entities($object->getInstitutionResponsibleIdentifier()) ?></field>
- <field name="searchSet">Alouette</field><!-- multiple eg.
Alouette, BritishColumbia, Ontario -->
- </doc>
+ <doc>
+ <field name="id"><?php echo esc_entities($object->getIdentifier() ?
$object->getIdentifier() : $object) ?></field>
+ <field name="localid"><?php echo esc_entities($object->id) ?></field>
+ <field name="accessionNo"/>
+
+ <!--Dublin Core fields -->
+ <field name="title"><?php echo esc_entities($object->getTitle()) ?></field>
+
+ <?php foreach ($object->getCreators() as $creator): ?>
+ <field name="creator"><?php echo
esc_entities($creator->getAuthorizedFormOfName()) ?></field>
+ <?php endforeach; ?>
+
+ <field name="publisher"/><!-- how to distinguish creator from publisher?
-->
+ <field name="source"><?php echo esc_entities($object->getSources())
?></field>
+ <field name="language"><?php $i18nObject =
$object->getInformationObjecti18ns(); echo $i18nObject[0]->getCulture();
?></field>
+ <field name="description"><?php echo
esc_entities($object->getScopeAndContent()) ?></field>
+
+ <?php foreach ($object->getSubjectAccessPoints() as $subject): ?>
+ <field name="subject"><?php echo esc_entities($subject->getTerm())
?></field>
+ <?php endforeach; ?>
+
+ <!-- the next two are based on dc.date-->
+ <field name="created"><?php echo esc_entities($object->getCreatedAt())
?></field>
+ <field name="modified"><?php echo esc_entities($object->getUpdatedAt())
?></field>
+
+ <!-- the next two are based on dc.coverage-->
+ <field name="spatial"/>
+ <field name="temporal"><?php echo
esc_entities($object->getRevisionHistory()) ?></field>
+
+ <!-- this is based on dc.identifier-->
+ <field name="url"><?php echo
esc_entities(sfContext::getInstance()->getController()->genUrl('informationobject/show?id='.$object->id,
true)) ?></field>
+ <field name="mediaType"/><!-- dc.type: digitalobject -->
+ <field name="type"/><!-- refines mediatype somewhat -->
+
+ <!--variations on Dublin core fields for presentation and/or sorting-->
+ <field name="thumbnail"/><!-- url to thumbnail image: digitalobject -->
+ <field name="titleSort"><?php echo esc_entities(preg_replace('/[\[\]]/',
'', strtolower($object->getTitle()))) ?></field>
+ <field name="bibliographicCitation"/><!-- eg. Department of the Interior,
and Keyes, Perley G., [Letter] 1904 July 19, Ottawa [to] Messrs. Munson and
Allan, Barristers, Winnipeg, Manitoba, 1904 -->
+ <field name="fSpatial"/>
+ <field name="fSubject"/>
+ <field name="abstract"/>
+
+ <!-- fields used in OurOntario toolkit for discovery or faceting -->
+ <field name="itemLatitude"/>
+ <field name="itemLongitude"/>
+ <field name="dateOldest"/>
+ <field name="dateNewest"/>
+ <!-- associated with eliciting and managing user comments -->
+ <field name="mystery"/>
+ <field name="featureMystery"/>
+ <field name="comment"/>
+ <field name="featureComment"/>
+
+ <field name="site"><?php echo esc_entities($object->getRepository())
?></field>
+ <field name="recordOwner"><?php echo
esc_entities($object->getInstitutionResponsibleIdentifier()) ?></field>
+ <field name="searchSet">Alouette</field><!-- multiple eg. Alouette,
BritishColumbia, Ontario -->
+ </doc>
<?php endforeach; ?>
</add>
Modified: trunk/apps/qubit/modules/object/templates/metsSuccess.xml.php
==============================================================================
--- trunk/apps/qubit/modules/object/templates/metsSuccess.xml.php Thu Oct
28 14:42:57 2010 (r8635)
+++ trunk/apps/qubit/modules/object/templates/metsSuccess.xml.php Thu Oct
28 15:43:52 2010 (r8636)
@@ -1,8 +1,8 @@
<mets xmlns="http://www.loc.gov/METS/"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.loc.gov/METS/
http://www.loc.gov/standards/mets/mets.xsd"
- ID="ID001" OBJID="OBJID1" LABEL="LABEL1" TYPE="TYPE1"
PROFILE="PROFILE1">
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.loc.gov/METS/
http://www.loc.gov/standards/mets/mets.xsd"
+ ID="ID001" OBJID="OBJID1" LABEL="LABEL1" TYPE="TYPE1" PROFILE="PROFILE1">
<metsHdr ID="ID003" ADMID="ID001 ID001 ID000 ID001"
CREATEDATE="2006-05-04T18:13:51.0Z" LASTMODDATE="2006-05-04T18:13:51.0Z"
RECORDSTATUS="RECORDSTATUS1">
<agent ID="ID005" ROLE="CREATOR" OTHERROLE="OTHERROLE1"
TYPE="INDIVIDUAL" OTHERTYPE="OTHERTYPE1">
Modified: trunk/apps/qubit/modules/place/templates/editSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/place/templates/editSuccess.php Thu Oct 28
14:42:57 2010 (r8635)
+++ trunk/apps/qubit/modules/place/templates/editSuccess.php Thu Oct 28
15:43:52 2010 (r8636)
@@ -70,5 +70,5 @@
</div>
<div class="menu-extra">
- <?php echo link_to(__('List all places'), 'place/list'); ?>
+ <?php echo link_to(__('List all places'), 'place/list'); ?>
</div>
Modified: trunk/apps/qubit/modules/place/templates/indexSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/place/templates/indexSuccess.php Thu Oct 28
14:42:57 2010 (r8635)
+++ trunk/apps/qubit/modules/place/templates/indexSuccess.php Thu Oct 28
15:43:52 2010 (r8636)
@@ -5,9 +5,9 @@
<tr><th colspan="2">
<?php if ($editCredentials): ?>
- <?php echo link_to($place->getName(), 'place/edit/?id='.$place->id); ?>
+ <?php echo link_to($place->getName(), 'place/edit/?id='.$place->id); ?>
<?php else: ?>
- <?php echo $place->getName(); ?>
+ <?php echo $place->getName(); ?>
<?php endif; ?>
</th></tr>
Modified: trunk/apps/qubit/modules/user/templates/readOnlySuccess.php
==============================================================================
--- trunk/apps/qubit/modules/user/templates/readOnlySuccess.php Thu Oct 28
14:42:57 2010 (r8635)
+++ trunk/apps/qubit/modules/user/templates/readOnlySuccess.php Thu Oct 28
15:43:52 2010 (r8636)
@@ -3,8 +3,8 @@
<h2 style="font-size: 20px;"><?php echo __('The system is currently in
read-only mode. Please try again later.'); ?></h2>
- <a href="javascript:history.go(-1)"><?php echo __('Back to previous
page'); ?></a>
- <br/>
- <?php echo link_to(__('Go to homepage'), '@homepage') ?>
+ <a href="javascript:history.go(-1)"><?php echo __('Back to previous page');
?></a>
+ <br/>
+ <?php echo link_to(__('Go to homepage'), '@homepage') ?>
</div>
Modified:
trunk/plugins/qbAclPlugin/modules/aclGroup/templates/protectedSuccess.php
==============================================================================
--- trunk/plugins/qbAclPlugin/modules/aclGroup/templates/protectedSuccess.php
Thu Oct 28 14:42:57 2010 (r8635)
+++ trunk/plugins/qbAclPlugin/modules/aclGroup/templates/protectedSuccess.php
Thu Oct 28 15:43:52 2010 (r8636)
@@ -6,8 +6,8 @@
<h2 style="font-size: 20px;"><?php echo __('Sorry, this group is locked
and cannot be deleted'); ?></h2>
<h2><?php echo __('This group is required by the application to operate
correctly'); ?></h2>
- <a href="javascript:history.go(-1)"><?php echo __('Back to previous
page'); ?></a>
- <br/>
- <?php echo link_to(__('List groups'), array('module' => 'aclGroup',
'action' => 'list')) ?>
+ <a href="javascript:history.go(-1)"><?php echo __('Back to previous page');
?></a>
+ <br/>
+ <?php echo link_to(__('List groups'), array('module' => 'aclGroup', 'action'
=> 'list')) ?>
</div>
\ No newline at end of file
--
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.