Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added button for correcting text

  • Loading branch information...
commit 3b1a7789f781869bd31b3a96209844485f748cad 1 parent 886ce62
@romaninsh romaninsh authored
Showing with 12 additions and 4 deletions.
  1. +1 −1  atk4
  2. +1 −1  atk4-addons
  3. +9 −1 lib/Doc/Page.php
  4. +1 −1  lib/Sitemap.php
2  atk4
@@ -1 +1 @@
-Subproject commit 1cf4cb7702b84d1dc07e999c7ba9ca0c6057652e
+Subproject commit 36949964bf23ebd9a57f622e5b2acd04296d6231
2  atk4-addons
@@ -1 +1 @@
-Subproject commit 37f9aee84b10341f6cb9f3b5de31dfdad2a2bd03
+Subproject commit 4d1c6e5e84fda976c7b06450d9246fdb5c4ba5a2
View
10 lib/Doc/Page.php
@@ -8,7 +8,15 @@ function init(){
$this->initBar();
}
function initBar(){
- if($this->template->is_set('Content')) $this->add('BreadCrumb');
+ if($this->template->is_set('Content')){
+ $this->add('BreadCrumb');
+ $this->add('Button')->set('Propose grammar fix')
+ ->addStyle('float','right')
+ ->js('click')->univ()->alert('Help me improve this documentation. Propose changes and they will be reflected on this page after our review. You will need to have account on github.com')
+ ->newWindow('https://github.com/atk4/atk4-web/edit/master/templates/jui/page/'.
+ str_replace('_','/',$this->api->page).'.html')
+ ;
+ }
}
function initMainPage(){
return $this->subPage('');
View
2  lib/Sitemap.php
@@ -6,7 +6,7 @@ function init(){
//{{{ learn - Learning
$doc['learn']=array('Learning',
- 'intro'=>'What is Object-Oriented Web Development?',
+ 'intro'=>'What is Agile Toolkit?',
'install'=>array(
'Installing Agile Toolkit',
Please sign in to comment.
Something went wrong with that request. Please try again.