|
17 | 17 | See the License for the specific language governing permissions and
|
18 | 18 | limitations under the License.
|
19 | 19 | =========================================================================*/
|
20 |
| -?> |
21 |
| -<div class="viewMain"> |
22 |
| - <div class="genericWrapperTopRight"> |
23 |
| - <?php |
24 |
| - echo '<div style="float:right;margin-right:2px;" class="genericBigButton ">'; |
25 |
| - echo "<a href='{$this->webroot}/admin#tabs-modules'><img style='float:left;margin-right:2px;' alt='' src='{$this->coreWebroot}/public/images/icons/back.png'/>"; |
26 |
| - echo $this->t('Back'); |
27 |
| - echo "</a>"; |
28 |
| - echo '</div>'; |
29 |
| - ?> |
30 |
| - </div> |
31 |
| - <h3>Instructions for Use</h3> |
32 |
| - |
33 |
| - <p>This module is intended to provide Readmes for communities as well as |
34 |
| - folders. The text of these readmes will be interpreted from |
35 |
| - <a href="https://daringfireball.net/projects/markdown/syntax">Markdown</a> |
36 |
| - syntax and display in the info tab as well as below the hierarchical |
37 |
| - data view.</p> |
38 | 20 |
|
39 |
| - <p>For communities, place a file named readme, readme.txt, or readme.md |
40 |
| - (case insensitive) at the root of the "Public" folder.</p> |
| 21 | +$this->declareVars('form', 'pageTitle'); |
| 22 | +$this->headTitle($this->escape($this->pageTitle)); |
| 23 | +?> |
41 | 24 |
|
42 |
| - <p>For folders, place a similarly named file at the root of the folder in |
43 |
| - question.</p> |
| 25 | +<div class="viewMain"> |
| 26 | + <h1><?php echo $this->escape($this->pageTitle); ?></h1> |
| 27 | + <p> |
| 28 | + This module renders README files for communities and folders. The text of these files will be interpreted as |
| 29 | + <a href="https://daringfireball.net/projects/markdown/syntax">Markdown</a> syntax and displayed on the info tab |
| 30 | + and below the hierarchical data view. |
| 31 | + </p> |
| 32 | + <p> |
| 33 | + For communities, place a file named README, README.txt, or README.md (case insensitive) at the root of the |
| 34 | + <i>Public</i> folder. For folders, place a similarly named file at the root of that folder. |
| 35 | + </p> |
| 36 | + <p><a href="<?php echo $this->url(array('controller' => 'admin', 'action' => 'index'), 'default'); ?>#tabs-modules">« Back to Modules Administration</a></p> |
44 | 37 | </div>
|
0 commit comments