From 0cfe60e14f1c0e72bdad28f26caeffcdd2317595 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Fri, 24 May 2013 12:07:41 -0400
Subject: [PATCH] Adjusted style slightly; made mobile theme consistent with
 main theme.

---
 themes/blueprint/templates/myresearch/editlist.phtml    | 4 ++--
 themes/jquerymobile/templates/myresearch/editlist.phtml | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/themes/blueprint/templates/myresearch/editlist.phtml b/themes/blueprint/templates/myresearch/editlist.phtml
index cec75e6f2f2..69234081096 100644
--- a/themes/blueprint/templates/myresearch/editlist.phtml
+++ b/themes/blueprint/templates/myresearch/editlist.phtml
@@ -14,10 +14,10 @@
 
 <form method="post" name="<?=empty($this->list->id) ? 'newList' : 'editListForm'?>" action="">
 <label class="displayBlock" for="list_title"><?=$this->transEsc('List'); ?>:</label>
-<input id="list_title" type="text" name="title" value="<?=(isset($this->list['title'])?$this->escapeHtml($this->list['title']):''); ?>" size="50" 
+<input id="list_title" type="text" name="title" value="<?=isset($this->list['title']) ? $this->escapeHtml($this->list['title']) : ''?>" size="50" 
   class="mainFocus <?=$this->jqueryValidation(array('required'=>'This field is required')) ?>"/>
 <label class="displayBlock" for="list_desc"><?=$this->transEsc('Description') ?></label>
-<textarea id="list_desc" name="desc" rows="3" cols="50"><?=(isset($this->list['description'])?$this->escapeHtml($this->list['description']):'') ?></textarea>
+<textarea id="list_desc" name="desc" rows="3" cols="50"><?=isset($this->list['description']) ? $this->escapeHtml($this->list['description']) : ''?></textarea>
 <fieldset>
   <legend><?=$this->transEsc('Access') ?></legend> 
   <input id="list_public_1" type="radio" name="public" value="1"<? if ($this->list->isPublic()): ?> checked="checked"<? endif; ?>/> <label for="list_public_1"><?=$this->transEsc('Public') ?></label>
diff --git a/themes/jquerymobile/templates/myresearch/editlist.phtml b/themes/jquerymobile/templates/myresearch/editlist.phtml
index 6cdb3c72608..5472448242c 100644
--- a/themes/jquerymobile/templates/myresearch/editlist.phtml
+++ b/themes/jquerymobile/templates/myresearch/editlist.phtml
@@ -12,10 +12,10 @@
 
     <form method="post" name="<?=empty($this->list->id) ? 'newList' : 'editListForm'?>" data-ajax="false">
     <label class="displayBlock" for="list_title"><?=$this->transEsc('List'); ?>:</label>
-    <input id="list_title" type="text" name="title" value="<?=$this->escapeHtml($this->list['title']); ?>" size="50"
+    <input id="list_title" type="text" name="title" value="<?=isset($this->list['title']) ? $this->escapeHtml($this->list['title']) : ''?>" size="50"
       class="mainFocus <?=$this->jqueryValidation(array('required'=>'This field is required')) ?>"/>
     <label class="displayBlock" for="list_desc"><?=$this->transEsc('Description') ?></label>
-    <textarea id="list_desc" name="desc" rows="3" cols="50"><?=$this->escapeHtml($this->list['description']) ?></textarea>
+    <textarea id="list_desc" name="desc" rows="3" cols="50"><?=isset($this->list['description']) ? $this->escapeHtml($this->list['description']) : ''?></textarea>
     <fieldset>
       <legend><?=$this->transEsc('Access') ?></legend>
       <input id="list_public_1" type="radio" name="public" value="1"<? if ($this->list->isPublic()): ?> checked="checked"<? endif; ?>/> <label for="list_public_1"><?=$this->transEsc('Public') ?></label>
-- 
GitLab