Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Worked on glossary
- Loading branch information
1 parent
26affb7
commit 0b23c58
Showing
4 changed files
with
128 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
a:4:{s:16:"__cache_contents";a:0:{}s:15:"__cache_created";i:1280259736;s:20:"__cache_dependencies";a:0:{}s:15:"__cache_expires";i:1280259796;} | ||
a:4:{s:16:"__cache_contents";a:0:{}s:15:"__cache_created";i:1280260845;s:20:"__cache_dependencies";a:0:{}s:15:"__cache_expires";i:1280260905;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
upload/includes/68kb/modules/kb/views/admin/glossary/form.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
if ($this->events->active_hook('articles/form')) | ||
{ | ||
$this->events->trigger('articles/form'); | ||
} | ||
else | ||
{ | ||
echo '<script src="js/js-quicktags/js_quicktags.js" type="text/javascript"></script>'; | ||
} | ||
?> | ||
<div class="grid_16"> | ||
<h2><?php echo lang('lang_manage_glossary'); ?></h2> | ||
|
||
<?php if(validation_errors()) { | ||
echo '<div class="error"><h3>'.lang('lang_errors_occured').'</h3> '.validation_errors().'</div>'; | ||
} | ||
?> | ||
|
||
<?php echo form_open($this->uri->uri_string(), 'class="crud"'); ?> | ||
<div id="form"> | ||
<div class="inline"> | ||
|
||
<p class="row1"> | ||
<?php echo form_label(lang('lang_title'). ': <em>('.lang('lang_required').')</em>', 'g_term'); ?> | ||
<?php echo form_input('g_term', set_value('g_term', @$row['g_term']), 'id="g_term"'); ?> | ||
</p> | ||
|
||
<div class="row2"> | ||
<?php echo form_label(lang('lang_definition'). ':', 'g_definition'); ?> | ||
<div class="toolbar"><script type="text/javascript">if(typeof edToolbar=='function') edToolbar('g_definition');</script></div> | ||
<?php echo form_textarea('g_definition', set_value('g_definition', @$row['g_definition']), 'id="g_definition" class="inputtext"'); ?> | ||
</div> | ||
|
||
<p class="submit"><?php echo form_submit('submit', lang('lang_save'), 'class="save"'); ?></p> | ||
</div> | ||
</div> | ||
</form> | ||
</div> |