1
0

Fix indentation.

This commit is contained in:
Bharat Mediratta 2009-11-27 16:33:33 -08:00
parent bed8f84566
commit fbe35b1658

View File

@ -2,8 +2,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head> <head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<?= $theme->css("yui/reset-fonts-grids.css") ?> <?= $theme->css("yui/reset-fonts-grids.css") ?>
<?= $theme->css("superfish/css/superfish.css") ?> <?= $theme->css("superfish/css/superfish.css") ?>
<?= $theme->css("themeroller/ui.base.css") ?> <?= $theme->css("themeroller/ui.base.css") ?>
@ -17,42 +17,44 @@
<?= $theme->script("gallery.common.js") ?> <?= $theme->script("gallery.common.js") ?>
<? /* MSG_CANCEL is required by gallery.dialog.js */ ?> <? /* MSG_CANCEL is required by gallery.dialog.js */ ?>
<script type="text/javascript"> <script type="text/javascript">
var MSG_CANCEL = <?= t('Cancel')->for_js() ?>; var MSG_CANCEL = <?= t('Cancel')->for_js() ?>;
</script> </script>
<?= $theme->script("gallery.ajax.js") ?> <?= $theme->script("gallery.ajax.js") ?>
<?= $theme->script("gallery.dialog.js") ?> <?= $theme->script("gallery.dialog.js") ?>
<?= $theme->script("superfish/js/superfish.js") ?> <?= $theme->script("superfish/js/superfish.js") ?>
<?= $theme->script("jquery.localscroll.js") ?> <?= $theme->script("jquery.localscroll.js") ?>
<?= $theme->script("jquery.easing.js") ?> <?= $theme->script("jquery.easing.js") ?>
<?= $theme->script("jquery.fancybox.js") ?> <?= $theme->script("jquery.fancybox.js") ?>
<?= $theme->script("ui.init.js") ?> <?= $theme->script("ui.init.js") ?>
<?= $theme->head() ?> <?= $theme->head() ?>
</head> </head>
<body class="g-fancy-iframe-body"> <body class="g-fancy-iframe-body">
<div class="g-comment-thumb"> <img src="<?=$thumb?>"></div> <div class="g-comment-thumb">
<a href="<?= url::site("form/add/comments_three_nids/{$item_id}") ?>" id="g-admin-comment-button" <img src="<?=$thumb?>"/>
class="g-button ui-corner-all ui-icon-left ui-state-default right"> </div>
<span class="ui-icon ui-icon-comment"></span> <a href="<?= url::site("form/add/comments_three_nids/{$item_id}") ?>" id="g-admin-comment-button"
<?= t("Add a comment") ?> class="g-button ui-corner-all ui-icon-left ui-state-default right">
</a> <span class="ui-icon ui-icon-comment"></span>
<div id="g-comment-detail"> <?= t("Add a comment") ?>
<? if (!$comments->count()): ?> </a>
<p id="g-NoCommentsYet"> <div id="g-comment-detail">
<?= t("No comments yet.") ?> <? if (!$comments->count()): ?>
</p> <p id="g-no-comments-yet">
<? endif ?> <?= t("No comments yet.") ?>
<ul> </p>
<? foreach ($comments as $comment): ?> <? endif ?>
<li id="g-Comment-<?= $comment->id ?>" class="g-comment-box"> <ul>
<?= t('<b>%name</b> <small>%date</small>: ', <? foreach ($comments as $comment): ?>
array("date" => date(module::get_var("gallery", "date_time_format", "Y-M-d H:i:s"), $comment->created), <li id="g-Comment-<?= $comment->id ?>" class="g-comment-box">
"name" => html::clean($comment->author_name()))); ?> <?= t('<b>%name</b> <small>%date</small>: ',
<div class="g-comment"> array("date" => date(module::get_var("gallery", "date_time_format", "Y-M-d H:i:s"), $comment->created),
<?= nl2br(html::purify($comment->text)) ?> "name" => html::clean($comment->author_name()))); ?>
</div> <div class="g-comment">
</li> <?= nl2br(html::purify($comment->text)) ?>
<? endforeach ?> </div>
</ul> </li>
</div> <? endforeach ?>
</body> </ul>
</div>
</body>
</html> </html>